With the usage of enterprise proxy, the user-agent defined are
too old and refused by proxy configuration. Updating to something
more modern is desirable.
(Bitbake rev: 17be38290d1e971cd89785e6bf44caef0a6416f8)
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7001fdd7c4dca372cbebd8fd2c0b03c5d43f9400)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`rc` runs all the KILL scripts in a runlevel before the START scripts.
The umountnfs script is currently configured as a START script, and
runs after the networking KILL script. During shutdown, this causes a
~3 minute timeout after networking is shutdown when the system tries
to connect to and unmount any mounted network shares.
Fix this by changing the script configuration to "stop" so that it can
run before networking is stopped and unmount any network shares
safely.
(From OE-Core rev: e59c72d570102d72786e44c8ace69fd4d0e8e5ef)
Signed-off-by: Shruthi Ravichandran <shruthi.ravichandran@ni.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c419bd4537756e9f6c2fe6da3a9b798526e27eca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is to ensure host-user-contaminated.txt would be removed before
do_rootfs runs, since ${S} is in cleandirs of do_rootfs, otherwise, a
host-user-contaminated.txt file that generated from previous builds
could be used which is wrong.
(From OE-Core rev: 06cfa8be54c9aee23bd8570a370a974b463a0a1a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 54a3fd63e684d070fad962be97e549f3af7ac111)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the bin_package.bbclass work properly with the native class.
(From OE-Core rev: 0bf78a8e0e1cf7e74b55aca4db0e62dd9dfa55ce)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad330b6d4b6e2ba051b5c6c437e07a183831f757)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building external kernel modules like lttng-modules was showing build paths
inside the debug symbols for the modules and breaking build reproducibility.
Fix this by adding in the mapping needed to map the kernel build directory
to something more approriate on target.
(From OE-Core rev: c4d8834ed3d200f25f12fec8acfa2b954f3240e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b56dc9009ba93174de6bf4c01e17808ef249dc5c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Restore WHENCE_CHKSUM variable which is used to hold the WHENCE file
checksum. It is necessary to allow easily overriding it from local.conf
if the devupstream version is selected:
PREFERRED_VERSION_linux-firmware = "1:20220708+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "abf1077491eeb261ecdcb680a34fc059"
Without the WHENCE_CHECKSUM one would need to manually patch the
LIC_FILES_CHKSUM variable to change the checksum of WHENC (e.g. using
the anonymous python function or remove expression).
(From OE-Core rev: ba997f02b2cb86aeaa308873727a9280d1f88b5b)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 554be2af1e0a03a2d23032d48afbbe0913a45409)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: a few obsolete firmware were dropped
(particularly i2400m and tda7706), file list updates.
(From OE-Core rev: a151460d9234d6cd0bd1920c48aff8c78454931a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e89fb37e13fcb832ee7d35e7d92d45eaca20689e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop crosscompile.patch which was merged as part of:
509695c1c (tag: v9.0.0065) patch 9.0.0065: \
cross-compiling doesn't work because of timer_create check
Also drop: racefix.patch which may have been fixed upstream
and is being tracked by:
https://github.com/vim/vim/pull/10776
where upstream is asking if the different approach resolves the
race condition. Let's see what's out there!
(From OE-Core rev: 083d6de4139859a5eb66f78c2a62a1d59c8aee35)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 6996472cd33d2d4b91821f2dfe24a27a697e4afe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pulls in several CVE fixes.
Added a patch to avoid timer_create cross compile issue (and submitted upstream).
Also submit the race fix upstream.
We disable timer_create in the native case since some systems have it
and some don't so this makes us consistent.
Change from master commit: we also disable timer_create in the target case
since the function isn't available in our glibc.
(From OE-Core rev: f99677f79449032a3b0ea79d704fdccbd5be68b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0c1de084c7ce030d47a428e4bbfbc4ce2996057)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/madler/zlib
MR: 120531
Type: Security Fix
Disposition: Backport from eff308af42 & 1eb7682f84
ChangeID: 364c17d74213c64fe40b9b37ee78aa172ff93acf
Description:
CVE-2022-37434 zlib: a heap-based buffer over-read or buffer overflow in inflate in inflate.c via a large gzip header extra field.
(From OE-Core rev: 10ed7cf347d9e73b29e4a3f6ef77e0a4b08e350b)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* but it still won't work well on hosts without libxml2, make
sure to use pre-generated testapi.c in do_compile_ptest
* this is reproducible with SOURCE_DATE_EPOCH set to 0 which
e.g. meta-updater still sets by default for DISTROs which
use it :(, see https://github.com/uptane/meta-updater/pull/35
(From OE-Core rev: 2f78dbcb300e7deae6cf39263e874ee8776d7a7b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 33d006ed8d93ea4c185d6b28a72b2d252fbb5ae1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSSH 9.0 uses sftp by default as the transport for scp, add in
sftp-server so that this works as expected for users, rather than being
left with a confusing "scp: Connection closed" message.
(From OE-Core rev: 788e2c6bccc58e5a88b33fa91ea3c3ffec7611ca)
Signed-off-by: Alex Kiernan <alexk@zuma.ai>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be61b9dac78f0d85c870a0d8304fb4b536ec4bc8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If enabled, the buildpaths test hangs in psplash as it tries to open
a fifo and read from it, hanging indefinitely.
Tweak the test to ignore fifo/socket/device files.
(From OE-Core rev: 0106c6a629d0a9f07d76ffaad2dc92e48021e1b0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2567edb7e0a8c5ca9a88d6940491bf33bfe0eff9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
8d8935e76f6f Linux 5.4.209
0b0088e47587 scsi: core: Fix race between handling STS_RESOURCE and completion
85fe8623f061 mt7601u: add USB device ID for some versions of XiaoDu WiFi Dongle.
d5a596c148b3 ARM: crypto: comment out gcc warning that breaks clang builds
8d6dab81ee3d sctp: leave the err path free in sctp_stream_init to sctp_stream_free
a49282eca8ab sfc: disable softirqs for ptp TX
7799f742f24b perf symbol: Correct address for bss symbols
388b3f14ff60 virtio-net: fix the race between refill work and close
52be29e8b645 netfilter: nf_queue: do not allow packet truncation below transport header offset
8e0ed463dbd5 sctp: fix sleep in atomic context bug in timer handlers
bc135e464dee i40e: Fix interface init with MSI interrupts (no MSI-X)
46462e26e65f tcp: Fix a data-race around sysctl_tcp_comp_sack_nr.
d42f68a9ceb4 tcp: Fix a data-race around sysctl_tcp_comp_sack_delay_ns.
c2b57a4d3ff6 Documentation: fix sctp_wmem in ip-sysctl.rst
2d30375343b6 tcp: Fix a data-race around sysctl_tcp_invalid_ratelimit.
5d235c2fc295 tcp: Fix a data-race around sysctl_tcp_autocorking.
e02c7ee5a430 tcp: Fix a data-race around sysctl_tcp_min_rtt_wlen.
558a2949608f tcp: Fix a data-race around sysctl_tcp_min_tso_segs.
fb200869eabe net: sungem_phy: Add of_node_put() for reference returned by of_get_parent()
e20dd1b0e0ea igmp: Fix data-races around sysctl_igmp_qrv.
73e5a0b59129 ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr
421e5dd1f12e net: ping6: Fix memleak in ipv6_renew_options().
3d492b008b3d tcp: Fix a data-race around sysctl_tcp_challenge_ack_limit.
dfdc635d55f9 tcp: Fix a data-race around sysctl_tcp_limit_output_bytes.
d62e255ecc33 scsi: ufs: host: Hold reference returned by of_parse_phandle()
b1343528c7ae ice: do not setup vlan for loopback VSI
15d019860159 ice: check (DD | EOF) bits on Rx descriptor rather than (EOP | RS)
cd23a2ad7b7c tcp: Fix a data-race around sysctl_tcp_nometrics_save.
f9a03fd8ed31 tcp: Fix a data-race around sysctl_tcp_frto.
3be498bcf6ea tcp: Fix a data-race around sysctl_tcp_adv_win_scale.
f4b83df01105 tcp: Fix a data-race around sysctl_tcp_app_win.
f240d0cad26c tcp: Fix data-races around sysctl_tcp_dsack.
b9f937d3d54d s390/archrandom: prevent CPACF trng invocations in interrupt context
911904c577e0 ntfs: fix use-after-free in ntfs_ucsncmp()
098e07ef0059 Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put
(From OE-Core rev: bd55001d9f895c7d52fedc7d1d2eb7b2ad7032b1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
77ba2b9b46f8 Linux 5.4.208
ca5762c5896e x86: drop bogus "cc" clobber from __try_cmpxchg_user_asm()
f88d8c188229 net: usb: ax88179_178a needs FLAG_SEND_ZLP
f7785092cb7f tty: use new tty_insert_flip_string_and_push_buffer() in pty_write()
815d936e92f9 tty: extract tty_flip_buffer_commit() from tty_flip_buffer_push()
2ea77b0b6d22 tty: drop tty_schedule_flip()
f20912215c9c tty: the rest, stop using tty_schedule_flip()
aa60c0cce8b4 tty: drivers/tty/, stop using tty_schedule_flip()
126137a53d7e Bluetooth: Fix bt_skb_sendmmsg not allocating partial chunks
836b47e6436b Bluetooth: SCO: Fix sco_send_frame returning skb->len
aa2d34cab3e6 Bluetooth: Fix passing NULL to PTR_ERR
10bacb891722 Bluetooth: RFCOMM: Replace use of memcpy_from_msg with bt_skb_sendmmsg
bf46574d4655 Bluetooth: SCO: Replace use of memcpy_from_msg with bt_skb_sendmsg
f00b06003b11 Bluetooth: Add bt_skb_sendmmsg helper
55bf99849be0 Bluetooth: Add bt_skb_sendmsg helper
015af30d373d ALSA: memalloc: Align buffer allocations in page size
352affc31e26 bitfield.h: Fix "type of reg too small for mask" test
0a0fbbd6cb65 x86/mce: Deduplicate exception handling
b524137fa1d8 mmap locking API: initial implementation as rwsem wrappers
592a1c6066dd x86/uaccess: Implement macros for CMPXCHG on user addresses
1d778b54a5c0 x86: get rid of small constant size cases in raw_copy_{to,from}_user()
d0d583484d2e locking/refcount: Consolidate implementations of refcount_t
dab787c73f6e locking/refcount: Consolidate REFCOUNT_{MAX,SATURATED} definitions
0d3182fbe689 locking/refcount: Move saturation warnings out of line
809554147d60 locking/refcount: Improve performance of generic REFCOUNT_FULL code
9c9269977f03 locking/refcount: Move the bulk of the REFCOUNT_FULL implementation into the <linux/refcount.h> header
04bff7d7b808 locking/refcount: Remove unused refcount_*_checked() variants
513b19a43bec locking/refcount: Ensure integer operands are treated as signed
68b4ee68e8c8 locking/refcount: Define constants for saturation and max refcount values
3f71d0e292eb ima: remove the IMA_TEMPLATE Kconfig option
bc7581e36d40 dlm: fix pending remove if msg allocation fails
4f1d21c77b15 bpf: Make sure mac_header was set before using it
a1f8765f68bc mm/mempolicy: fix uninit-value in mpol_rebind_policy()
76668d2a2f36 spi: bcm2835: bcm2835_spi_handle_err(): fix NULL pointer deref for non DMA transfers
50a1d3d09750 tcp: Fix data-races around sysctl_tcp_max_reordering.
c64b99819de4 tcp: Fix a data-race around sysctl_tcp_rfc1337.
6cc566df6806 tcp: Fix a data-race around sysctl_tcp_stdurg.
7f68bed16c7b tcp: Fix a data-race around sysctl_tcp_retrans_collapse.
369d99c2b89f tcp: Fix data-races around sysctl_tcp_slow_start_after_idle.
492f3713b282 tcp: Fix a data-race around sysctl_tcp_thin_linear_timeouts.
92c35113c633 tcp: Fix data-races around sysctl_tcp_recovery.
83767fe800a3 tcp: Fix a data-race around sysctl_tcp_early_retrans.
795aee11fda4 tcp: Fix data-races around sysctl knobs related to SYN option.
f39b03bd727a udp: Fix a data-race around sysctl_udp_l3mdev_accept.
6727f39e99e0 ipv4: Fix a data-race around sysctl_fib_multipath_use_neigh.
a8569f76df7e be2net: Fix buffer overflow in be_get_module_eeprom
91d6aa19dd72 gpio: pca953x: only use single read/write for No AI mode
031af9e617a6 ixgbe: Add locking to prevent panic when setting sriov_numvfs to zero
55a2a28b3285 i40e: Fix erroneous adapter reinitialization during recovery process
d88d59faf4e6 iavf: Fix handling of dummy receive descriptors
25d53d858a6c tcp: Fix data-races around sysctl_tcp_fastopen.
78420d8e46df tcp: Fix data-races around sysctl_max_syn_backlog.
dc58e68d1e26 tcp: Fix a data-race around sysctl_tcp_tw_reuse.
e9362a993886 tcp: Fix a data-race around sysctl_tcp_notsent_lowat.
b0d9f04c870e tcp: Fix data-races around some timeout sysctl knobs.
ea309c467dac tcp: Fix data-races around sysctl_tcp_reordering.
b222de2560ab tcp: Fix data-races around sysctl_tcp_syncookies.
ff55c025e647 igmp: Fix a data-race around sysctl_igmp_max_memberships.
1656ecaddf90 igmp: Fix data-races around sysctl_igmp_llm_reports.
2aad2c5745ec net/tls: Fix race in TLS device down flow
573768dede0e net: stmmac: fix dma queue left shift overflow issue
911b81fca2d7 i2c: cadence: Change large transfer count reset logic to be unconditional
73a11588751a tcp: Fix a data-race around sysctl_tcp_probe_interval.
b04817c94fbd tcp: Fix a data-race around sysctl_tcp_probe_threshold.
033963b22063 tcp: Fix a data-race around sysctl_tcp_mtu_probe_floor.
fdb96b69f590 tcp: Fix data-races around sysctl_tcp_min_snd_mss.
30b73edc1d24 tcp: Fix data-races around sysctl_tcp_base_mss.
f966773e13cd tcp: Fix data-races around sysctl_tcp_mtu_probing.
a7386602a2fe tcp/dccp: Fix a data-race around sysctl_tcp_fwmark_accept.
25a635a67c83 ip: Fix a data-race around sysctl_fwmark_reflect.
281de3719986 ip: Fix data-races around sysctl_ip_nonlocal_bind.
7828309df0f8 ip: Fix data-races around sysctl_ip_fwd_use_pmtu.
5af6d9226376 ip: Fix data-races around sysctl_ip_no_pmtu_disc.
16cb6717f4f4 igc: Reinstate IGC_REMOVED logic and implement it properly
98c3c8fd0d4c perf/core: Fix data race between perf_event_set_output() and perf_mmap_close()
6194c021496a pinctrl: ralink: Check for null return of devm_kcalloc
78bdf732cf5d power/reset: arm-versatile: Fix refcount leak in versatile_reboot_probe
f4248bdb7d5c xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup()
c68f6e2e4fda serial: mvebu-uart: correctly report configured baudrate value
2230428fb866 PCI: hv: Fix interrupt mapping for multi-MSI
7121d7120fd4 PCI: hv: Reuse existing IRTE allocation in compose_msi_msg()
584c9d41800b PCI: hv: Fix hv_arch_irq_unmask() for multi-MSI
8e94cc883011 PCI: hv: Fix multi-MSI to allow more than one MSI vector
3048666143be xen/gntdev: Ignore failure to unmap INVALID_GRANT_HANDLE
ed3fea55066b lockdown: Fix kexec lockdown bypass with ima policy
c3856fe718ad mlxsw: spectrum_router: Fix IPv4 nexthop gateway indication
c3dc75118445 riscv: add as-options for modules with assembly compontents
e5a6b05d0c68 pinctrl: stm32: fix optional IRQ support to gpios
002c3bbb4713 Linux 5.4.207
08d90846e438 can: m_can: m_can_tx_handler(): fix use after free of skb
579c8a2e6361 serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle
0c8649a49788 serial: stm32: Clear prev values before setting RTS delays
f4c7f5028b48 serial: 8250: fix return error code in serial8250_request_std_resource()
07379bd79d86 tty: serial: samsung_tty: set dma burst_size to 1
edcb2612218d usb: dwc3: gadget: Fix event pending check
40034fe6b8a7 usb: typec: add missing uevent when partner support PD
42373b717a3f USB: serial: ftdi_sio: add Belimo device ids
cbc98dcc38e2 signal handling: don't use BUG_ON() for debugging
172cd32ada70 ARM: dts: stm32: use the correct clock source for CEC on stm32mp151
c7d4b3ec6306 soc: ixp4xx/npe: Fix unused match warning
a3c7c1a726a4 x86: Clear .brk area at early boot
549f70b29953 irqchip: or1k-pic: Undefine mask_ack for level triggered hardware
b0f41db50084 ASoC: madera: Fix event generation for rate controls
79067a663247 ASoC: madera: Fix event generation for OUT1 demux
0e7e515a6733 ASoC: cs47l15: Fix event generation for low power mux control
20b921f22a8b ASoC: wm5110: Fix DRE control
f298d2e4c60c ASoC: ops: Fix off by one in range control validation
ede990cfc427 net: sfp: fix memory leak in sfp_probe()
555cee1bc40b nvme: fix regression when disconnect a recovering ctrl
08082a642aaa NFC: nxp-nci: don't print header length mismatch on i2c error
4919d82f7041 net: tipc: fix possible refcount leak in tipc_sk_create()
70d8aee1de6e platform/x86: hp-wmi: Ignore Sanitization Mode event
8dda30f81c75 cpufreq: pmac32-cpufreq: Fix refcount leak bug
b749af1b8f11 netfilter: br_netfilter: do not skip all hooks with 0 priority
0c9203e75dae virtio_mmio: Restore guest page size on resume
569f1ee032c9 virtio_mmio: Add missing PM calls to freeze/restore
70433d9ea6ff mm: sysctl: fix missing numa_stat when !CONFIG_HUGETLB_PAGE
da346adcf557 sfc: fix kernel panic when creating VF
ba60ca0ed12e seg6: bpf: fix skb checksum in bpf_push_seg6_encap()
de7849d9de1d seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors
487f0f77f1cd seg6: fix skb checksum evaluation in SRH encapsulation/insertion
bcad880865bf sfc: fix use after free when disabling sriov
b8d77f2396d5 net: ftgmac100: Hold reference returned by of_get_child_by_name()
9b61d3f6df1b ipv4: Fix data-races around sysctl_ip_dynaddr.
cc9540ba5b36 raw: Fix a data-race around sysctl_raw_l3mdev_accept.
df691b991043 icmp: Fix a data-race around sysctl_icmp_ratemask.
8bc1f6871490 icmp: Fix a data-race around sysctl_icmp_ratelimit.
3093a6fe3170 drm/i915/gt: Serialize TLB invalidates with GT resets
40d58aad2f66 ARM: dts: sunxi: Fix SPI NOR campatible on Orange Pi Zero
bf676c940865 ARM: dts: at91: sama5d2: Fix typo in i2s1 node
7c1acd98fb22 ipv4: Fix a data-race around sysctl_fib_sync_mem.
0cba7ca667ce icmp: Fix data-races around sysctl.
0e41a0f73ccb cipso: Fix data-races around sysctl.
861f1852af6d net: Fix data-races around sysctl_mem.
8d2daf565f61 inetpeer: Fix data-races around sysctl.
2968830c9b47 net: stmmac: dwc-qos: Disable split header for Tegra194
1273fd5153e8 ASoC: sgtl5000: Fix noise on shutdown/remove
388f3df7c3c8 ima: Fix a potential integer overflow in ima_appraise_measurement
72f231b9a88a drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector()
0f02e7c02bb0 ARM: 9210/1: Mark the FDT_FIXED sections as shareable
41ea241fb3c2 ARM: 9209/1: Spectre-BHB: avoid pr_info() every time a CPU comes out of idle
851730a1989f ARM: dts: imx6qdl-ts7970: Fix ngpio typo and count
18881d7e5171 ext4: fix race condition between ext4_write and ext4_convert_inline_data
423f2695007d sched/rt: Disable RT_RUNTIME_SHARE by default
31e99fa969fd Revert "evm: Fix memleak in init_desc"
d85d19f3b664 nilfs2: fix incorrect masking of permission flags for symlinks
393594aad551 drm/panfrost: Fix shrinker list corruption by madvise IOCTL
ad44e05f3e01 cgroup: Use separate src/dst nodes when preloading css_sets for migration
444be5a02b77 wifi: mac80211: fix queue selection for mesh/OCB interfaces
dba548476909 ARM: 9214/1: alignment: advance IT state after emulating Thumb instruction
b4d99aa5ae90 ARM: 9213/1: Print message about disabled Spectre workarounds only once
2c1cc40fb2a1 ip: fix dflt addr selection for connected nexthop
fb5a7f1548d6 net: sock: tracing: Fix sock_exceed_buf_limit not to dereference stale pointer
ecc6dec12c33 tracing/histograms: Fix memory leak problem
7425479d20f9 xen/netback: avoid entering xenvif_rx_next_skb() with an empty rx queue
9026b280eb7f ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
bbb82d4d9b3d ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221
7e2fbf2d9b61 ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
33d33a66e31c ALSA: hda/conexant: Apply quirk for another HP ProDesk 600 G3 model
5e7cc47ab923 ALSA: hda - Add fixup for Dell Latitidue E5430
658410791556 Linux 5.4.206
15a3adfe7593 Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting"
(From OE-Core rev: b98028117b82aab650affb0538e77bb69fb5fdf8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a remote patch is compressed we need to have run the unpack task for
the file to exist locally. Currently cve_check only depends on fetch so
instead of erroring out, emit a warning that this file won't be scanned
for CVE references.
Typically, remote compressed patches won't contain our custom tags, so
this is unlikely to be an issue.
(From OE-Core rev: a2d03f445c45558997484240d2549eaa1e103692)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cefc8741438c91f74264da6b59dece2e31f9e5a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/qemu/qemu
MR: 119832
Type: Security Fix
Disposition: Backport from 418ade7849
ChangeID: 1246afd7bb950d2d5fe2e198961797c0fa14ac00
Description:
CVE-2022-35414 qemu: can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash.
(From OE-Core rev: 7c3043df56b3090138fe56f8c06df5ca08cafd26)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
cc478e363cc3 rt: fixup random and irq/manage merge issues
(From OE-Core rev: 597eef3b2f6cb884c474c44e87b1137e6acbe6b5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
0ec831fa971d Linux 5.4.205
1be11d7f3c89 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
b31ab132561c dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
f19026ede26e dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
164e88024f82 dmaengine: pl330: Fix lockdep warning about non-static key
5af3f2a697d5 ida: don't use BUG_ON() for debugging
d88022b41eff dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
aaf875578fd9 misc: rtsx_usb: set return value in rsp_buf alloc err path
29612c43a2c5 misc: rtsx_usb: use separate command and response buffers
0e517d0d7feb misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
858c2d070895 dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
67586906893c i2c: cadence: Unregister the clk notifier in error path
acb72388aed5 selftests: forwarding: fix error message in learning_test
7adf3d45c460 selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
681738560bf2 selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
0711d15ccb27 ibmvnic: Properly dispose of all skbs during a failover.
aa698affa62c ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
6b4747d5af43 ARM: at91: pm: use proper compatible for sama5d2's rtc
123540275034 pinctrl: sunxi: sunxi_pconf_set: use correct offset
12a690536931 pinctrl: sunxi: a83t: Fix NAND function name for some pins
3cf8ece91132 ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
c465bbcd3c74 xfs: remove incorrect ASSERT in xfs_rename
845dac0276a5 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
9afdff9dd820 can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
93f228fcbef2 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
0adb049bac09 powerpc/powernv: delay rng platform device creation until later in boot
782b65ee7bbe video: of_display_timing.h: include errno.h
af93e8219734 fbcon: Prevent that screen size is smaller than font size
4f34f380f952 fbcon: Disallow setting font bigger than screen size
997d86cd3e39 fbmem: Check virtual screen sizes in fb_set_var()
407c1b491fbd fbdev: fbmem: Fix logo center image dx issue
14ff1184310f iommu/vt-d: Fix PCI bus rescan device hot add
800bb66ab275 net: rose: fix UAF bug caused by rose_t0timer_expiry
04894ab34faf usbnet: fix memory leak in error case
6f655b5e13fa can: gs_usb: gs_usb_open/close(): fix memory leak
eb7bbd7728da can: grcan: grcan_probe(): remove extra of_node_get()
5b48f5711f1c can: bcm: use call_rcu() instead of costly synchronize_rcu()
e7e3e90d6710 mm/slub: add missing TID updates on slab deactivation
3defefd22ad5 esp: limit skb_page_frag_refill use to a single page
49286fbdad47 Linux 5.4.204
0ac2845937ce clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
d40057538bee net: usb: qmi_wwan: add Telit 0x1070 composition
ea89a522b4cc net: usb: qmi_wwan: add Telit 0x1060 composition
5c03cad51b84 xen/arm: Fix race in RB-tree based P2M accounting
60ac50daad36 xen/blkfront: force data bouncing when backend is untrusted
ede57be88a5f xen/netfront: force data bouncing when backend is untrusted
04945b5beb73 xen/netfront: fix leaking data in shared pages
42112e8f9461 xen/blkfront: fix leaking data in shared pages
b7c996abe545 selftests/rseq: Change type of rseq_offset to ptrdiff_t
dc2825288012 selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
f89d15c9861c selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
618da2318e15 selftests/rseq: Fix: work-around asm goto compiler bugs
58082d4e8186 selftests/rseq: Remove arm/mips asm goto compiler work-around
1c9f13880f47 selftests/rseq: Fix warnings about #if checks of undefined tokens
6f87493c3aa6 selftests/rseq: Fix ppc32 offsets by using long rather than off_t
4e9c8fd7f7f0 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
d0ca70238f40 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
20e2f0108539 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
71c04fdf59ca selftests/rseq: Introduce thread pointer getters
f491e073b992 selftests/rseq: Introduce rseq_get_abi() helper
158d91ffe0be selftests/rseq: Remove volatile from __rseq_abi
7037c511f67d selftests/rseq: Remove useless assignment to cpu variable
9aa134cb66b4 selftests/rseq: introduce own copy of rseq uapi header
8417f4475959 selftests/rseq: remove ARRAY_SIZE define from individual tests
b13119007056 rseq/selftests,x86_64: Add rseq_offset_deref_addv()
7b6bffcfb9d3 ipv6/sit: fix ipip6_tunnel_get_prl return value
05387c4ff568 sit: use min
e99a98616191 net: dsa: bcm_sf2: force pause link settings
ac9cd4f66a4d hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
ee25841221c1 xen/gntdev: Avoid blocking in unmap_grant_pages()
5eac00ef2a11 net: tun: avoid disabling NAPI twice
8f968872ec34 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
37287fd28fb0 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
893825289ba8 net: bonding: fix use-after-free after 802.3ad slave unbind
6fdef80e7eaa net: bonding: fix possible NULL deref in rlb code
bb1dc7cc576e net/sched: act_api: Notify user space if any actions were flushed before error
3b2ddeb89fe7 netfilter: nft_dynset: restore set element counter when failing to update
5b3a1c6bca38 s390: remove unneeded 'select BUILD_BIN2C'
bdecd912e99a PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
e1284ec4a6d7 caif_virtio: fix race between virtio_device_ready() and ndo_open()
9204bc3e8722 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
7a79f71f6931 usbnet: fix memory allocation in helpers
5af106f8e072 linux/dim: Fix divide by 0 in RDMA DIM
85d7d672e896 RDMA/qedr: Fix reporting QP timeout attribute
ea0519bc578d net: tun: stop NAPI when detaching queues
a8cf91902237 net: tun: unlink NAPI from device on destruction
22e75461014b selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
1d877327da33 virtio-net: fix race between ndo_open() and virtio_device_ready()
7f89bb5d7102 net: usb: ax88179_178a: Fix packet receiving
bb91556d2af0 net: rose: fix UAF bugs caused by timer handler
76a477d39836 SUNRPC: Fix READ_PLUS crasher
13816057eaf2 s390/archrandom: simplify back to earlier design and initialize earlier
f157bd9cf377 dm raid: fix KASAN warning in raid5_add_disks
90de15357504 dm raid: fix accesses beyond end of raid member array
b6125c5dc3d6 powerpc/bpf: Fix use of user_pt_regs in uapi
1ef2e87736a6 powerpc/prom_init: Fix kernel config grep
d5e32f08e7f1 nvdimm: Fix badblocks clear off-by-one error
53fb996f2709 ipv6: take care of disable_policy when restoring routes
(From OE-Core rev: c954fc1097cb99b7caac764db007f6b2541c248f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Literal blocks make sphinx take their text verbatim. This means that
directives cannot be used in literal blocks. This means :term:`S` was
printed as-is, without actually creating a link to the S variable
definition as would be expected outside of literal blocks.
Initially contributed to the master branch by Quentin Schulz.
(From yocto-docs rev: 882810d294762a6340909b59736acc660c4eaf5c)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moving the function will allow other classes to capture which CVEs have
been patched, in particular SBoM generation.
Also add a function to capture the CPE ID from the CVE Product and
Version
(From OE-Core rev: 75d34259a715120be1d023e4fd7b6b4b125f2443)
(From OE-Core rev: bba069463ca3813666d084643b0239b9af0199e1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa6c07bc1a)
Signed-off-by: Akash Hadke <akash.hadke@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed AES OCB failure to encrypt some bytes on 32-bit x86 platforms (CVE-2022-2097)
(From OE-Core rev: 6031eecee8ac8bed1c43a04ecf06ed08014346f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The usehead url parameter for git repositories causes bitbake to use
whatever commit the repository HEAD is pointing to if the repository
happens to have the name 'default'. This is the default name so in many
cases it works just fine, but if a different name is specified with the
url parameter 'name=newName' then it will fail to parse the recipe with
an error along the lines of:
ERROR: ExpansionError during parsing /path/to/my/recipe.bb
Traceback (most recent call last):
File "/path/to/poky/bitbake/lib/bb/fetch2/git.py", line 235, in Git.urldata_init:
> ud.setup_revisions(d)
File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1302, in FetchData.setup_revisions:
for name in self.names:
> self.revisions[name] = srcrev_internal_helper(self, d, name)
File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1167, in srcrev_internal_helper(name='newName'):
if srcrev == "AUTOINC":
> srcrev = ud.method.latest_revision(ud, d, name)
File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1562, in Git.latest_revision(name='newName'):
except KeyError:
> revs[key] = rev = self._latest_revision(ud, d, name)
return rev
File "/path/to/poky/bitbake/lib/bb/fetch2/git.py", line 650, in Git._latest_revision(name='newName'):
raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
> (ud.unresolvedrev[name], ud.host+ud.path))
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve 'master' in upstream git repository in git ls-remote output for /path/to/local/git/repo
Let's fix this by setting the unresolved rev of _all_ repository names
to 'HEAD' when the usehead url parameter is specified. Update the
currently failing test, test_local_gitfetch_usehead_withname, to now
expect success.
This change preserves existing behavior that allows usehead to be
overridden by a valid looking revision if one happens to be specified
instead of AUTOREV.
(Bitbake rev: a247f56df680382d62910bb9a174e0fdd29e4ca8)
Signed-off-by: Joey Degges <jdegges@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01e901c44ab0f496606b1d45c8953dc54970204c)
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder workers were non-deterministically enabling capstone
depending on whether the worker had libcapstone installed.
Add PACKAGECONFIG for capstone with default off, since qemu does not
require capstone support.
Qemu version in dunfell has capstone in the source tree as a submodule
and has configure options to enable it using that source code or using
the system libcapstone.
Qemu versions in master and kirkstone have removed the capstone
submodule and configure options, but added libcapstone autodetection to
meson.
In all cases using PACKAGECONFIG will allow a deterministic build.
(From OE-Core rev: af25fff399fa623b4fd6efbca21e01ea6b4d1fd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 052ef1f14d1e6a5ee34f742f65e51b20b416f79f)
Signed-off-by: Steve Sakoman <steve@sakoman.com
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #14851]
Under some circumstances it is not desirable to create a combined locale
archive (/usr/lib/locale/locale-archive).
The new variable IMAGE_LOCALES_ARCHIVE defaults to '1', so the default
behaviour is not changed.
Modified to work with code before move to lib/oe/package_manager
(From OE-Core rev: af32908dfcebbc0f617ad828d895f504c37ee2d1)
Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d78b819c2ec33fce3a34254fa90864ee5fa7617)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the SDK fails to build as the main openssh and dropbear packages
conflict with each other
(From OE-Core rev: 7bc7d4d24ee05a3bbb9a82ff1089da5d162c8497)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 4667abcc925ae0c430cccb480ec530506f6201ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise the SDK fails to build as the main openssh and dropbear packages
conflict with each other
(From OE-Core rev: e863fc060940d11cd6fd58f0f314333ed419cf54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit f90647e9dd95cfd29b5bdb8d7dcd688a10fc060c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need sftp so that scp works with recent openssh. Use the packagegroup
instead of a direct dependency to ensure this.
(From OE-Core rev: 70b3c7004e8f14a99adf6119f153a08ec4a4bc6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b76c8e5fc8802bbe54371119e6bf6312bf2a8ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Seems sad to have to do this but openssh is moving to use sftp instead
of scp to move files. This means scp from Fedora 36 will no longer be
able to move files to/from a dropbear based image. This breaks a number
of our key QA tests and I suspect will cause users pain too.
The sftp server from openssh is small (200kb uncompressed) and standalone
so adding it to the packagegroup seems to be the best way to preserve user
sanity. If people really don't want it, they can just use dropbear instead
of the packageground.
(From OE-Core rev: 93796b2787c410385d3176495e5307327449d2f7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a98188e83b2c027d99cc38e3367e1ec2a98efbb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora is switching to use sftp as the backend for scp. This means the
scp test fails on Fedora 36 hosts with a dropbear target as dropbear
doesn't support sftp. This change is in the upstream openssh code, other
distros have not yet changed the default but probably will follow.
The easiest way to resolve test failures in dropbear images is to stop
testing this against dropbear as it is no longer expected to work and will
likely spread as the change filters through other distros.
(From OE-Core rev: e7fb95c0b22b52b253f8d0ff10426bee9967854e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a71fc7d455400f406b0d607be712a1133fe91166)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has changed branch name to main from master. Change SRC_URI
accordingly.
(From OE-Core rev: f7af3c555d9ddef54264fa7da911507bca3eecb4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
871cbc208bf0 Linux 5.4.203
572cc34503d4 crypto: arm/ghash-ce - define fpu before fpu registers are referenced
3bf992f9d9a8 crypto: arm - use Kconfig based compiler checks for crypto opcodes
1b43c30cd5d5 ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler
9e00e5d195ed ARM: OMAP2+: drop unnecessary adrl
3657432a75e3 ARM: 8929/1: use APSR_nzcv instead of r15 as mrc operand
02c200fdba46 ARM: 8933/1: replace Sun/Solaris style flag on section directive
54e6ecd5b7ca crypto: arm/sha512-neon - avoid ADRL pseudo instruction
5e6f80033286 crypto: arm/sha256-neon - avoid ADRL pseudo instruction
e120403c0e7c ARM: 8971/1: replace the sole use of a symbol with its definition
0a43679016f0 ARM: 8990/1: use VFP assembler mnemonics in register load/store macros
472671eec98a ARM: 8989/1: use .fpu assembler directives instead of assembler arguments
2bfb0d43a47c net: mscc: ocelot: allow unregistered IP multicast flooding
223d551a6681 kexec_file: drop weak attribute from arch_kexec_apply_relocations[_add]
ab3ed204a146 powerpc/ftrace: Remove ftrace init tramp once kernel init is complete
77e2ad091850 drm: remove drm_fb_helper_modinit
9ef3ad40a81f Linux 5.4.202
ceda71d49f6b powerpc/pseries: wire up rng during setup_arch()
ece983890287 kbuild: link vmlinux only once for CONFIG_TRIM_UNUSED_KSYMS (2nd attempt)
2a81e813141e random: update comment from copy_to_user() -> copy_to_iter()
80f0038d757e modpost: fix section mismatch check for exported init/exit sections
d1359e4129ad ARM: cns3xxx: Fix refcount leak in cns3xxx_init
29ca9c4efacc ARM: Fix refcount leak in axxia_boot_secondary
734a4d15142b soc: bcm: brcmstb: pm: pm-arm: Fix refcount leak in brcmstb_pm_probe
f9b77a529375 ARM: exynos: Fix refcount leak in exynos_map_pmu
615907ccc421 ARM: dts: imx6qdl: correct PU regulator ramp delay
93e6137d2a5b powerpc/powernv: wire up rng during setup_arch
97808c781721 powerpc/rtas: Allow ibm,platform-dump RTAS call with null buffer address
b6232979320a powerpc: Enable execve syscall exit tracepoint
e0701f150b28 parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
e5234a9d64a9 xtensa: Fix refcount leak bug in time.c
a52972ee706b xtensa: xtfpga: Fix refcount leak bug in setup
f0fc7cdf5f19 iio: adc: axp288: Override TS pin bias current for some models
11c7ea38be91 iio: adc: stm32: fix maximum clock rate for stm32mp15x
5e39397d60da iio: trigger: sysfs: fix use-after-free on remove
6d2e68d02171 iio: gyro: mpu3050: Fix the error handling in mpu3050_power_up()
1ad6d668543d iio: accel: mma8452: ignore the return value of reset operation
a391bced8404 iio:accel:mxc4005: rearrange iio trigger get and register
23c158caa032 iio:accel:bma180: rearrange iio trigger get and register
8ea16a64aafc iio:chemical:ccs811: rearrange iio trigger get and register
2333db14d875 usb: chipidea: udc: check request status before setting device address
47e41b4dabbf xhci: turn off port power in shutdown
d62d1c606db0 iio: adc: vf610: fix conversion mode sysfs node name
741b6c8363c2 s390/cpumf: Handle events cycles and instructions identical
4837d1c81223 gpio: winbond: Fix error code in winbond_gpio_get()
bb18ad00c0b7 Revert "net/tls: fix tls_sk_proto_close executed repeatedly"
8c7a32b7c155 virtio_net: fix xdp_rxq_info bug after suspend/resume
28a78414f21e igb: Make DMA faster when CPU is active on the PCIe link
a5ed066bc246 regmap-irq: Fix a bug in regmap_irq_enable() for type_in_mask chips
844168a5dabf ice: ethtool: advertise 1000M speeds properly
e3a232e57670 afs: Fix dynamic root getattr
cacab1e620e0 MIPS: Remove repetitive increase irq_err_count
788c954f194c x86/xen: Remove undefined behavior in setup_features()
c7bdaad9cbfe udmabuf: add back sanity check
05c6c36c7931 net/tls: fix tls_sk_proto_close executed repeatedly
02da602bc2f3 erspan: do not assume transport header is always set
d1592d3e362c drm/msm/mdp4: Fix refcount leak in mdp4_modeset_init_intf
f1f9c2a5a3d9 net/sched: sch_netem: Fix arithmetic in netem_dump() for 32-bit platforms
47d31b97bf47 bonding: ARP monitor spams NETDEV_NOTIFY_PEERS notifiers
104a59b74577 phy: aquantia: Fix AN when higher speeds than 1G are not advertised
8ffe2e50e967 bpf: Fix request_sock leak in sk lookup helpers
f074ab253988 USB: serial: option: add Quectel RM500K module support
ea7b23eadebc USB: serial: option: add Quectel EM05-G modem
613c849d73df USB: serial: option: add Telit LE910Cx 0x1250 composition
ae183969bd66 random: quiet urandom warning ratelimit suppression message
06a24ddba93a dm mirror log: clear log bits up to BITS_PER_LONG boundary
1f350f3cf0c1 dm era: commit metadata in postsuspend after worker stops
0e75acbe1b76 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
71c76f56b97c mtd: rawnand: gpmi: Fix setting busy timeout setting
c8d37e6ca180 mmc: sdhci-pci-o2micro: Fix card detect by dealing with debouncing
af28f602df74 net: openvswitch: fix parsing of nw_proto for IPv6 fragments
6fda65dabd3e ALSA: hda/realtek: Add quirk for Clevo PD70PNT
5fbad99e76c0 ALSA: hda/realtek - ALC897 headset MIC no sound
cf81f367cf81 ALSA: hda/conexant: Fix missing beep setup
eca9b5e36e24 ALSA: hda/via: Fix missing beep setup
1df5178fdebe random: schedule mix_interrupt_randomness() less often
c87e851b23e5 vt: drop old FONT ioctls
23db944f754e Linux 5.4.201
3994d2ee55e2 Revert "hwmon: Make chip parameter for with_info API mandatory"
7b9c3bfbad25 arm64: mm: Don't invalidate FROM_DEVICE buffers at start of DMA transfer
2e1591c27b95 tcp: drop the hash_32() part from the index calculation
c26e1addf157 tcp: increase source port perturb table to 2^16
77d29f3b18c4 tcp: dynamically allocate the perturb table used by source ports
7c0a777b7dbd tcp: add small random increments to the source port
53c5de3092ad tcp: use different parts of the port_offset for index and offset
95921a3bab76 tcp: add some entropy in __inet_hash_connect()
bdcbf2602feb usb: gadget: u_ether: fix regression in setting fixed MAC address
2577d67a9a8a dm: remove special-casing of bio-based immutable singleton target on NVMe
4143503b486a s390/mm: use non-quiescing sske for KVM switch to keyed guest
f0c280af0ec7 Linux 5.4.200
ab8dff4b716e powerpc/mm: Switch obsolete dssall to .long
1a48a41f1422 riscv: Less inefficient gcc tishift helpers (and export their symbols)
2464a1c0de53 RISC-V: fix barrier() use in <vdso/processor.h>
490a02cd8205 arm64: kprobes: Use BRK instead of single-step when executing instructions out-of-line
ef6f9ce0a79a net: openvswitch: fix leak of nested actions
6bb3c77c74f5 net: openvswitch: fix misuse of the cached connection on tuple changes
b47319b4aa21 net/sched: act_police: more accurate MTU policing
13fbdea1184b virtio-pci: Remove wrong address verification in vp_del_vqs()
80e4d8a27451 ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machine
119e0268cc1c ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
fba542891767 ext4: add reserved GDT blocks check
4ca0d2f1e04e ext4: make variable "count" signed
a6b31616e5af ext4: fix bug_on ext4_mb_use_inode_pa
ae4603128751 dm mirror log: round up region bitmap size to BITS_PER_LONG
64d2df648003 serial: 8250: Store to lsr_save_flags after lsr read
b75bddfcc181 usb: gadget: lpc32xx_udc: Fix refcount leak in lpc32xx_udc_probe
6506aff2dc2f usb: dwc2: Fix memory leak in dwc2_hcd_init
940653b51c33 USB: serial: io_ti: add Agilent E5805A support
31363b2b868e USB: serial: option: add support for Cinterion MV31 with new baseline
d0c3730f2763 comedi: vmk80xx: fix expression for tx buffer size
bf833c484881 i2c: designware: Use standard optional ref clock implementation
8d884c08eeb8 irqchip/gic-v3: Fix refcount leak in gic_populate_ppi_partitions
58e67c81e229 irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions
56526c3883fc irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
4695bafabf5b faddr2line: Fix overlapping text section failures, the sequel
1b34d6a93832 certs/blacklist_hashes.c: fix const confusion in certs blacklist
fb775ee3cfff arm64: ftrace: fix branch range checks
0e21311ba459 net: bgmac: Fix an erroneous kfree() in bgmac_remove()
c19cdd72b3ec mlxsw: spectrum_cnt: Reorder counter pools
c03304dc4234 misc: atmel-ssc: Fix IRQ check in ssc_probe
f7183c76d500 tty: goldfish: Fix free_irq() on remove
ff6e03fe84bc i40e: Fix call trace in setup_tx_descriptors
4b94408e1617 i40e: Fix calculating the number of queue pairs
43f65970eeb2 i40e: Fix adding ADQ filter to TC0
cff3a7ce6e81 clocksource: hyper-v: unexport __init-annotated hv_init_clocksource()
11c870c0b532 pNFS: Don't keep retrying if the server replied NFS4ERR_LAYOUTUNAVAILABLE
e32fe87afcfe random: credit cpu and bootloader seeds by default
9e4cab02b7ec net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag
2f42389d270f ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
6b4d8b44e716 nfc: nfcmrvl: Fix memory leak in nfcmrvl_play_deferred
786428a1dec2 virtio-mmio: fix missing put_device() when vm_cmdline_parent registration failed
aacb264d54c4 ALSA: hda/realtek - Add HW8326 support
ff882404dff7 scsi: pmcraid: Fix missing resource cleanup in error case
c48119223618 scsi: ipr: Fix missing/incorrect resource cleanup in error case
fe0855944a64 scsi: lpfc: Allow reduced polling rate for nvme_admin_async_event cmd completion
1f1be79189fd scsi: lpfc: Fix port stuck in bypassed state after LIP in PT2PT topology
001de3d8ce82 scsi: vmw_pvscsi: Expand vcpuHint to 16 bits
9e3a0d3fc71c ASoC: wm_adsp: Fix event generation for wm_adsp_fw_put()
bc046649c5d6 ASoC: es8328: Fix event generation for deemphasis control
a81f5a7f7a20 ASoC: wm8962: Fix suspend while playing music
253334f84c81 ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()
052cd621acbf ASoC: cs42l56: Correct typo in minimum level for SX volume controls
6d180913b3ab ASoC: cs42l52: Correct TLV for Bypass Volume
385a031c56a9 ASoC: cs53l30: Correct number of volume levels on SX controls
675b6a49cf70 ASoC: cs35l36: Update digital volume TLV
b00f63dba5b8 ASoC: cs42l52: Fix TLV scales for mixer controls
cd8c1e6c01f1 dma-debug: make things less spammy under memory pressure
a45e19fd6ed8 ASoC: nau8822: Add operation for internal PLL off and on
348831a9e8aa powerpc/kasan: Silence KASAN warnings in __get_wchan()
5624055c8f4b random: account for arch randomness in bits
c0bf6bfce70a random: mark bootloader randomness code as __init
f96250197b43 random: avoid checking crng_ready() twice in random_init()
072cd87d12a8 crypto: drbg - make reseeding from get_random_bytes() synchronous
e9eb0c4741a7 crypto: drbg - always try to free Jitter RNG instance
f284afc3a9ca crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()
babba4bf53a6 crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()
1b93b302e942 crypto: drbg - prepare for more fine-grained tracking of seeding state
98e574a73414 crypto: drbg - always seeded with SP800-90B compliant noise source
61f87ea3f957 Revert "random: use static branch for crng_ready()"
3faf33a85650 random: check for signals after page of pool writes
2177cef53ec9 random: wire up fops->splice_{read,write}_iter()
35db2a073118 random: convert to using fops->write_iter()
43e62db84a99 random: convert to using fops->read_iter()
c23188facd10 random: unify batched entropy implementations
1aeedbe02b5c random: move randomize_page() into mm where it belongs
ceaf1feefe6e random: move initialization functions out of hot pages
d3bf98d61fb6 random: make consistent use of buf and len
70fce7f105bb random: use proper return types on get_random_{int,long}_wait()
d05948dc23e6 random: remove extern from functions in header
d8b4296417ea random: use static branch for crng_ready()
087a14b9cf9b random: credit architectural init the exact amount
ac48f7bee198 random: handle latent entropy and command line from random_init()
736a22645d98 random: use proper jiffies comparison macro
3266fba20661 random: remove ratelimiting for in-kernel unseeded randomness
c5373bd6e4fb random: move initialization out of reseeding hot path
0747ad152fa1 random: avoid initializing twice in credit race
0baeec0effc7 random: use symbolic constants for crng_init states
55d64df3ad5b siphash: use one source of truth for siphash permutations
e4e8a9f8a616 random: help compiler out with fast_mix() by using simpler arguments
bf3b51eb0f13 random: do not use input pool from hard IRQs
6d4203a2cddc random: order timer entropy functions below interrupt functions
58da574f105a random: do not pretend to handle premature next security model
e739d5bd1466 random: use first 128 bits of input as fast init
c44f8b386376 random: do not use batches when !crng_ready()
e247ea8d97bf random: insist on random_get_entropy() existing in order to simplify
9bfbcb37e5f6 xtensa: use fallback for random_get_entropy() instead of zero
fa15650b51f6 sparc: use fallback for random_get_entropy() instead of zero
9dfc14590c5d um: use fallback for random_get_entropy() instead of zero
0cc41e2c73f7 x86/tsc: Use fallback for random_get_entropy() instead of zero
f2a6e8727084 nios2: use fallback for random_get_entropy() instead of zero
db1d13fe4c80 arm: use fallback for random_get_entropy() instead of zero
6fa912f987fa mips: use fallback for random_get_entropy() instead of just c0 random
36f38f838c5b m68k: use fallback for random_get_entropy() instead of zero
a7d04ca9da61 timekeeping: Add raw clock fallback for random_get_entropy()
eb2f9d72f32a powerpc: define get_cycles macro for arch-override
10455a367c33 alpha: define get_cycles macro for arch-override
5f0b77ca1978 parisc: define get_cycles macro for arch-override
80459abc9fee s390: define get_cycles macro for arch-override
73385644490a ia64: define get_cycles macro for arch-override
5fac86663976 init: call time_init() before rand_initialize()
b88ae87b100c random: fix sysctl documentation nits
465425748359 random: document crng_fast_key_erasure() destination possibility
ec07b3494517 random: make random_get_entropy() return an unsigned long
fe156368f987 random: allow partial reads if later user copies fail
70788723da70 random: check for signals every PAGE_SIZE chunk of /dev/[u]random
2ce859d91fe9 random: check for signal_pending() outside of need_resched() check
0e8030c9e03d random: do not allow user to keep crng key around on stack
95aed891f7be random: do not split fast init input in add_hwgenerator_randomness()
1d53d5a0973e random: mix build-time latent entropy into pool at init
0aba75c6173d random: re-add removed comment about get_random_{u32,u64} reseeding
81ea8a609b48 random: treat bootloader trust toggle the same way as cpu trust toggle
a08d52a6081b random: skip fast_init if hwrng provides large chunk of entropy
8320bc665c29 random: check for signal and try earlier when generating entropy
3a53b818bb0e random: reseed more often immediately after booting
905759e0fc17 random: make consistent usage of crng_ready()
ad4c6bd98c54 random: use SipHash as interrupt entropy accumulator
631503001ccf random: replace custom notifier chain with standard one
1ae73fb2a635 random: don't let 644 read-only sysctls be written to
ed409757100b random: give sysctl_random_min_urandom_seed a more sensible value
75d95c1b5dea random: do crng pre-init loading in worker rather than irq
219c84fe93e5 random: unify cycles_t and jiffies usage and types
673637c4c9e0 random: cleanup UUID handling
4d5151cc288a random: only wake up writers after zap if threshold was passed
ac0081dec7d6 random: round-robin registers as ulong, not u32
62cd795e465a random: clear fast pool, crng, and batches in cpuhp bring up
a7f8f385bb6f random: pull add_hwgenerator_randomness() declaration into random.h
ff607fc7607d random: check for crng_init == 0 in add_device_randomness()
20788eb4ce70 random: unify early init crng load accounting
49567f947735 random: do not take pool spinlock at boot
4a61bf7f9b18 random: defer fast pool mixing to worker
944d1bd0e5be random: rewrite header introductory comment
c0e35949c736 random: group sysctl functions
d946084180ee random: group userspace read/write functions
565a66043bdf random: group entropy collection functions
f2d587c493fc random: group entropy extraction functions
a8786d54762f random: group crng functions
c12dfec1aacf random: group initialization wait functions
22e3db57ab94 random: remove whitespace and reorder includes
cee64be60591 random: remove useless header comment
904e6123c400 random: introduce drain_entropy() helper to declutter crng_reseed()
47c56790d51c random: deobfuscate irq u32/u64 contributions
e280b79c3127 random: add proper SPDX header
776927dfd4ac random: remove unused tracepoints
d68883956d36 random: remove ifdef'd out interrupt bench
4a14a5a6969a random: tie batched entropy generation to base_crng generation
d8a6684950c1 random: fix locking for crng_init in crng_reseed()
b1d561138150 random: zero buffer after reading entropy from userspace
21da00f8cb3a random: remove outdated INT_MAX >> 6 check in urandom_read()
b530684129b2 random: make more consistent use of integer types
3eed6af93ecd random: use hash function for crng_slow_load()
cee3c7056900 random: use simpler fast key erasure flow on per-cpu keys
ea9941fd6e26 random: absorb fast pool into input pool after fast load
a3562bf4e8c9 random: do not xor RDRAND when writing into /dev/random
574c8839504b random: ensure early RDSEED goes through mixer on init
d3d3c1c214c3 random: inline leaves of rand_initialize()
817315517af9 random: get rid of secondary crngs
c15fc80b7df0 random: use RDSEED instead of RDRAND in entropy extraction
72db8151c889 random: fix locking in crng_fast_load()
7229c6d90a1a random: remove batched entropy locking
6c8911579221 random: remove use_input_pool parameter from crng_reseed()
4ef908fb81d9 random: make credit_entropy_bits() always safe
42a9a7e80750 random: always wake up entropy writers after extraction
373ef51f3e8a random: use linear min-entropy accumulation crediting
a1a2bae5ef93 random: simplify entropy debiting
4e5814bd2e75 random: use computational hash for entropy extraction
99a0f8e22d4c random: only call crng_finalize_init() for primary_crng
88609b892fdd random: access primary_pool directly rather than through pointer
0b9f9b94f1ea random: continually use hwgenerator randomness
811e333c4eb2 random: simplify arithmetic function flow in account()
56de23dcf9d0 random: selectively clang-format where it makes sense
86eac12b1cf5 random: access input_pool_data directly rather than through pointer
4f5400ca7fc1 random: cleanup fractional entropy shift constants
1b6f1d32a858 random: prepend remaining pool constants with POOL_
0fe4a64fd946 random: de-duplicate INPUT_POOL constants
e35576c4cb18 random: remove unused OUTPUT_POOL constants
74cb3093f2de random: rather than entropy_store abstraction, use global
14652d864280 random: remove unused extract_entropy() reserved argument
12f17e3f3a14 random: remove incomplete last_data logic
adcbbb44ccc1 random: cleanup integer types
4ac4c7f057ff random: cleanup poolinfo abstraction
5c3818e3bd7b random: fix typo in comments
0a7e65810269 random: don't reset crng_init_cnt on urandom_read()
8d7c55563ed0 random: avoid superfluous call to RDRAND in CRNG extraction
8b4695640bc5 random: early initialization of ChaCha constants
cfc69065005e random: initialize ChaCha20 constants with correct endianness
922d082e3363 random: use IS_ENABLED(CONFIG_NUMA) instead of ifdefs
565b3af16894 random: harmonize "crng init done" messages
346c4a697c29 random: mix bootloader randomness into pool
afce74c0c04f random: do not re-init if crng_reseed completes before primary init
d76758c71209 random: do not sign extend bytes for rotation when mixing
c2f0a89cd1d5 random: use BLAKE2s instead of SHA1 in extraction
6e6ae70c1eac random: remove unused irq_flags argument from add_interrupt_randomness()
2580b0b3fd5a random: document add_hwgenerator_randomness() with other input functions
3cc36a4aa1ca crypto: blake2s - adjust include guard naming
09342a544c4b crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
f850f3643d6b MAINTAINERS: co-maintain random.c
967e3a136f9b random: remove dead code left over from blocking pool
610f0b439a6b random: avoid arch_get_random_seed_long() when collecting IRQ randomness
ad3fce669105 random: add arch_get_random_*long_early()
41b0d3e86c50 powerpc: Use bool in archrandom.h
89533373e11c linux/random.h: Mark CONFIG_ARCH_RANDOM functions __must_check
0222f9f1d168 linux/random.h: Use false with bool
15f93060b718 linux/random.h: Remove arch_has_random, arch_has_random_seed
a95ed04e21da s390: Remove arch_has_random, arch_has_random_seed
aab52172d9f9 powerpc: Remove arch_has_random, arch_has_random_seed
35e28a05f659 x86: Remove arch_has_random, arch_has_random_seed
98f749e29728 random: avoid warnings for !CONFIG_NUMA builds
c13b9c3627d8 random: split primary/secondary crng init paths
c070b07aaf34 random: remove some dead code of poolinfo
898498bb4414 random: fix typo in add_timer_randomness()
2c53d6d6a7be random: Add and use pr_fmt()
f3375cfe31bc random: convert to ENTROPY_BITS for better code readability
9f757cad20b7 random: remove unnecessary unlikely()
4431c366fe23 random: remove kernel.random.read_wakeup_threshold
ec134003cc39 random: delete code to pull data into pools
a9564e14c6dd random: remove the blocking pool
940cbc47b369 random: make /dev/random be almost like /dev/urandom
c4edc1055c11 random: ignore GRND_RANDOM in getentropy(2)
7f9f864af021 random: add GRND_INSECURE to return best-effort non-cryptographic bytes
479d39707ff7 random: Add a urandom_read_nowait() for random APIs that don't warn
69441ba56f13 random: Don't wake crng_init_wait when crng_init == 1
69ef3109d422 random: don't forget compat_ioctl on urandom
927fc225af29 compat_ioctl: remove /dev/random commands
996fba14fa35 lib/crypto: sha1: re-roll loops to reduce code size
c4f48374407b lib/crypto: blake2s: move hmac construction into wireguard
97126d2f65b3 crypto: blake2s - generic C library implementation and selftest
76101f1b7f59 nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION
e804587ecdcd bpf: Fix incorrect memory charge cost calculation in stack_map_alloc()
f91da317e6fa 9p: missing chunk of "fs/9p: Don't update file type when updating file attributes"
(From OE-Core rev: 6126f40a7ce1c55638277e45c084b82364a654b6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
a31bd366116c Linux 5.4.199
4cc40b1022bb x86/speculation/mmio: Print SMT warning
d49c22094e6f KVM: x86/speculation: Disable Fill buffer clear within guests
d96159263593 x86/speculation/mmio: Reuse SRBDS mitigation for SBDS
bc64f38b5a38 x86/speculation/srbds: Update SRBDS mitigation selection
020ce7495cfc x86/speculation/mmio: Add sysfs reporting for Processor MMIO Stale Data
8d25482fc96a x86/speculation/mmio: Enable CPU Fill buffer clearing on idle
7f898baa2044 x86/bugs: Group MDS, TAA & Processor MMIO Stale Data mitigations
0800f1b45bf6 x86/speculation/mmio: Add mitigation for Processor MMIO Stale Data
ae649e0cbf76 x86/speculation: Add a common function for MD_CLEAR mitigation update
814ccb673035 x86/speculation/mmio: Enumerate Processor MMIO Stale Data bug
91f8147c8371 Documentation: Add documentation for Processor MMIO Stale Data
1e9f4e8a7aa9 x86/cpu: Add another Alder Lake CPU to the Intel family
45e744de251c x86/cpu: Add Lakefield, Alder Lake and Rocket Lake models to the to Intel CPU family
79568d551570 x86/cpu: Add Jasper Lake to Intel family
9e2efaa5dd10 cpu/speculation: Add prototype for cpu_show_srbds()
9d6e67bf5090 Linux 5.4.198
602b338e3c3c tcp: fix tcp_mtup_probe_success vs wrong snd_cwnd
b35e08edb2c2 mtd: cfi_cmdset_0002: Use chip_ready() for write on S29GL064N
0c12d7625502 md/raid0: Ignore RAID0 layout if the second zone has only one device
0c4bc0a2f825 powerpc/32: Fix overread/overwrite of thread_struct via ptrace
3c953d47eb1e Input: bcm5974 - set missing URB_NO_TRANSFER_DMA_MAP urb flag
6ec537c50033 ixgbe: fix unexpected VLAN Rx in promisc mode on VF
24030768a7b4 ixgbe: fix bcast packets Rx on VF after promisc removal
3eca2c42daa4 nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
31f9c39b4a37 nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION
4f4ab5004633 mmc: block: Fix CQE recovery reset success
0245434e381e ata: libata-transport: fix {dma|pio|xfer}_mode sysfs files
b651f70ed3a8 cifs: return errors during session setup during reconnects
850965edc861 ALSA: hda/conexant - Fix loopback issue with CX20632
6c04a2ae039b scripts/gdb: change kernel config dumping method
1a36f77dc23c vringh: Fix loop descriptors check in the indirect cases
a3f9b0afd8b4 nodemask: Fix return values to be unsigned
9b306339a511 cifs: version operations for smb20 unneeded when legacy support disabled
5cb13cdc180a s390/gmap: voluntarily schedule during key setting
69893d6d7f5c nbd: fix io hung while disconnecting device
8a7da4ced236 nbd: fix race between nbd_alloc_config() and module removal
1be608e1ee1f nbd: call genl_unregister_family() first in nbd_cleanup()
045045b522c6 x86/cpu: Elide KCSAN for cpu_has() and friends
460083de66c4 modpost: fix undefined behavior of is_arm_mapping_symbol()
28fd384c78d7 drm/radeon: fix a possible null pointer dereference
9223144fdd64 ceph: allow ceph.dir.rctime xattr to be updatable
7df12bee5415 Revert "net: af_key: add check for pfkey_broadcast in function pfkey_process"
0331d261c398 scsi: myrb: Fix up null pointer access on myrb_cleanup()
cf6b9316879f md: protect md_unregister_thread from reentrancy
99e4c67a5581 watchdog: wdat_wdt: Stop watchdog when rebooting the system
6fd031799e7b kernfs: Separate kernfs_pr_cont_buf and rename_lock.
19f4b51b836d serial: msm_serial: disable interrupts in __msm_console_write()
52a0d88c3280 staging: rtl8712: fix uninit-value in r871xu_drv_init()
58762f1c63c7 staging: rtl8712: fix uninit-value in usb_read8() and friends
1bcfb95de192 clocksource/drivers/sp804: Avoid error on multiple instances
d472c78cc829 extcon: Modify extcon device to be created after driver data is set
fa0b2dd6829d misc: rtsx: set NULL intfdata when probe fails
d232ca0bbc7d usb: dwc2: gadget: don't reset gadget's driver->bus
3a7170a3de62 USB: hcd-pci: Fully suspend across freeze/thaw cycle
2dcec0bc142b drivers: usb: host: Fix deadlock in oxu_bus_suspend()
09a5958a2452 drivers: tty: serial: Fix deadlock in sa1100_set_termios()
c91a74b1f0f2 USB: host: isp116x: check return value after calling platform_get_resource()
64b05fa212c7 drivers: staging: rtl8192e: Fix deadlock in rtllib_beacons_stop()
1fbe033c5248 drivers: staging: rtl8192u: Fix deadlock in ieee80211_beacons_stop()
8c014373f178 tty: Fix a possible resource leak in icom_probe
f6e07eb7ebec tty: synclink_gt: Fix null-pointer-dereference in slgt_clean()
1b04c934e1e6 lkdtm/usercopy: Expand size of "out of frame" object
ca2498cce875 iio: st_sensors: Add a local lock for protecting odr
ab75e02366e1 iio: dummy: iio_simple_dummy: check the return value of kstrdup()
36acb4d9ce55 drm: imx: fix compiler warning with gcc-12
8174acbef87b net: altera: Fix refcount leak in altera_tse_mdio_create
3d08bc3a5d9b ip_gre: test csum_start instead of transport header
957d298526b5 net/mlx5: fs, fail conflicting actions
8a6740fdc562 net/mlx5: Rearm the FW tracer after each tracer event
317260b3eb63 net: ipv6: unexport __init-annotated seg6_hmac_init()
ef6d2354de23 net: xfrm: unexport __init-annotated xfrm4_protocol_init()
6a90a44d5342 net: mdio: unexport __init-annotated mdio_bus_init()
978dcc55cf36 SUNRPC: Fix the calculation of xdr->end in xdr_get_next_encode_buffer()
180473e8e42a net/mlx4_en: Fix wrong return value on ioctl EEPROM query failure
7c8df6fad43d net: dsa: lantiq_gswip: Fix refcount leak in gswip_gphy_fw_list
e412b3d178ea bpf, arm64: Clear prog->jited_len along prog->jited
556720013c36 af_unix: Fix a data-race in unix_dgram_peer_wake_me().
b49c884146e2 xen: unexport __init-annotated xen_xlate_map_ballooned_pages()
5b8d63489c3b netfilter: nf_tables: memleak flow rule from commit path
d5a1e7f33c88 ata: pata_octeon_cf: Fix refcount leak in octeon_cf_probe
e0212033ff68 netfilter: nat: really support inet nat without l3 address
da99331fa621 xprtrdma: treat all calls not a bcall when bc_serv is NULL
48dea4d3a11f video: fbdev: pxa3xx-gcu: release the resources correctly in pxa3xx_gcu_probe/remove()
a2b3be930e79 NFSv4: Don't hold the layoutget locks across multiple RPC calls
83960276ffc9 dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type
4917e43bca50 m68knommu: fix undefined reference to `_init_sp'
f6bdafbb9b04 m68knommu: set ZERO_PAGE() to the allocated zeroed page
27fdb4572344 i2c: cadence: Increase timeout per message if necessary
0a7a1fc7e71e f2fs: remove WARN_ON in f2fs_is_valid_blkaddr
23b2163b887f tracing: Avoid adding tracer option before update_tracer_options
48c6ee7d6c61 tracing: Fix sleeping function called from invalid context on RT kernel
cc0aed22d33c mips: cpc: Fix refcount leak in mips_cpc_default_phys_base
ff66ae4359ff perf c2c: Fix sorting in percent_rmt_hitm_cmp()
8b91d0dfc839 tipc: check attribute length for bearer name
c2eba68d185b afs: Fix infinite loop found by xfstest generic/676
d05c2fdf8e10 tcp: tcp_rtx_synack() can be called from process context
1bd2f7f38bac net: sched: add barrier to fix packet stuck problem for lockless qdisc
77b954ce2d64 net/mlx5e: Update netdev features after changing XDP state
a4c52440acf4 net/mlx5: Don't use already freed action pointer
00803d30518f nfp: only report pause frame configuration for physical device
8302620aeb94 ubi: ubi_create_volume: Fix use-after-free when volume creation failed
d3a4fff1e7e4 jffs2: fix memory leak in jffs2_do_fill_super
acf92b525723 modpost: fix removing numeric suffixes
a101793994c0 net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
2bd1faedb74d net: ethernet: mtk_eth_soc: out of bounds read in mtk_hwlro_get_fdir_entry()
be73e3bf6862 net: sched: fixed barrier to prevent skbuff sticking in qdisc backlog
51ed32c1cfcf s390/crypto: fix scatterwalk_unmap() callers in AES-GCM
80f6712f241c clocksource/drivers/oxnas-rps: Fix irq_of_parse_and_map() return value
e5d479d73f21 ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition
5b110d940417 watchdog: ts4800_wdt: Fix refcount leak in ts4800_wdt_probe
593b595332bd driver core: fix deadlock in __device_attach
5d709f58c743 driver: base: fix UAF when driver_attach failed
3157118c1795 bus: ti-sysc: Fix warnings for unbind for serial
a724634b2a49 firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle
c3a16e7c8624 serial: stm32-usart: Correct CSIZE, bits, and parity
29d963635ee6 serial: st-asc: Sanitize CSIZE and correct PARENB for CS7
5c01c19f64c7 serial: sifive: Sanitize CSIZE and c_iflag
841cab744cc0 serial: sh-sci: Don't allow CS5-6
942aa88467b9 serial: txx9: Don't allow CS5-6
eb8de4bac35a serial: rda-uart: Don't allow CS5-6
0de3d2344ee0 serial: digicolor-usart: Don't allow CS5-6
035bc3b734aa serial: 8250_fintek: Check SER_RS485_RTS_* only with RS485
1b3ae6d85069 serial: meson: acquire port->lock in startup()
d77f28c1bc9d rtc: mt6397: check return value after calling platform_get_resource()
d041e885749f clocksource/drivers/riscv: Events are stopped during CPU suspend
69a30b2ed620 soc: rockchip: Fix refcount leak in rockchip_grf_init
0f91755514b8 coresight: cpu-debug: Replace mutex with mutex_trylock on panic notifier
47e4c42faab9 serial: sifive: Report actual baud base rather than fixed 115200
f2a16af2ee0a phy: qcom-qmp: fix pipe-clock imbalance on power-on failure
b6b0f8904bd6 rpmsg: qcom_smd: Fix returning 0 if irq_of_parse_and_map() fails
088f449d9d3c iio: adc: sc27xx: Fine tune the scale calibration values
e5d48301d1fc iio: adc: sc27xx: fix read big scale voltage not right
0f57d139300f iio: adc: stmpe-adc: Fix wait_for_completion_timeout return value check
bec18bb00f11 firmware: stratix10-svc: fix a missing check on list iterator
8ad7b3d9f838 usb: dwc3: pci: Fix pm_runtime_get_sync() error checking
1026ee392ba3 rpmsg: qcom_smd: Fix irq_of_parse_and_map() return value
89d1b9dfccce pwm: lp3943: Fix duty calculation in case period was clamped
8e9f3f508a9c staging: fieldbus: Fix the error handling path in anybuss_host_common_probe()
67c2aa77b40e usb: musb: Fix missing of_node_put() in omap2430_probe
b78499772fa7 USB: storage: karma: fix rio_karma_init return
72ab0f6f2ba8 usb: usbip: add missing device lock on tweak configuration cmd
2f0ae93ec33c usb: usbip: fix a refcount leak in stub_probe()
077f58e469a6 tty: serial: fsl_lpuart: fix potential bug when using both of_alias_get_id and ida_simple_get
7320308b189c tty: serial: owl: Fix missing clk_disable_unprepare() in owl_uart_probe
9ae3d073f7db tty: goldfish: Use tty_port_destroy() to destroy port
d88fdea1477c iio: adc: ad7124: Remove shift from scan_type
1aa30dc88372 staging: greybus: codecs: fix type confusion of list iterator variable
6c8c536e0020 pcmcia: db1xxx_ss: restrict to MIPS_DB1XXX boards
4faa6308e1b8 md: bcache: check the return value of kzalloc() in detached_dev_do_request()
5f62b21b7c93 block: fix bio_clone_blkg_association() to associate with proper blkcg_gq
ccddf8cd411c bfq: Make sure bfqg for which we are queueing requests is online
8afc13b958bd bfq: Get rid of __bio_blkcg() usage
be1b78f94992 bfq: Remove pointless bfq_init_rq() calls
f885f55033a1 bfq: Drop pointless unlock-lock pair
97be7d13fbd4 bfq: Avoid merging queues with different parents
54073410537f MIPS: IP27: Remove incorrect `cpu_has_fpu' override
427c3c7ebd5f RDMA/rxe: Generate a completion for unsupported/invalid opcode
4946cfd1c8f0 Kconfig: add config option for asm goto w/ outputs
7ac21b24af85 phy: qcom-qmp: fix reset-controller leak on probe errors
d19fa8f25200 blk-iolatency: Fix inflight count imbalances and IO hangs on offline
8a068913d19d dt-bindings: gpio: altera: correct interrupt-cells
3b8c37780d11 docs/conf.py: Cope with removal of language=None in Sphinx 5.0.0
da9634374d41 ARM: pxa: maybe fix gpio lookup tables
1668ad103679 phy: qcom-qmp: fix struct clk leak on probe errors
2040b6076544 arm64: dts: qcom: ipq8074: fix the sleep clock frequency
8dd2e5f9c1f1 gma500: fix an incorrect NULL check on list iterator
a62591e36100 tilcdc: tilcdc_external: fix an incorrect NULL check on list iterator
77ec584d3de0 serial: pch: don't overwrite xmit->buf[0] by x_char
f6cb1470ba22 carl9170: tx: fix an incorrect use of list iterator
2ea49d6310c9 ASoC: rt5514: Fix event generation for "DSP Voice Wake Up" control
b8ce58ab80fa rtl818x: Prevent using not initialized queues
6f4a489d8458 hugetlb: fix huge_pmd_unshare address update
73bdb2359dbc nodemask.h: fix compilation error with GCC12
6e071eaf5002 iommu/msm: Fix an incorrect NULL check on list iterator
9caad70819ae um: Fix out-of-bounds read in LDT setup
6cbe83680f01 um: chan_user: Fix winch_tramp() return value
3466e4265244 mac80211: upgrade passive scan to active scan on DFS channels after beacon rx
cf465ecfe3a8 irqchip: irq-xtensa-mx: fix initial IRQ affinity
36bab24bb81b irqchip/armada-370-xp: Do not touch Performance Counter Overflow on A375, A38x, A39x
8858284dd749 RDMA/hfi1: Fix potential integer multiplication overflow errors
64623236263f Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug
532aa3f7a50c media: coda: Add more H264 levels for CODA960
adcea1c8eea8 media: coda: Fix reported H264 profile
f2c2ad538e49 mtd: cfi_cmdset_0002: Move and rename chip_check/chip_ready/chip_good_for_write
16e993ac7c81 md: fix an incorrect NULL check in md_reload_sb
d0bdc809f788 md: fix an incorrect NULL check in does_sb_need_changing
3623f833e19b drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX
8fa6eb03e3f5 drm/nouveau/clk: Fix an incorrect NULL check on list iterator
19323b3671a8 drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem
c12984cdb077 drm/amdgpu/cs: make commands with 0 chunks illegal behaviour.
8e105178c26a scsi: ufs: qcom: Add a readl() to make sure ref_clk gets enabled
494685db0023 scsi: dc395x: Fix a missing check on list iterator
82bf8e7271fa ocfs2: dlmfs: fix error handling of user_dlm_destroy_lock
17ea63484975 dlm: fix missing lkb refcount handling
49cd9eb7b9a7 dlm: fix plock invalid read
f160e7b4b02a mm, compaction: fast_find_migrateblock() should return pfn in the target zone
665602c83776 PCI: qcom: Fix unbalanced PHY init on probe errors
c3919b10c45f PCI: qcom: Fix runtime PM imbalance on probe errors
c99306cf5983 PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299
c27f744ceefa tracing: Fix potential double free in create_var_ref()
742736dc9c01 ACPI: property: Release subnode properties with data nodes
e157c8f87e8f ext4: avoid cycles in directory h-tree
17034d45ec44 ext4: verify dir block before splitting it
73fd5b192851 ext4: fix bug_on in ext4_writepages
0ab308d72af7 ext4: fix warning in ext4_handle_inode_extension
eaecf7ebfd5d ext4: fix use-after-free in ext4_rename_dir_prepare
f36736fbd484 netfilter: nf_tables: disallow non-stateful expression in sets earlier
28a8060a0bd2 bfq: Track whether bfq_group is still online
da9f3025d595 bfq: Update cgroup information before merging bio
31326bf55126 bfq: Split shared queues on move between cgroups
b1cda6dd2c44 efi: Do not import certificates from UEFI Secure Boot for T2 Macs
440d345d0274 fs-writeback: writeback_sb_inodes:Recalculate 'wrote' according skipped pages
e0dddab01f94 iwlwifi: mvm: fix assert 1F04 upon reconfig
265bec4779a3 wifi: mac80211: fix use-after-free in chanctx code
9259227605df f2fs: fix fallocate to use file_modified to update permissions consistently
1f926457c3e7 f2fs: don't need inode lock for system hidden quota
12ffc0044aba f2fs: fix deadloop in foreground GC
54c116615c99 f2fs: fix to clear dirty inode in f2fs_evict_inode()
7361c9f2bd6a f2fs: fix to do sanity check on block address in f2fs_do_zero_range()
f8b3c3fcf331 f2fs: fix to avoid f2fs_bug_on() in dec_valid_node_count()
7f51f2734555 perf jevents: Fix event syntax error caused by ExtSel
9eb684dc41d8 perf c2c: Use stdio interface if slang is not supported
e23eb2f43f4d iommu/amd: Increase timeout waiting for GA log enablement
db7ea8b261ef dmaengine: stm32-mdma: remove GISR1 register
8db59df7f582 video: fbdev: clcdfb: Fix refcount leak in clcdfb_of_vram_setup
dcc00106c325 NFSv4/pNFS: Do not fail I/O when we fail to allocate the pNFS layout
3d216510f8af NFS: Don't report errors from nfs_pageio_complete() more than once
55f0fc32b2f2 NFS: Do not report flush errors in nfs_write_end()
59137943af75 NFS: Do not report EINTR/ERESTARTSYS as mapping errors
4826af9a07cf i2c: at91: Initialize dma_buf in at91_twi_xfer()
d77a0f2842b3 i2c: at91: use dma safe buffers
e4db5f4b680a iommu/mediatek: Add list_del in mtk_iommu_remove
5e47a7add3dd f2fs: fix dereference of stale list iterator after loop body
c8735252f93f Input: stmfts - do not leave device disabled in stmfts_input_open
addb192000d8 RDMA/hfi1: Prevent use of lock before it is initialized
6d8b9f574bca mailbox: forward the hrtimer if not queued and under a lock
49c1e32e7b3f mfd: davinci_voicecodec: Fix possible null-ptr-deref davinci_vc_probe()
bcb6c4c5eb48 powerpc/fsl_rio: Fix refcount leak in fsl_rio_setup
2631fe5b53b5 macintosh: via-pmu and via-cuda need RTC_LIB
bc21634ce430 powerpc/perf: Fix the threshold compare group constraint for power9
cf0b52858f74 powerpc/64: Only WARN if __pa()/__va() called with bad addresses
bbc2b0ce6042 Input: sparcspkr - fix refcount leak in bbc_beep_probe
6d7b2cf5c7ed crypto: cryptd - Protect per-CPU resource by disabling BH.
3219ac364ac3 tty: fix deadlock caused by calling printk() under tty_port->lock
ded067f24b90 PCI: imx6: Fix PERST# start-up sequence
0b35a685d911 ipc/mqueue: use get_tree_nodev() in mqueue_get_tree()
203537caad3c proc: fix dentry/inode overinstantiating under /proc/${pid}/net
6cdb6582b566 powerpc/4xx/cpm: Fix return value of __setup() handler
337eef19aad8 powerpc/idle: Fix return value of __setup() handler
1d83f304215b powerpc/8xx: export 'cpm_setbrg' for modules
662b70a45b32 dax: fix cache flush on PMD-mapped pages
386e69e06817 drivers/base/node.c: fix compaction sysfs file leak
d1f908bd0100 pinctrl: mvebu: Fix irq_of_parse_and_map() return value
9282496aac8b nvdimm: Allow overwrite in the presence of disabled dimms
b0e4bafac896 firmware: arm_scmi: Fix list protocols enumeration in the base protocol
ffd3bed66b54 scsi: fcoe: Fix Wstringop-overflow warnings in fcoe_wwn_from_mac()
829ea474876f mfd: ipaq-micro: Fix error check return value of platform_get_irq()
8c4eeab72608 powerpc/fadump: fix PT_LOAD segment for boot memory area
bbf58e97426d arm: mediatek: select arch timer for mt7629
e7a0d0c2802f crypto: marvell/cesa - ECB does not IV
de65c32ace9a misc: ocxl: fix possible double free in ocxl_file_register_afu
7f287d0c7001 ARM: dts: bcm2835-rpi-b: Fix GPIO line names
3a37022d48a5 ARM: dts: bcm2837-rpi-3-b-plus: Fix GPIO line name of power LED
fd1c098b3bdd ARM: dts: bcm2837-rpi-cm3-io3: Fix GPIO line names for SMPS I2C
e0bf7f084412 ARM: dts: bcm2835-rpi-zero-w: Fix GPIO line name for Wifi/BT
e4594ca90b4e can: xilinx_can: mark bit timing constants as const
6077a1e637b3 KVM: nVMX: Leave most VM-Exit info fields unmodified on failed VM-Entry
9cccb3f6ed9a PCI: rockchip: Fix find_first_zero_bit() limit
f063429ac33f PCI: cadence: Fix find_first_zero_bit() limit
5543752a48ad soc: qcom: smsm: Fix missing of_node_put() in smsm_parse_ipc
669575521633 soc: qcom: smp2p: Fix missing of_node_put() in smp2p_parse_ipc
56b8d748ec43 ARM: dts: suniv: F1C100: fix watchdog compatible
754ef324b70b arm64: dts: rockchip: Move drive-impedance-ohm to emmc phy on rk3399
60546c0b4b46 net/smc: postpone sk_refcnt increment in connect()
91121ee57414 rxrpc: Fix decision on when to generate an IDLE ACK
d7b16ee15fc6 rxrpc: Don't let ack.previousPacket regress
2fd958ae29fd rxrpc: Fix overlapping ACK accounting
5aa14dafd2b0 rxrpc: Don't try to resend the request if we're receiving the reply
91b34bf0409f rxrpc: Fix listen() setting the bar too high for the prealloc rings
0bfaff00d1a7 NFC: hci: fix sleep in atomic context bugs in nfc_hci_hcp_message_tx
9934025c4d66 ASoC: wm2000: fix missing clk_disable_unprepare() on error in wm2000_anc_transition()
b3461ccaa5d2 thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe
449374565f34 drm: msm: fix possible memory leak in mdp5_crtc_cursor_set()
6832e36f156e drm/msm/a6xx: Fix refcount leak in a6xx_gpu_init
48d331a03b0d ext4: reject the 'commit' option on ext2 filesystems
3dc032375595 media: ov7670: remove ov7670_power_off from ov7670_remove
dc794fa2b3c4 sctp: read sk->sk_bound_dev_if once in sctp_rcv()
d43a87d66039 m68k: math-emu: Fix dependencies of math emulation support
6f55fac0af35 Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout
c3c8c7e409d0 media: vsp1: Fix offset calculation for plane cropping
1310fc3538dc media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init
83345b536599 media: exynos4-is: Change clk_disable to clk_disable_unprepare
b87d3a043b32 media: st-delta: Fix PM disable depth imbalance in delta_probe
12480f757810 media: aspeed: Fix an error handling path in aspeed_video_probe()
d2b1dc3a0432 scripts/faddr2line: Fix overlapping text section failures
0be5d9da5743 regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt
18b907ff0ae4 ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe
96fc3da6184a ASoC: fsl: Fix refcount leak in imx_sgtl5000_probe
ddb1a77f94d7 perf/amd/ibs: Use interrupt regs ip for stack unwinding
f2e2e934d2b6 Revert "cpufreq: Fix possible race in cpufreq online error path"
1253811c71e0 iomap: iomap_write_failed fix
6b8291e574a8 media: uvcvideo: Fix missing check to determine if element is found in list
ab888b1a9a6d drm/msm: return an error pointer in msm_gem_prime_get_sg_table()
22d8424913b1 drm/msm/mdp5: Return error code in mdp5_mixer_release when deadlock is detected
b2aa2c4efe93 drm/msm/mdp5: Return error code in mdp5_pipe_release when deadlock is detected
cd4cfd99ec14 regulator: core: Fix enable_count imbalance with EXCLUSIVE_GET
db5a21f2dd62 x86/mm: Cleanup the control_va_addr_alignment() __setup handler
d2476a1fc50b irqchip/aspeed-i2c-ic: Fix irq_of_parse_and_map() return value
b97eb924a234 irqchip/exiu: Fix acknowledgment of edge triggered interrupts
9777de28cfea x86: Fix return value of __setup handlers
ee3901d7c7f4 virtio_blk: fix the discard_granularity and discard_alignment queue limits
a9b4599665e4 drm/rockchip: vop: fix possible null-ptr-deref in vop_bind()
35d9a84e3b35 drm/msm/hdmi: fix error check return value of irq_of_parse_and_map()
2b3ed7547b1a drm/msm/hdmi: check return value after calling platform_get_resource_byname()
11709592b350 drm/msm/dsi: fix error checks and return values for DSI xmit functions
ef10d0c68e86 drm/msm/disp/dpu1: set vbif hw config to NULL to avoid use after memory free during pm runtime resume
db681127e96d perf tools: Add missing headers needed by util/data.h
31de06ef06a8 ASoC: rk3328: fix disabling mclk on pclk probe failure
ed8d5cf1dcad x86/speculation: Add missing prototype for unpriv_ebpf_notify()
1d0c4bc628ca x86/pm: Fix false positive kmemleak report in msr_build_context()
b889619eba6f scsi: ufs: core: Exclude UECxx from SFR dump list
e120d31d04bf of: overlay: do not break notify on NOTIFY_{OK|STOP}
b0be017bc59d fsnotify: fix wrong lockdep annotations
60d159e0d084 inotify: show inotify mask flags in proc fdinfo
2326d398ccd4 ath9k_htc: fix potential out of bounds access with invalid rxstatus->rs_keyix
cd1f386120d0 cpufreq: Fix possible race in cpufreq online error path
e7f0fd6f2566 spi: img-spfi: Fix pm_runtime_get_sync() error checking
735b57a96088 sched/fair: Fix cfs_rq_clock_pelt() for throttled cfs_rq
55fddbb1e278 drm/bridge: Fix error handling in analogix_dp_probe
f1d4f19a7965 HID: elan: Fix potential double free in elan_input_configured
75a89bc1baee HID: hid-led: fix maximum brightness for Dream Cheeky
3caa2d7943ca drbd: fix duplicate array initializer
65065f96d53e efi: Add missing prototype for efi_capsule_setup_info
fbf9c4c714d3 NFC: NULL out the dev->rfkill to prevent UAF
2c59535b6be0 spi: spi-ti-qspi: Fix return value handling of wait_for_completion_timeout
fa0d7ba25a53 drm: mali-dp: potential dereference of null pointer
797f8ee35f03 drm/komeda: Fix an undefined behavior bug in komeda_plane_add()
1a994f1f1841 nl80211: show SSID for P2P_GO interfaces
93c0f9d78ddd bpf: Fix excessive memory allocation in stack_map_alloc()
c398c2149b17 drm/vc4: txp: Force alpha to be 0xff if it's disabled
8a60b54e41c9 drm/vc4: txp: Don't set TXP_VSTART_AT_EOF
a0c890c0ae9f drm/mediatek: Fix mtk_cec_mask()
ea8b2ecc920d x86/delay: Fix the wrong asm constraint in delay_loop()
c71494f5f2b4 ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe
23f340ed906c ASoC: mediatek: Fix error handling in mt8173_max98090_dev_probe
e92b927fffb6 drm/bridge: adv7511: clean up CEC adapter when probe fails
224e1eef0386 drm/edid: fix invalid EDID extension block filtering
657734866839 ath9k: fix ar9003_get_eepmisc
ebede9aadfa3 drm: fix EDID struct for old ARM OABI format
e60ad83f645e RDMA/hfi1: Prevent panic when SDMA is disabled
cb4f2dc513e9 powerpc/iommu: Add missing of_node_put in iommu_init_early_dart
6557555a86f3 macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled
793b82d1c424 powerpc/powernv: fix missing of_node_put in uv_init()
537a317e5ff4 powerpc/xics: fix refcount leak in icp_opal_init()
a910e9613130 tracing: incorrect isolate_mote_t cast in mm_vmscan_lru_isolate
c9a81f9ed6ae PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store()
e10905816513 ARM: hisi: Add missing of_node_put after of_find_compatible_node
2f46a955b6f5 ARM: dts: exynos: add atmel,24c128 fallback to Samsung EEPROM
fcd1999ba974 ARM: versatile: Add missing of_node_put in dcscb_init
fd48cf8f972f fat: add ratelimit to fat*_ent_bread()
60ce637c194b powerpc/fadump: Fix fadump to work with a different endian capture kernel
41c7096286aa ARM: OMAP1: clock: Fix UART rate reporting algorithm
e54fd01178eb fs: jfs: fix possible NULL pointer dereference in dbFree()
a0180e324a9a PM / devfreq: rk3399_dmc: Disable edev on remove()
1995a60be7cb ARM: dts: ox820: align interrupt controller node name with dtschema
58e55f4f5a2a IB/rdmavt: add missing locks in rvt_ruc_loopback
56fd9dcfe10c selftests/bpf: fix btf_dump/btf_dump due to recent clang change
063d945795a0 eth: tg3: silence the GCC 12 array-bounds warning
88d730463e9b rxrpc: Return an error to sendmsg if call failed
1ec0bc72f5da hwmon: Make chip parameter for with_info API mandatory
a7a41dd47303 ASoC: max98357a: remove dependency on GPIOLIB
3cf43978ffd1 media: exynos4-is: Fix compile warning
1e5fbfc2a6f3 net: phy: micrel: Allow probing without .driver_data
9d1764b9266b nbd: Fix hung on disconnect request if socket is closed before
abe7554da62c ASoC: rt5645: Fix errorenous cleanup order
f76729662650 nvme-pci: fix a NULL pointer dereference in nvme_alloc_admin_tags
69edf28d2c42 openrisc: start CPU timer early in boot
67fb49438858 media: cec-adap.c: fix is_configuring state
4172a34ef93f media: coda: limit frame interval enumeration to supported encoder frame sizes
8f2a5721cdc3 rtlwifi: Use pr_warn instead of WARN_ONCE
2d966c94adce ipmi: Fix pr_fmt to avoid compilation issues
2064a1eab2ec ipmi:ssif: Check for NULL msg when handling events and messages
17cfc9455830 ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default
5a71f14a9b2e dma-debug: change allocation mode from GFP_NOWAIT to GFP_ATIOMIC
6583d0d6ad6d spi: stm32-qspi: Fix wait_cmd timeout in APM mode
1651a95517fb s390/preempt: disable __preempt_count_add() optimization for PROFILE_ALL_BRANCHES
890b16b4709d ASoC: tscs454: Add endianness flag in snd_soc_component_driver
00771de7cc28 HID: bigben: fix slab-out-of-bounds Write in bigben_probe
0d7074792bb9 drm/amdgpu/ucode: Remove firmware load type check in amdgpu_ucode_free_bo
2317f3bfda6d mlxsw: spectrum_dcb: Do not warn about priority changes
121f56a9a832 ASoC: dapm: Don't fold register value changes into notifications
430af81135d5 net/mlx5: fs, delete the FTE when there are no rules attached to it
f857855a8a83 ipv6: Don't send rs packets to the interface of ARPHRD_TUNNEL
b507f067e9fc drm: msm: fix error check return value of irq_of_parse_and_map()
efd183d988b4 arm64: compat: Do not treat syscall number as ESR_ELx for a bad syscall
a610cfe56c38 drm/amd/pm: fix the compile warning
1e29d829ad51 drm/plane: Move range check for format_count earlier
e1599ced6be1 scsi: megaraid: Fix error check return value of register_chrdev()
7923f95997a7 mmc: jz4740: Apply DMA engine limits to maximum segment size
0959aa00f976 md/bitmap: don't set sb values if can't pass sanity check
222292930c8e media: cx25821: Fix the warning when removing the module
fa636e9ee444 media: pci: cx23885: Fix the error handling in cx23885_initdev()
0ac84ab50712 media: venus: hfi: avoid null dereference in deinit
de16cdf0b73d ath9k: fix QCA9561 PA bias level
af832028af6f drm/amd/pm: fix double free in si_parse_power_table()
7bd0ac1e2345 tools/power turbostat: fix ICX DRAM power numbers
6266ab1f31fa spi: spi-rspi: Remove setting {src,dst}_{addr,addr_width} based on DMA direction
f68bed124c76 ALSA: jack: Access input_dev under mutex
aea748501d09 drm/komeda: return early if drm_universal_plane_init() fails.
8ded0af90e97 ACPICA: Avoid cache flush inside virtual machines
c7b41fd76ce2 fbcon: Consistently protect deferred_takeover with console_lock()
4460066eb248 ipv6: fix locking issues with loops over idev->addr_list
8fb1b9beb085 ipw2x00: Fix potential NULL dereference in libipw_xmit()
303380919df7 b43: Fix assigning negative value to unsigned variable
60d515fd8797 b43legacy: Fix assigning negative value to unsigned variable
92225d3c2241 mwifiex: add mutex lock for call in mwifiex_dfs_chan_sw_work_queue
f85cb059fad0 drm/virtio: fix NULL pointer dereference in virtio_gpu_conn_get_modes
670f5e40d7b3 btrfs: repair super block num_devices automatically
622ced791ed8 btrfs: add "0x" prefix for unsupported optional features
0ca511204740 ptrace: Reimplement PTRACE_KILL by always sending SIGKILL
f5faa24137d7 ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP
e10356eae1c2 ptrace/um: Replace PT_DTRACE with TIF_SINGLESTEP
00c93ce2665c perf/x86/intel: Fix event constraints for ICL
1b767500d151 usb: core: hcd: Add support for deferring roothub registration
114790876393 USB: new quirk for Dell Gen 2 devices
7c5a52dd4d91 USB: serial: option: add Quectel BG95 modem
6b3ecb2d92a0 ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS
1c6cfb9e8a5c binfmt_flat: do not stop relocating GOT entries prematurely on riscv
35c6471fd2c1 Linux 5.4.197
e00c2f22fbfa bpf: Enlarge offset check value to INT_MAX in bpf_skb_{load,store}_bytes
a2235bc65ade NFSD: Fix possible sleep during nfsd4_release_lockowner()
f5b6bc69a792 NFS: Memory allocation failures are not server fatal errors
0490cd2aee18 docs: submitting-patches: Fix crossref to 'The canonical patch format'
72ef5d01fe37 tpm: ibmvtpm: Correct the return value in tpm_ibmvtpm_probe()
7ecd237e5036 tpm: Fix buffer access in tpm2_get_tpm_pt()
396d1f51764d HID: multitouch: Add support for Google Whiskers Touchpad
25f0e9459f94 raid5: introduce MD_BROKEN
fd2f7e998485 dm verity: set DM_TARGET_IMMUTABLE feature flag
f00597350210 dm stats: add cond_resched when looping over entries
65e6282f0d75 dm crypt: make printing of the key constant-time
a4415f39e3e8 dm integrity: fix error code in dm_integrity_ctr()
fc658c083904 zsmalloc: fix races between asynchronous zspage free and page migration
7632451ad926 crypto: ecrdsa - Fix incorrect use of vli_cmp
b16bb373988d netfilter: conntrack: re-fetch conntrack after insertion
1fe82bfd9e4c exec: Force single empty string when argv is empty
241b566e0403 drm/i915: Fix -Wstringop-overflow warning in call to intel_read_wm_latency()
3dbab9e37ca1 cfg80211: set custom regdomain after wiphy registration
039fa25d95ce assoc_array: Fix BUG_ON during garbage collect
8c668da61bd0 drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
fdcbdb3d089a i2c: ismt: Provide a DMA buffer for Interrupt Cause Logging
827980029d0f net: ftgmac100: Disable hardware checksum on AST2600
e619506ed010 net: af_key: check encryption module availability consistency
fa77d2a3a755 pinctrl: sunxi: fix f1c100s uart2 function
2208c31d864e ACPI: sysfs: Fix BERT error region memory mapping
92d4b5e14830 ACPI: sysfs: Make sparse happy about address space in use
5a73bd4f4710 media: vim2m: initialize the media device earlier
b7248281afb1 media: vim2m: Register video device after setting up internals
ab5b00cfe050 secure_seq: use the 64 bits of the siphash for port offset calculation
80cca53a48c8 tcp: change source port randomizarion at connect() time
9ce35dad5a1a Input: goodix - fix spurious key release events
bdbc7ef3eb2c staging: rtl8723bs: prevent ->Ssid overflow in rtw_wx_set_scan()
4f0750839421 x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
8bb828229da9 lockdown: also lock down previous kgdb use
(From OE-Core rev: 5503425172d832dae12bad6af8ca22ece454e4b0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license checksum changed due to a major version change in the referenced file.
(From OE-Core rev: cc245b75ebd8dfc4925a21e3ff08d841fef77635)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89f34d8aa4f4572d048dbb732ca4c83d443157fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cve-check class writes temporary files to preserve state across the
build, and cleans them up in a CookerExit handler.
However, in memory-resident builds the cooker won't exit in between
builds, so the state isn't cleared and the CVE report generation fails:
NOTE: Generating JSON CVE summary
ERROR: Error adding the same package twice
Easily solved by hooking to BuildCompleted, instead of CookerExit.
(From OE-Core rev: ee3270709158aff463fec6798f3b8968268b4d4b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fccdcfd301de281a427bfee48d8ff47fa07b7259)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove obsolete comments/data from the file. Add in three CVEs to ignore.
Two are qemu CVEs which upstream aren't particularly intersted in and aren't
serious issues. Also ignore the nasm CVE found from fuzzing as this isn't
a issue we'd expose from OE.
(From OE-Core rev: b82c95720488eea8ea4b5684c9f89e4931085fa5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68291026aab2fa6ee1260ca95198dd1d568521e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current home path that is compared against is incorrect as it is missing the
package name, this patch adds it.
[YOCTO #14553]
(From OE-Core rev: b75caf4a985e3c20996531785125eaffdc832104)
Signed-off-by: Ahmed Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit ae8f22d9e2694eea5ede3b31c6f3bca404ea4a5a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add missing % to print the values instead of:
| INFO: Build artifacts not found, exiting.
| INFO: (Please check that the build artifacts for the machine
| INFO: selected in local.conf actually exist and that they
| INFO: are the correct artifacts for the image (.wks file)).
|
| ERROR: ("The artifact that couldn't be found was %s:\n %s", 'kernel-dir', '/OE/build/deploy/images/qemux86-64')
(From OE-Core rev: c83cabad78dbc98bb72be7fd7dd51023853a3ff9)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e104c2b1273d8c5bd97893f318bf2a2699ef7f2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Operations such as mkfs fail on devices that are not
switched to the actual rootfs before switch_root is
called. The kernel interprets these devices as still
being used even after unmounting and errors such as
below are seen when the target is fully booted
root@v1000:~# umount /dev/sdb1
root@v1000:~# mkfs.ext4 /dev/sdb1
mke2fs 1.43.8 (1-Jan-2018)
/dev/sdb1 contains a ext4 file system
last mounted on Wed Nov 28 07:33:54 2018
Proceed anyway? (y,N) y
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
(From OE-Core rev: ce27982c24d2398c9eadb9d4d9e7475509424195)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ec53ffd01972d1be2d6a28de828b3f0b80dc1e61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Linux kernel commit 14c174633f349 ("random: remove unused tracepoints")
removed unused tracepoints and has been backported to stable Linux kernel
releases. This causes build failure of lttng-modules:
"
lttng-modules-2.11.6/probes/lttng-probe-random.c:18:10: fatal error: trace/events/random.h: No such file or directory
| 18 | #include <trace/events/random.h>
| | ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
"
Backport patches from lttng-modules master branch to address the build
failure on all of Linux 5.18.y, 5.15.y 5.10.y, 5.4, 4.19, 4.14, and 4.9 kernel versions.
(From OE-Core rev: 9f301f5563df868626d624c2d0781dae1b81a4c0)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignored CVEs aren't patched, but do not apply in our configuration
for some reason. Up till now they were only partially supported
and reported as "Patched".
This patch adds separate reporting of Ignored CVEs. The variable
CVE_CHECK_REPORT_PATCHED now manages reporting of both patched
and ignored CVEs.
(From OE-Core rev: 14b3c0ca46a0aa97565a24b7a5116306237d7cfe)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry-picked from c773102d4828fc4ddd1024f6115d577e23f1afe4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/argoheyard/lang-net
MR: 114874
Type: Security Fix
Disposition: Backport from 701957006e
ChangeID: bd3c4f9f44dd1c45e810172087004778522d28eb
Description:
CVE-2021-31525 golang: net/http: panic in ReadRequest and ReadResponse when reading a very large header.
(From OE-Core rev: 2850ef58f2a39a5ab19b1062d1b50160fec4daa8)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The keep alive timeout is excessively long at 83 minutes (5000 seconds),
reduce this to 10 minutes: this should be long enough that it rarely
triggers in normal builds, but when it does it has useful information.
(Bitbake rev: a496a8952d8542ce814b13f460811d8849d25a3c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dcf52157d3635925491783be656c6b76d1efe1a4)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In interactive bitbake sessions it is obvious what tasks are running
when one of them hangs or otherwise takes a long time. However, in
non-interactive sessions (such as automated builds) bitbake just prints
a message saying that it is "still alive" with no clues as to what tasks
are active still.
By simply listing the active tasks when printing the keep alive message,
we don't need to parse the bitbake log to identify which of the tasks
is still active and has presumably hung.
(Bitbake rev: 36fe8bae9fec61547ee0b13bcb721033afd3ac0e)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30f6c3f175617beea8e8bb75dcf255611e3fc2fd)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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: 47ed06d441152f8b6d374cacfac2c668c354423e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c1881b620e885f55d7772f8626b8a76c2828333)
Signed-off-by: Steve Sakoman <steve@sakoman.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: 144a1cfe8b60c677bb6ec66c242e064c7ba3ed88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba0fa084ccd2b1ade96425d158fd31e49e42f286)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases it is useful to be able to test the snapshot of
linux-firmware (e.g. to test if the updated firmware works on the
particular hardware). Allow building the linux-firmware snapshots.
To switch to the most recent branch, add the following lines to the
local.conf file:
PREFERRED_VERSION_linux-firmware = "1:20220509+git%"
SRCREV:class-devupstream = "${AUTOREV}"
WHENCE_CHKSUM:class-devupstream:pn-linux-firmware = "4288aad55d189fa225d492526b8406d5"
(From OE-Core rev: 6654baf267003ac62bc886901e5197fc211239f4)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b023570ae1d239de14b50a0e827582d0e84ddf81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using multiconfig with the same TMP folder we can have
races because the shared recipes like gcc-source run twice.
ARCHIVER_OUTDIR = ${ARCHIVER_TOPDIR}/${TARGET_SYS}/${PF}/
which includes TARGET_SYS and between the two different MACHINE values,
this changes from 'arm-poky-linux-gnueabi' to 'aarch64-poky-linux'.
This leads to the task running twice, once for each multiconfig.
To solve this we need to store the shared output in a common place
for all machines and in this way the stamps will be the same for each
machine so the gcc-source will on run once regardless of the machine used.
(From OE-Core rev: 135adeb82c9303c26193bb6f6bd3bc696793aa62)
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5abe497aad39a6ce8d72556fcdda1938a0f8c1bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tasks may reference ${B} for gcc-source which in general would not exist.
It has dependencies on HOST_SYS and TARGET_SYS which are not appropriate for a
shared recipe like gcc-source. This causes problems for the archiver and
multiconfigs in particlar.
Set B to something else to avoid these task hash issues.
Acked-by: Jose Quaresma <jose.quaresma@foundries.io>
(From OE-Core rev: 14aa189c2e47a2c5a4a0099235a2605666651f74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit beb2a76c591e985c6fc7ed473abd1bee27f955a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building busybox with CONFIG_LSATTR=y and installing that in the same
filesystem as e2fsprogs breaks:
ERROR: ... do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Fix that by also alternatifying lsattr just as chattr already is.
(From OE-Core rev: 28090d32c88d99ea36a03f3bb723838746001e4b)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96703961eeb3460e9da26503d7942cc965d1e573)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When multilib enabled and add layers/meta-openembedded/meta-oe in
conf/bblayers.conf, it reports below error when run oe-selftest.
$ oe-selftest -r oescripts
[snip]
[20:36:33-0700] 2022-05-16 03:36:33,494 - oe-selftest - INFO - RESULTS - oescripts.OEListPackageconfigTests.test_packageconfig_flags_option_flags: FAILED (585.37s)
[snip]
It is because the output of "list-packageconfig-flags.py -f" as below:
$ ../scripts/contrib/list-packageconfig-flags.py -f
[snip]
qt lib32-pinentry lib32-wxwidgets nativesdk-pinentry pinentry pinentry-native wxwidgets wxwidgets-native
secret lib32-pinentry nativesdk-pinentry pinentry pinentry-native
[snip]
But the check logic as below:
class OEListPackageconfigTests(OEScriptTests):
#oe-core.scripts.List_all_the_PACKAGECONFIG's_flags
def check_endlines(self, results, expected_endlines):
for line in results.output.splitlines():
for el in expected_endlines:
if line.split() == el.split():
expected_endlines.remove(el)
break
def test_packageconfig_flags_option_flags(self):
results = runCmd('%s/contrib/list-packageconfig-flags.py -f' % self.scripts_dir)
expected_endlines = []
expected_endlines.append("PACKAGECONFIG FLAG RECIPE NAMES")
expected_endlines.append("qt nativesdk-pinentry pinentry pinentry-native")
expected_endlines.append("secret nativesdk-pinentry pinentry pinentry-native")
self.check_endlines(results, expected_endlines)
And the test will fail as line.split() doesn't equal el.split() as
line.split() is ['lib32-pinentry', 'lib32-wxwidgets', 'nativesdk-pinentry',
'pinentry', 'pinentry-native', 'wxwidgets', 'wxwidgets-native'] and
el.split() is ['nativesdk-pinentry', 'pinentry', 'pinentry-native'].
So change the compare logic to fix the gap.
(From OE-Core rev: 9eecfbfc957359b7933f1e1bde3aba1780dde202)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 239f22847bcae0cb31769adb0a42b5440173a7c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that begin_idx (i.e., beginline - 1) and end_idx (i.e.,
endline) are positive numbers in copy_license_files(). This makes sure
the same lines are copied as populate_lic_qa_checksum() uses when it
calculates the checksum. Before, beginline=0 would typically lead to
that no lines were copied at all.
(From OE-Core rev: 27cd074d747c5ef4b475c8a62a8ede2bbe58f996)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab3cc3651d08d226675c461da760cda0bb6c0ce0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix PACKAGECONFIG to refer to libavtp instead of avtp as this is what
the project and everything is really called everywhere.
(From OE-Core rev: a1b73bc6ba90fb079e514e4eeda8e231a950b9f4)
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8824d91fe2063195014c38c134b97946d3b429c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several tasks deactivate exiting on non-zero return codes via set +e because
they run subcommands that have legitimate non-zero return codes. However when
appending to those tasks, this behavior is not expected and can lead to builds
silently proceeding in case of an error. Therefore reset the default behavior
at the end of the respective tasks via set -e.
(From OE-Core rev: 7777cc853db7200b819095be6f6a3561738ac94d)
Signed-off-by: Stefan Wiehler <stefan.wiehler@nokia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83a6f28d2e464f00202090e998a63045adba9e4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In scheduler/cert.c the previous algorithm didn't expect the strings can
have a different length, so one string can be a substring of the other
and such substring was reported as equal to the longer string.
Backport patch from upstream to fix:
de4f8c1961
CVE: CVE-2022-26691
(From OE-Core rev: cc657868d31cc8b4218a07aa10fa098c379e473c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
04b092e4a01a Linux 5.4.196
dba1941f5bc3 afs: Fix afs_getattr() to refetch file status if callback break occurred
ef5374d532ca i2c: mt7621: fix missing clk_disable_unprepare() on error in mtk_i2c_probe()
10a221e2d3d8 x86/xen: Mark cpu_bringup_and_idle() as dead_end_function
a12884ff4340 x86/xen: fix booting 32-bit pv guest
b2f140a9f980 Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
060f38b1dfb4 ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk
b38cf3cb17df firmware_loader: use kernel credentials when reading firmware
e14e3856e94d net: stmmac: disable Split Header (SPH) for Intel platforms
9ea8e6a8323e block: return ELEVATOR_DISCARD_MERGE if possible
36ac6caf742d Input: ili210x - fix reset timing
1c450bdf2e8c net: atlantic: verify hw_head_ lies within TX buffer ring
e5307704c4ad net: stmmac: fix missing pci_disable_device() on error in stmmac_pci_probe()
91d8d7edf192 ethernet: tulip: fix missing pci_disable_device() on error in tulip_init_one()
dd5de66f5c8a selftests: add ping test with ping_group_range tuned
9919585e5f41 mac80211: fix rx reordering with non explicit / psmp ack policy
19e2cd737c16 scsi: qla2xxx: Fix missed DMA unmap for aborted commands
74168c2207a5 perf bench numa: Address compiler error on s390
d1915d9c9fa3 gpio: mvebu/pwm: Refuse requests with inverted polarity
3fdd67e83c42 gpio: gpio-vf610: do not touch other bits when set the target bit
1fe6dc5f5d19 net: bridge: Clear offload_fwd_mark when passing frame up bridge interface.
622be11fa385 igb: skip phy status check where unavailable
eb92a8ecce23 ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2
463a7b957db0 ARM: 9196/1: spectre-bhb: enable for Cortex-A15
1b93631c77c9 net: af_key: add check for pfkey_broadcast in function pfkey_process
c0be5fec786b net/mlx5e: Properly block LRO when XDP is enabled
3277789f332e NFC: nci: fix sleep in atomic context bugs caused by nci_skb_alloc
b368e07fb44d net/qla3xxx: Fix a test in ql_reset_work()
d672eee9e404 clk: at91: generated: consider range when calculating best rate
8cb1a05fe38b ice: fix possible under reporting of ethtool Tx and Rx statistics
dc64e8874e87 net: vmxnet3: fix possible NULL pointer dereference in vmxnet3_rq_cleanup()
32f779e6fbbe net: vmxnet3: fix possible use-after-free bugs in vmxnet3_rq_alloc_rx_buf()
1eb2d7858155 net/sched: act_pedit: sanitize shift argument before usage
50f70ee30236 net: macb: Increment rx bd head after allocating skb and buffer
a42ffe88332c ARM: dts: aspeed-g6: fix SPI1/SPI2 quad pin group
6493ff94c022 ARM: dts: aspeed-g6: remove FWQSPID group in pinctrl dtsi
fe2a9469eca0 dma-buf: fix use of DMA_BUF_SET_NAME_{A,B} in userspace
8cf6c24ed488 drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
8be06f62b426 crypto: qcom-rng - fix infinite loop on requests not multiple of WORD_SZ
f4a093215b8e KVM: x86/mmu: Update number of zapped pages even if page list is stable
de8745182749 PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold
3a12b2c413b2 Fix double fget() in vhost_net_set_backend()
dd0ea88b0a0f perf: Fix sys_perf_event_open() race against self
c8a5e14cb407 ALSA: wavefront: Proper check of get_user() error
2f8f6c393b11 SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()
975a0f14d5cd SUNRPC: Don't call connect() more than once on a TCP socket
aa4d71edd609 SUNRPC: Prevent immediate close+reconnect
2d6f096476e6 SUNRPC: Clean up scheduling of autoclose
f3fe8d13ac89 mmc: core: Default to generic_cmd6_time as timeout in __mmc_switch()
def047ae1266 mmc: block: Use generic_cmd6_time when modifying INAND_CMD38_ARG_EXT_CSD
f10260f35992 mmc: core: Specify timeouts for BKOPS and CACHE_FLUSH for eMMC
1e93f939927d nilfs2: fix lockdep warnings during disk space reclamation
307d021b1a7f nilfs2: fix lockdep warnings in page operations for btree nodes
77b71a4c8767 ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame()
54f7358be14d platform/chrome: cros_ec_debugfs: detach log reader wq from devm
232128f6e60f drbd: remove usage of list iterator variable after loop
83abb076f473 MIPS: lantiq: check the return value of kzalloc()
e7947c031ffe rtc: mc146818-lib: Fix the AltCentury for AMD platforms
7be785032c05 nvme-multipath: fix hang when disk goes live over reconnect
ee0323cc8bbb ALSA: hda/realtek: Enable headset mic on Lenovo P360
c0d86f2a3c03 crypto: x86/chacha20 - Avoid spurious jumps to other functions
f0213894337a crypto: stm32 - fix reference leak in stm32_crc_remove
8c015cd52442 Input: stmfts - fix reference leak in stmfts_input_open
bb83a744bc67 Input: add bounds checking to input_set_capability()
4fd396695646 um: Cleanup syscall_handler_t definition/cast, fix warning
0c319b998835 rtc: fix use-after-free on device removal
05df3bdbc259 x86/xen: Make the secondary CPU idle tasks reliable
0d3817cb4ebe x86/xen: Make the boot CPU idle task reliable
67e2b62461b5 floppy: use a statically allocated error counter
0187300e6aa6 Linux 5.4.195
8fcefb43ecfc tty/serial: digicolor: fix possible null-ptr-deref in digicolor_uart_probe()
6d80857c4fc7 ping: fix address binding wrt vrf
7845532adb53 arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
c0b735fef2af net: phy: Fix race condition on link status change
a60def756821 MIPS: fix build with gcc-12
a3112d5da17c drm/vmwgfx: Initialize drm_mode_fb_cmd2
463c7431490d cgroup/cpuset: Remove cpus_allowed/mems_allowed setup in cpuset_init_smp()
f25145c37c4e i40e: i40e_main: fix a missing check on list iterator
17c744716af5 drm/nouveau/tegra: Stop using iommu_present()
c8f567c46543 serial: 8250_mtk: Fix register address for XON/XOFF character
aa3ea7451bd6 serial: 8250_mtk: Fix UART_EFR register address
031fda28d0a6 slimbus: qcom: Fix IRQ check in qcom_slim_probe
7de6f3059629 USB: serial: option: add Fibocom MA510 modem
65732f62f730 USB: serial: option: add Fibocom L610 modem
6c78537f3e29 USB: serial: qcserial: add support for Sierra Wireless EM7590
e40d00494712 USB: serial: pl2303: add device id for HP LM930 Display
056a56f8fbfe usb: typec: tcpci: Don't skip cleanup in .remove() on error
457d9401b8c1 usb: cdc-wdm: fix reading stuck on device close
4d93303fd877 tty: n_gsm: fix mux activation issues in gsm_config()
6e34ee5b5b92 tcp: resalt the secret every 10 seconds
39c26fe93c76 net: emaclite: Don't advertise 1000BASE-T and do auto negotiation
638bfbc84cca s390: disable -Warray-bounds
f66d3fa5089f ASoC: ops: Validate input values in snd_soc_put_volsw_range()
13b850a6cc80 ASoC: max98090: Generate notifications on changes for custom control
5c766c000a64 ASoC: max98090: Reject invalid values in custom control put()
22f6c68b4927 hwmon: (f71882fg) Fix negative temperature
208200e573bd gfs2: Fix filesystem block deallocation for short writes
42daae7d845c net: sfc: ef10: fix memory leak in efx_ef10_mtd_probe()
e038c457bd12 net/smc: non blocking recvmsg() return -EAGAIN when no data and signal_pending
2ec2dd7d51a9 net/sched: act_pedit: really ensure the skb is writable
48c6a40e2f25 s390/lcs: fix variable dereferenced before check
467ddbbe7e74 s390/ctcm: fix potential memory leak
2cbce0110070 s390/ctcm: fix variable dereferenced before check
1c40e85d0aa0 hwmon: (ltq-cputemp) restrict it to SOC_XWAY
0a778db9319f dim: initialize all struct fields
522986cc39c1 mac80211_hwsim: call ieee80211_tx_prepare_skb under RCU protection
0729594cb788 netlink: do not reset transport header in netlink_recvmsg()
33ce32587c44 drm/nouveau: Fix a potential theorical leak in nouveau_get_backlight_name()
5809a1c53049 ipv4: drop dst in multicast routing path
c9d75e87f45b net: Fix features skip in for_each_netdev_feature()
5c9057670504 mac80211: Reset MBSSID parameters upon connection
cfe74fd41f18 hwmon: (tmp401) Add OF device ID table
3915341a935f batman-adv: Don't skb_split skbuffs with frag_list
90659487578c Linux 5.4.194
2f4e0bf651e3 mm: userfaultfd: fix missing cache flush in mcopy_atomic_pte() and __mcopy_atomic()
e4db0c3ce0c5 mm: hugetlb: fix missing cache flush in copy_huge_page_from_user()
ea9cad1c5d95 mm: fix missing cache flush for all tail pages of compound page
45c05171d6e3 Bluetooth: Fix the creation of hdev->name
f52c4c067aa5 KVM: x86/svm: Account for family 17h event renumberings in amd_pmc_perf_hw_id
c1bdf1e6e706 x86: kprobes: Prohibit probing on instruction which has emulate prefix
6af6427a9600 x86: xen: insn: Decode Xen and KVM emulate-prefix signature
c67a4a91f5e1 x86: xen: kvm: Gather the definition of emulate prefixes
4c39e1ace3dc x86/asm: Allow to pass macros to __ASM_FORM()
29afcd5af012 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id()
ea65a7d76c00 arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
5755f946a89f can: grcan: only use the NAPI poll budget for RX
caba5c13a892 can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
76b64c690f03 nfp: bpf: silence bitwise vs. logical OR warning
86ccefb83ede drm/i915: Cast remain to unsigned long in eb_relocate_vma
de542bd76541 drm/amd/display/dc/gpio/gpio_service: Pass around correct dce_{version, environment} types
e6ff94d31c53 block: drbd: drbd_nl: Make conversion to 'enum drbd_ret_code' explicit
f668da98ad83 MIPS: Use address-of operator on section symbols
01565c91b789 Linux 5.4.193
8a7f92053dc9 mmc: rtsx: add 74 Clocks in power on flow
d789b9891761 PCI: aardvark: Fix reading MSI interrupt number
253bc43ca5b7 PCI: aardvark: Clear all MSIs at setup
786dc86c8434 dm: interlock pending dm_io and dm_wait_for_bios_completion
ad1393b92e50 dm: fix mempool NULL pointer race when completing IO
40bcd39a0093 tcp: make sure treq->af_specific is initialized
9661bf674d6a ALSA: pcm: Fix potential AB/BA lock with buffer_mutex and mmap_lock
37b12c16beb6 ALSA: pcm: Fix races among concurrent prealloc proc writes
2a559eec81ac ALSA: pcm: Fix races among concurrent prepare and hw_params/hw_free calls
08d1807f097a ALSA: pcm: Fix races among concurrent read/write and buffer changes
fbeb492694ce ALSA: pcm: Fix races among concurrent hw_params and hw_free calls
f098f8b9820f mm: fix unexpected zeroed page mapping with zram swap
c7337efd1d11 block-map: add __GFP_ZERO flag for alloc_page in function bio_copy_kern
9588ac2eddc2 net: ipv6: ensure we call ipv6_mc_down() at most once
367b49086b41 KVM: LAPIC: Enable timer posted-interrupt only when mwait/hlt is advertised
c2fadf2d0ab4 x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume
8b78939f4b0b kvm: x86/cpuid: Only provide CPUID leaf 0xA if host has architectural PMU
f455c8e657e3 NFSv4: Don't invalidate inode attributes on delegation return
89e7a625ec5c drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu
1d14c1c7a3bd net: igmp: respect RCU rules in ip_mc_source() and ip_mc_msfilter()
2b99ff4c3e3e btrfs: always log symlinks in full mode
dc4784489426 smsc911x: allow using IRQ0
cff6cb162f7a bnxt_en: Fix possible bnxt_open() failure caused by wrong RFS flag
64ece01adb42 selftests: mirror_gre_bridge_1q: Avoid changing PVID while interface is operational
52401926c863 net: emaclite: Add error handling for of_address_to_resource()
354cac1e392b net: stmmac: dwmac-sun8i: add missing of_node_put() in sun8i_dwmac_register_mdio_mux()
0510b6ccfb4f net: ethernet: mediatek: add missing of_node_put() in mtk_sgmii_init()
102986592ffd RDMA/siw: Fix a condition race issue in MPA request processing
e6ae21eb948a ASoC: dmaengine: Restore NULL prepare_slave_config() callback
df3ea6cc1af5 hwmon: (adt7470) Fix warning on module removal
01d4363dd717 NFC: netlink: fix sleep in atomic bug when firmware download timeout
33d3e76fc7a7 nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
85aecdef77f9 nfc: replace improper check device_is_registered() in netlink related functions
da9eb43b9a56 can: grcan: use ofdev->dev when allocating DMA memory
8b451b7d7e95 can: grcan: grcan_close(): fix deadlock
8f4246450a95 s390/dasd: Fix read inconsistency for ESE DASD devices
91193a2c2f4f s390/dasd: Fix read for ESE with blksize < 4k
1aa75808edd8 s390/dasd: prevent double format of tracks for ESE devices
061a424dd1c4 s390/dasd: fix data corruption for ESE devices
860db6cdc5be ASoC: meson: Fix event generation for G12A tohdmi mux
d4864e8c4ba8 ASoC: wm8958: Fix change notifications for DSP controls
6723ab2ed8bb ASoC: da7219: Fix change notifications for tone generator frequency
ac5894fb8626 genirq: Synchronize interrupt thread startup
8624e2c5af95 ACPICA: Always create namespace nodes using acpi_ns_create_node()
27183539cfac firewire: core: extend card->lock in fw_core_handle_bus_reset
2fefc6259861 firewire: remove check of list iterator against head past the loop body
34b9b9182911 firewire: fix potential uaf in outbound_phy_packet_callback()
f6b6e9336936 Revert "SUNRPC: attempt AF_LOCAL connect on setup"
d403ff32e566 gpiolib: of: fix bounds check for 'gpio-reserved-ranges'
94842485b4ec ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes
73ce49fa59a7 parisc: Merge model and model name into one line in /proc/cpuinfo
0d5bb59858c6 MIPS: Fix CP0 counter erratum detection for R4k CPUs
(From OE-Core rev: 7e056e79a5acce8261cb5124c172cc40ad608b82)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it possible to disable the database update completely by using
a negative update interval CVE_DB_UPDATE_INTERVAL.
Disabling the update is useful when running multiple parallel builds
when we want to have a control on the database version. This allows
coherent cve-check results without an database update for only
some of the builds.
(From OE-Core rev: 487a53522a739b9a52720c4c40b93f88ad77d242)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c2269240327c2a8f93b9e55354698f52c976f3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Until now the CVE checker was giving information about CVEs found for
a product (or more products) contained in a recipe. However, there was
no easy way to find out which products or recipes have no CVEs. Having
no reported CVEs might mean there are simply none, but can also mean
a product name (CPE) mismatch.
This patch adds CVE_CHECK_COVERAGE option enabling a new type of
statistics. Then we use the new JSON format to report the information.
The legacy text mode report does not contain it.
This option is expected to help with an identification of recipes with
mismatched CPEs, issues in the database and more.
This work is based on [1], but adding the JSON format makes it easier
to implement, without additional result files.
[1] https://lists.openembedded.org/g/openembedded-core/message/159873
(From OE-Core rev: c63d06becc340270573bdef2630749db1f5230d4)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d1849a1facd64fa0bcf8336a0ed5fbf71b2e3cb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the cve-check text mode output, we didn't write fragment
files if there are no CVEs (if CVE_CHECK_REPORT_PATCHED is 1),
or no unpached CVEs otherwise.
However, in a system after multiple builds,
cve_check_write_rootfs_manifest might find older files and use
them as current, what leads to incorrect reporting.
Fix it by always writing a fragment file, even if empty.
(From OE-Core rev: 4c10ee956f21ea2f805403704ac3c54b7f1be78c)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1b7877acd0f6e3626faa57d9f89809cfcdfd0f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have libxml2 2.9.10 and we don't link statically against libxml2 anyway
so the CVE doesn't apply to libxslt.
(From OE-Core rev: c6315d8a2a1429a0fb7563b1d6352ceee7bc222c)
(From OE-Core rev: 9c736c9dcf5f18b8db082a0903be0acb3fbb51c2)
Signed-off-by: Omkar Patil <Omkar.Patil@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad63694e6d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are getting an additional ptest failure after fixing the expired certificates.
Backport a patch from upstream to fix this.
(From OE-Core rev: 3af161acc13189cb68549f898f3964d83d00ce56)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptests in in openssl have started failing as test certificates have
expired. Backport a fix for this from upstream, replacing the test
certificates to allow the ptests to pass again.
(From OE-Core rev: 40858a05989d45b0c772fdec837d3dc95d4df59d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 1.1.1 requires additional changes
This reverts commit 4051d1a3aa5f70da96c381f9dea5f52cd9306939.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptests in in openssl have started failing as one of the test certificates has
expired. Backport a fix for this from upstream, replacing the test
certificate to allow the ptests to pass again.
(From OE-Core rev: 4051d1a3aa5f70da96c381f9dea5f52cd9306939)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f26f0b34f12bbca2beed153da402a3594d127374)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running CVE checks in CI we're usually not interested in warnings on the
console for any CVEs present. Add a configuration option CVE_CHECK_SHOW_WARNINGS
to allow this to be disabled (it is left enabled by default).
(From OE-Core rev: d009233f36fb866f6bdaa12fb6deedf5e253e9c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1054d3366ba528f2ad52585cf951e508958c5c68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 8fd6a9f521ea6b1e10c80fe33968943db30991ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this the rootfs manifest and the summary were identical.
We should separate the summary and rootfs manifest more clearly,
now the summary is for all CVEs and the rootfs manifest is only for
things in that image. This is even more useful if you build multiple
images.
(From OE-Core rev: 2bacd7cc67b2f624885ce9c9c9e48950b359387d)
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b8cc6fc45f0ea5677729ee2b1819bdc7a441ab1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 65498411d73e8008d5550c2d0a1148f990717587)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As product, sdk should do cve check as well as rootfs.
(From OE-Core rev: df09cd71b4cd3f830fced9ce91aa202c1609bfc5)
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit cc17753935c5f9e08aaa6c5886f059303147c07b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ncurses 6.3 before patch 20220416 has an out-of-bounds read and
segmentation violation in convert_strings in tinfo/read_entry.c in the
terminfo library.
Backported from the link below, extracting only the relevant changes.
9d1d651878
(From OE-Core rev: 2287d591cf32f5580ea6679805d04c3a5146ecd5)
Signed-off-by: Gustavo Lima Chaves <gustavo.chaves@microsoft.com>
Signed-off-by: Dan Tran <dantran@microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test to verify that the JSON reports are generated correctly for
both single recipe builds and image builds.
More tests are needed, but this is better than nothing.
(From OE-Core rev: add860e1a69f848097bbc511137a62d5746e5019)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df0f35555b09c4bc75470eb45ec9c74e6587d460)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of summary output caused two issues: error when building
an image and the fact that JSON output was generated even when
CVE_CHECK_FORMAT_JSON.
When generating an image it caused an error like:
ERROR: core-image-minimal-1.0-r0 do_rootfs: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:cve_check_write_rootfs_manifest(d)
0003:
File: '/home/alexk/poky/meta/classes/cve-check.bbclass', lineno: 213, function: cve_check_write_rootfs_manifest
0209:
0210: link_path = os.path.join(deploy_dir, "%s.json" % link_name)
0211: manifest_path = d.getVar("CVE_CHECK_MANIFEST_JSON")
0212: bb.note("Generating JSON CVE manifest")
*** 0213: generate_json_report(json_summary_name, json_summary_link_name)
0214: bb.plain("Image CVE JSON report stored in: %s" % link_path)
0215:}
0216:
0217:ROOTFS_POSTPROCESS_COMMAND:prepend = "${@'cve_check_write_rootfs_manifest; ' if d.getVar('CVE_CHECK_CREATE_MANIFEST') == '1' else ''}"
Exception: NameError: name 'json_summary_name' is not defined
The fix is to pass the d variable to the pure python function generate_json_report
to get correct values of variables and add conditions for the JSON
output where needed.
In addition clarify the message presenting the summary JSON file,
which isn't related to an image.
Uses partial fixes from Alex Kiernan, Ernst Sjöstrand (ernstp),
and Davide Gardenal.
Fixes: f2987891d315 ("cve-check: add JSON format to summary output")
(From OE-Core rev: 665f981fccbb09d51349c4bd4cfe4ca91001e3bd)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9015dec93233c7d45fd0c9885ff5d4ec23ad377d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: 48ce924dc82aa959fb897ec36873db7dc3813b71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if a setup is using RPM for packaging and there are multiple
recipes that install to ${nonarch_base_libdir}/firmware by using
install -d ${nonarch_base_libdir}/firmware, it will create installation
clashes on image install, as linux-firmware in before this patch
used mkdir -p, which creates different file mode bits (depending
on the current user's settings).
In a particular example
linux-fimware created /lib/firmware with 0600
while other-firmware-package created it with 0644
making the combination not installable by rpm backend
(From OE-Core rev: c89bc0fc7f8afdf8ff0e93c3ebd7538987170a0c)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98bf3f427702687bf81ed759e7cde5d6d15e77eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes fixes for CVE-2022-1381, CVE-2022-1420.
(From OE-Core rev: c7d43000ce137e1f9302b4b6cec149adb1435f47)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77d745bd49c979de987c75fd7a3af116e99db82b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is horrible but I'm running out of better ideas. We hit circular reference
issues which we were trying to avoid in the core HOSTTOOLS code. When building
the eSDK, there can be two copies of the script.
Therefore assume git will never be in a directory called scripts. This
fixes eSDK build failures.
(From OE-Core rev: 0f6ae13d76129d96f788b7ede312cfc361ee2bda)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27de610ac30d4c81352efc794df7e9b1060f7a68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous minimially invasive git intercept simply isn't enough. For example,
meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure
step so at install time, changing PATH has no effect.
There are lots of interesting things we could do to try and avoid problems but
making the git intercept and dropping fakeroot privs for git global is probably
the least worst solution at this point. It will add slight overhead to git calls
but we don't make many so the overall impact is likely minimal.
(From OE-Core rev: ce6e606ba8b975a33df2f3dc6104abed9cfa7a36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af27c81eaf68ee681dcd9456a74cca6a9ab40bf6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We'd like to intercept git calls but we don't want circular references
and HOSTTOOLS currently sets them up. Tweak to avoid them.
(From OE-Core rev: 1567b7cec5ccbe198bfd0cca9ee8a2b1cf6dbf42)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52c37e133fa55846aca2248ffcf3a10648dbb8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating the manifest and the testdata.json links, if the link
name is equal to the output name the link is not created, otherwise
it is. This prevents a link-to-self in the first case.
(From OE-Core rev: e3672b5ccd6e0f130b1657017802db130a859d20)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bed63756c56f296ff3d5a7eef66e978bd19f1008)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd-unit parameter DefaultDependencies changed from true/false
to yes/no. This changed in systemd in v242.
(From OE-Core rev: 00db62342e67b916213c3b54db23c8090621462f)
Signed-off-by: Portia Stephens <stephensportia@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit add4dcb03dc7b034253db05f0023cb97cab8b26d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 9da23a2b912edd043037a8e2e1047f7f3ba6886a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An if statement now checks if the link and output path are
the same, if they are then the link is not created,
otherwise it is.
(From OE-Core rev: 62965ca8ca7077c12d75dac37efe204d7159cddd)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 2f024c0236c4806f0e59e4ce51a42f6b80fdf1b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create generate_json_report including all the code used to generate the JSON
manifest file.
Add to cve_save_summary_handler the ability to create the summary in JSON format.
(From OE-Core rev: d8ef964ffeb92684d01d71c983af9dbb1e1b0c4f)
Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f2987891d315466b7ef180ecce81d15320ce8487)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new variable CVE_DB_UPDATE_INTERVAL allowing the user to set
the database update interval.
- a positive value sets an interval (in seconds)
- a zero ("0") forces the database update
(From OE-Core rev: ce79a724dc0f9baac480cbadc05894ffcaf48eb7)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe7bc6f16184d5ebdb1dd914b6dcb75c9e5e0c9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update of the NVD database was expected to happen once per hour.
However, the database file date changes only if the content was actually
updated. In practice, the check worked for the first hour after the
new download.
As the NVD database changes usually only once a day, we can just
update it less frequently.
(From OE-Core rev: d0a56ad3a278e18e766f833619cf97869bdf6a4c)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 35bccdedadeaba820d58b69fe74ce5e4c1f577e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 88f2fb1581a17b2cf59a694ca9afb89e38ed40b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The only part of the cve-check task which needs files is the patch
examination, and typically these patches are local so fetch isn't needed.
(From OE-Core rev: 72e5204bc7272414cc7bcfba18f52a177242ed79)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c9b3186d3b7c18cbea239ab9b06e85b7c243b54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 3dc8edd6611e7ad4abcece44ca4701eda7aeff94)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable release that comprises
the following commits:
1d72b776f6dc Linux 5.4.192
aa2a047b5842 mm, hugetlb: allow for "high" userspace addresses
6a79b2433eb1 hugetlbfs: get unmapped area below TASK_UNMAPPED_BASE for hugetlbfs
b69e60f6fc00 tty: n_gsm: fix incorrect UA handling
0f4be29febdc tty: n_gsm: fix wrong command frame length field encoding
21cc640385b4 tty: n_gsm: fix wrong command retry handling
49c40febd45c tty: n_gsm: fix missing explicit ldisc flush
85522dcf0053 tty: n_gsm: fix insufficient txframe size
563bb0f794ca netfilter: nft_socket: only do sk lookups when indev is available
fae209521000 tty: n_gsm: fix malformed counter for out of frame data
cec2d0782a7b tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2
a6d9847a4f82 x86/cpu: Load microcode during restore_processor_state()
9e9d12b81df6 net: ethernet: stmmac: fix write to sgmii_adapter_base
10ba1ac9a22a drivers: net: hippi: Fix deadlock in rr_close()
a8275219759e cifs: destage any unwritten data to the server before calling copychunk_write
5335370366a3 x86: __memcpy_flushcache: fix wrong alignment if size > 2^32
0ecc5304e80a ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
781571034993 ASoC: wm8731: Disable the regulator when probing fails
a71df406a6a5 tcp: fix F-RTO may not work correctly when receiving DSACK
a4ed61e30e32 ixgbe: ensure IPsec VF<->PF compatibility
406aaef0feae bnx2x: fix napi API usage sequence
c3e7ea58608a tls: Skip tls_append_frag on zero copy size
cd5cec3a0c8f drm/amd/display: Fix memory leak in dcn21_clock_source_create
ffce11a39102 net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK
3a179538bfd7 net: bcmgenet: hide status block before TX timestamping
8ef6d60aa2f1 clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
194f474ad9b4 bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
e80054ea0cde tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT
685ff7d24487 ip_gre: Make o_seqno start from 0 in native mode
69555bb27b2e net/smc: sync err code when tcp connection was refused
daca23846eb3 net: hns3: add validity check for message data length
7763a7956632 cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
f5bb5940d754 pinctrl: pistachio: fix use of irq_of_parse_and_map()
d22fc603694b arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
68f5200a1f60 ARM: dts: imx6ull-colibri: fix vqmmc regulator
c45180375afd sctp: check asoc strreset_chunk in sctp_generate_reconf_event
2cba635570d8 tcp: ensure to use the most recently sent skb when filling the rate sample
3ea6190be92f tcp: md5: incorrect tcp_header_len for incoming connections
2b9a13d98dfc bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
2e7f70d324ef mtd: rawnand: Fix return value check of wait_for_completion_timeout
2a36ba067b36 ipvs: correctly print the memory size of ip_vs_conn_tab
abe86a10dc5c ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
54212850e38f ARM: dts: am3517-evm: Fix misc pinmuxing
bba67fe6b022 ARM: dts: Fix mmc order for omap3-gta04
416e0f890732 phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
6ff7c1b827c8 phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
59bdaed5dd73 ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
dbce8fc16a08 phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
b7fc45354be6 ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
dd99939b70c4 phy: samsung: exynos5250-sata: fix missing device put in probe error paths
6331b77fdc17 phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
fccbc3168e5e ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue
b8f0c19d4864 USB: Fix xhci event ring dequeue pointer ERDP update issue
1f47c2625773 mtd: rawnand: fix ecc parameters for mt7622
0405bd7f1888 arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards
5f80b5c5f406 arm64: dts: meson: remove CPU opps below 1GHz for G12B boards
f6db63819db6 video: fbdev: udlfb: properly check endpoint type
c00f3892f4f0 hex2bin: fix access beyond string end
15b78a8e38e8 hex2bin: make the function hex_to_bin constant-time
73f4668ee875 arch_topology: Do not set llc_sibling if llc_id is invalid
a3cdd33ca163 serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
89a5728b053c serial: 8250: Also set sticky MCR bits in console restoration
42f749f2232a serial: imx: fix overrun interrupts in DMA mode
d29c197df7fa usb: dwc3: gadget: Return proper request status
0f3d081315c5 usb: dwc3: core: Fix tx/rx threshold settings
e2ec7b1f6a06 usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
debb276670b0 usb: gadget: uvc: Fix crash when encoding data for usb request
324e67c3b2fc usb: typec: ucsi: Fix role swapping
0366beb40239 usb: misc: fix improper handling of refcount in uss720_probe()
2c97a2b5ef84 iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
e82c726c94ec iio: dac: ad5446: Fix read_raw not returning set value
1aea30f87c65 iio: dac: ad5592r: Fix the missing return value.
1e8716a5c087 xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms
b8d3a4681f28 xhci: stop polling roothubs after shutdown
c8fbc2f875b6 USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
68088dec9b3c USB: serial: option: add support for Cinterion MV32-WA/MV32-WB
56cbdb9d958a USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader
6b10dd966c12 USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS
890fc65448ea USB: quirks: add STRING quirk for VCOM device
c4b31d41f5f2 USB: quirks: add a Realtek card reader
5666334ce3bf usb: mtu3: fix USB 3.0 dual-role-switch from device to host
b2589647008f lightnvm: disable the subsystem
c9af90f0c6b8 hamradio: remove needs_free_netdev to avoid UAF
7361a35bf330 hamradio: defer 6pack kfree after unregister_netdev
7dea5913000c floppy: disable FDRAWCMD by default
4426e6017f73 Linux 5.4.191
3c946909a3ed Revert "net: micrel: fix KS8851_MLL Kconfig"
c028b81d062e block/compat_ioctl: fix range check in BLKGETSIZE
27da8d16e4f0 staging: ion: Prevent incorrect reference counting behavour
cb158b152ea6 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
1b6ad2421084 jbd2: fix a potential race while discarding reserved buffers after an abort
0b1ba14ab263 ext4: force overhead calculation if the s_overhead_cluster makes no sense
425301ef608a ext4: fix overhead calculation to account for the reserved gdt blocks
ea9c206111ea ext4, doc: fix incorrect h_reserved size
259dc49deaa2 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
faadbf7ac4f2 ext4: fix use-after-free in ext4_search_dir
0309665eb244 ext4: fix symlink file size not match to file content
ddfe3babc546 arm_pmu: Validate single/group leader events
852b02d1f808 ARC: entry: fix syscall_trace_exit argument
016ba7cbed57 e1000e: Fix possible overflow in LTR decoding
1217cf141b24 ASoC: soc-dapm: fix two incorrect uses of list iterator
aa7070556087 openvswitch: fix OOB access in reserve_sfa_size()
d24e0d9d691b xtensa: fix a7 clobbering in coprocessor context load/store
4c26a96d0c29 xtensa: patch_text: Fixup last cpu should be master
8d6937c1e093 powerpc/perf: Fix power9 event alternatives
0dafb826ed70 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
013231f75fce KVM: PPC: Fix TCE handling for VFIO
9cf05812cb10 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
4f08e85ca0fc drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
23f0ba5585a5 dma: at_xdmac: fix a missing check on list iterator
a22f3c99268c ata: pata_marvell: Check the 'bmdma_addr' beforing reading
0441d3e95bca oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
530d32ac52f7 EDAC/synopsys: Read the error count from the correct register
91367af460da stat: fix inconsistency between struct stat and struct compat_stat
837e319ebe62 scsi: qedi: Fix failed disconnect handling
4b813ce289ed net: macb: Restart tx only if queue pointer is lagging
a1419bee4dde drm/msm/mdp5: check the return of kzalloc()
80b188da30aa dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info()
46f9fa0a6632 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant
12a753edd963 mt76: Fix undefined behavior due to shift overflowing the constant
7c48a6e62ddb cifs: Check the IOCB_DIRECT flag, not O_DIRECT
435142fbdcc0 vxlan: fix error return code in vxlan_fdb_append
99c2d9a52f37 ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
3e28d157e5f2 platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative
54be94d33660 reset: tegra-bpmp: Restore Handle errors in BPMP response
0cb2c00dd1ab ARM: vexpress/spc: Avoid negative array index when !SMP
3a5ad1b8db9f selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
d37295129efa netlink: reset network and mac headers in netlink_dump()
4c4f2a019ff9 l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
8c5ca6492a86 net/sched: cls_u32: fix possible leak in u32_init_knode()
f883def54654 net/packet: fix packet_sock xmit return value checking
e1bc684c81f1 net/smc: Fix sock leak when release after smc_shutdown()
f10e5c9f226c rxrpc: Restore removed timer deletion
9a9c48159365 igc: Fix BUG: scheduling while atomic
f9d5d17d234f igc: Fix infinite loop in release_swfw_sync
6d6271dbbbe5 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
65c36555bd7d dmaengine: imx-sdma: Fix error checking in sdma_event_remap
ccf554d148eb ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
6a20bf46c625 ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
6a54979c7830 ALSA: usb-audio: Clear MIDI port active flag after draining
9c99aacfb4c6 tcp: Fix potential use-after-free due to double kfree()
5a4f3eba211a net/sched: cls_u32: fix netns refcount changes in u32_change()
b01b700e0c5a tcp: fix race condition when creating child sockets from syncookies
ebb3b84596bd gfs2: assign rgrp glock before compute_bitstructs
660784e7194a can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
2da11442a1e3 tracing: Dump stacktrace trigger to the corresponding instance
bad7ed55756f mm: page_alloc: fix building error on -Werror=array-compare
ac94e87675b2 etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
(From OE-Core rev: 9784b5a0629cd223865a21a9b72641116d332cf0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BusyBox through 1.35.0 allows remote attackers to execute arbitrary code
if netstat is used to print a DNS PTR record's value to a VT compatible
terminal. Alternatively, the attacker could choose to change the terminal's colors.
https://nvd.nist.gov/vuln/detail/CVE-2022-28391
Backported from kirkstone 3e17df4cd17c132dc7732ebd3d1c80c81c85bcc4.
2nd patch adjusted to apply on 1.31.1.
(From OE-Core rev: 0b9cbcc4ceac3938afd1dd6010ce6d9a3da21598)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are reports of issues with the new libstdc++ from gcc 12. This upgrades
to a gcc 12 version of uninative to allow builds on those systems. Gcc 12 isn't
finalised so we may need to add a new version of this if/as appropriate when it
is.
(From OE-Core rev: 7c0345ab1058a7e29d37f110923ecd368e102ed7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e3da4da7e5da5bb9e1d360e2be2fdd5132e69320)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're going to use the environment approach for solving this issue.
(From OE-Core rev: a58a94e451bb62df70c60b5d7d27c0074b849e0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0982977dc052ad4e65608f6853f930121d08837a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:
------
bitbake -c devshell linux-yocto
[...]
kernel-source#git branch
fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source
kernel-source#
------
Of course the devshell has UID zero and the "real" UID is for "paul" in
this case. And so recent git versions complain.
As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.
Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.
Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.
As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.
RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.
RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.
(From OE-Core rev: 0ff2cff2c1eac3fe6304644db0fc27ba3130c237)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3266c327dfa186791e0f1e2ad63c6f5d39714814)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This symlink is not valid when using usrmerge and ptest packaging would fail
Exception: FileExistsError: [Errno 17] File exists: '/usr/bin/busybox.suid' -> '/mnt/b/yoe/master/build/tmp/work/ppc64p9le-yoe-linux-musl/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'
(From OE-Core rev: e40f202d5f3228934c0e4b49218767864580d003)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 238fd30689054c7b44176dce7180fb6dac4e1b6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2015-20107 describes an arbitrary command execution in the mailcap
module, but this is by design in mailcap and needs to be worked around
by the calling application.
Upstream Python will be documenting this flaw in the library reference,
and it is likely that the mailcap module will be deprecated and removed
in the future.
(From OE-Core rev: 1ed7bb74d35f08af3babf73c68ee01af5f28a50b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85fac8408baf92d8b71946f5bfea92952b7eab01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use of those tools was removed in b5c131006e3fad0a15e6cdf81f71dc1e96647028
perf-build-test/report: Drop phantomjs and html email reports support
(From OE-Core rev: bb3fc61f0d7f7bcd77ef194b76f4fdd8a7ff6aa5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
phantomjs isn't reliable and we've moved to sharing the reports via a webserver.
Update the scripts to more match those being used in the autobuilder helper
where the html email support was removed.
(From OE-Core rev: ce6d41812a70a1586aaabb8de5d748a81f6d7cae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5c131006e3fad0a15e6cdf81f71dc1e96647028)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport to dunfell from master df567de36ae5964bee433ebb97e8bf702034994a
Add an option to output the CVE check in a JSON-based format.
This format is easier to parse in software than the original
text-based one and allows post-processing by other tools.
Output formats are now handed by CVE_CHECK_FORMAT_TEXT and
CVE_CHECK_FORMAT_JSON. The text format is enabled by default
to maintain compatibility, while the JSON format is disabled
by default.
The JSON output format gets generated in a similar way to the
text format with the exception of the manifest: appending to
JSON arrays requires parsing the file. Because of that we
first write JSON fragments and then assemble them in one pass
at the end.
(From OE-Core rev: 92b6011ab25fd36e2f8900a4db6883cdebc3cd3d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE_${PN}-ar3k and depending on both of them.
(From OE-Core rev: 8c0aa16d76e5492f774fcfe08c829c877991afbd)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 8e651814af706285d64b532095fcd6f5f02629ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
dc213ac85601 Linux 5.4.190
a83a18c4c903 ax25: Fix UAF bugs in ax25 timers
40cb8b3b19c0 ax25: Fix NULL pointer dereferences in ax25 timers
d2be5b563ef3 ax25: fix NPD bug in ax25_disconnect
eaa7eb23fa76 ax25: fix UAF bug in ax25_send_control()
9e1e088a57c2 ax25: Fix refcount leaks caused by ax25_cb_del()
7528d0f2210c ax25: fix UAF bugs of net_device caused by rebinding operation
1db0b2c55c93 ax25: fix reference count leaks of ax25_dev
418993bbaafb ax25: add refcount in ax25_dev to avoid UAF bugs
4459946e867a dma-direct: avoid redundant memory sync for swiotlb
7efb8e49f659 i2c: pasemi: Wait for write xfers to finish
659855c62c34 smp: Fix offline cpu check in flush_smp_call_function_queue()
7f84c9372229 dm integrity: fix memory corruption when tag_size is less than digest size
89931d476257 ARM: davinci: da850-evm: Avoid NULL pointer dereference
28956e530b11 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
f4fb50ee2594 genirq/affinity: Consider that CPUs on nodes can be unbalanced
f616ecec0fae drm/amd/display: don't ignore alpha property on pre-multiplied mode
ab2f5afb7af5 ipv6: fix panic when forwarding a pkt with no in6 dev
377a80ca6590 ALSA: pcm: Test for "silence" field in struct "pcm_format_data"
5f77b1c0e673 ALSA: hda/realtek: Add quirk for Clevo PD50PNT
358e7b451a5a btrfs: mark resumed async balance as writing
d5b0b11c064e btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()
0aad67337ff7 ath9k: Fix usage of driver-private space in tx_info
7fb98e4f5b2e ath9k: Properly clear TX status area before reporting to mac80211
7a9e1327ccb2 gcc-plugins: latent_entropy: use /dev/urandom
534d0aebe164 mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
b56d305274b6 mm, page_alloc: fix build_zonerefs_node()
e07a70ca831e perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant
d05cd68ed846 drivers: net: slip: fix NPD bug in sl_tx_timeout()
6d41134f3037 scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
3ecd43dcdac4 scsi: mvsas: Add PCI ID of RocketRaid 2640
deab81144d5a powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit
dd9b4b435a56 drm/amd/display: Fix allocate_mst_payload assert on resume
404998a137bc net: usb: aqc111: Fix out-of-bounds accesses in RX fixup
4a244167964a tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry
29c2910c5060 arm64: alternatives: mark patch_alternative() as `noinstr`
8c4db601ac8c regulator: wm8994: Add an off-on delay for WM8994 variant
066180758fd0 gpu: ipu-v3: Fix dev_dbg frequency output
b4ef44c7c27b ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs
4cd3c9e070d6 net: micrel: fix KS8851_MLL Kconfig
6117facb44a1 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024
fb7a5115422f scsi: target: tcmu: Fix possible page UAF
70b97c1546f9 Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer
c7a268b33882 drm/amdkfd: Check for potential null return of kmalloc_array()
2f3e1f38631f drm/amdkfd: Fix Incorrect VMIDs passed to HWS
46ca8233f12d drm/amd/display: Update VTEM Infopacket definition
74090c44c1f2 drm/amd/display: fix audio format not updated after edid updated
0b3c2222d73a drm/amd: Add USBC connector ID
22d658c6c5af cifs: potential buffer overflow in handling symlinks
5c63ad2b0a26 nfc: nci: add flush_workqueue to prevent uaf
1407cc68aaa8 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
37e54d151eab sctp: Initialize daddr on peeled off socket
a05f5e26cb8b net/smc: Fix NULL pointer dereference in smc_pnet_find_ib()
1ac7c6d75ede drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init()
02ee10d2a4a0 cfg80211: hold bss_lock while updating nontrans_list
99a435c3789c net/sched: taprio: Check if socket flags are valid
7e59fdf9547c net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
94541468c11a net/sched: fix initialization order when updating chain 0 head
4f83ba16a1b8 mlxsw: i2c: Fix initialization error flow
8cefae8c40df gpiolib: acpi: use correct format characters
2fd90b86dff4 veth: Ensure eth header is in skb's linear part
5f2e54391893 net/sched: flower: fix parsing of ethertype following VLAN header
9250186785f4 memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
e7f5213d755b Linux 5.4.189
b15feb09a32e ACPI: processor idle: Check for architectural support for LPI
60b6aae07249 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function
598a22a077a8 selftests: cgroup: Test open-time cgroup namespace usage for migration checks
a3f6c5949f66 selftests: cgroup: Test open-time credential usage for migration checks
48848242d378 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644
8a887060af61 cgroup: Use open-time cgroup namespace for process migration perm checks
9bd1ced6466e cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv
691a0fd625e0 cgroup: Use open-time credentials for process migraton perm checks
1a623d361ffe io_uring: fix fs->users overflow
33fcb359a642 drm/amdkfd: Fix -Wstrict-prototypes from amdgpu_amdkfd_gfx_10_0_get_functions()
1549bc8cc165 drm/amdkfd: add missing void argument to function kgd2kfd_init
fdfb9ae26161 mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning
a0c0867f06b9 arm64: module: remove (NOLOAD) from linker script
2bd5b0d56d7b mm: don't skip swap entry even if zap_details specified
dfa87d9a5db3 mmc: mmci: stm32: correctly check all elements of sg list
c645de49e971 mmc: mmci_sdmmc: Replace sg_dma_xxx macros
0d99cce85e34 dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"
9e6980c68cbf tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
f0752ee5efdc tools build: Filter out options and warnings not supported by clang
3c07cc242baf irqchip/gic-v3: Fix GICR_CTLR.RWP polling
e44d6af17b15 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator
55e1465ba795 ata: sata_dwc_460ex: Fix crash due to OOB write
b0c4b3fc01ae arm64: patch_text: Fixup last cpu should be master
44277c50fdba btrfs: fix qgroup reserve overflow the qgroup limit
17f3e31c8603 x86/speculation: Restore speculation related MSRs during S3 resume
0b8043e0fcea x86/pm: Save the MSR validity status at context setup
25f506273b6a mm/mempolicy: fix mpol_new leak in shared_policy_replace
c19d8de4e682 mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)
73953dfa9d50 lz4: fix LZ4_decompress_safe_partial read out of bound
3b3514388895 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
0869cb9f6235 Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
c79c1846bdd7 perf session: Remap buf if there is no space for event
9b6894db7c46 perf tools: Fix perf's libperf_print callback
4ecef6f28aa1 SUNRPC: Handle low memory situations in call_status()
9a0da98a36b4 SUNRPC: Handle ENOMEM in call_transmit_status()
b6a4055036ee drbd: Fix five use after free bugs in get_initial_state
a581b089216d bpf: Support dual-stack sockets in bpf_tcp_check_syncookie
eb175e060699 spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op()
034a92c6a810 qede: confirm skb is allocated before using
7ee84d29f22d rxrpc: fix a race in rxrpc_exit_net()
fee500c33534 net: openvswitch: don't send internal clone attribute to the userspace.
c154cf184b2c ipv6: Fix stats accounting in ip6_pkt_drop
fbe5f4c0dd34 dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe
8a50937227c3 IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition
1ef586a864df bnxt_en: reserve space inside receive page for skb_shared_info
c539a6a5896e drm/imx: Fix memory leak in imx_pd_connector_get_modes
cc9c2f51cd48 net: stmmac: Fix unset max_speed difference between DT and non-DT platforms
f5064531c23a net: ipv4: fix route with nexthop object delete warning
2b7d14c105dd net/tls: fix slab-out-of-bounds bug in decrypt_internal
34a47f7ddb4f scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()
2133c422a103 Drivers: hv: vmbus: Fix potential crash on module unload
c5e12c3a47db drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()
00914290958d KVM: arm64: Check arm64_get_bp_hardening_data() didn't return NULL
18e0097daf8c mm: fix race between MADV_FREE reclaim and blkdev direct IO read
abb1f310e7f0 parisc: Fix patch code locking and flushing
bab8e3b4f68a parisc: Fix CPU affinity for Lasi, WAX and Dino chips
1b8a6d1bdac5 SUNRPC: Fix socket waits for write buffer space
e19c3149a80e jfs: prevent NULL deref in diFree
3504b0a17720 virtio_console: eliminate anonymous module_init & module_exit
60ade478c965 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
14e6bab37373 NFS: swap-out must always use STABLE writes.
66cf5de08460 NFS: swap IO handling is slightly different for O_DIRECT IO
fa47286c010a SUNRPC/call_alloc: async tasks mustn't block waiting for memory
e427cd0ad559 clk: Enforce that disjoints limits are invalid
8a7462b5211c xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32
3f8f3a1c10e2 NFSv4: Protect the state recovery thread against direct reclaim
96cdf2fdbe89 w1: w1_therm: fixes w1_seq for ds28ea00 sensors
823f0364d4a4 clk: si5341: fix reported clk_rate when output divider is 2
f4e16d12bc7c minix: fix bug when opening a file with O_DIRECT
a95bbfea8f70 init/main.c: return 1 from handled __setup() functions
b4be80aa4bda netlabel: fix out-of-bounds memory accesses
3803d896ddd9 Bluetooth: Fix use after free in hci_send_acl
8beb760f634e xtensa: fix DTC warning unit_address_format
d41bdccb3c29 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm
5cf2ce8967b0 scsi: libfc: Fix use after free in fc_exch_abts_resp()
0aeaadc52b05 MIPS: fix fortify panic when copying asm exception handlers
c871b8374896 bnxt_en: Eliminate unintended link toggle during FW reset
1166f5c139d5 tuntap: add sanity checks about msg_controllen in sendmsg
c68dd44fb896 macvtap: advertise link netns via netlink
060a485df4ec mips: ralink: fix a refcount leak in ill_acc_of_setup()
1dd7569b8c70 net/smc: correct settings of RMB window update limit
2fda284a3acb scsi: aha152x: Fix aha152x_setup() __setup handler return value
a0ef536256c9 scsi: pm8001: Fix pm8001_mpi_task_abort_resp()
a45af7e34091 drm/amdkfd: make CRAT table missing message informational only
0320bac5801b dm ioctl: prevent potential spectre v1 gadget
73dd98ac192d ipv4: Invalidate neighbour for broadcast address upon address addition
f5e4f728d5c9 power: supply: axp288-charger: Set Vhold to 4.4V
6e2dff272cb4 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum
4225947957f8 usb: ehci: add pci device support for Aspeed platforms
ea057ac8c942 iommu/arm-smmu-v3: fix event handling soft lockup
4e85f5ab589d PCI: aardvark: Fix support for MSI interrupts
c0e9d868a1e0 drm/amdgpu: Fix recursive locking warning
cee00fd8004f powerpc: Set crashkernel offset to mid of RMA region
fbb7b033209c ipv6: make mc_forwarding atomic
9f24efe239df power: supply: axp20x_battery: properly report current when discharging
3575fa75da6c scsi: bfa: Replace snprintf() with sysfs_emit()
9cd46ee37456 scsi: mvsas: Replace snprintf() with sysfs_emit()
ca5da71a5838 bpf: Make dst_port field in struct bpf_sock 16-bit wide
90dbc4c6649f powerpc: dts: t104xrdb: fix phy type for FMAN 4/5
9388d8760997 ptp: replace snprintf with sysfs_emit
4009f104b02b drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj
c4e2f577271e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111
61ffe2183351 drm: Add orientation quirk for GPD Win Max
01f700bae439 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs
a5476f8d359f ARM: 9187/1: JIVE: fix return value of __setup handler
63efb9003069 riscv module: remove (NOLOAD)
68a7bb69486e rtc: wm8350: Handle error for wm8350_register_irq
d95e0367fdc5 ubifs: Rectify space amount budget for mkdir/tmpfile operations
9e24d03dd4fe KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated
1553126eccf4 KVM: x86/mmu: do compare-and-exchange of gPTE via the user address
eb05ef70b621 openvswitch: Fixed nd target mask field in the flow dump.
ce8043771fcd um: Fix uml_mconsole stop/go
337eb9557035 ARM: dts: spear13xx: Update SPI dma properties
4e48a6662356 ARM: dts: spear1340: Update serial node properties
7f19400e5957 ASoC: topology: Allow TLV control to be either read or write
32a76a557494 ubi: fastmap: Return error code if memory allocation fails in add_aeb()
0c1a26c3d325 dt-bindings: spi: mxic: The interrupt property is not mandatory
97ba943e9940 dt-bindings: mtd: nand-controller: Fix a comment in the examples
a42ab650d33b dt-bindings: mtd: nand-controller: Fix the reg property description
7d418a0a5626 bpf: Fix comment for helper bpf_current_task_under_cgroup()
a075e95614f0 mm/usercopy: return 1 from hardened_usercopy __setup() handler
abc0b4ea02f6 mm/memcontrol: return 1 from cgroup.memory __setup() handler
2e16f48838fc mm/mmap: return 1 from stack_guard_gap __setup() handler
d650ed0617e0 ASoC: soc-compress: Change the check for codec_dai
7f19245c3647 powerpc/kasan: Fix early region not updated correctly
cb249f8c00f4 ACPI: CPPC: Avoid out of bounds access when parsing _CPC data
7d4a3c930d1d ARM: iop32x: offset IRQ numbers by 1
d727fd32cbd1 ubi: Fix race condition between ctrl_cdev_ioctl and ubi_cdev_ioctl
4f9a59cf842a ASoC: mediatek: mt6358: add missing EXPORT_SYMBOLs
230987c2bbc5 pinctrl: nuvoton: npcm7xx: Use %zu printk format for ARRAY_SIZE()
18455cc74e95 pinctrl: nuvoton: npcm7xx: Rename DS() macro to DSTR()
9611d8ef6829 pinctrl: pinconf-generic: Print arguments for bias-pull-*
b0c0f4057020 net: hns3: fix software vlan talbe of vlan 0 inconsistent with hardware
2a548fbf09f3 gfs2: Make sure FITRIM minlen is rounded up to fs block size
8d67f67361c0 rtc: check if __rtc_read_time was successful
9a8835902eb6 XArray: Update the LRU list in xas_split()
cbd110b8dd7a can: mcba_usb: properly check endpoint type
2dfe9422d528 can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
3e2852eda19e XArray: Fix xas_create_range() when multi-order entry present
a840286f13df ubifs: rename_whiteout: correct old_dir size computing
b80ccbec0e48 ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()
1afe219e4a66 ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
786013ecbaed ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
37bdf1ad5925 ubifs: Fix deadlock in concurrent rename whiteout and inode writeback
14276d38c89a ubifs: rename_whiteout: Fix double free for whiteout_ui->data
01df5f7627f1 ASoC: SOF: Intel: Fix NULL ptr dereference when ENOMEM
4c277c846a21 KVM: x86: fix sending PV IPI
a1c03f11cc3c KVM: Prevent module exit until all VMs are freed
8f608ee87ebf scsi: qla2xxx: Use correct feature type field during RFF_ID processing
af744ef8f18e scsi: qla2xxx: Reduce false trigger to login
7f9ce17a1d1b scsi: qla2xxx: Fix N2N inconsistent PLOGI
2d087c7e55db scsi: qla2xxx: Fix missed DMA unmap for NVMe ls requests
4a0a3c66a58e scsi: qla2xxx: Fix hang due to session stuck
9d1651c8a40d scsi: qla2xxx: Fix incorrect reporting of task management failure
2eb127417609 scsi: qla2xxx: Fix disk failure to rediscover
8077a7162bc3 scsi: qla2xxx: Suppress a kernel complaint in qla_create_qpair()
c478b2cde9b5 scsi: qla2xxx: Check for firmware dump already collected
96391480abfe scsi: qla2xxx: Add devids and conditionals for 28xx
08d04784ccc5 scsi: qla2xxx: Fix device reconnect in loop topology
167debaeaaca scsi: qla2xxx: Fix warning for missing error code
e67e9620a09c scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
8e561cbb7863 scsi: qla2xxx: Fix stuck session in gpdb
f196d94cc7c2 powerpc: Fix build errors with newer binutils
71ca99a50960 powerpc/lib/sstep: Fix build errors with newer binutils
d42b045e92c2 powerpc/lib/sstep: Fix 'sthcx' instruction
0af21531f5ed ALSA: hda/realtek: Add alc256-samsung-headphone fixup
95d65bca6eb9 mmc: host: Return an error when ->enable_sdio_irq() ops is missing
813553e4a91f media: hdpvr: initialize dev->worker at hdpvr_register_videodev
236311be0976 media: Revert "media: em28xx: add missing em28xx_close_extension"
3b36c05f68ba video: fbdev: sm712fb: Fix crash in smtcfb_write()
11186875ba8f ARM: mmp: Fix failure to remove sram device
dc958cd4c88c ARM: tegra: tamonten: Fix I2C3 pad setting
691b0c0cb6df media: cx88-mpeg: clear interrupt status register before streaming video
b239e9d52dbe ASoC: soc-core: skip zero num_dai component in searching dai name
7d0afbc41b89 video: fbdev: udlfb: replace snprintf in show functions with sysfs_emit
efe9631a76e6 video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()
ee7ce43367f3 video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
046d9fd86bd8 ASoC: madera: Add dependencies on MFD
46ac0e768dc7 ARM: dts: bcm2837: Add the missing L1/L2 cache information
bf27f5dfcf82 ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960
3856562e940c video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
53a2088a396c video: fbdev: cirrusfb: check pixclock to avoid divide by zero
b19c7df304f5 video: fbdev: w100fb: Reset global state
055cdd2e7b99 video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow
fe41ad8be036 ntfs: add sanity check on allocation size
5a016c053f42 ext4: don't BUG if someone dirty pages without asking ext4 first
07150842fac9 spi: tegra20: Use of_device_get_match_data()
0cccf9d4fb45 PM: core: keep irq flags in device_pm_check_callbacks()
f24e2362d667 ACPI/APEI: Limit printable size of BERT table data
931aff627469 Revert "Revert "block, bfq: honor already-setup queue merges""
7a7b11d694ed lib/raid6/test/Makefile: Use $(pound) instead of \# for Make 4.3
c7f6ae51b1b4 ACPICA: Avoid walking the ACPI Namespace if it is not there
5117c9ff4c2e bfq: fix use-after-free in bfq_dispatch_request
e464aafd3537 irqchip/nvic: Release nvic_base upon failure
c159eb634e52 irqchip/qcom-pdc: Fix broken locking
c345724f2b79 Fix incorrect type in assignment of ipv6 port for audit
927649f3f379 loop: use sysfs_emit() in the sysfs xxx show()
799f22279e11 selinux: use correct type for context length
c4f5a678add5 block, bfq: don't move oom_bfqq
f409e9d1780b pinctrl: npcm: Fix broken references to chip->parent_device
f36dd10d1b95 gcc-plugins/stackleak: Exactly match strings instead of prefixes
ddcdda888e14 LSM: general protection fault in legacy_parse_param
1f316b42a8e3 lib/test: use after free in register_test_dev_kmod()
7a2ba24cee9a net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator
910a98e5c1e5 NFSv4/pNFS: Fix another issue with a list iterator pointing to the head
9acf05b4e7b5 net/x25: Fix null-ptr-deref caused by x25_disconnect
d15a70fcda7b qlcnic: dcb: default to returning -EOPNOTSUPP
8ba93ab509ec selftests: test_vxlan_under_vrf: Fix broken test case
ae713d7d9987 net: phy: broadcom: Fix brcm_fet_config_init()
ab2c789d1c0a xen: fix is_xen_pmu()
d85841e4b2ff clk: Initialize orphan req_rate
025c75ba3811 clk: qcom: gcc-msm8994: Fix gpll4 width
f6f1c9a51e28 NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
806ef544cf1a netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options
cec71a718ce1 jfs: fix divide error in dbNextAG
b3ac1e01963d driver core: dd: fix return value of __setup handler
1bb231de81fc firmware: google: Properly state IOMEM dependency
e9f2a8c6428d kgdbts: fix return value of __setup handler
16fe77f86aa5 kgdboc: fix return value of __setup handler
7c617cb38c19 tty: hvc: fix return value of __setup handler
0615a444c5dd pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
bc1e29a35147 pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe
27681f9e02e7 pinctrl: mediatek: paris: Fix pingroup pin config state readback
e9eacc8952ea pinctrl: mediatek: paris: Fix "argument" argument type for mtk_pinconf_get()
b348618c175e pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
6e0d69618863 staging: mt7621-dts: fix LEDs and pinctrl on GB-PC1 devicetree
efc605469e47 NFS: remove unneeded check in decode_devicenotify_args()
110c038779cc clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
2b5e68095c43 clk: clps711x: Terminate clk_div_table with sentinel element
166c0185f32f clk: loongson1: Terminate clk_div_table with sentinel element
1d04467bbbd0 clk: actions: Terminate clk_div_table with sentinel element
50b48ba439bc remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
b5625e7a16e3 remoteproc: qcom: Fix missing of_node_put in adsp_alloc_memory_region
16ad029942bd clk: qcom: clk-rcg2: Update the frac table for pixel clock
52592f9afbfe clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
b576488fa3b5 clk: imx7d: Remove audio_mclk_root_clk
79467b956333 dma-debug: fix return value of __setup handlers
fe334765e4bb NFS: Return valid errors from nfs2/3_decode_dirent()
546604de8acc iio: adc: Add check for devm_request_threaded_irq
1da082f728c7 serial: 8250: Fix race condition in RTS-after-send handling
617d9c0b9806 serial: 8250_mid: Balance reference count for PCI DMA device
61d3fdef61b9 phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure})
84ee0c81dd28 clk: qcom: ipq8074: Use floor ops for SDCC1 clock
dd719fca42e4 pinctrl: renesas: r8a77470: Reduce size for narrow VIN1 channel
b82465c1ff4a staging:iio:adc:ad7280a: Fix handing of device address bit reversing.
3ba0143128ee misc: alcor_pci: Fix an error handling path
af1fdbbb7b22 pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
996291d06851 mxser: fix xmit_buf leak in activate when LSR == 0xff
58200dedbd10 mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
043b19701332 tipc: fix the timer expires after interval 100ms
6e2e80b2e9be openvswitch: always update flow key after nat
7a970dbb7d16 tcp: ensure PMTU updates are processed during fastopen
b4725ad1e459 selftests/bpf/test_lirc_mode2.sh: Exit with proper code
1c7b252a6053 i2c: mux: demux-pinctrl: do not deactivate a master that is not active
41249fff5073 af_netlink: Fix shift out of bounds in group mask calculation
874eca93966a Bluetooth: btmtksdio: Fix kernel oops in btmtksdio_interrupt
2fe415601b2d USB: storage: ums-realtek: fix error code in rts51x_read_mem()
94c6ac22abcd bpf, sockmap: Fix double uncharge the mem of sk_msg
244ce90c8d0b bpf, sockmap: Fix more uncharged while msg has more_data
6d03722c34d9 bpf, sockmap: Fix memleak in tcp_bpf_sendmsg while sk msg is full
0174a89663a5 RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
9b08d211db4c mtd: rawnand: atmel: fix refcount issue in atmel_nand_controller_init
443121c9948d MIPS: RB532: fix return value of __setup handler
9a9a62846c15 vxcan: enable local echo for sent CAN frames
6f259b1a4ab0 powerpc: 8xx: fix a return value error in mpc8xx_pic_init
d87803ba6be8 selftests/bpf: Make test_lwt_ip_encap more stable and faster
ac6edd6fcbf5 mfd: mc13xxx: Add check for mc13xxx_irq_request
d2577dc2b3c3 powerpc/sysdev: fix incorrect use to determine if list is empty
7192df97a018 mips: DEC: honor CONFIG_MIPS_FP_SUPPORT=n
10705a430557 PCI: Reduce warnings on possible RW1C corruption
90bec38f6a4c power: supply: wm8350-power: Add missing free in free_charger_irq
a16d8f4191a7 power: supply: wm8350-power: Handle error for wm8350_register_irq
c7032923159c i2c: xiic: Make bus names unique
6f41e4a69ba3 hv_balloon: rate-limit "Unhandled message" warning
c00a91aca237 KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()
5f43ec383eba KVM: x86: Fix emulation in writing cr8
e91ba23f55cf powerpc/Makefile: Don't pass -mcpu=powerpc64 when building 32-bit
3c660fa0f905 libbpf: Skip forward declaration when counting duplicated type names
b62e615a619d bpf, arm64: Feed byte-offset into bpf line info
8f3192a241d1 bpf, arm64: Call build_prologue() first in first JIT pass
54bc98a0ab2b drm/bridge: cdns-dsi: Make sure to to create proper aliases for dt
30c5cf4bf219 scsi: hisi_sas: Change permission of parameter prot_mask
e2cd206815a6 power: supply: bq24190_charger: Fix bq24190_vbus_is_enabled() wrong false return
a72507070188 drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
cc16d0bc1c69 ext2: correct max file size computing
b689622cc42a TOMOYO: fix __setup handlers return values
aa7981012a98 drm/amd/display: Remove vupdate_int_entry definition
765674e3b301 scsi: pm8001: Fix abort all task initialization
442685f95296 scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
e7336d47759d scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
898c73387e8f scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
5e3359ed0944 dm crypt: fix get_key_size compiler warning if !CONFIG_KEYS
37e847b674f1 iwlwifi: mvm: Fix an error code in iwl_mvm_up()
4ad7d29ee42c iwlwifi: Fix -EIO error code that is never returned
770d42fff12d dax: make sure inodes are flushed before destroy cache
c10980c522d8 IB/cma: Allow XRC INI QPs to set their local ACK timeout
2eaa9d86e007 drm/amd/display: Add affected crtcs to atomic state for dsc mst unplug
8ae97a595b84 iommu/ipmmu-vmsa: Check for error num after setting mask
a29ce9592cf6 HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports
41ed61364285 power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init
af5ad6e8370b PCI: aardvark: Fix reading PCI_EXP_RTSTA_PME bit on emulated bridge
93b47d22d6a9 net: dsa: mv88e6xxx: Enable port policy support on 6097
b03c06171b6e mt76: mt7615: check sta_rates pointer in mt7615_sta_rate_tbl_update
eb5932160e37 mt76: mt7603: check sta_rates pointer in mt7603_sta_rate_tbl_update
d2ee8da9f72d powerpc/perf: Don't use perf_hw_context for trace IMC PMU
135eb4e2bed1 ray_cs: Check ioremap return value
3be1bb175f2c power: reset: gemini-poweroff: Fix IRQ check in gemini_poweroff_probe
9a0e270c40ae i40e: don't reserve excessive XDP_PACKET_HEADROOM on XSK Rx to skb
5607badbb145 KVM: PPC: Fix vmx/vsx mixup in mmio emulation
4d244b731188 ath9k_htc: fix uninit value bugs
57f4ad5e286f drm/amd/display: Fix a NULL pointer dereference in amdgpu_dm_connector_add_common_modes()
1feb6ff89d7f drm/edid: Don't clear formats if using deep color
0d0ee651e72c mtd: rawnand: gpmi: fix controller timings setting
750d2dc19f25 mtd: onenand: Check for error irq
d58d281d6a3f Bluetooth: hci_serdev: call init_rwsem() before p->open()
5d50f851dd30 udmabuf: validate ubuf->pagecount
2cf7d537d330 ath10k: fix memory overwrite of the WoWLAN wakeup packet pattern
820e469a2f37 drm/bridge: Add missing pm_runtime_disable() in __dw_mipi_dsi_probe
e7a0c8546f74 drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
f419751373a5 ASoC: msm8916-wcd-analog: Fix error handling in pm8916_wcd_analog_spmi_probe
1f31073b7772 mmc: davinci_mmc: Handle error for clk_enable
93476f9f8277 ASoC: msm8916-wcd-digital: Fix missing clk_disable_unprepare() in msm8916_wcd_digital_probe
9e1fdf18fecb ASoC: imx-es8328: Fix error return code in imx_es8328_probe()
67e12f1cb2f9 ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
ed41d104be54 ASoC: dmaengine: do not use a NULL prepare_slave_config() callback
29e91a49b6fb ivtv: fix incorrect device_caps for ivtvfb
0342da635054 video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
58e42ee4a022 ASoC: fsi: Add check for clk_enable
ea9adaa598ec ASoC: wm8350: Handle error for wm8350_register_irq
0325193cf40d ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
3cc050df73e3 media: stk1160: If start stream fails, return buffers with VB2_BUF_STATE_QUEUED
97398470c9b6 arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly
7025f40690a2 ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction
fd5dda439e1c memory: emif: check the pointer temp in get_device_details()
0ead05f7218f memory: emif: Add check for setup_interrupts
68a69ad8df95 ASoC: soc-compress: prevent the potentially use of null pointer
af6e1d11f758 ASoC: atmel_ssc_dai: Handle errors for clk_enable
fd0c4082fd14 ASoC: mxs-saif: Handle errors for clk_enable
5847873140e6 printk: fix return value of printk.devkmsg __setup handler
38bc92ae39b1 arm64: dts: broadcom: Fix sata nodename
9873232fde53 arm64: dts: ns2: Fix spi-cpol and spi-cpha property
c6475df1e7bf ALSA: spi: Add check for clk_enable()
e0cfb41d4635 ASoC: ti: davinci-i2s: Add check for clk_enable()
3905742f93b4 ASoC: rt5663: check the return value of devm_kzalloc() in rt5663_parse_dp()
a975000e7aa3 uaccess: fix nios2 and microblaze get_user_8()
14cd5a8e61c6 media: usb: go7007: s2250-board: fix leak in probe()
92f84aa82dfa media: em28xx: initialize refcount before kref_get
c6f0999461e6 media: video/hdmi: handle short reads of hdmi info frame.
a9d0bb298880 ARM: dts: imx: Add missing LVDS decoder on M53Menlo
cac1473d83e4 soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
fb7f2eabfe18 arm64: dts: qcom: sm8150: Correct TCS configuration for apps rsc
583fcb66ab17 soc: qcom: aoss: remove spurious IRQF_ONESHOT flags
755dbc3d7378 soc: qcom: rpmpd: Check for null return of devm_kcalloc
12081a152046 ARM: dts: qcom: ipq4019: fix sleep clock
547d36fa4100 video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
125d10f0bef8 video: fbdev: atmel_lcdfb: fix an error code in atmel_lcdfb_probe()
da8b269cc0a2 video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()
4d847e455d0b media: aspeed: Correct value for h-total-pixels
bd342c7bef23 media: hantro: Fix overfill bottom register field name
db1b3b99d610 media: coda: Fix missing put_device() call in coda_get_vdoa_data
b0f6b41490a7 media: bttv: fix WARNING regression on tunerless devices
0478ccdc8ea0 f2fs: fix to avoid potential deadlock
005f9cdab70c f2fs: fix missing free nid in f2fs_handle_failed_inode
a2e534c6a06f perf/x86/intel/pt: Fix address filter config for 32-bit kernel
015d31165da3 perf/core: Fix address filter parser for multiple filters
841f5b235d69 sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa
715a34317255 clocksource: acpi_pm: fix return value of __setup handler
4c0173521db1 hwmon: (pmbus) Add Vin unit off handling
acba28618203 crypto: ccp - ccp_dmaengine_unregister release dma channels
39a521faf426 ACPI: APEI: fix return value of __setup handlers
8dc887ae33d2 clocksource/drivers/timer-of: Check return value of of_iomap in timer_of_base_init()
b305975a6625 crypto: vmx - add missing dependencies
b7f3e230ca45 hwrng: atmel - disable trng on failure path
63266a148888 PM: suspend: fix return value of __setup handler
6c4c026c3d91 PM: hibernate: fix __setup handler error handling
84fe3ca6e791 block: don't delete queue kobject before its children
b68d1742f420 hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING
bf78aca8e41d hwmon: (pmbus) Add mutex to regulator ops
00d67f54b830 spi: pxa2xx-pci: Balance reference count for PCI DMA device
40e6d5d1de06 crypto: ccree - don't attempt 0 len DMA mappings
c3a5acf91cb9 audit: log AUDIT_TIME_* records only from rules
152ebc0ee9b4 selftests/x86: Add validity check and allow field splitting
f8a3de8d7c2f spi: tegra114: Add missing IRQ check in tegra_spi_probe
e5e748a6ff11 crypto: mxs-dcp - Fix scatterlist processing
30d3f45bcfa7 crypto: authenc - Fix sleep in atomic context in decrypt_tail
9b19022137e8 regulator: qcom_smd: fix for_each_child.cocci warnings
accf175d0c54 PCI: pciehp: Clear cmd_busy bit in polling mode
a92f72055486 brcmfmac: pcie: Fix crashes due to early IRQs
51fffd722ef0 brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio
d0ab87f8dcdf brcmfmac: pcie: Release firmwares in the brcmf_pcie_setup error path
2c894b12b206 brcmfmac: firmware: Allocate space for default boardrev in nvram
34a57be0f9f0 xtensa: fix xtensa_wsr always writing 0
54c9fb17bef1 xtensa: fix stop_machine_cpuslocked call in patch_text
4df9d88a9c54 media: davinci: vpif: fix unbalanced runtime PM get
28859c3a7782 DEC: Limit PMAX memory probing to R3k systems
baa4aa800d32 crypto: rsa-pkcs1pad - fix buffer overread in pkcs1pad_verify_complete()
058b2e59dbf5 crypto: rsa-pkcs1pad - restore signature length check
7973dc9118ba crypto: rsa-pkcs1pad - correctly get hash from source scatterlist
002288800e10 lib/raid6/test: fix multiple definition linking error
e73efa5ad5d2 thermal: int340x: Increase bitmap size
5d553ed5c5d4 carl9170: fix missing bit-wise or operator for tx_params
55f078dc6620 ARM: dts: exynos: add missing HDMI supplies on SMDK5420
0e0d9bd6be8d ARM: dts: exynos: add missing HDMI supplies on SMDK5250
a77dd759bd71 ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
2fafe8b57c0d ARM: dts: at91: sama5d2: Fix PMERRLOC resource size
51186190c4e8 video: fbdev: atari: Atari 2 bpp (STe) palette bugfix
478154be3a8c video: fbdev: sm712fb: Fix crash in smtcfb_read()
67643b89fbe5 drm/edid: check basic audio support on CEA extension block
3f91687e6e5d block: don't merge across cgroup boundaries if blkcg is enabled
8d3a7b206458 mailbox: tegra-hsp: Flush whole channel
28c8fd84bea1 drivers: hamradio: 6pack: fix UAF bug caused by mod_timer()
5217ae080efd ACPI: properties: Consistently return -ENOENT if there are no more references
f3ec0c9db5d3 udp: call udp_encap_enable for v6 sockets when enabling encap
11dc8286f9f6 powerpc/kvm: Fix kvm_use_magic_page
ded627763026 drbd: fix potential silent data corruption
35b72d8e2c8e mm/kmemleak: reset tag when compare object pointer
d102fcacfcf3 mm,hwpoison: unmap poisoned page before invalidation
099553a1a87f ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020
a86bde89304a ALSA: cs4236: fix an incorrect NULL check on list iterator
848977412065 Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads"
097479aeb214 riscv: Fix fill_callchain return value
c82cbbefc6e6 qed: validate and restrict untrusted VFs vlan promisc mode
5081cbfb62d2 qed: display VF trust config
930a3ed5d8d0 scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
ae2a271ed562 mempolicy: mbind_range() set_policy() after vma_merge()
d1313f5e8fe5 mm: invalidate hwpoison page cache page in fault path
2efe956a74dc mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node
455f4a23490b jffs2: fix memory leak in jffs2_scan_medium
0978e9af4559 jffs2: fix memory leak in jffs2_do_mount_fs
30bf7244acf3 jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
e27caad38b59 can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
00a856fa6976 spi: mxic: Fix the transmit path
e05221d20153 pinctrl: samsung: drop pin banks references on error paths
0996eaaddfe4 f2fs: fix to do sanity check on .cp_pack_total_block_count
f1d5946d47c0 f2fs: quota: fix loop condition at f2fs_quota_sync()
947ca26390d2 f2fs: fix to unlock page correctly in error path of is_alive()
ce1aa09cc14e NFSD: prevent integer overflow on 32 bit systems
85259340fc9b NFSD: prevent underflow in nfssvc_decode_writeargs()
1cfeeeee8cf0 SUNRPC: avoid race between mod_timer() and del_timer_sync()
1a1e73e9add7 HID: intel-ish-hid: Use dma_alloc_coherent for firmware update
beb7d969063a Documentation: update stable tree link
20de1038e245 Documentation: add link to stable release candidate tree
d312c0035eb4 KEYS: fix length validation in keyctl_pkey_params_get_2()
2458ecd21f29 ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE
8a609c88fe3c clk: uniphier: Fix fixed-rate initialization
9d97610e74e4 greybus: svc: fix an error handling bug in gb_svc_hello()
468757502e2f iio: inkern: make a best effort on offset calculation
be2b89a909b3 iio: inkern: apply consumer scale when no channel scale is available
5be8a07b9574 iio: inkern: apply consumer scale on IIO_VAL_INT cases
c459b2794597 iio: afe: rescale: use s64 for temporary scale calculations
576a1ce64c62 coresight: Fix TRCCONFIGR.QE sysfs interface
d8f98a23b4ad xhci: fix uninitialized string returned by xhci_decode_ctrl_ctx()
b310e82e779f xhci: make xhci_handshake timeout for xhci_reset() adjustable
a771cc784a9c xhci: fix runtime PM imbalance in USB2 resume
b5a7ab0e1a66 USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c
212765c94fc9 virtio-blk: Use blk_validate_block_size() to validate block size
40f282870d6c block: Add a helper to validate the block size
a27ed2f3695b tpm: fix reference counting for struct tpm_chip
631bb18e8371 iommu/iova: Improve 32-bit free space estimate
2e2dee5e226b net: dsa: microchip: add spi_device_id tables
ef388db2fe35 af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
0cdb512da072 spi: Fix erroneous sgs value with min_t()
ab951c9c23a3 net:mcf8390: Use platform_get_irq() to get the interrupt
e62e6c2d7aa8 spi: Fix invalid sgs value
96f9c386fec2 ethernet: sun: Free the coherent when failing in probing
aa3c3746e781 virtio_console: break out of buf poll on remove
291efbad3d6e xfrm: fix tunnel model fragmentation behavior
a83df90a3b61 HID: logitech-dj: add new lightspeed receiver id
5c727ba42ca3 netdevice: add the case if dev is NULL
7e9c9e3f626a USB: serial: simple: add Nokia phone driver
80e5bf89a895 USB: serial: pl2303: add IBM device IDs
6bfc5377a210 swiotlb: fix info leak with DMA_FROM_DEVICE
(From OE-Core rev: 84f30aecf2767becd4a623a1ab80a52535f1d4a2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
8e24ff11b5d2 Linux 5.4.186
fcbdaa6a3c92 fixup for "arm64 entry: Add macro for reading symbol address from the trampoline"
b8bc0718baed kselftest/vm: fix tests build with old libc
2643ca24f511 sfc: extend the locking on mcdi->seqno
46fd0a07409b tcp: make tcp_read_sock() more robust
16a2e50fe934 nl80211: Update bss channel on channel switch for P2P_CLIENT
941e8bcd2b2b drm/vrr: Set VRR capable prop only if it is attached to connector
6becb057247e iwlwifi: don't advertise TWT support
51969ebe7f97 atm: firestream: check the return value of ioremap() in fs_init()
23352749f0b2 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready
4006447f558c ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE
c2420bc33331 MIPS: smp: fill in sibling and core maps earlier
d1df59e3124c mac80211: refuse aggregations sessions before authorized
fb35b0cfbaf8 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller
4857a9b291db ARM: dts: rockchip: reorder rk322x hmdi clocks
ba14ba2d4c63 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg"
aca8fdddeee0 arm64: dts: rockchip: reorder rk3399 hdmi clocks
e49ebea3f536 arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity
bd33f9b864ec xfrm: Fix xfrm migrate issues when address family changes
3c21ece77549 xfrm: Check if_id in xfrm_migrate
970a21404ebc arm64: Use the clearbhb instruction in mitigations
fb65675f6620 KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
9013fd4bc958 arm64: Mitigate spectre style branch history side channels
26129ea2953b KVM: arm64: Add templates for BHB mitigation sequences
1b735c8dc1fb arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2
c45d885c5a77 arm64: Add percpu vectors for EL1
1bb1944970a9 arm64: entry: Add macro for reading symbol addresses from the trampoline
3abf6e8a7aa0 arm64: entry: Add vectors that have the bhb mitigation sequences
2933ca8c816f arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
9232867e4fc2 arm64: entry: Allow the trampoline text to occupy multiple pages
ad8800443b69 arm64: entry: Make the kpti trampoline's kpti sequence optional
4b91f35c8739 arm64: entry: Move trampoline macros out of ifdef'd section
0bfdd7334882 arm64: entry: Don't assume tramp_vectors is the start of the vectors
fb117a27c64e arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
788fbb5fe290 arm64: entry: Move the trampoline data page before the text page
33397322d4c3 arm64: entry: Free up another register on kpti's tramp_exit path
3f95cc642c3f arm64: entry: Make the trampoline cleanup optional
8aa1257128a1 arm64: entry.S: Add ventry overflow sanity checks
503fdc244aee arm64: Add Cortex-X2 CPU part definition
7103651c98c8 arm64: add ID_AA64ISAR2_EL1 sys register
f5f94aa5004a arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
ed5bf8a5075b arm64: Add part number for Arm Cortex-A77
0b84cfaefea6 sctp: fix the processing for INIT chunk
57e401a53c9f Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0"
70f77a2cb528 Linux 5.4.185
afb684cb976a KVM: SVM: Don't flush cache if hardware enforces cache coherency across encryption domains
690909c6d971 x86/mm/pat: Don't flush cache if hardware enforces cache coherency across encryption domnains
6b13a188609f x86/cpu: Add hardware-enforced cache coherency as a CPUID feature
9dd71ec10658 x86/cpufeatures: Mark two free bits in word 3
a4eef9e76934 ext4: add check to prevent attempting to resize an fs with sparse_super2
269db254c3b7 ARM: fix Thumb2 regression with Spectre BHB
635959a82154 virtio: acknowledge all features before access
ffeb42e05d7d virtio: unexport virtio_finalize_features
19d57cfbf8c0 arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0
978e4f2648c1 riscv: Fix auipc+jalr relocation range checks
d6948de3b630 mmc: meson: Fix usage of meson_mmc_post_req()
ba0d7beec2c2 net: macb: Fix lost RX packet wakeup race in NAPI receive
403e3afe241b staging: gdm724x: fix use after free in gdm_lte_rx()
a9174077febf fuse: fix pipe buffer lifetime for direct_io
d72c79b60d6a ARM: Spectre-BHB: provide empty stub for non-config
ad66df9064f4 selftests/memfd: clean up mapping in mfd_fail_write
849c78024e65 selftest/vm: fix map_fixed_noreplace test failure
500158df8757 tracing: Ensure trace buffer is at least 4096 bytes large
090e73fb9cce ipv6: prevent a possible race condition with lifetimes
1d4bdaaa8d23 Revert "xen-netback: Check for hotplug-status existence before watching"
60e4e3198ce8 Revert "xen-netback: remove 'hotplug-status' once it has served its purpose"
8879b5313e9f net-sysfs: add check for netdevice being present to speed_show
dcf55b071de9 selftests/bpf: Add test for bpf_timer overwriting crash
e0eca9285cf4 net: bcmgenet: Don't claim WOL when its not available
bbf59d7ae558 sctp: fix kernel-infoleak for SCTP sockets
e93437197131 net: phy: DP83822: clear MISR2 register to disable interrupts
f7b3b5203491 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
54fd6b2eb1d7 gpio: ts4900: Do not set DAT and OE together
82b298e0142d selftests: pmtu.sh: Kill tcpdump processes launched by subshell.
cd2a5c0da0d1 NFC: port100: fix use-after-free in port100_send_complete
1a4017926eee net/mlx5: Fix a race on command flush flow
6102e2e5c62d net/mlx5: Fix size field in bufferx_reg struct
0a64aea5fe02 ax25: Fix NULL pointer dereference in ax25_kill_by_device
45bfd0a937ba net: ethernet: lpc_eth: Handle error for clk_enable
e84d37af40a9 net: ethernet: ti: cpts: Handle error for clk_enable
8ee065a7a9b6 ethernet: Fix error handling in xemaclite_of_probe
4c0b769d9571 ARM: dts: aspeed: Fix AST2600 quad spi group
7db2bc08619f drm/sun4i: mixer: Fix P010 and P210 format numbers
7f8f5641417e qed: return status of qed_iov_get_link
f59e78609075 net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
45d470e4f808 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero
278b2c7d9fe5 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias
f62922b601c5 clk: qcom: gdsc: Add support to update GDSC transition delay
1346e17653a5 Linux 5.4.184
f7fc9c348790 Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"
0e35f3ab69bc xen/netfront: react properly to failing gnttab_end_foreign_access_ref()
782e5ebcc888 xen/gnttab: fix gnttab_end_foreign_access() without page specified
051c4cc7bdb7 xen/pvcalls: use alloc/free_pages_exact()
be63ea883e56 xen/9p: use alloc/free_pages_exact()
8efaf0c862c7 xen: remove gnttab_query_foreign_access()
d193785a4bc9 xen/gntalloc: don't use gnttab_query_foreign_access()
089a8e491d6d xen/scsifront: don't use gnttab_query_foreign_access() for mapped status
b507879c1e2d xen/netfront: don't use gnttab_query_foreign_access() for mapped status
a83400456f9c xen/blkfront: don't use gnttab_query_foreign_access() for mapped status
44d86dccd2a5 xen/grant-table: add gnttab_try_end_foreign_access()
95ff82383266 xen/xenbus: don't let xenbus_grant_ring() remove grants in error case
56f1b3c5c82a ARM: fix build warning in proc-v7-bugs.c
40da947ba076 ARM: Do not use NOCROSSREFS directive with ld.lld
583662bfd8df ARM: fix co-processor register typo
21a466c32f3e ARM: fix build error when BPF_SYSCALL is disabled
d1cfdd50778c ARM: include unprivileged BPF status in Spectre V2 reporting
920f7970cf0d ARM: Spectre-BHB workaround
dcf33beb492a ARM: use LOADADDR() to get load address of sections
31814db6e478 ARM: early traps initialisation
fdfc0baf829d ARM: report Spectre v2 status through sysfs
26171b016b40 arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit()
baaaba74e014 arm/arm64: Provide a wrapper for SMCCC 1.1 calls
6c1599fd1bf8 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT
7c7702569422 x86/speculation: Warn about Spectre v2 LFENCE mitigation
865da3868b56 x86/speculation: Update link to AMD speculation whitepaper
b1bacf22a847 x86/speculation: Use generic retpoline by default on AMD
1e47ab3df908 x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting
327a4da9b0ef Documentation/hw-vuln: Update spectre doc
96b3d45aeae0 x86/speculation: Add eIBRS + Retpoline options
41b50510e593 x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE
b70bc2e3552a x86,bugs: Unconditionally allow spectre_v2=retpoline,amd
22aed240891c x86/speculation: Merge one test in spectre_v2_user_select_mitigation()
(From OE-Core rev: bcabfe3640d9963c60ebf479ae016e7bee94ce66)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e7d1268f5671 Linux 5.4.183
5817c13cd6dc hamradio: fix macro redefine warning
3c7d63cfa150 net: dcb: disable softirqs in dcbnl_flush_dev()
5f53a6a8ae0f Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
f73eb7342bb0 btrfs: add missing run of delayed items after unlink during log replay
f8d4a8eebb22 btrfs: qgroup: fix deadlock between rescan worker and remove qgroup
39403d72b4c1 btrfs: fix lost prealloc extents beyond eof after full fsync
4dd5d3310c75 tracing: Fix return value of __setup handlers
c0f7253376c8 tracing/histogram: Fix sorting on old "cpu" value
35fa6f2a31d3 HID: add mapping for KEY_ALL_APPLICATIONS
ecefb8cc0f8b HID: add mapping for KEY_DICTATE
52b984b17df9 Input: elan_i2c - fix regulator enable count imbalance after suspend/resume
16eb602eaddf Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
3f123c305e4a nl80211: Handle nla_memdup failures in handle_nan_filter
ec89b276464c net: chelsio: cxgb3: check the return value of pci_find_capability()
6650fa5f3bcf soc: fsl: qe: Check of ioremap return value
e89c53fcd28c memfd: fix F_SEAL_WRITE after shmem huge page allocated
58b07100c20e ibmvnic: free reset-work-item when flushing
2e7abe2efc31 igc: igc_write_phy_reg_gpy: drop premature return
5c215ea574a0 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
89b881f339ce ARM: Fix kgdb breakpoint for Thumb2
87765309bf59 igc: igc_read_phy_reg_gpy: drop premature return
44ff6c29b2ea arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output
d59120a48997 can: gs_usb: change active_channels's type from atomic_t to u8
bc653724929c ASoC: cs4265: Fix the duplicated control name
cff3987e097d firmware: arm_scmi: Remove space in MODULE_ALIAS name
461a26ebf0dd efivars: Respect "block" flag in efivar_entry_set_safe()
b4f46598431f ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc()
e50c589678e5 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
044e209c72cc net: sxgbe: fix return value of __setup handler
a54dedf620d2 iavf: Fix missing check for running netdev
150b8a05d005 net: stmmac: fix return value of __setup handler
e9fa4009032d mac80211: fix forwarded mesh frames AC & queue selection
f17b27f3d4bc ia64: ensure proper NUMA distance and possible map initialization
80998dbde14d sched/topology: Fix sched_domain_topology_level alloc in sched_init_numa()
407ec382ba67 sched/topology: Make sched_init_numa() use a set for the deduplicating sort
b40c91262477 xen/netfront: destroy queues before real_num_tx_queues is zeroed
fa84d44df437 block: Fix fsync always failed if once failed
849339fd72ff net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server
8e306a76b9b0 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client
1f5abd671dbd net: dcb: flush lingering app table entries for unregistered devices
ed05368024a9 batman-adv: Don't expect inter-netns unique iflink indices
863953227106 batman-adv: Request iflink once in batadv_get_real_netdevice
a1ccea6183eb batman-adv: Request iflink once in batadv-on-batadv check
43c25da41e30 netfilter: nf_queue: fix possible use-after-free
3c934f1087ff netfilter: nf_queue: don't assume sk is full socket
d2c96b19305f xfrm: enforce validity of offload input flags
019b4b9d5977 xfrm: fix the if_id check in changelink
49c24579cec4 netfilter: fix use-after-free in __nf_register_net_hook()
ac858e4462bd xfrm: fix MTU regression
f3537f1b2bfd ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min
75a471401b10 ALSA: intel_hdmi: Fix reference to PCM buffer address
e28372b295d8 ata: pata_hpt37x: fix PCI clock detection
58b419d16e87 usb: gadget: clear related members when goto fail
ba6fdd55b166 usb: gadget: don't release an existing dev->buf
0babb778ff75 net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990
a7ef01d25a31 i2c: qup: allow COMPILE_TEST
da9bf89344a6 i2c: cadence: allow COMPILE_TEST
bb07c8bb77d0 dmaengine: shdma: Fix runtime PM imbalance on error
e208668ef7ba cifs: fix double free race when mount fails in cifs_get_root()
2ed93e3e3f82 Input: clear BTN_RIGHT/MIDDLE on buttonpads
7b6d98f86905 ASoC: rt5682: do not block workqueue if card is unbound
e2106e429f05 ASoC: rt5668: do not block workqueue if card is unbound
7b7c65abeb10 i2c: bcm2835: Avoid clock stretching timeouts
964f155c382f mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work
1a7d2fccd8f6 mac80211_hwsim: report NOACK frames in tx_status
(From OE-Core rev: d0399ed433e3a77cb66d30bd027f52bd356d7acf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
866ae42cf478 Linux 5.4.182
fb2bbb7d3021 fget: clarify and improve __fget_files() implementation
d6a29ce52a79 memblock: use kfree() to release kmalloced memblock regions
5d9453bf4126 Revert "drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR"
1fb051bbbce3 gpio: tegra186: Fix chip_data type confusion
2782b05d0208 tty: n_gsm: fix NULL pointer access due to DLCI release
c03a49581417 tty: n_gsm: fix proper link termination after failed open
912144e8a3b0 tty: n_gsm: fix encoding of control signal octet bit DV
1879db4f2521 xhci: Prevent futile URB re-submissions due to incorrect return value.
80922d7b52b0 xhci: re-initialize the HC during resume if HCE was set
0139a10090da usb: dwc3: gadget: Let the interrupt handler disable bottom halves.
6e74aebbf78b usb: dwc3: pci: Fix Bay Trail phy GPIO mappings
ba3e83e5a0b4 USB: serial: option: add Telit LE910R1 compositions
92ac25b79d5d USB: serial: option: add support for DW5829e
40256addf566 tracefs: Set the group ownership in apply_options() not parse_options()
6b23eda98923 USB: gadget: validate endpoint index for xilinx udc
9ab652d41dea usb: gadget: rndis: add spinlock for rndis response list
39848d7e4ea6 Revert "USB: serial: ch341: add new Product ID for CH341A"
7c453de366c3 ata: pata_hpt37x: disable primary channel on HPT371
a28f8dbd474a iio: Fix error handling for PM
8fff0310e66c iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits
ce1076b33e29 iio: adc: men_z188_adc: Fix a resource leak in an error handling path
cb90ab3f0997 tracing: Have traceon and traceoff trigger honor the instance
901206f71e6a RDMA/ib_srp: Fix a deadlock
b7e2b91fcb5c configfs: fix a race in configfs_{,un}register_subsystem()
df14d2bed8e2 spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
a62f4266d572 net/mlx5: Fix wrong limitation of metadata match on ecpf
45618e915757 net/mlx5: Fix possible deadlock on rule deletion
53026346a94c netfilter: nf_tables: fix memory leak during stateful obj update
5ad5886f85b6 nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac()
dfe537b0c94e net: Force inlining of checksum functions in net/checksum.h
eee01c88c90f net: ll_temac: check the return value of devm_kmalloc()
fc92a14fa076 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure
3cbf1f98d893 drm/edid: Always set RGB444
d0251c38dff8 openvswitch: Fix setting ipv6 fields causing hw csum failure
2b3cdd70ea5f gso: do not skip outer ip header in case of ipip and net_failover
0240bb276fd6 tipc: Fix end of loop tests for list_for_each_entry()
2ed132637619 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
97a6c07d6ff4 bpf: Do not try bpf_msg_push_data with len 0
dffce58f6f75 perf data: Fix double free in perf_session__delete()
3174b09fe16c ping: remove pr_err from ping_lookup
767099f0ec5b lan743x: fix deadlock in lan743x_phy_link_status_change()
5d76e0b69da9 optee: use driver internal tee_context for some rpc
0e526f533f35 tee: export teedev_open() and teedev_close_context()
64e0b5894c81 x86/fpu: Correct pkru/xstate inconsistency
49c011a44edd netfilter: nf_tables_offload: incorrect flow offload action array size
49a4536a46ed USB: zaurus: support another broken Zaurus
b95d71abeb7d sr9700: sanity check for packet length
d0dac454b9e3 drm/amdgpu: disable MMHUB PG for Picasso
eb88a38831e5 parisc/unaligned: Fix ldw() and stw() unalignment handlers
b783ef3eb66a parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel
0b608b3392c4 vhost/vsock: don't check owner in vhost_vsock_stop() while releasing
dd0de3510240 clk: jz4725b: fix mmc0 clock gating
d1f1de5dff78 cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug
b6e8856b8a5f Linux 5.4.181
3e73b02af6c3 kconfig: fix failing to generate auto.conf
90c0d3cc676f net: macb: Align the dma and coherent dma masks
f1c3f41245d8 net: usb: qmi_wwan: Add support for Dell DW5829e
6b364ca4814a tracing: Fix tp_printk option related with tp_printk_stop_on_boot
8bf73d5ea94a drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
5a21d5072300 ata: libata-core: Disable TRIM on M88V29
41da91158ed9 kconfig: let 'shell' return enough output for deep path names
913932a306f0 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610
d2fd1c7804e8 arm64: dts: meson-g12: add ATF BL32 reserved-memory region
daa868080996 arm64: dts: meson-gx: add ATF BL32 reserved-memory region
ba4b40356abd netfilter: conntrack: don't refresh sctp entries in closed state
d4de2bbcbc91 irqchip/sifive-plic: Add missing thead,c900-plic match string
2d7a327a129e ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of
fff21185f598 ARM: OMAP2+: hwmod: Add of_node_put() before break
3deabc3f60fd KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW
fe595759c2a4 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj
ba71b1b30d85 i2c: brcmstb: fix support for DSL and CM variants
6f08452c560d copy_process(): Move fd_install() out of sighand->siglock critical section
e52dfd2a4906 dmaengine: sh: rcar-dmac: Check for error num after setting mask
c83049cb8817 net: sched: limit TC_ACT_REPEAT loops
87c575d2a238 lib/iov_iter: initialize "flags" in new pipe_buffer
091dac5c6392 EDAC: Fix calculation of returned address and next offset in edac_align_ptr()
f0c2c023c226 scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop
56f9abba9805 mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status
bdc70b603da9 mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe()
3758a570762e NFS: Do not report writeback errors in nfs_getattr()
357d42d593fc NFS: LOOKUP_DIRECTORY is also ok with symlinks
20f4ee3c3340 block/wbt: fix negative inflight counter when remove scsi device
4cd3281a910a mtd: rawnand: gpmi: don't leak PM reference in error path
c6fee7c8546a powerpc/lib/sstep: fix 'ptesync' build error
edfac6b77bc2 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range()
d6d8d1db8094 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw()
99c2b13ce951 ALSA: hda: Fix missing codec probe on Shenker Dock 15
2b2b531ceba9 ALSA: hda: Fix regression on forced probe mask option
aca7e5b6a500 libsubcmd: Fix use-after-free for realloc(..., 0)
7af6164ceefe bonding: fix data-races around agg_select_timer
aeb993412eb2 drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit
db3ffc5d332e bonding: force carrier update when releasing slave
fb8c98f92ad3 ping: fix the dif and sdif check in ping_lookup
8198c4d4c2f8 net: ieee802154: ca8210: Fix lifs/sifs periods
a06440508acd net: dsa: lan9303: fix reset on probe
73f8575216b1 netfilter: nft_synproxy: unregister hooks on init error path
5e8c5b217cfb iwlwifi: pcie: gen2: fix locking when "HW not ready"
e1d0e738b02e iwlwifi: pcie: fix locking when "HW not ready"
902528183f4d mmc: block: fix read single on recovery logic
5f326fe2aef4 vsock: remove vsock from connected table when connect is interrupted by a signal
f48a38703c11 dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
41ce06a3ec6a taskstats: Cleanup the use of task->exit_code
8583d2ea90fe ext4: prevent partial update of the extent blocks
d57fcf0d9195 ext4: check for inconsistent extents between index and leaf block
6a332d095ce4 ext4: check for out-of-order index extents in ext4_valid_extent_entries()
13f6ebef03b0 drm/radeon: Fix backlight control on iMac 12,1
494de920d98f iwlwifi: fix use-after-free
6194b4689731 arm64: module/ftrace: intialize PLT at load time
adcc4b795f4c arm64: module: rework special section handling
dfe928f16cc5 module/ftrace: handle patchable-function-entry
30af4dcfa8b4 ftrace: add ftrace_init_nop()
42c8cccf83d5 Revert "module, async: async_synchronize_full() on module init iff async is used"
5c7726bd5736 drm/amdgpu: fix logic inversion in check
d411b2a5da68 nvme-rdma: fix possible use-after-free in transport error_recovery work
61a26ffd5ad3 nvme-tcp: fix possible use-after-free in transport error_recovery work
70356b756a58 nvme: fix a possible use-after-free in controller reset during load
89d2bd13252a quota: make dquot_quota_sync return errors from ->sync_fs
f124d9eff984 vfs: make freeze_super abort when sync_filesystem returns error
cfc8b37ef041 ax25: improve the incomplete fix to avoid UAF and NPD bugs
dd2fcac324ea selftests/zram: Adapt the situation that /dev/zram0 is being used
c3a9afa82493 selftests/zram01.sh: Fix compression ratio calculation
8d1c50c8683e selftests/zram: Skip max_comp_streams interface on newer kernel
455ef08d6e54 net: ieee802154: at86rf230: Stop leaking skb's
3bd8bebb16fe selftests: rtc: Increase test timeout so that all tests run
bc6ac6c0f67d platform/x86: ISST: Fix possible circular locking dependency detected
bd6492930a10 btrfs: send: in case of IO error log it
3ff48a67ed65 parisc: Fix sglist access in ccio-dma.c
efccc9b0c7e2 parisc: Fix data TLB miss in sba_unmap_sg
3434d8837fe9 parisc: Drop __init from map_pages declaration
bd282ee53e34 serial: parisc: GSC: fix build when IOSAPIC is not set
9d2aad133b22 Revert "svm: Add warning message for AVIC IPI invalid target"
190272552099 HID:Add support for UGTABLET WP5540
866a85813b92 Makefile.extrawarn: Move -Wunaligned-access to W=1
7b3eb66d0daf Linux 5.4.180
9d09cb110868 ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE
a2ed7b29d067 perf: Fix list corruption in perf_cgroup_switch()
f79cbf75ac76 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled
a1a018e2a068 hwmon: (dell-smm) Speed up setting of fan speed
1e30073c0e55 seccomp: Invalidate seccomp mode to catch death failures
a3769078c945 USB: serial: cp210x: add CPI Bulk Coin Recycler id
fade0cbf6682 USB: serial: cp210x: add NCR Retail IO box id
697b9ed28b39 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices
ed4fddac9d7c USB: serial: option: add ZTE MF286D modem
f729dfd364b8 USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320
f297b6109cbe usb: gadget: f_uac2: Define specific wTerminalType
c9e952871ae4 usb: gadget: rndis: check size of RNDIS_MSG_SET command
38fd68f55a7e USB: gadget: validate interface OS descriptor requests
3054dfef06a7 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition
8f032eaebc2f usb: dwc3: gadget: Prevent core from processing stale TRBs
3a9953b2806c usb: ulpi: Call of_node_put correctly
12ab57a21372 usb: ulpi: Move of_node_put to ulpi_dev_release
a0fd5492ee76 net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup
3937c35493ee eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX
d4dc28db1b98 n_tty: wake up poll(POLLRDNORM) on receiving data
0e31f914d761 vt_ioctl: add array_index_nospec to VT_ACTIVATE
ae3d57411562 vt_ioctl: fix array_index_nospec in vt_setactivate
311c82a68093 net: amd-xgbe: disable interrupts during pci removal
b3e998a5dc46 tipc: rate limit warning for received illegal binding update
e7daad5c28ad net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE
c99e66350ca0 veth: fix races around rq->rx_notify_masked
a80817adc2a4 net: fix a memleak when uncloning an skb dst and its metadata
0b6087c63586 net: do not keep the dst cache when uncloning an skb dst and its metadata
3f41ec8c830e nfp: flower: fix ida_idx not being released
16dcfde98a25 ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path
4bcfbec337cf bonding: pair enable_port with slave_arr_updates
e432f25c77a2 ixgbevf: Require large buffers for build_skb on 82599VF
4e6fd2b5fcf8 misc: fastrpc: avoid double fput() on failed usercopy
c9fc422c9a43 usb: f_fs: Fix use-after-free for epfile
336222182a3b ARM: dts: imx6qdl-udoo: Properly describe the SD card detect
94888cf75535 staging: fbtft: Fix error path in fbtft_driver_module_init()
2650ed47077b ARM: dts: meson: Fix the UART compatible strings
4ccb639bde50 perf probe: Fix ppc64 'perf probe add events failed' case
b4a59eafcbc5 net: bridge: fix stale eth hdr pointer in br_dev_xmit
b55a0cdbec5b PM: s2idle: ACPI: Fix wakeup interrupts handling
e37a2a6b52d4 ACPI/IORT: Check node revision for PMCG resources
153d0f357b12 nvme-tcp: fix bogus request completion when failing to send AER
a44ca4038725 ARM: socfpga: fix missing RESET_CONTROLLER
8a0bad445a50 ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group
9d5e5832ffe7 riscv: fix build with binutils 2.38
c230f6ba1011 bpf: Add kconfig knob for disabling unpriv bpf by default
e2424c010a98 KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER
a437c524394c net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout()
032065cc5b6c usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend
0863dedf58c8 PM: hibernate: Remove register_nosave_region_late()
5c5ceea00c8c scsi: myrs: Fix crash in error case
7cc32ff0cd6c scsi: qedf: Fix refcount issue when LOGO is received during TMF
c6a7077144ed scsi: target: iscsi: Make sure the np under each tpg is unique
9babdef28879 net: sched: Clarify error message when qdisc kind is unknown
978264fbc524 drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer
162e8d788545 NFSv4 expose nfs_parse_server_name function
852c95db75a7 NFSv4 remove zero number of fs_locations entries error check
75e67eed756a NFSv4.1: Fix uninitialised variable in devicenotify
6efe39614039 nfs: nfs4clinet: check the return value of kstrdup()
2acac498a507 NFSv4 only print the label when its queried
891c4ebf3b94 nvme: Fix parsing of ANA log page
d7d345c80727 NFSD: Fix offset type in I/O trace points
34217d7730b9 NFSD: Clamp WRITE offsets
5fde7ca7b17d NFS: Fix initialisation of nfs_client cl_flags field
09295a989319 net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs
f84d17e6dd90 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs
60027834114d mmc: sdhci-of-esdhc: Check for error num after setting mask
8a9511fd10ea ima: Do not print policy rule with inactive LSM labels
89e51f2ab81c ima: Allow template selection with ima_template[_fmt]= after ima_hash=
0939988b16a4 ima: Remove ima_policy file before directory
ea58704f06f1 integrity: check the return value of audit_log_start()
52871671099d Linux 5.4.179
d692e3406e05 tipc: improve size validations for received domain records
3a0a7ec5574b moxart: fix potential use-after-free on remove path
(From OE-Core rev: 7efa786ed2fb2f214c0a34cf933429ed31c9c510)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security release, fixes CVE-2021-21300, so remove that patch.
22539ec3b5 unpack_trees(): start with a fresh lstat cache
0d58fef58a run-command: invalidate lstat cache after a command finished
684dd4c2b4 checkout: fix bug that makes checkout follow symlinks in leading path
(From OE-Core rev: 8606d99041c3c1a002b2300c59afc116050c73cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids a redirect.
(From OE-Core rev: 4da46e0423a7003fb689a8b6a03f5924b8f22cb9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 879bc5098943cf6977c32555ac31cb21be7b46ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 2233e83da4fab1d6d34517f6ebf5860f4fd5b2a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
Version of driver files updated
Added files for some drivers
(From OE-Core rev: de880e23bff4e0da0306ec61396044e1f3b48aa1)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01684df3a51be476081ee21eb54c24fef00acb3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license in this code is listed as MIT and whilst it is compatible with and
usable as MIT, it actually looks like HPND. Clarify the license field accordingly.
(From OE-Core master rev: 922b645f443c33060a8990d32e6b7b62ea5497c3)
(From OE-Core rev: 8fd5133fc7f6bc84193ec6fcbc1746c59bfc8caf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define METADATA_BRANCH and METADATA_REVISION using immediate expansion.
This avoids running `git rev-parse HEAD` multiple times during recipe
parsing.
(From OE-Core rev: f76fc325520386c0d25c6d6b422c85e9fb87e663)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 34e1841ec14c545c73fbe03a9f946d43d65ab326)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently we've begun seeing issues with apt SHA256 generation/checking on some
distros (fedora 35, alma 8). The version of apt in dunfell uses its own
SHA256 code, not a standard library.
Investigation reveals that the issue is related to -fstrict-aliasing enabled by
-O2 optimization, so turn it off with -fno-strict-aliasing
(From OE-Core rev: dc61dfd7791976c70c93e0d253a8fdbd40d27f3b)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to a version of pseudo which has a fix for absolute links,
evaluating them from the chroot path.
(From OE-Core rev: 4e79b3fa07d6b8d044f2fb21e691ff3683aee1ea)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33147b89bc3c9e9bdd53a942a5551d8a1d06130c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to a version of pseudo which includes a workaround for crazy
long paths, as shown by the libfm failures from the libtool upgrade.
(From OE-Core rev: 5cac1e855e397b58c3c2b251a9794f3d480c8ad6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67dfa32d82b8862e6e543c37315f211aba3ec28b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Everyone I've talked to doesn't see this as a major issue. The CVE
asks for a documentation improvement on the --mirror option to
git clone as deleted content could be leaked into a mirror. For OE's
general users/use cases, we wouldn't build or ship docs so this wouldn't
affect us.
(From OE-Core rev: f35500a442d6a4564d52e23f9602a3f90a4ceee5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dfe2dd5482c9a446f8e722fe51903d205e6770d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge in the changes from master allowing conf.py to use information from
poky.yaml. This allows the head version mapped to X.999 on the website to
have the version information displayed clearly and correctly.
(From yocto-docs rev: df813c6d6c1477519f13699987215c8d9bc0a7bf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python gc can trigger whilst we're holding the event stream lock
and when cleaning up objects, they can trigger warnings. This translates
into a new event which would then need the lock and we can deadlock.
Disable gc whilst we hold that lock to avoid this unfortunate and
problematic situation.
(Bitbake rev: 0784db7dd0fef6f0621ad8d74372f44e87fef950)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96a6303949cefd469bcf5ed250ff512271354357)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The missing gitsm:// mappings looks like an oversight, add them.
(From OE-Core rev: f748360a854a5c80c8008ba6ac90546865651f10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6600b9fca7888fb41647cd000b9efb7f0762dfde)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security Fixes
The rules for acceptance of records into the cache have been tightened
to prevent the possibility of poisoning if forwarders send records
outside the configured bailiwick. (CVE-2021-25220)
License-Update: copyright years
(From OE-Core rev: 58aea0c02bb101dbb378afb578b70b8730cce6fd)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix heap overflow when appending prepare writes
The code shall check if the prepare writes would append more the
allowed maximum attribute length.
Upstream-Status: Backport [591c546c53]
CVE: CVE-2022-0204
(From OE-Core rev: 058dec11cc6580212c6d4560d0f0e5b704d501dc)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No error was being reported when the hash string was set to empty.
For example: SRC_URI[md5sum] = ""
On a related note (not a bug):
Because whitespace in the string will result in a checksum mismatch, the error
message was updated to make it a little clearer why the error was thrown.
For example: SRC_URI[md5sum] = " " or
SRC_URI[md5sum] = " 209f8326f5137d8817a6276d9577a2f1"
Now creates a message like this:
File: '/home/scott/yocto-cache/downloads/rsync-3.2.3.tar.gz' has md5
checksum '209f8326f5137d8817a6276d9577a2f1' when ' 209f8326f5137d8817a6276d9577a2f1' was expected
[YOCTO #14232]
(Bitbake rev: d8c2175f6a7b5fdf111d6a073b2c3dbd3c0b061d)
Signed-off-by: Scott Weaver <weaverjs@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a13510d0028e234ea2f4744b0d0c38558395c70f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes: CVE-2021-4008 CVE-2021-4009 CVE-2021-4010 CVE-2021-4011
Stable branch update:
97c5b7777 (HEAD -> server-1.20-branch, tag: xorg-server-1.20.14, origin/server-1.20-branch) xserver 1.20.14
35b4681c7 render: Fix out of bounds access in SProcRenderCompositeGlyphs()
67425fcab Xext: Fix out of bounds access in SProcScreenSaverSuspend()
6bb8aeb30 xfixes: Fix out of bounds access in *ProcXFixesCreatePointerBarrier()
acc50e609 record: Fix out of bounds access in SwapCreateRegister()
5ff3310b6 modesetting: Allow Present flips with mismatched stride on atomic drivers.
574fe59ef Fix RandR leasing for more than 1 simultaneously active lease.
(From OE-Core rev: aa2bb4f62dd7e5c6fdf220264c3d62fbf2cc7d16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch update:
86a72cb19 (tag: xorg-server-1.20.13) xserver 1.20.13
f85e4edba modesetting: unflip not possible when glamor is not set
b03d7184b present: fallback get_crtc to return crtc belonging to screen with present extension
(From OE-Core rev: 3e9ecd77449a5bd70a55d47db7a2dfb85d44d9c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch update:
b88ad0b34 (tag: xorg-server-1.20.12) xserver 1.20.12
8dea50223 Build xz tarballs instead of bzip2
b7adbac7d hw/dmx/config: Link directly with libdmxconfig.a
e49738f0c xfree86: Fix NULL pointer dereference crash
9a59631a4 glx: Fix use after free in MakeCurrent
1fc0ca6e6 xfree86: Fix out of array bound access to xf86Entities
a4210fe07 xfree86: Change displays array to pointers array to fix invalid pointer issues after table reallocation
22449f630 glamor: Avoid using GL_QUADS on V3D
d16f64031 modesetting: Fix possible_crtcs
f1e76731a modesetting: Update props for dynamically added outputs
7bf477711 xquartz: Ensure the mouse pointer is shown when switching to a native macOS alert or window
3ef6e7b76 xquartz: Fix appFlags build failure with macOS 10.15+ SDKs
2a83c840c glx: Set ContextTag for all contexts
394b6cc1c glx: don't create implicit GLXWindow if one already exists
0086535e7 modesetting: Remove few common functions from ms namespace
321964443 modesetting: remove unnecessary ms_covering_xf86_crtc dup of ms_covering_randr_crtc
52eb801d0 modesetting: Find crtc on slave outputs as fallback instead of returning primary crtc
c7a2da7b9 present: fix msc offset calculation in screen mode
31544e68e present: Use crtc's screen present operation for syncing
464cbee1c modesetting: Initialize present extension despite glamor is disabled
4e11bd390 modesetting: Disable reverse prime offload mode for displays running on evdi,udl
627252933 dix: Guard against non-existing PtrFeedbackPtr
d41b43345 xwayland: Add PtrFeedback to the touch device
23a53f0d5 glx: fixup symbol name for get_extensions function
(From OE-Core rev: e8416c75630a27527faedeab218a8ba71a1eb5ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes CVE-2021-3472
Stable branch update:
6b767cdf6 (tag: xorg-server-1.20.11) xserver 1.20.11
a1a1aa2c1 Fix XChangeFeedbackControl() request underflow
8890c44a7 xquartz: Remove a check for NSAppKitVersionNumber >= NSAppKitVersionNumber10_7
3c3680c36 xquartz: Don't include strndup.c any more since we no longer support 10.8 and older
e1fdc856a xquartz: Add a launch trampoline to better integrate with modern versions of macOS
8f8e9c53e xquartz: Don't process AppKit events if we haven't finished initializing
aa6f84021 xquartz: Allocate each fbconfig separately
7aa51bb57 xquartz: Fix a compiler warning about const incompatible pointer assignment
d751c46bd xquartz: Fix build with sparkle enabled
03c2e12a8 xquartz: Silence a compiler warning about missing internal methods on NSApplication
fcbd57367 xquartz: Rewrite Window menu handling to not depend on X11App.windowsMenu.numberOfItems being correct in -awakeFromNib
b27c6602b xquartz: Convert X11Controller ivars into @properties
625c7e4de xquartz: Convert X11Application ivars into @properties
3017fec60 xquartz: Fold quartzCommon.h into quartz.h
bdaff44f9 xquartz: Fold away some unnecessary hops to X11Controller through X11Application
7d22031a6 xquartz: Fold away array_with_strings_and_numbers and simplify with more modern Objective-C
937b63ff4 xqaurtz: Remove message_kit_thread() and use dispatch instead
e531d3a4c xquartz: Use objc_autoreleasePoolPush / objc_autoreleasePoolPop directly in QuartzBlockHandler
08cf6c90f xquartz: Minor code modernization -- @autoreleasepool adoption
26e0c59a9 xquartz: Remove some dead code for compatibility with older nibs
2853f3896 xquartz: Remove a workaround for AppKit versions older than Lion
1edc9b980 xquartz: Apply spell check fixes from master for easier cherry-picking of changes in xquartz
67f25cc18 xquartz: Fix applications menu table background color for dark mode
4028c2ad1 xquartz: Apply Xcode 12.4 automatic updates to nibs
ff1c8e2f7 xquartz: Update the about box copyright to 2021
a16df6028 xquartz: Ensure we call into TIS on the main thread
2087b7782 xquartz: Ensure that NSRunAlertPanel() is run on the main thread
2fe5bf4ba xquartz: Remove support for older versions of libXplugin
bc1a2a0d8 xquartz: Remove unused include of AvailabilityMacros.h from various sources
393da8b43 xquartz: Remove support for building for i386
43aaa1093 xquartz: Remove support for Mountain Lion and earlier versions of macOS
fb492686d xquartz: Remove support for Lion and earlier versions of macOS
34784415a xquartz: Remove support for SnowLeopard and earlier versions of macOS
d3f81ecaf xquartz: Remove check for libdispatch now that we don't support pre-SnowLeopard
739c5bd32 xquartz: Remove support for Leopard and earlier versions of macOS
2d7eb8249 xquartz: Remove support for Tiger and earlier versions of macOS
080f9eb76 os: Remove support for Tiger and earlier versions of macOS
be9d2fd87 xquartz: Remove support for Panther and earlier versions of macOS
d39eb5840 Fix typo "XQaurtz" in Xquartz.man
1f2b73176 XQuartz: recognize F16-F20 and Menu keys
ecc4ebf53 xquartz: Add stub ddxInputThread()
f5df31c76 meson.build: KMS support also depends on dri2
b09f5f42d xwayland: Replace LogMessage with LogMessageVerb
c17872d50 xkb: Fix heap overflow caused by optimized away min.
(From OE-Core rev: 928759347e18e56c991959d1a33aeb87ba6de4ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove CVE patches contained in this release.
Stable branch update:
bc111a2e6 (tag: xorg-server-1.20.10) xserver 1.20.10
06d1a032e Check SetMap request length carefully.
7ccb3b0ea Fix XkbSetDeviceInfo() and SetDeviceIndicators() heap overflows
440ed5948 present/wnmd: Translate update region to screen space
54f9af1c6 modesetting: keep going if a modeset fails on EnterVT
bd0f53725 modesetting: check the kms state on EnterVT
5c400cae1 configure: Build hashtable for Xres and glvnd
253569a3d xwayland: Create an xwl_window for toplevel only
0811a9ff7 xwayland: non-rootless requires the wl_shell protocol
b3ae038c3 glamor: Update pixmap's devKind when making it exportable
d6c389cb8 os: Fix instruction pointer written in xorg_backtrace
c3e4c1a0f present/wnmd: Execute copies at target_msc-1 already
96ef31e0f present/wnmd: Move up present_wnmd_queue_vblank
669e40390 present: Add present_vblank::exec_msc field
dae234efd present: Move flip target_msc adjustment out of present_vblank_create
1930ed233 xwayland: Remove pending stream reference when freeing
1ac389dda xwayland: use drmGetNodeTypeFromFd for checking if a node is a render one
d108c2c82 xwayland: Do not discard frame callbacks on allow commits
174cb91d8 present/wnmd: Remove dead check from present_wnmd_check_flip
51ee6e5ce xwayland: Check window pixmap in xwl_present_check_flip2
f4006d795 present/wnmd: Can't use page flipping for windows clipped by children
1e84fda20 xfree86: Take second reference for SavedCursor in xf86CursorSetCursor
8c3c8bda2 glamor: Fix glamor_poly_fill_rect_gl xRectangle::width/height handling
b28c88288 include: Increase the number of max. input devices to 256.
af4c84ce8 Revert "linux: Make platform device probe less fragile"
39cb95e95 Revert "linux: Fix platform device PCI detection for complex bus topologies"
4b6fce597 Revert "linux: Fix platform device probe for DT-based PCI"
(From OE-Core rev: ac86083917380ca8398307f0e59b7bb73c727b4f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove CVE patches contained in this release.
Stable branch update:
afb77415e (tag: xorg-server-1.20.9) xserver 1.20.9
705d72139 Fix XRecordRegisterClients() Integer underflow
5b384e767 Fix XkbSelectEvents() integer underflow
eff3f6cdd Fix XIChangeHierarchy() integer underflow
1d3a1092c Correct bounds checking in XkbSetNames()
249a12c54 linux: Fix platform device probe for DT-based PCI
5c96eb5f4 linux: Fix platform device PCI detection for complex bus topologies
74b7427c4 linux: Make platform device probe less fragile
4979ac8f0 fix for ZDI-11426
2720b8715 xfree86: add drm modes on non-GTF panels
7da8e7bab present: Check valid region in window mode flips
4a65b6617 xwayland: Handle NULL xwl_seat in xwl_seat_can_emulate_pointer_warp
10cabe0b9 xwayland: Propagate damage x1/y1 coordinates in xwl_present_flip
3b51978b9 doc: Update URLs in Xserver-DTrace.xml
6cbd6a09b xwayland: Use a fixed DPI value for core protocol
d4e8c4622 xwayland: only use linux-dmabuf if format/modifier was advertised
c726ceacc hw/xfree86: Avoid cursor use after free
0679d4660 Update URL's in man pages
3059a2e62 xwayland: Disable the MIT-SCREEN-SAVER extension when rootless
23c55ec32 xwayland: Hold a pixmap reference in struct xwl_present_event
1179938c1 randr: Check rrPrivKey in RRHasScanoutPixmap()
4912f693e modesetting: Fix front_bo leak at drmmode_xf86crtc_resize on XRandR rotation
ccbcf083d xwayland: Store xwl_tablet_pad in its own private key
cc3613559 xwayland: Initialise values in xwlVidModeGetGamma()
533cc6ca0 xwayland: Fix crashes when there is no pointer
3aa31823d xwayland: Clear private on device removal
22c0808ac xwayland: Free all remaining events in xwl_present_cleanup
37779d7f4 xwayland: Always use xwl_present_free_event for freeing Present events
ba52e5eb0 present/wnmd: Free flip_queue entries in present_wnmd_clear_window_flip
b3310ed50 present/wnmd: Keep pixmap pointer in present_wnmd_clear_window_flip
fc297c87d xwayland: import DMA-BUFs with GBM_BO_USE_RENDERING only
0430d13c1 xwayland: Fix infinite loop at startup
b8b10e293 modesetting: Disable pageflipping when using a swcursor
271934db9 dix: do not send focus event when grab actually does not change
(From OE-Core rev: 9fba10e19c8de5df1361e222bf255c0d9dad949f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found in the util-linux chfn and chsh utilities when compiled
with Readline support. The Readline library uses an "INPUTRC" environment
variable to get a path to the library config file. When the library cannot
parse the specified file, it prints an error message containing data from
the file. This flaw allows an unprivileged user to read root-owned files,
potentially leading to privilege escalation. This flaw affects util-linux
versions prior to 2.37.4.
Backport patch from upstream:
faa5a3a83a
Patch required slight modifications to apply cleanly to util-linux 2.35.1
(From OE-Core rev: dffbf6301612ca91f6a1c306b9dde754b44912bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've been seeing occasional test failures on the autobuilder where
we don't see the expected events. It turns out this is due to
run_command being helpful and eating them if the server is fast and
the client slow. Adding a sleep into the run_command code makes the
failure consistent.
Use a new "handle_events" argument to allow us to handle all the
events which is what this test requires.
[YOCTO #14585]
(From OE-Core rev: da5cba5ec56cc437ede46d8aa71219a2a34cbe9e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2292983c717b8cadcf0c443bb7b649a84ea5ad57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git repo for virglrenderer was changed, so update the
SRC_URI accordingly with the new link.
(From OE-Core rev: 619d9ba2bb1f869869937f7d7942cc77580fdc08)
Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git repo for gnu-config was changed, so update the
SRC_URI accordingly with the new link.
(From OE-Core rev: 4ee75d865b34f615bc649004e9dd0460eaf42dbf)
Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fix for the CVE in 2.9.13 caused a regression which
was addressed after 2.9.13. We import that patch here.
(From OE-Core rev: 906ffe5bf83c0e587299aaedb9382ce04c3c7acf)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE patches (and the stack limits check patch) should have been
added to SRC_URI_BASE so that they are applied for both target
and -native packages.
(From OE-Core rev: da9b7b8973913c80c989aee1f5b34c98362725a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is specific to Microsoft Windows, so we can ignore it.
(From OE-Core rev: d966a07d1f04aa76a4970d4af141f817197be0d2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2bd3c5a93988140d9927340b3af68785ae03db65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing patch for CVE-2021-3200 also fixes CVE-2021-44568 through
CVE-2021-44671 and CVE-2021-44573 through CVE-2021-44677, so update
CVE tags in patch to reflect this.
Reference:
https://github.com/openSUSE/libsolv/issues/426
(From OE-Core rev: 3096134d25fc4cf9bd18839838a62a6c89344e31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reasons for this are lost in the mists of time. These are already
in OE-Core as MIRRORS and we should be falling back to the project as
a backup, not a default. Update accordingly.
(From meta-yocto rev: 99435619a3d5f6afb5b5bb4169fc7b4ef31556dd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b71a3b9418fd928fb72bd23898cffe70c43d9d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some commands where we want to see the events returned so allow
the caller to request this. This also allows us to fix an infamous bug in
the tinfoil testsuite in OE-Core.
(Bitbake rev: 41bf1fa85a540232dcf92fe473c3b3c4cd7259dd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e8421c41d97d5d50a553d70c8f775d521f1a199)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its hard to tell from the server logs whether commands complete or not
(or how long they take). Add extra info to allow more debugging of
server timeouts.
(Bitbake rev: d388f6d159b9d7e1ed3f199f2d1aca0c473cda6d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56285ada585ec1481449522282b335bcb5a2671e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We still see occasional test failures for unknown reasons. Add some debugging to
show whether the matching files event was received even if the command complete wasn't.
Also ensure any commandfailed/commandexit event is shown.
This will hopefully aid debugging the next time the issue occurs.
(From OE-Core rev: 71015408c60ddf2e9af00cc8574815971e1b689d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f7a788bb51ef09ee23c94176285437ea760fab7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the ping test fails due to a timeout we only get limited debug
information. Tweak the code to improve that in case it sheds any light
on intermittent failures.
(From OE-Core rev: df98e96c7a1601798caf7f4882b09406a4fdacd6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d81704057950e1970ef7f673fa771834fd2b3f1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk is a cross compiled target and therefore should use the target
config, not the native one. Copy the target entries accordingly.
(From OE-Core rev: e997487c0068bfe4017fc98c4fa5b51f660a1b4e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1b5fec350b390fa7f2d26966df1411b032faf87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
year updated to 2022
Version of some driver files updated
Added files for some drivers
(From OE-Core rev: ca8fa031e79b6893b4b2a9f906134e6ef4fe2b0e)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be1b1d204c89035c54a626db46c5054e553b82c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adapter incorrectly restores Discoverable state after powered down
Upstream-Status: Backport [b497b5942a]
CVE: CVE-2021-3658
(From OE-Core rev: 12669ab256a3ffbcb4bcbaba1bc9c690920d32b1)
Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.
Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.
(From OE-Core rev: 38681a213a3b5f57b37257f7d96c4e970032ffe4)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8bc17ceb997f8f31a03e5f5efc41c03ef1df3add)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security Fixes
The lame-ttl option controls how long named caches certain types of
broken responses from authoritative servers (see the security advisory
for details). This caching mechanism could be abused by an attacker to
significantly degrade resolver performance. The vulnerability has been
mitigated by changing the default value of lame-ttl to 0 and overriding
any explicitly set value with 0, effectively disabling this mechanism
altogether. ISC's testing has determined that doing that has a
negligible impact on resolver performance while also preventing abuse.
Administrators may observe more traffic towards servers issuing certain
types of broken responses than in previous BIND 9 releases, depending on
client query patterns. (CVE-2021-25219)
ISC would like to thank Kishore Kumar Kothapalli of Infoblox for
bringing this vulnerability to our attention. [GL #2899]
(From OE-Core rev: 8906aa9ec0a80b0f8998fb793f4e9491b3179179)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream commit:
commit 1dc481c0b0cf18d3952d93a73c4ece90dec277f0
Author: Leo Yan <leo.yan@linaro.org>
Date: Sat Mar 20 18:45:54 2021 +0800
perf test: Change to use bash for daemon test
When executing the daemon test on Arm64 and x86 with Debian (Buster)
distro, both skip the test case with the log:
Changes tools/perf/tests/shell/daemon.sh to be explicitly bash
(it was already required, but was just skipped on various
distros).
We add it into our RDEPENDS for perf-tests to fixup 5.12+
builds.
We already have relatively heavy RDEPENDS for perf tests (python3), so
adding bash into the RDEPENDS isn't signifcant even for older perf
builds that use the same recipe.
(cherry picked from commit 159cdb159ad0e9d3ed73cfc07f9acd5c0b608e7b)
(From OE-Core rev: 0cfc604b48155ed4129bcc056610f32caf1a93b4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes CVE-2022-0696, CVE-2022-0714, CVE-2022-0729.
(From OE-Core rev: b7fa41cda88bffa5345d5b9768774cdf28f62b7b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d29988958e48534a0076307bb2393a3c1309e03)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.
(From OE-Core rev: 604146a242c3d5f5a9872bb756910f4bd1b58406)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90fe6948a9df0b43c58120a9358adb3da1ceb5b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson.build will fall back to greping /etc/login.defs for values of these
if they're not set. Different distros set them (Centos 7/8 does, Ubuntu
does not) so output was not deterministic. Avoid this by setting to the
default values. We now match the vaules from login.defs from shadow.
(From OE-Core rev: 56f57c70fb87beb9a7181df8cb5e7a4a0b5a184a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 77a6ac0ac266d71e4fe67fd332662081f30cd7bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The asciidoc-py3 repository has been renamed to asciidoc-py.
(From OE-Core rev: 6b899f694ec57bb3c6254d59ac5c51378579c014)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sphinx complains about hardcoded links which can be replaced by an
extlink.
So let's apply its recommendations.
(From yocto-docs rev: f550001f32157c7c30cf5506f3da783c0fd96396)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
uninative works via hashes and doesn't need the version in the tarball name but
it does make things easier to inspect in DL_DIR. There were reasons such as
ease of publication of the build tarballs but we can handle those differently
now and the signature issues from the early code aren't an issue now. From 3.4
onwards we can use a version'd name.
[YOCTO #12970]
(From OE-Core rev: 0ec0e49d0d2a7478efbf20bc3554f0ffba40afa0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dadba70d6a24d8ebb5576598efffa973151c7218)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the BUILDHISTORY_RESET is enabled we need to move the
content from BUILDHISTORY_DIR to BUILDHISTORY_OLD_DIR but
when we start a clean build in the first run we don't have the
BUILDHISTORY_DIR so the move of files will fail.
| ERROR: Command execution failed: Traceback (most recent call last):
| File "/xxx/poky/bitbake/lib/bb/command.py", line 110, in runAsyncCommand
| commandmethod(self.cmds_async, self, options)
| File "/xxx/poky/bitbake/lib/bb/command.py", line 564, in buildTargets
| command.cooker.buildTargets(pkgs_to_build, task)
| File "/xxx/poky/bitbake/lib/bb/cooker.py", line 1481, in buildTargets
| bb.event.fire(bb.event.BuildStarted(buildname, ntargets), self.databuilder.mcdata[mc])
| File "/xxx/home/builder/src/base/poky/bitbake/lib/bb/event.py", line 214, in fire
| fire_class_handlers(event, d)
| File "/xxx/poky/bitbake/lib/bb/event.py", line 121, in fire_class_handlers
| execute_handler(name, handler, event, d)
| File "/xxx/poky/bitbake/lib/bb/event.py", line 93, in execute_handler
| ret = handler(event)
| File "/xxx/poky/meta/classes/buildhistory.bbclass", line 919, in buildhistory_eventhandler
| entries = [ x for x in os.listdir(rootdir) if not x.startswith('.') ]
| FileNotFoundError: [Errno 2] No such file or directory: '/xxx/buildhistory'
(From OE-Core rev: de89dc125758f828a7886012bd9b1c8a1017ef48)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97bc2168da7dbacdfbf79cd70db674363ab84f6b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running the ptest package in an image alone highlighted missing module
dependencies. Add them to fix those errors.
(From OE-Core rev: 6e98fdf7832fed3d93645ed69f62c8df5e89b96b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3859f49db2d694c7b63fdbe25be0018afba5c738)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The linux kernel will by default use pkg-config to get ncurses(w) paths,
falling back to absolute path checks otherwise. If the build host does
not have ncurses installed this will fail as pkg-config will not search
the native sysroot for ncurses.
To more all kernel/kconfig sources, inject the equivalent native
pkg-config variables similar to what is done by the pkg-config-native
script. This only affects the menuconfig python task itself and the
oe_terminal call inside it.
(cherry picked from commit abb95c421bb67d452691819e3f63dabd02e2ba37)
(From OE-Core rev: dc6b20475a69c9fbab9a97a93119aeedf54deb23)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this dependency, generating the bootchart may fail with:
"
ModuleNotFoundError: No module named 'random'
"
(cherry picked from commit 487e9f16a00f895159b79f1865fe8b626b47ddc2)
(From OE-Core rev: 123d4a673dadfee14d5ad8bbc503405da9602bb0)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Mingli Yu <mingli.yu@windriver.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that all of the functions in cve-check open the database read-only,
we can remove this lockfile.
This means cve-check can run in parallal again, improving runtimes
massively.
This reverts commit d55fbf4779.
(From OE-Core rev: 1a30a8513ca47890470ee9d19a5ea36437e664bf)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e60d149b41d14d177df20dbecaef943696df1586)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All of the function in cve-check should open the database read-only, as
the only writer is the fetch task in cve-update-db. However,
get_cve_info() was failing to do this, which might be causing locking
issues with sqlite.
(From OE-Core rev: 2b3d13a451e99db669977d4d1172653b736ae6e1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8de517238f1f418d9af1ce312d99de04ce2e26fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Three CVEs were meant to be ignored via CVE_WHITELIST, but that wasn't
the correct variable name.
The CPEs for those CVEs mean that they don't get picked up in our report,
so just remove the assignment.
(From OE-Core rev: c50688e1d0839d71e05a0d15dd948113d2ef83f6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dea00faf30ec7c19b6b5ed4651b430ba3faf69ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Expat (aka libexpat) before 2.4.5, there is an integer overflow
in storeRawNames.
Backport patch from:
eb0362808b
CVE: CVE-2022-25315
(From OE-Core rev: 9cb21fd89de99abeeef1dd962e6019943de546a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Expat (aka libexpat) before 2.4.5, there is an integer overflow in
copyString.
Backport patch from:
efcb347440
CVE: CVE-2022-25314
(From OE-Core rev: b92c33285c5f886c95a3734e61007b522b62a71f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Expat (aka libexpat) before 2.4.5, an attacker can trigger stack
exhaustion in build_model via a large nesting depth in the DTD element.
Backport patch from:
9b4ce651b2
Also add patch which fixes a regression introduced in the above fix:
https://github.com/libexpat/libexpat/pull/566
CVE: CVE-2022-25313
(From OE-Core rev: 8105700b1d6d23c87332f453bdc7379999bb4b03)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain
validation of encoding, such as checks for whether a UTF-8 character
is valid in a certain context.
Backport patches from:
https://github.com/libexpat/libexpat/pull/562/commits
CVE: CVE-2022-25235
(From OE-Core rev: 27ab07b1e8caa5c85526eee4a7a3ad0d73326866)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
math/big: prevent large memory consumption in Rat.SetString
An attacker can cause unbounded memory growth in a program using (*Rat).SetString
due to an unhandled overflow.
Upstream-Status: Backport [https://go.dev/issue/50699]
CVE: CVE-2022-23772
(From OE-Core rev: e4d15040f62744265b9236ad7276f3371a9172da)
Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
crypto/elliptic: fix IsOnCurve for big.Int values that are not valid coordinates
Some big.Int values that are not valid field elements (negative or overflowing)
might cause Curve.IsOnCurve to incorrectly return true. Operating on those values
may cause a panic or an invalid curve operation. Note that Unmarshal will never
return such values.
Upstream-Status: Backport [https://go.dev/issue/50974]
CVE: CVE-2022-23806
(From OE-Core rev: eb7aa0929ecd712aeeec0ff37dfb77c3da33b375)
Signed-off-by:Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release includes security fixes.
CVE-2021-41817: Regular Expression Denial of Service Vulnerability of Date Parsing Methods
CVE-2021-41816: Buffer Overrun in CGI.escape_html
CVE-2021-41819: Cookie Prefix Spoofing in CGI::Cookie.parse
(From OE-Core rev: a7935c9c4a47098f0c1b2eefdf7773bd85891945)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file had some grammar fixes.
Includes CVE-2022-0554.
(From OE-Core rev: 9360b92f98222cb74a93690f53570cd62633c0cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8d0a4026359c2c8a445dba9456f8a05470293c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License text underwent changes on how to submit Uganda donations, switch from http
to https urls and an update date change but the license itself is unchanged.
Also, add an entry for the top level license file. This is also the vim license
so LICENSE is unchanged but we should monitor it too.
(From OE-Core rev: f27f15977085dbdf7da28ed8ed60c02ffa009db8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d195005e415b0b2d7c8b0b65c0aef888d4d6fc8e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to the latest patch release to fix the following CVEs:
- CVE-2022-0261
- CVE-2022-0318
- CVE-2022-0319
(From OE-Core rev: e23cc56c6b8bd9cfb86803a1e1160a0b768cb286)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96442e681c3acd82b09e3becd78e902709945f1f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the version to 4.2.4118, which incorporates the following CVE
fixes:
- CVE-2021-4187
- CVE-2022-0128
- CVE-2022-0156
- CVE-2022-0158
Also remove the explicit whitelisting of CVE-2021-3968 as this is now
handled with an accurate CPE specifying the fixed version.
(From OE-Core rev: faf83cac9ff82a3c795b2e8d82719bea43830f7f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 764519ad0da6b881918667ca272fcc273b56168a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As upstream tags point releases with every commit and
the version check still reports 8.2, it should not be considered
broken (e.g. current version newer than latest version)
until 8.3 is released.
(From OE-Core rev: 3db417e002684b4f09c52997017bed139ad95f5f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11d8ee09b1bdec4824203dc0169093b2ae9d101a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a fairly constant flow of CVEs being fixed in Vim, which are
getting increasing non-trivial to backport.
Instead of trying to backport (and potentially introduce more bugs), or
just ignoring them entirely, upgrade vim to the latest patch in the hope
that vim 8.3 will be released before we release Kirkstone.
(From OE-Core rev: 7b8b096000759357aa251a58a756e770a54590ad)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78a4796de27d710f97c336d288d797557a58694e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't set an empty default value and them immediately assign to it.
(From OE-Core rev: ad373242381feec72d0c257031da7671281c0321)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7565241437487618a57d8f3f21da6fed69f6b8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prepare to cherry-pick CVE fixes from master
This reverts commit 9db3b4ac4018bcaedb995bc77a9e675c2bca468f.
(From OE-Core rev: 519f30e697f14d6a3864a22ec2e12544a9d3a107)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recent change create a blank scope of DEPENDS for class-target,
basically leaving out all general dependencies, leading to the effect
that ruby will be shipped without the runtime dependencies of zlib,
openssl and libffi, making the corresponding gems unusable at runtime.
As the class-target scope should be appended only the correct override
is append:class-target
(From OE-Core rev: 81fab225daf798792c139f669f5bfd96d9fd25a8)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f92444d388d2406be7d317578908975784d3f22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In particular libffi was missing from native, which
led to linking with host libffi instead.
(From OE-Core rev: 61e38b71566183e329d980e26fe8ffe8d331c3a1)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 293c9f879252a814107579542e8fca9af9dde599)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
example.com is proving unreliable at present so switch to our own connectivity
page instead. That page is very simple avoiding app overhead on our web server
which was an original reason for switching to example.com.
(From OE-Core rev: 0ed4759eb306596575e3e9859a023f44f814cf4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc6b043cb75c5751b5a98afd2201aa31f9b4b9f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if the package "nativesdk-glibc-dbg" is installed as part of the SDK,
the existing search expression finds two files:
$OECORE_NATIVE_SYSROOT/lib/.debug/ld-linux-x86-64.so.2
$OECORE_NATIVE_SYSROOT/lib/ld-linux-x86-64.so.2
The generated relocate_sdk.sh shell script contains then an extra
newline and segfaults during SDK relocation.
Limit the search depth to 1, to avoid finding the file in the .debug
directory.
(From OE-Core rev: c95695c220a1bd1984920b893418d6822b75ebac)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit baec04b936ab6b3d2039978fd568c3824cd0a501)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:
Version of some driver files updated
Added files for some drivers
(From OE-Core rev: a28a6d31e84f59c4cfe47ddbd28bbe258d5d094f)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a2a64082d2a4845bebe802afed2a65dac994043)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
2570bb2729c7 Linux 5.4.176
5e2a4d02252f mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
6cbf4c731d78 block: Fix wrong offset in bio_truncate()
33a9ba52d5ea fsnotify: invalidate dcache before IN_DELETE event
b52103cbb659 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
e913171594ea ipv4: remove sparse error in ip_neigh_gw4()
c30ecdba9e5a ipv4: tcp: send zero IPID in SYNACK messages
51dde4ae5a37 ipv4: raw: lock the socket in raw_bind()
2d334469c29e net: hns3: handle empty unknown interrupt for VF
7afc09c8915b yam: fix a memory leak in yam_siocdevprivate()
51edc483af6c drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
a15ed3e9887f ibmvnic: don't spin in tasklet
c09702f43a6a ibmvnic: init ->running_cap_crqs early
86217a4ebd18 hwmon: (lm90) Mark alert as broken for MAX6654
18684bb996f3 rxrpc: Adjust retransmission backoff
f39027cbada4 phylib: fix potential use-after-free
218cccb52124 net: phy: broadcom: hook up soft_reset for BCM54616S
0d26470b25d2 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
abcb9d80a4a5 NFS: Ensure the server has an up to date ctime before renaming
30965c768217 NFS: Ensure the server has an up to date ctime before hardlinking
cdfaf8e985f8 ipv6: annotate accesses to fn->fn_sernum
581317b1f001 drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
b3e3d584f0f1 drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
4abd2a7735e1 drm/msm: Fix wrong size calculation
9f0a6acac4a1 net-procfs: show net devices bound packet types
4fd45ff2b404 NFSv4: nfs_atomic_open() can race when looking up a non-regular file
0dfacee40021 NFSv4: Handle case where the lookup of a directory fails
c27abaa040f3 hwmon: (lm90) Reduce maximum conversion rate for G781
1f748455a8f0 ipv4: avoid using shared IP generator for connected sockets
ca5355771ca8 ping: fix the sk_bound_dev_if match in ping_lookup
0b567a24addc hwmon: (lm90) Mark alert as broken for MAX6680
b63031651a05 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
e372ecd455b6 net: fix information leakage in /proc/net/ptype
20b7af413153 ipv6_tunnel: Rate limit warning messages
bf2bd892a0cb scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
d380beb5e58d rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
da27b834c1e0 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
cb24af19e5a7 i40e: fix unsigned stat widths
be6998f232b8 i40e: Fix queues reservation for XDP
b16f1a078d63 i40e: Fix issue when maximum queues is exceeded
f18aadbdf6ad i40e: Increase delay to 1 s after global EMP reset
7e94539448ed powerpc/32: Fix boot failure with GCC latent entropy plugin
ff19d70b665d net: sfp: ignore disabled SFP node
5ede72d48cab ucsi_ccg: Check DEV_INT bit only when starting CCG4
3922b6e1c9ea usb: typec: tcpm: Do not disconnect while receiving VBUS off
9c61fce322ac USB: core: Fix hang in usb_kill_urb by adding memory barriers
4fc6519bdecb usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
64e671a22163 usb: common: ulpi: Fix crash in ulpi_match()
d66dc656c5f9 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
a06cba5ad125 tty: Add support for Brainboxes UC cards.
f5e6c946732a tty: n_gsm: fix SW flow control encoding/handling
05b330118888 serial: stm32: fix software flow control transfer
0b92eda2d801 serial: 8250: of: Fix mapped region size when using reg-offset property
2bf7dee6f423 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
a6d588572568 arm64: errata: Fix exec handling in erratum 1418040 workaround
5cbcd1f5a20a drm/etnaviv: relax submit size limits
5463cfd83397 fsnotify: fix fsnotify hooks in pseudo filesystems
1614bd844eef tracing: Don't inc err_log entry count if entry allocation fails
8a8878ebb596 tracing/histogram: Fix a potential memory leak for kstrdup()
73578a9b2b72 PM: wakeup: simplify the output logic of pm_show_wakelocks()
31136e5467f3 udf: Fix NULL ptr deref when converting from inline format
86bcc670d300 udf: Restore i_lenAlloc when inode expansion fails
c54445af64ca scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
4d041e75c4c4 s390/hypfs: include z/VM guests with access control group set
835d37068525 Bluetooth: refactor malicious adv data check
7cdf2951f80d Linux 5.4.175
84b1259fe36a drm/vmwgfx: Fix stale file descriptors on failed usercopy
16895e4eac36 select: Fix indefinitely sleeping task in poll_schedule_timeout()
53d5b08d8e98 mmc: sdhci-esdhc-imx: disable CMDQ support
c3fa7ce43cdd ARM: dts: gpio-ranges property is now required
75278f1aff5e pinctrl: bcm2835: Change init order for gpio hogs
0d006bb08d76 pinctrl: bcm2835: Add support for wake-up interrupts
08fd6274380a pinctrl: bcm2835: Match BCM7211 compatible string
ac3daf50c150 pinctrl: bcm2835: Add support for all GPIOs on BCM2711
e5237171117c pinctrl: bcm2835: Refactor platform data
33e48b5305eb pinctrl: bcm2835: Drop unused define
75ca9c1d96c7 rcu: Tighten rcu_advance_cbs_nowake() checks
1b5553c79d52 drm/i915: Flush TLBs before releasing backing store
411d8da1c843 Linux 5.4.174
2c9650faa19c Revert "ia64: kprobes: Use generic kretprobe trampoline handler"
d106693dfd21 mtd: nand: bbt: Fix corner case in bad block table handling
0c1b20381926 lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
a836180fc53a lib82596: Fix IRQ check in sni_82596_probe
3903f65a5a9f scripts/dtc: dtx_diff: remove broken example from help text
b0e5b352fe12 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
e3e561707c28 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
810d3fac215d net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
e81d42e5445a bcmgenet: add WOL IRQ check
3bd7629eb8b2 net_sched: restore "mpu xxx" handling
918b3dbf0315 arm64: dts: qcom: msm8996: drop not documented adreno properties
1e0e01eb2589 dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
ca48aa7de702 dmaengine: at_xdmac: Fix lld view setting
0366901b7b02 dmaengine: at_xdmac: Fix concurrency over xfers_list
d56e1fcb7b5b dmaengine: at_xdmac: Print debug message after realeasing the lock
7163076f252e dmaengine: at_xdmac: Don't start transactions at tx_submit level
9fbe8ea8df20 perf script: Fix hex dump character output
e7e3f9634ae6 libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
91e58091a6bd gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
1e06cb37febe xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
d6bfcc8d9541 netns: add schedule point in ops_exit_list()
577d3c5291dc inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
967ec4b05918 rtc: pxa: fix null pointer dereference
1623e00e407c net: axienet: increase default TX ring size to 128
88d7727796a6 net: axienet: fix number of TX ring slots for available check
d2765d89fe38 net: axienet: limit minimum TX ring size
2612e3567665 clk: si5341: Fix clock HW provider cleanup
7a831993a9a8 af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
fdc1ce979061 f2fs: fix to reserve space for IO align feature
f852afb6c072 parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
d25fe9c255b6 net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
682a1e0ecbda ipv4: avoid quadratic behavior in netns dismantle
e6669fba04ad bpftool: Remove inclusion of utilities.mak from Makefiles
9e5a74b6326b powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
461aedcf68e0 powerpc/cell: Fix clang -Wimplicit-fallthrough warning
261f9917648e Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
6926d427941a dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
d2d453940b62 RDMA/rxe: Fix a typo in opcode name
1a3f263e05d1 RDMA/hns: Modify the mapping attribute of doorbell to device
0cb05af4bf87 scsi: core: Show SCMD_LAST in text form
59c7ff950915 Documentation: fix firewire.rst ABI file path error
dafbd79e423e Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
2ecbe50b2b8e Documentation: ACPI: Fix data node reference documentation
49daee55004b Documentation: dmaengine: Correctly describe dmatest with channel unset
05594394dc27 media: rcar-csi2: Optimize the selection PHTW register
547ea2d23ec6 firmware: Update Kconfig help text for Google firmware
515ca9f56833 of: base: Improve argument length mismatch error
227afbfe47b5 drm/radeon: fix error handling in radeon_driver_open_kms
d820cb636563 ext4: don't use the orphan list when migrating an inode
85c121cf17fd ext4: Fix BUG_ON in ext4_bread when write quota data
b985c8521dac ext4: set csum seed in tmp inode while migrating to extents
6e23e0bb1a11 ext4: make sure quota gets properly shutdown on error
86be63aea2b1 ext4: make sure to reset inode lockdep class when quota enabling fails
e5999c49cd90 btrfs: respect the max size in the header when activating swap file
85dc4aac7e99 btrfs: check the root node for uptodate before returning it
eeec77bb53a5 btrfs: fix deadlock between quota enable and other quota operations
e89514082668 xfrm: fix policy lookup for ipv6 gre packets
09af149541d9 PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
e904b46073a1 PCI: pci-bridge-emul: Correctly set PCIe capabilities
ab57ac7299e2 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
db531b57cb50 drm/bridge: analogix_dp: Make PSR-exit block less
17d492d39e17 drm/nouveau/kms/nv04: use vzalloc for nv04_display
0d0e56a1a945 drm/etnaviv: limit submit sizes
72a953efcbd6 s390/mm: fix 2KB pgtable release race
da4e1facccc7 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
11604a3a6bed tracing/kprobes: 'nmissed' not showed correctly for kretprobe
ae2e0b2f2ba3 cputime, cpuacct: Include guest time in user time in cpuacct.stat
c526d53edd21 serial: Fix incorrect rs485 polarity on uart open
19a61f92fa6b fuse: Pass correct lend value to filemap_write_and_wait_range()
8130a1c0bf8a ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
011024b0f695 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
973669290ad3 crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
0c0fd11c9c77 crypto: omap-aes - Fix broken pm_runtime_and_get() usage
b728b5295d1b rpmsg: core: Clean up resources on announce_create failure.
9e2c8bd78488 power: bq25890: Enable continuous conversion for ADC at charging
f16a5bce3fd3 ASoC: mediatek: mt8173: fix device_node leak
5d635c25983e scsi: sr: Don't use GFP_DMA
1785538d273c MIPS: Octeon: Fix build errors using clang
bb7d1de681f9 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
6abdf6722cd2 MIPS: OCTEON: add put_device() after of_find_device_by_node()
2a8870f5cb2a powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
2dbb618e241a ALSA: seq: Set upper limit of processed events
1ad4f94630c0 scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
73ed9127b8e8 w1: Misuse of get_user()/put_user() reported by sparse
b8e5376c273c KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
aecdb1d24210 powerpc/powermac: Add missing lockdep_register_key()
2c146cf97bcb clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
e441d3cb760b i2c: mpc: Correct I2C reset procedure
f231d1d22bad powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
aca56c298e2a i2c: i801: Don't silently correct invalid transfer size
aea9d368480f powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
5a3cda54ffd0 powerpc/btext: add missing of_node_put
fd0135fc6f0a powerpc/cell: add missing of_node_put
67329fb6a8e2 powerpc/powernv: add missing of_node_put
5bea763aec17 powerpc/6xx: add missing of_node_put
ecfe73aec681 parisc: Avoid calling faulthandler_disabled() twice
5e126f68808c random: do not throw away excess input to crng_fast_load
8f6cecfff36c serial: core: Keep mctrl register state and cached copy in sync
6f7bd9f7c893 serial: pl010: Drop CR register reset on set_termios
c5e156a62744 regulator: qcom_smd: Align probe function with rpmh-regulator
4a55b02b647e net: gemini: allow any RGMII interface mode
4bee2316c574 net: phy: marvell: configure RGMII delays for 88E1118
b3fbe7565f8e dm space map common: add bounds check to sm_ll_lookup_bitmap()
052f64013701 dm btree: add a defensive bounds check to insert_at()
aaefb1833309 mac80211: allow non-standard VHT MCS-10/11
5253794b19f6 net: mdio: Demote probed message to debug print
8508caebe60e btrfs: remove BUG_ON(!eie) in find_parent_nodes
7d4f4075e78b btrfs: remove BUG_ON() in find_parent_nodes()
ba72fa2cb2f2 ACPI: battery: Add the ThinkPad "Not Charging" quirk
7c366d75a44a drm/amdgpu: fixup bad vram size on gmc v8
88b5abc0c61d ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
de85f5861894 ACPICA: Fix wrong interpretation of PCC address
1fa8e71d0022 ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
aee78b668ef5 ACPICA: Utilities: Avoid deleting the same object twice in a row
a4c6cde223d2 ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
56c308c7302b jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
c02454b3c85b um: registers: Rename function names to avoid conflicts and build problems
51b44e9b14a6 iwlwifi: mvm: Fix calculation of frame length
95017cf0a367 iwlwifi: remove module loading failure message
0446cafa843e iwlwifi: fix leaks/bad data after failed firmware load
c8fe499c4565 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
46fdba26cdff usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
8ac2cf0253a5 cpufreq: Fix initialization of min and max frequency QoS requests
bfcc1e9c2e00 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
65816c103476 arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
dcf1d9f76f71 audit: ensure userspace is penalized the same as the kernel when under pressure
5cc8a367851b mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
3a7f37eb2083 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
71b6d05db553 media: igorplugusb: receiver overflow should be reported
1af9e1d4885a HID: quirks: Allow inverting the absolute X/Y values
75f7885dc257 bpf: Do not WARN in bpf_warn_invalid_xdp_action()
086181b0ffde net: bonding: debug: avoid printing debug logs when bond is not notifying peers
fcd7e8ccc437 x86/mce: Mark mce_read_aux() noinstr
a0d171398dcd x86/mce: Mark mce_end() noinstr
bca5aa920274 x86/mce: Mark mce_panic() noinstr
2481ee0ce59c gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
743911a2bf8b net: phy: prefer 1000baseT over 1000baseKX
a5d8e6189b13 net-sysfs: update the queue counts in the unregistration path
d08cc0223a78 ath10k: Fix tx hanging
054281b3548d iwlwifi: mvm: synchronize with FW after multicast commands
fe791612afab media: m920x: don't use stack on USB reads
a821532ce5ec media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
b867a9c3de09 media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
ff867910e87c x86/mm: Flush global TLB when switching to trampoline page-table
16f2ef98cccf floppy: Add max size check for user space request
3ad5c9e50263 usb: uhci: add aspeed ast2600 uhci support
c27a52321190 rsi: Fix out-of-bounds read in rsi_read_pkt()
51ad4c448611 rsi: Fix use-after-free in rsi_rx_done_handler()
ae56c5524a75 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
4ff69cf3b1c8 HSI: core: Fix return freed object in hsi_new_client
009d6d9fea8c gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
50ad94f8654a drm/bridge: megachips: Ensure both bridges are probed before registration
c640dc459b7e mlxsw: pci: Add shutdown method in PCI driver
f6b650941942 EDAC/synopsys: Use the quirk for version instead of ddr version
2134ebc2d0ad media: b2c2: Add missing check in flexcop_pci_isr:
2933aa510907 HID: apple: Do not reset quirks when the Fn key is not found
a62523988129 drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
0cba42c09ac8 usb: gadget: f_fs: Use stream_open() for endpoint files
c7e4004b38aa batman-adv: allow netlink usage in unprivileged containers
c93a934f812e ARM: shmobile: rcar-gen2: Add missing of_node_put()
c9ec3d85c0ee drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
3642493839af ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
c7186605d878 drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
58cddfe67745 fs: dlm: filter user dlm messages for kernel locks
fa4ca508c25c Bluetooth: Fix debugfs entry leak in hci_register_dev()
2b09cb8d92a5 of: base: Fix phandle argument length mismatch error message
f88ccfb3f2d9 RDMA/cxgb4: Set queue pair state when being queried
38d97204a24b mips: bcm63xx: add support for clk_set_parent()
d12b5cfab493 mips: lantiq: add support for clk_set_parent()
770e92dbc9f6 misc: lattice-ecp3-config: Fix task hung when firmware load failed
458c253b2577 ASoC: samsung: idma: Check of ioremap return value
8b894d503ed7 ASoC: mediatek: Check for error clk pointer
41d2dc9110e0 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
dc03527ca12b iommu/iova: Fix race between FQ timeout and teardown
86233ee4b4b9 dmaengine: pxa/mmp: stop referencing config->slave_id
741a26cf3134 clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
35d7be242cd9 ASoC: rt5663: Handle device_property_read_u32_array error codes
200f00382f08 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
6314e22a998e RDMA/core: Let ib_find_gid() continue search even after empty entry
2e89a39fd702 powerpc/powermac: Add additional missing lockdep_register_key()
9367675e76b8 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
27a90275e8f7 scsi: ufs: Fix race conditions related to driver data
b9b691de3c99 iommu/io-pgtable-arm: Fix table descriptor paddr formatting
48fc8eebd174 binder: fix handling of error during copy
f3c2c7f3f884 char/mwave: Adjust io port register size
e607cd712d5d ALSA: oss: fix compile error when OSS_DEBUG is enabled
5daf39257079 ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
7e2ce332aacc powerpc/prom_init: Fix improper check of prom_getprop()
506184ded655 clk: imx8mn: Fix imx8mn_clko1_sels
852f447ce0c1 RDMA/hns: Validate the pkey index
9927848b1ce5 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
79b89d3ab5a9 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
86fecb7f50b5 ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
970d9082043d ext4: avoid trim error on fs with small groups
2e5f08a5f8b5 net: mcs7830: handle usb read errors properly
ff09d5951b81 pcmcia: fix setting of kthread task states
f56b423bce1e can: xilinx_can: xcan_probe(): check for error irq
58533bbd5cf1 can: softing: softing_startstop(): fix set but not used variable warning
13af3a9b1ba6 tpm: add request_locality before write TPM_INT_ENABLE
5d5223beb6e2 spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
74dd45122b84 net/mlx5: Set command entry semaphore up once got index free
2b7816b1e90e Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
2f2336ca68b9 net/mlx5e: Don't block routes with nexthop objects in SW
fca92bb20ced debugfs: lockdown: Allow reading debugfs files that are not world readable
46541f21de5c HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
f6fbc6a0502c HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
1f660b3ff5d6 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
3f4823c651bd HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
1b7443f4ebf1 Bluetooth: hci_bcm: Check for error irq
4ceb319006e8 fsl/fman: Check for null pointer after calling devm_ioremap
e2e1ceb8ca7a staging: greybus: audio: Check null pointer
b78473575fbe rocker: fix a sleeping in atomic bug
385b8fe39802 ppp: ensure minimum packet size in ppp_write()
c7a99af48c55 bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
4e8307203d73 netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
ad6674562819 pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
17162e260178 pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
6cdbf5b6e4cf ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
d49992de0077 x86/mce/inject: Avoid out-of-bounds write when setting flags
a259c73dddb3 bpftool: Enable line buffering for stdout
eb599bf3bae5 selinux: fix potential memleak in selinux_add_opt()
8fe5e6ed36a5 mmc: meson-mx-sdio: add IRQ check
db6eb2f94ad7 ARM: dts: armada-38x: Add generic compatible to UART nodes
1b10eb460dc1 usb: ftdi-elan: fix memory leak on device disconnect
3f8edc28c02b ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
25dfc85fceeb xfrm: state and policy should fail if XFRMA_IF_ID 0
b34fadb521c9 xfrm: interface with if_id 0 should return error
ba7d5b3e33a5 media: hantro: Fix probe func error path
26cf595abd9a drm/bridge: ti-sn65dsi86: Set max register for regmap
a6d408452c16 drm/msm/dpu: fix safe status debugfs file
036fcde6c7d0 media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
7089b97b46b6 media: msi001: fix possible null-ptr-deref in msi001_probe()
04691afdbc34 media: dw2102: Fix use after free
b153346f0ffe ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
4c66717867b9 crypto: stm32/cryp - fix lrw chaining mode
46d85cdd472a crypto: stm32/cryp - fix double pm exit
17bb09710c6b crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
fe211ebe8e14 xfrm: fix a small bug in xfrm_sa_len()
b3e50e041b68 mwifiex: Fix possible ABBA deadlock
236399a60ec9 rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
b67881059f8f sched/rt: Try to restart rt period timer when rt runtime exceeded
a26a338f4df6 media: si2157: Fix "warm" tuner state detection
dc3b4b60a0d6 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
f39bd2900fd4 media: dib8000: Fix a memleak in dib8000_init()
62bff2a806b0 Bluetooth: btmtksdio: fix resume failure
80f81e4bcc2a staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
9f49cf5196d9 staging: rtl8192e: return error code from rtllib_softmac_init()
84e568531b9e floppy: Fix hang in watchdog when disk is ejected
6a4160c9f2ec serial: amba-pl011: do not request memory region twice
96591a7e66ba tty: serial: uartlite: allow 64 bit address
d3aee4338f1d arm64: dts: ti: k3-j721e: Fix the L2 cache sets
15115464eba2 drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
46ec86ea0d02 drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
77af47f26987 ACPI: EC: Rework flushing of EC work while suspended to idle
f996dab1a846 arm64: dts: qcom: msm8916: fix MMC controller aliases
54b5ab456e00 netfilter: bridge: add support for pppoe filtering
04bb89f51cba media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
8034d6c40e43 media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
f77b90341055 media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
a3c5386a515f media: imx-pxp: Initialize the spinlock prior to using it
0410f7ac04b3 media: rcar-csi2: Correct the selection of hsfreqrange
62866d6542ea tty: serial: atmel: Call dma_async_issue_pending()
cd867ffa14a8 tty: serial: atmel: Check return code of dmaengine_submit()
06d6f696873b arm64: dts: ti: k3-j721e: correct cache-sets info
ac718d92b6dc crypto: qce - fix uaf on qce_ahash_register_one
be6ee09c9ece media: dmxdev: fix UAF when dvb_register_device() fails
da0b42d1c3fb tee: fix put order in teedev_close_context()
24161b9c43de Bluetooth: stop proccessing malicious adv data
50a981742363 arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
e48e1d3e0f85 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
1221b3adf539 media: aspeed: Update signal status immediately to ensure sane hw state
15df887c6248 media: em28xx: fix memory leak in em28xx_init_dev
58f08f024c72 media: aspeed: fix mode-detect always time out at 2nd run
dc644dd8a00c media: videobuf2: Fix the size printk format
e51b0099c870 wcn36xx: Release DMA channel descriptor allocations
2aa2da3fb522 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
457b05f39116 clk: bcm-2835: Remove rounding up the dividers
aac1ed30597c clk: bcm-2835: Pick the closest clock rate
ba4cc4968917 Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
141a9a9cae28 drm/rockchip: dsi: Fix unbalanced clock on probe error
bcd6bfe12be0 drm/panel: innolux-p079zca: Delete panel on attach() failure
4c255e98aa05 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
5cc7480e63a3 drm/rockchip: dsi: Reconfigure hardware on resume()
0620aabea8d8 drm/rockchip: dsi: Hold pm-runtime across bind/unbind
6264d0fef906 shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
9d8fb273d5ee mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
7ad300800c43 mm_zone: add function to check if managed dma zone exists
c4212d52f926 PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
9e5bb22beb3c dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
e12f983c4a3c iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
81a026b9c33d lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
3cead5b7a88c can: softing_cs: softingcs_probe(): fix memleak on registration failure
38e28033a56b media: stk1160: fix control-message timeouts
0ac3d5f6f956 media: pvrusb2: fix control-message timeouts
d1c57f558d24 media: redrat3: fix control-message timeouts
7a9d34be181f media: dib0700: fix undefined behavior in tuner shutdown
f64b379bde39 media: s2255: fix control-message timeouts
3a49cd738b07 media: cpia2: fix control-message timeouts
c9ef6e1d5025 media: em28xx: fix control-message timeouts
c89df039e811 media: mceusb: fix control-message timeouts
22325141e94c media: flexcop-usb: fix control-message timeouts
7458b0189e87 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
023357dd2eaf rtc: cmos: take rtc_lock while reading from CMOS
9a82bfb442b7 tools/nolibc: fix incorrect truncation of exit code
2e83886c0420 tools/nolibc: i386: fix initial stack alignment
aca2988eddb9 tools/nolibc: x86-64: Fix startup code bug
a4b5d9af4af5 x86/gpu: Reserve stolen memory for first integrated Intel GPU
f55dbf729872 mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
29218853877a mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
ba2539b5f958 nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
eb116c891ba1 f2fs: fix to do sanity check in is_alive()
bf9e52c0a9d9 HID: wacom: Avoid using stale array indicies to read contact count
5d1023f33c6d HID: wacom: Ignore the confidence flag when a touch is removed
60257988d6f9 HID: wacom: Reset expected and received contact counts at the same time
898e69caad0f HID: uhid: Fix worker destroying device without any protection
(From OE-Core rev: 9dd9f20b1dc9e44f1c4af824e8e0a7f6e4bbf33b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4aa2e7393e14 Linux 5.4.173
e245aaefef39 ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
d40f6eeaf513 mtd: fixup CFI on ixp4xx
1451deb164e1 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
7b98f61b8388 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
5c69ba9e80f0 firmware: qemu_fw_cfg: fix kobject leak in probe error path
1cc36ed56138 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
b543e4141570 firmware: qemu_fw_cfg: fix sysfs information leak
b25e9ef29d8f rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
8716657b1b4b media: uvcvideo: fix division by zero at stream start
70ae85ca124e KVM: s390: Clarify SIGP orders versus STOP/RESTART
9b45f2007ea3 perf: Protect perf_guest_cbs with RCU
bd2aed0464ae vfs: fs_context: fix up param length parsing in legacy_parse_param
c2f067d4ad4a orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
5d6af67307e8 devtmpfs regression fix: reconfigure on each mount
c117b116e6b3 kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test
(From OE-Core rev: ef0ad77daccaef02d99c75833c78664fea887680)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake. The variable CMAKE_LDFLAGS_FLAGS is spelled incorrectly, cmake expects
CMAKE_SHARED_LINKER_FLAGS, CMAKE_STATIC_LINKER_FLAGS, CMAKE_EXE_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to be set instead. As cmake already correctly initializes
these from environment there is no need to specify the linker flags in the toolchain
file at all. So this just removes the variable, as its value was also set wrong.
(From OE-Core rev: cf17fc284bcffe1d5b0797c733bcc2eb293a5d8f)
Signed-off-by: Martin Beeger <martin.beeger@online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52e59a5b37f55905ee693a99f9ffc34ed41b4283)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpmbuild can start processing random memory when processing the value
provided by XZ_THREADS, and unintentionally disable encoding for a
file descriptor that in fact requires encoding to be enabled in order
for lzwrite() to actually create an rpm.
*** Fdopen(0x7f2030002b30,w6T16.xzdio) | fdio 23 fp (nil)
==> lzopen_internal("w6T16", 23, 1)
==> lzopen_internal set encoding
==> lzopen_internal clear encoding
==> Fdopen(0x7f2030002b30,"w6T16.xzdio") returns fd 0x7f2030002b30 | xzdio 0x7f2030004e30 fp 23 | fdio -1 fp (nil)
==> lzwrite(0x7f2030004e30, 0x7f20789d8070, 6) encoding 0
==> Fwrite(0x7f2030002b30,0x7f20789d8070,6) rc -1 | xzdio 0x7f2030004e30 fp 23 | fdio -1 fp (nil)
error: create archive failed: cpio: write
When the encoding bit gets cleared on the LZFILE* struct, lzwrite() then
rightfully complains when it detects !lzfile->encoding, which then gets
bubbled up as a write failure when we go to create the archive.
This fix is available in the rpm 4.17-release.
(From OE-Core rev: b093005d31467d89b00af621f86eb5cac7f845af)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
deploy-target may fail the second time with "pseudo abort" because
devtool-deploy-target-stripped is deleted outside of pseudo's fakeroot
context.
(From OE-Core rev: b293bcf4c312156cb57814dd71f13f8ab2a8ae80)
Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2338a33b690b0bbe279cde3f73764911b239cb50)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new recipe.bb file for a binary, don't use BP which
includes the version information, instead use BPN which is just the
name base Package Name.
Since PB is not specified, it takes the default:
PV = "1.0+git${SRCPV}"
But SRCPV is defined in terms of the SRC_URI, which leads to infinite
recursion (traceback below). Here are the pertinent variables which
cause the recursion:
SRC_URI = "git://github.com/lvc/abi-dumper;protocol=https;subdir=${BP}"
BP = "${BPN}-${PV}"
PV = "1.0+git${SRCPV}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"
def get_srcrev(d, method_name='sortable_revision'):
# ... trimmed
scms = []
fetcher = Fetch(d.getVar('SRC_URI').split(), d)
# ... trimmed
[YOCTO #14040]
(From OE-Core rev: 64434ffd6d406e4c3d1e9ca2fb72fa97990346d8)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b8d43fc53ee13d39abc3b2a1f706a97fcf752aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
so that the variable can use an arbitrary directory name.
(From OE-Core rev: ee05539fc6fadff7f14c8609641021fc497cbd8e)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9829c16301bf2dce39fa046401a984f112fa0322)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The implementations of SAE in hostapd before 2.10 and wpa_supplicant
before 2.10 are vulnerable to side channel attacks as a result
of cache access patterns. NOTE: this issue exists because of an
incomplete fix for CVE-2019-9494.
Backport patches from:
https://w1.fi/security/2022-1/
CVE: CVE-2022-23303 CVE-2022-23304
(From OE-Core rev: 13ae7a3f4bbe7abafae3136190cf43d226271413)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An issue was discovered in the DNS proxy in Connman through 1.40.
The TCP server reply implementation lacks a check for the presence
of sufficient Header Data, leading to an out-of-bounds read (CVE-2022-23096)
An issue was discovered in the DNS proxy in Connman through 1.40.
forward_dns_reply mishandles a strnlen call, leading to an out-of-bounds
read (CVE-2022-23097)
Backport patch from:
https://git.kernel.org/pub/scm/network/connman/connman.git/commit/?id=e5a313736e13c90d19085e953a26256a198e4950
CVE: CVE-2022-23096 CVE-2022-23097
(From OE-Core rev: b8d925c1443c84500df74958aa2f75113b992453)
Signed-off-by: Steve Sakoman
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expat (aka libexpat) before 2.4.4 has an integer overflow in the
doProlog function.
Backport patch from:
ede41d1e18
CVE: CVE-2021-23990
(From OE-Core rev: 6a0c9607656970c669ff12cdafd39f4fb7082f6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding 3.1.14 to documentation switcher and release list.
(From yocto-docs rev: 2e3ec94e906a255cd7b22dfca29a6148fc433732)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not
included with the files for the linux-firmware-bcm4373 package
but instead packaged with linux-firmware.
(From OE-Core rev: 4b748155e668bb67c90d43de5e083c092d2f5b1c)
Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18ba64d4a12e7275381cf34fe72b757accbb1544)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 9e8b2bc55792932e23d3b053b393b7ff88bffd6b)
(From OE-Core rev: 8f374ea044d5c3d2ea81917b3480149ca036674c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe is just a single data file from shadow, but as we can't
easily tell what license that specific file is under just copy the full
license statement.
(From OE-Core rev: f0e2f3b1f855ea6e184bd1d8d796279fedcbfa33)
(From OE-Core rev: b4bd6c8a400a52fcd7b7e580cfee5b48f5756d1a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 65e3b23e1b266653fd30c90222e953f7e37fba0c)
(From OE-Core rev: a3a2044ae72fc73f64ea124465ec654e8c590eee)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 91cd1ef01a3f3883c04bac67af2672ec60e20fb8)
(From OE-Core rev: 12d4f5f2453fa314e2b374bee8fe86bdc99f837c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
(From OE-Core rev: 966fb77981e4fed0ab7998439940b1e05dd0ee43)
(From OE-Core rev: a7fe869c49bdc2e9a2b69b763779a642dc0c6e35)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code in question is licensed under the BSD-3-Clause license, so
including the generic "BSD" license is unnecessary.
(From OE-Core rev: c39fc075ce3fd5b53c2a2fccb43500ee0a12f39d)
(From OE-Core rev: e62c10d3560cd11441dbf648e19e3ed6269fa60d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lsof LICENSE is superficially BSD-like, but it isn't BSD. Now that
we have the full SPDX license set in oe-core, use Spencer-94.
(From OE-Core rev: 5c1d61d1d4dfacb643a366285c0392e6a31087ed)
(From OE-Core rev: 5ccd9b18c406517c8b7f25ac6e258f11d42556c9)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Required to correct lsof licensing
Previously added in master (along with many others), trimmed to
just Spencer-94 for dunfell
(From OE-Core rev: e2f9092c37395f4e3ee9d0777e28c83cce6007ee)
(From OE-Core rev: 5d5fdfa94c9e7b258a19fad8400b0ec93a47b0a4)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This continues where commit 676757f "sstate: fix touching files inside
pseudo" and commit 29fc8599 "sstate: another fix for touching files
inside pseudo" left off.
The previous changes switched from trying to check if the sstate file is
writable before touching it, to always touching the sstate file and
ignoring any errors. However, if the sstate file is actually a symbolic
link that links to nothing, this would actually result in an empty
sstate file being created. And this in turn leads to that future
setscene tasks will fail when they try to unpack the empty file.
Change the code so that if an sstate file linking to nothing already
exists, it is overwritten with the new sstate file. Also change it so
that the temporary file that is used is always removed, even if ln
fails to link the sstate file to it.
Change-Id: I3800f98d0f2a0dd076352df85fad7c81460e733d
(From OE-Core rev: f3cd092bf9f66d8d73075e5b777d89d8598691dd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patches to fix CVE-2021-3995 and CVE-2021-3996
Also, add support include-strutils-cleanup-strto-functions.patch to
solve compilation error where `ul_strtou64` function not found which is
used in CVE-2021-3995.patch
(From OE-Core rev: c8c29e8927474f32343b1f6d47595df95f743cd2)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer
for configurations with a nonzero XML_CONTEXT_BYTES.
Backport patch from:
847a645152
CVE: CVE-2022-23852
(From OE-Core rev: 37b618d44ebd965ba17bb61ddf6428cdaea876e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ghostscript GhostPDL 9.50 through 9.54.0 has a heap-based buffer overflow in sampled_data_finish
(called from sampled_data_continue and interp).
To apply this CVE-2021-45959 patch,
the check-stack-limits-after-function-evalution.patch should be applied first.
References:
https://nvd.nist.gov/vuln/detail/CVE-2021-45949
(From OE-Core rev: 5fb43ed64ae32abe4488f2eb37c1b82f97f83db0)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a grub issue with incorrect values from an usb device. From the official
description from NVD [1]:
During USB device initialization, descriptors are read with very little
bounds checking and assumes the USB device is providing sane values.
If properly exploited, an attacker could trigger memory corruption leading
to arbitrary code execution allowing a bypass of the Secure Boot mechanism.
This patch is a part of a bigger security collection for grub [2].
[1] https://nvd.nist.gov/vuln/detail/CVE-2020-25647
[2] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00007.html
(From OE-Core rev: a339dee50be98931613e5525ccd2a623bcae7fd1)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix grub issue with module dereferencing. From the official description
from NVD [1]:
The rmmod implementation allows the unloading of a module used as
a dependency without checking if any other dependent module is still
loaded leading to a use-after-free scenario. This could allow
arbitrary code to be executed or a bypass of Secure Boot protections.
This patch is a part of a bigger security collection for grub [2].
[1] https://nvd.nist.gov/vuln/detail/CVE-2020-25632
[2] https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00007.html
(From OE-Core rev: d61b9588e5691ef390cfc0f03dc6cb0d142f36de)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes the following fixes:
3ef8be9b89 CVE-2022-23218: Buffer overflow in sunrpc svcunix_create (bug 28768)
e5c8da9826 <shlib-compat.h>: Support compat_symbol_reference for _ISOMAC
412aaf1522 sunrpc: Test case for clnt_create "unix" buffer overflow (bug 22542)
c4c833d3dd CVE-2022-23219: Buffer overflow in sunrpc clnt_create for "unix" (bug 22542)
547b63bf6d socket: Add the __sockaddr_un_set function
b061e95277 Revert "Fix __minimal_malloc segfaults in __mmap due to stack-protector"
95e206b67f Fix __minimal_malloc segfaults in __mmap due to stack-protector
e26a2db141 gconv: Do not emit spurious NUL character in ISO-2022-JP-3 (bug 28524)
094618d401 x86_64: Remove unneeded static PIE check for undefined weak diagnostic
Also add CVE-2022-23218 and CVE-2022-23219 to ignore list since they are fixed
by the above changes.
(From OE-Core rev: dc1aa22cf7287f574e32920cf9fdd4342d171ed1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #14697]
Detect python version 3.5 restoring loop argument where
it is still required. In 3.6 auto loop detection is available.
Bitbake 1.46 is used in dunfell which lists a minimum python version
of 3.5. Omitting this argument leads to a regression and hang during
"Initialising tasks" at 44%.
(Bitbake rev: be6ecc160ac4a8d9715257b9b955363cecc081ea)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 4efdcc1090 ("weston: Use systemd notify,") has non-trivial to
backport dependencies without which it cannot work, revert backport.
In oe-core dunfell, weston is still started using /usr/bin/weston-start
script in meta/recipes-graphics/wayland/weston-init/weston@.service .
Since 76ed534267 ("weston-init: Use weston-launch when starting weston
as the first windowing system"), the weston-start script starts weston
using weston-launch executable in case $DISPLAY is not set, i.e. when
weston is started as the primary compositor.
When weston is started via weston-launch, the notification to systemd
is not delivered, and weston service fails to start with the following:
"
weston@root.service: start operation timed out. Terminating.
"
The weston systemd service has been reworked considerably since oe-core
dunfell in commit c21fa5a291 ("weston-init: Redefine weston service and
add socket activation option"), which replaced the use of weston-start
in weston@.service with plain weston, and has been further improved in
commit dd83fb40f7 ("weston-init: Stop running weston as root") . The
commit reverted here, oe-core/master commit c8aa0222ce ("weston: wrapper
for weston modules argument"), landed only with the two aforementioned
reworks already in place, therefore the commit could have never been
tested with weston started via weston-launch executable and the timeout
at delivering systemd notification could not have happened in master.
Both c21fa5a291 ("weston-init: Redefine weston service and add socket
activation option") and dd83fb40f7 ("weston-init: Stop running weston
as root") are large feature patches and thus unsuitable for stable
backports, hence this revert seems to be the least problematic way.
(From OE-Core rev: dabd41819563ec63fc5bd5fd0f4af64230e58130)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Pavel Zhukov <pavel.zhukov@huawei.com>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was being provided by other pieces of the dependency chain but is
specifically required by configure and could fail if those pieces come
from sstate. Fix such builds by adding the missing dependency.
(From OE-Core rev: 32dd9e93c8a49c07d28c8bf240145c9e48864de7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba2587beb2a3fb0ef9139f846e161542d2c5c4ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.16 kernel introduced mandatory schema checking on any dtb file
built through the kernel.
That funcionality is provided via python3-dt-schema.
The dependencies to enable that functionality is not small, and may
not always be desired (in particular on architectures that do not
support dtbs, or in development cycles). It may also be useful for
allowing a non-conformant dts to be compiled.
This commit introduces a set of wrapper scripts that when added
as a depenency to the kernel, can pass both the validation testing
and validation steps of a dts.
(From OE-Core rev: 010477bc44a90b1f0dea82fbb824c9c9038edc80)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backported from oe-core commit 2566563ad4.
Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
b7f70762d158 Linux 5.4.172
f415409551b0 staging: greybus: fix stack size warning with UBSAN
65c2e7176f77 drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
86ded7a6cf40 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
a459686f986c media: Revert "media: uvcvideo: Set unique vdev name based in type"
7e07bedae159 random: fix crash on multiple early calls to add_bootloader_randomness()
517ab153f503 random: fix data race on crng init time
90ceecdaa062 random: fix data race on crng_node_pool
a4fa4377c91b can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
e90a7524b5c8 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
9e9241d3345a drivers core: Use sysfs_emit and sysfs_emit_at for show(device *...) functions
ada3805f1423 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
d08a0a88db88 veth: Do not record rx queue hint in veth_xmit
a6722b497401 mmc: sdhci-pci: Add PCI ID for Intel ADL
1199f0928488 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
43aac50196f3 USB: core: Fix bug in resuming hub's handling of wakeup requests
ed5c2683b67b Bluetooth: bfusb: fix division by zero in send path
784e873af3dc Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
ad07b60837b2 workqueue: Fix unbind_workers() VS wq_worker_running() race
(From OE-Core rev: 78d418fca20f997141d06d9c53194ec4e675860d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
0a4ce4977bbe Linux 5.4.171
0101f118529d mISDN: change function names to avoid conflicts
34821931e18e atlantic: Fix buff_ring OOB in aq_ring_rx_clean
44065cc11797 net: udp: fix alignment problem in udp4_seq_show()
0ad45baead37 ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
8b36aa5af4da scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
6a3ffcc9ffd0 usb: mtu3: fix interval value for intr and isoc
f0e57098243c ipv6: Do cleanup if attribute validation fails in multipath route
c94999cfbbbe ipv6: Continue processing multipath route even if gateway attribute is invalid
2a6a811a45fd phonet: refcount leak in pep_sock_accep
db0c834abbc1 rndis_host: support Hytera digital radios
72eb522ae6f1 power: reset: ltc2952: Fix use of floating point literals
159eaafee69b power: supply: core: Break capacity loop
102af6edfd3a xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate
10f2c336929d net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081
c0db2e1e60c6 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc
bcbfc7780047 batman-adv: mcast: don't send link-local multicast to mcast routers
76936ddb4913 lwtunnel: Validate RTA_ENCAP_TYPE attribute length
2ebd777513d9 ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route
a02d2be7eb48 ipv6: Check attribute length for RTA_GATEWAY in multipath route
34224e936a9d ipv4: Check attribute length for RTA_FLOW in multipath route
125d91f07233 ipv4: Check attribute length for RTA_GATEWAY in multipath route
1f46721836ee i40e: Fix incorrect netdev's real number of RX/TX queues
f98acd3b4dcf i40e: Fix for displaying message regarding NVM version
c340d45148c4 i40e: fix use-after-free in i40e_sync_filters_subtask()
38fbb1561d66 mac80211: initialize variable have_higher_than_11mbit
7646a340b25b RDMA/uverbs: Check for null return of kmalloc_array
5eb5d9c6591d RDMA/core: Don't infoleak GRH fields
415fc3f59595 iavf: Fix limit of total number of queues to active queues of VF
23ebe9cfda5e ieee802154: atusb: fix uninit value in atusb_set_extended_addr
aa171d748a36 tracing: Tag trace_percpu_buffer as a percpu pointer
db50ad6eec87 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf()
cbbed1338d76 selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv()
6904679c8400 Input: touchscreen - Fix backport of a02dcde595f7cbd240ccd64de96034ad91cffc40
6e80d2ee44c6 f2fs: quota: fix potential deadlock
(From OE-Core rev: 69453657a67e356f31e998ca539d24d2ad86ddb9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
047dedaa38ce Linux 5.4.170
2c3920c58e03 perf script: Fix CPU filtering of a script's switch events
fe5838c22b98 net: fix use-after-free in tw_timer_handler
46556c4ecd63 Input: spaceball - fix parsing of movement data packets
975774ea7528 Input: appletouch - initialize work before device registration
436f6d0005d6 scsi: vmw_pvscsi: Set residual data length conditionally
103b16a8c51f binder: fix async_free_space accounting for empty parcels
98cde4dd5ec8 usb: mtu3: set interval of FS intr and isoc endpoint
585e2b244dda usb: mtu3: fix list_head check warning
50434eb6098f usb: mtu3: add memory barrier before set GPD's HWO
240fc586e83d usb: gadget: f_fs: Clear ffs_eventfd in ffs_data_clear.
20d80640fa61 xhci: Fresco FL1100 controller should not have BROKEN_MSI quirk set.
b364fcef9615 uapi: fix linux/nfc.h userspace compilation errors
245c5e43cd25 nfc: uapi: use kernel size_t to fix user-space builds
9e4a3f47eff4 i2c: validate user data in compat ioctl
a7d3a1c6d9d9 fsl/fman: Fix missing put_device() call in fman_port_probe
2dc95e936414 net/ncsi: check for error return from call to nla_put_u32
ef01d63140f5 selftests/net: udpgso_bench_tx: fix dst ip argument
20f6896787c5 net/mlx5e: Fix wrong features assignment in case of error
b85f87d30dba ionic: Initialize the 'lif->dbid_inuse' bitmap
1cd4063dbc91 NFC: st21nfca: Fix memory leak in device probe and remove
44cd64aa1c43 net: lantiq_xrx200: fix statistics of received bytes
3477f4b67ee4 net: usb: pegasus: Do not drop long Ethernet frames
831de271452b sctp: use call_rcu to free endpoint
3218d6bd6195 selftests: Calculate udpgso segment count without header adjustment
0a2e9f6a8f33 udp: using datalen to cap ipv6 udp max gso segments
db484d35a948 net/mlx5: DR, Fix NULL vs IS_ERR checking in dr_domain_init_resources
cc926b8f4d39 scsi: lpfc: Terminate string in lpfc_debugfs_nvmeio_trc_write()
44937652afdb selinux: initialize proto variable in selinux_ip_postroute_compat()
b536e357e73c recordmcount.pl: fix typo in s390 mcount regex
8d86b486e0de memblock: fix memblock_phys_alloc() section mismatch error
4606bfdaeb16 platform/x86: apple-gmux: use resource_size() with res
930d4986a432 tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
7978ddae240b Input: i8042 - enable deferred probe quirk for ASUS UM325UA
f93d5dca7d84 Input: i8042 - add deferred probe support
940e68e57ab6 tee: handle lookup of shm with reference count 0
4b38b12092b4 HID: asus: Add depends on USB_HID to HID_ASUS Kconfig option
(From OE-Core rev: 411adf3dbe122b42acc7810bc3034874fc36f473)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4ca2eaf1d477 Linux 5.4.169
48c76fc53582 phonet/pep: refuse to enable an unbound pipe
a5c6a13e9056 hamradio: improve the incomplete fix to avoid NPD
ef5f7bfa19e3 hamradio: defer ax25 kfree after unregister_netdev
df8f79bcc2e4 ax25: NPD bug when detaching AX25 device
0333eaf38500 hwmon: (lm90) Do not report 'busy' status bit as alarm
bf260ff4a42f hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681
f373298e1bf0 pinctrl: mediatek: fix global-out-of-bounds issue
bf04afb6137f mm: mempolicy: fix THP allocations escaping mempolicy restrictions
f5db6bc93494 KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state
06c13e039d92 usb: gadget: u_ether: fix race in setting MAC address in setup phase
b0406b5ef4e2 f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr()
806142c805ca tee: optee: Fix incorrect page free bug
5478b90270a3 ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
1c3d4122bec6 mmc: core: Disable card detect during shutdown
e9db8fc6c7af mmc: sdhci-tegra: Fix switch to HS400ES mode
d9031ce0b071 pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
c7b2e5850ba6 x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
ddc1d49e10a7 parisc: Correct completer in lws start
8467c8cb94a4 ipmi: fix initialization when workqueue allocation fails
8efd6a3391f7 ipmi: ssif: initialize ssif_info->client early
cd24bafefc17 ipmi: bail out if init_srcu_struct fails
5525d80dc9dd Input: atmel_mxt_ts - fix double free in mxt_read_info_block
737a98d91b07 ALSA: hda/realtek: Amp init fixup for HP ZBook 15 G6
8df036befbc3 ALSA: drivers: opl3: Fix incorrect use of vp->state
fdaf41977d77 ALSA: jack: Check the return value of kstrdup()
44c743f63dd3 hwmon: (lm90) Drop critical attribute support for MAX6654
4615c9740575 hwmon: (lm90) Introduce flag indicating extended temperature support
c2242478f28d hwmon: (lm90) Add basic support for TI TMP461
d939660eff62 hwmon: (lm90) Add max6654 support to lm90 driver
055ca98d48ba hwmon: (lm90) Fix usage of CONFIG2 register in detect function
a7f95328c6f0 Input: elantech - fix stack out of bound access in elantech_change_report_id()
e12dcd4aa7f4 sfc: falcon: Check null pointer of rx_queue->page_ring
c11a41e26985 drivers: net: smc911x: Check for error irq
5d556b1437e1 fjes: Check for error irq
d7024080db82 bonding: fix ad_actor_system option setting to default
992649b8b168 ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
2460d96c19a8 net: skip virtio_net_hdr_set_proto if protocol already set
621d5536b452 net: accept UFOv6 packages in virtio_net_hdr_to_skb
0b01c51c4f47 qlcnic: potential dereference null pointer of rx_queue->page_ring
685fc8d22489 netfilter: fix regression in looped (broad|multi)cast's MAC handling
79dcbd817615 IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
78874bca4f27 spi: change clk_disable_unprepare to clk_unprepare
0c0ac2547c87 arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode
6fa4e2992717 HID: holtek: fix mouse probing
2712816c10b3 serial: 8250_fintek: Fix garbled text for console
51c925a9bccc net: usb: lan78xx: add Allied Telesis AT29M2-AF
8f843cf57202 Linux 5.4.168
0d99b3c6bd39 xen/netback: don't queue unlimited number of packages
8bfcd0385211 xen/netback: fix rx queue stall detection
560e64413b4a xen/console: harden hvc_xen against event channel storms
3e68d099f09c xen/netfront: harden netfront against event channel storms
4ed9f5c511ce xen/blkfront: harden blkfront against event channel storms
192fe5739571 Revert "xsk: Do not sleep in poll() when need_wakeup set"
e281b7199236 net: sched: Fix suspicious RCU usage while accessing tcf_tunnel_info
96a1550a2b43 mac80211: fix regression in SSN handling of addba tx
66aba15a144a rcu: Mark accesses to rcu_state.n_force_qs
b847ecff8507 scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select()
f9f300a92297 ovl: fix warning in ovl_create_real()
ba2a9d8f8ef1 fuse: annotate lock in fuse_reverse_inval_entry()
96f182c9f48b media: mxl111sf: change mutex_init() location
095ad3969b62 xsk: Do not sleep in poll() when need_wakeup set
29e9fdf7b681 ARM: dts: imx6ull-pinfunc: Fix CSI_DATA07__ESAI_TX0 pad name
f6e9e7be9b80 Input: touchscreen - avoid bitwise vs logical OR warning
3d45573dfb6e mwifiex: Remove unnecessary braces from HostCmd_SET_SEQ_NO_BSS_INFO
a19cf6844b50 mac80211: validate extended element ID is present
e070c0c990d7 drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE
c9ee8144e409 libata: if T_LENGTH is zero, dma direction should be DMA_NONE
62889094939c timekeeping: Really make sure wall_to_monotonic isn't positive
241d36219aaa USB: serial: option: add Telit FN990 compositions
d2bb4378e2bb USB: serial: cp210x: fix CP2105 GPIO registration
bae7f0808202 usb: xhci: Extend support for runtime power management for AMD's Yellow carp.
3dc6b5f2a4d5 PCI/MSI: Mask MSI-X vectors only on success
c520e7cf82ac PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error
ed31692a9758 USB: NO_LPM quirk Lenovo USB-C to Ethernet Adapher(RTL8153-04)
aae3448b78d9 USB: gadget: bRequestType is a bitfield, not a enum
ad0ed314d616 sit: do not call ipip6_dev_free() from sit_init_net()
c675256a7f13 net: systemport: Add global locking for descriptor lifecycle
2bf888fa4a5c net/smc: Prevent smc_release() from long blocking
56a6ffea18c2 net: Fix double 0x prefix print in SKB dump
027a13973dad net/packet: rx_owner_map depends on pg_vec
699e794c12a3 netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc
a97e7dd4b713 ixgbe: set X550 MDIO speed before talking to PHY
8addba6cab94 igbvf: fix double free in `igbvf_probe`
36844e250a2e igb: Fix removal of unicast MAC filters of VFs
bca4a53ea72c soc/tegra: fuse: Fix bitwise vs. logical OR warning
166f0adf7e75 rds: memory leak in __rds_conn_create()
9cb405ee5334 flow_offload: return EOPNOTSUPP for the unsupported mpls action type
066a637d1ce7 net: sched: lock action when translating it to flow_action infra
e7660f9535ad mac80211: fix lookup when adding AddBA extension element
f363af7c7045 mac80211: accept aggregation sessions on 6 GHz
1e6526148149 mac80211: agg-tx: don't schedule_and_wake_txq() under sta->lock
ceb30f48d817 mac80211: agg-tx: refactor sending addba
eeaf9c0609e0 selftest/net/forwarding: declare NETIFS p9 p10
2252220d9ebb dmaengine: st_fdma: fix MODULE_ALIAS
18203fe17643 selftests: Fix IPv6 address bind tests
b46f0afa74e7 selftests: Fix raw socket bind tests with VRF
7b5596e53125 inet_diag: fix kernel-infoleak for UDP sockets
2c589cf07bd5 inet_diag: use jiffies_delta_to_msecs()
0d80462fbdca sch_cake: do not call cake_destroy() from cake_init()
2fba53ccfb1b s390/kexec_file: fix error handling when applying relocations
b380bf012d2b selftests: net: Correct ping6 expected rc from 2 to 1
ec5c00be7836 clk: Don't parent clks until the parent is fully registered
f83ed203c822 ARM: socfpga: dts: fix qspi node compatible
46b9e29db201 mac80211: track only QoS data frames for admission control
a6f18191c6c1 arm64: dts: rockchip: fix audio-supply for Rock Pi 4
86f2789e3c15 arm64: dts: rockchip: fix rk3399-leez-p710 vcc3v3-lan supply
4bb01424330d arm64: dts: rockchip: remove mmc-hs400-enhanced-strobe from rk3399-khadas-edge
e0759696de68 nfsd: fix use-after-free due to delegation race
7243aa71509a iio: adc: stm32: fix a current leak by resetting pcsel before disabling vdda
0d3277eabd54 audit: improve robustness of the audit queue handling
501ecd90efdc dm btree remove: fix use after free in rebalance_children()
b25e213522f6 recordmcount.pl: look for jgnop instruction as well as bcrl on s390
c0954f1010ad virtio_ring: Fix querying of maximum DMA mapping size for virtio device
802a1a850156 firmware: arm_scpi: Fix string overflow in SCPI genpd driver
33f0dfab3187 mac80211: send ADDBA requests using the tid/queue of the aggregation session
873e664a83ef mac80211: mark TX-during-stop for TX in in_reconfig
ff3e3fdc737a KVM: selftests: Make sure kvm_create_max_vcpus test won't hit RLIMIT_NOFILE
(From OE-Core rev: 6d0630b930113c9d778874b2d77a567275085218)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In doProlog in xmlparse.c in Expat (aka libexpat) before 2.4.3, an
integer overflow exists for m_groupSize.
Backport patch from:
85ae9a2d7d
CVE: CVE-2021-46143
(From OE-Core rev: 41a65d27e4ecdc11977e2944d8af2f51c48f32ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more)
places in the storeAtts function in xmlparse.c can lead to realloc
misbehavior (e.g., allocating too few bytes, or only freeing memory).
Backport patch from:
0adcb34c49
CVE: CVE-2021-45960
(From OE-Core rev: 22fe1dea3164a5cd4d5636376f3671641ada1da9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New systemd has changed the phrasing when skipping things,
with unfortunate use of 'failed':
[ 1.623667] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[ 1.688258] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
(From OE-Core rev: da0d96eefd5d7e784b24cad0e41b9df05443034d)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 743d09665a4ef743b1fa9ac382a713556dfce1a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2011-4613 is specific to Debian/Ubuntu.
CVE-2020-25697 is a non-trivial attack that may not actually be feasible
considering the default behaviour for clients is to exit if the
connection is lost.
(From OE-Core rev: c477e35d01e7b8443b680f6456ac92a15fbfeaa2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afa2e6c31a79f75ff4113d53f618bbb349cd6c17)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream pointed out we were using an old url for HOMEPAGE. Update it to the
current url.
(From OE-Core rev: 022750aaa128189f23063b741bf8396a527713d7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3a7e2ba247efe72154c263d1d680aaf3da5b609)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use shutil.which to find the executable instead to silence the below warning:
$ cat tmp/work/intel_x86_64-poky-linux/core-image-base/1.0-r5/temp/log.do_image_wic
[snip]
DEBUG: Executing shell function do_image_wic
/path/layers/oe-core/scripts/wic:27: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils import spawn
INFO: Creating image(s)...
[snip]
[RP: Added conversion for missed function reference]
(From OE-Core rev: 488815681466d5e4c7640df5281fa6e1f9b4c75e)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3966cbf5c8a2dbc3a4f0f3eefdbeeb83f522bf87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Executables like tar won't be available on the native sysroot, as they
are part of the ASSUME_PROVIDED variable.
Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: eab485069809c991433b9e1b8e4223a555e4d7f9)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f574d535f8665b26dab65c14668cf8fc7b751c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this should prevent running into the very rare error
sqlite3.OperationalError: attempt to write a readonly database
As highlighted by https://www.sqlite.org/faq.html#q5
it is likely that the adapter won't allow use multiple exec calls
at the same time.
So it's best to prevent multiple accesses at a time, by reusing
the already in place CVE_CHECK_DB_FILE_LOCK
YOCTO #14110
(From OE-Core rev: 3c69e4eb08701516150c78cf8b48f3e90d197b2b)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 677f5741bd265be49d4a5bb933b3e8d8c4eec653)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of inventing a new task to fetch the CVE data, use the existing
fetch task.
(From OE-Core rev: 1ed53d5cfc2be40b2d57b5392ec4d30313209934)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f5f97d33a1703d75b9fd9760f2c7767081538e00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test is timing out on fedora autobuilder workers
(From OE-Core rev: f8e726479d5f4d89f9a7cf8babfe25fd5c73f66e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These urls are no longer adding much to the test coverage but the intermittent
network issues connecting to them are painful. Drop the urls.
(Bitbake rev: e6d75e0beb95aa0cdf82bbc0a6b767c7f6cfcfc0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bdf5739c5d831dc97a7d81568f94a0953c71017f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is deprecated in python 3.12 and Fedora 35 is throwing warnings so
move to the new functions.
(Bitbake rev: e84c9aa77b61e48f1507edcba7bde65295f4d3ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 68a18fbcb5959e334cf307d7fa8dc63832edb942)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
asciidoc.py cannot properly detect versions of Python >= 3.10
Backport patch from upstream to correct this:
44d2d60952
Fixed upstream in version 9.04, so this patch is not required in master.
(From OE-Core rev: da3bd5e0934b6462ae53225a58305235849b32d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is deprecated in python 3.12 and Fedora 35 is throwing warnings so
move to the new functions.
(From OE-Core rev: c0710d4ffb6c11083daf77fe24129d879f270591)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 655cd3f614d736416eab0d708b7c49674bf5c977)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: bb767e338ad25e27e6bf2c7dfdecc639e8105059)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of distutils.version.LooseVersion to check for GitPython > 0.3.1
is not really needed anymore since any supported distribution has at least
1.0.0 (centos-7 via epel7, debian-9, ubuntu-16.04)
If we want to reinstate this check, alternatives would be to require
python3-packaging on all hosts and use packaging.version.Version or
use an imported LooseVersion in bb.version.
[YOCTO #14610]
(From OE-Core rev: 15b1a82b4cdfadeaf89489929e10aaf9a0edd13d)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc90dcae9f53ddc246942f4d9b8ae8943e3b9754)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case the device has only touchscreen input device and no keyboard or mouse,
the top level surface is never activated. The behavior differs from a device
which has a keyboard (or gpio-keys, or even uinput-emulated keyboard), where
callchain activate()->weston_view_activate()->weston_seat_set_keyboard_focus()->
weston_keyboard_set_focus()->wl_signal_emit(&keyboard->focus_signal, keyboard)->
handle_keyboard_focus()->weston_desktop_surface_set_activated(..., true); sets
the top level surface as activated. On device with touchscreen, the above is
never called, hence the top level surface is never activated. Add explicit
weston_desktop_surface_set_activated(shsurf->desktop_surface, true); into
activate() to always active the top level surface.
This fixes at least two known issues on such devices:
- Wayland terminal cursor is an empty bar (full bar with keyboard present)
- Chromium dropdown menus are randomly placed (they are placed correctly
when keyboard is present, because then chromium can find the activated
top level surface)
(From OE-Core rev: 0a2da895284f1687cf75297fb0f4b20cc9b53489)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had IO load issues on the autobuilder with this test. Avoid
those by using a specilised test command instead.
(From OE-Core rev: 351b02feb9cb680aa3dbe4c8ea4162a6456a469f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 106445b1eb74fc37e03c72a0c011541b50a16c19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gnu sources server has been known to disappear. Use the YP sources
mirror instead. If that breaks, the autobuilder is broken anyway. This
should reduce test failures from upstream network issues.
(From OE-Core rev: cc786c759c1454340b72805227f2181d22bd7080)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5459e42f1a6be9c08f303653cc1f73514eca9ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the date rolled from one year to another, it highlighted a reproducibility
issue in openssl. Patch a workaround for this to avoid autobuilder failures.
(From OE-Core rev: b360fdca923bb3e4a4bf41d705e634eafc0e54c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8281e290737dba16a46d7ae937c66b3266e0fe8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 10.34 tarball is no longer available at current URL,
use downloads.yoctoproject.org mirror instead
(From OE-Core rev: b24838b8173c6853cdcbff6512a12557e479df86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix issues with grub in secure boot mode where an attacker could circumvent
secure boot by using acpi and cutmem commands. Also include patches fixing
similar issues.
Most patches are backported directly from grub. One patch
(no-insmod-on-sb.patch) comes from Debian, as the upstream implementation is
too complicated to backport.
CVE-2020-14372 description (from NVD [1]):
A flaw was found in grub2 in versions prior to 2.06, where it incorrectly
enables the usage of the ACPI command when Secure Boot is enabled.
This flaw allows an attacker with privileged access to craft a Secondary
System Description Table (SSDT) containing code to overwrite the Linux
kernel lockdown variable content directly into memory. The table is
further loaded and executed by the kernel, defeating its Secure Boot
lockdown and allowing the attacker to load unsigned code. The highest
threat from this vulnerability is to data confidentiality and integrity,
as well as system availability.
CVE-2020-27779 description (from NVD [2]):
A flaw was found in grub2 in versions prior to 2.06. The cutmem command
does not honor secure boot locking allowing an privileged attacker to
remove address ranges from memory creating an opportunity to circumvent
SecureBoot protections after proper triage about grub's memory layout.
The highest threat from this vulnerability is to data confidentiality
and integrity as well as system availability.
[1] https://nvd.nist.gov/vuln/detail/CVE-2020-14372
[2] https://nvd.nist.gov/vuln/detail/CVE-2020-27779
(From OE-Core rev: da6c0f3cfc920cea57cd409b17303bf735ccd68d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need a command genetating an event to test through the tinfoil API. The
current test has IO load issues so add a dummy version which won't have
the IO constraints.
(Bitbake rev: c5969eedd035648e3258bade386cc67ce3bb0e03)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a144178584394ea0700ffc2f2bfac94e8690effc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_patch implementation does not apply patches from an entry in
SRC_URI pointing to a directory.
Remove the claim that this is implemented.
(From yocto-docs rev: 9c5533b45bfd6a3d383e973a2c40e0f418afcbe9)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding 3.1.13 to documentation switcher and release list.
(From yocto-docs rev: 8debc43c165b8732ed00ffe249b0ada6109e53d9)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fedora 34 recently updated libdrm to 2.4.109 and this test will fail any
time the host has libdrm > 2.4.107
(From OE-Core rev: 1ab7aee542589f6b6c76f8515b4230ce870a8678)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e8ef940326ef Linux 5.4.167
c97579584fa8 arm: ioremap: don't abuse pfn_valid() to check if pfn is in RAM
6026d4032dbb arm: extend pfn_valid to take into account freed memory map alignment
492f4d3cde95 memblock: ensure there is no overflow in memblock_overlaps_region()
bdca964781a0 memblock: align freed memory map on pageblock boundaries with SPARSEMEM
60111b30be0b memblock: free_unused_memmap: use pageblock units instead of MAX_ORDER
3e8e272805e7 hwmon: (dell-smm) Fix warning on /proc/i8k creation error
f6f1d1911492 bpf: Fix integer overflow in argument calculation for bpf_map_area_alloc
b06b1f46306a selinux: fix race condition when computing ocontext SIDs
2fb8e4267c47 KVM: x86: Ignore sparse banks size for an "all CPUs", non-sparse IPI req
467359957ad2 tracing: Fix a kmemleak false positive in tracing_map
fb8cd2b336e4 drm/amd/display: add connector type check for CRC source set
8fc2f28e3348 drm/amd/display: Fix for the no Audio bug with Tiled Displays
c0315e93552e net: netlink: af_netlink: Prevent empty skb by adding a check on len.
7ff666e6fdc0 i2c: rk3x: Handle a spurious start completion interrupt flag
409ecd029ac5 parisc/agp: Annotate parisc agp init functions with __init
4233fbd459ac net/mlx4_en: Update reported link modes for 1/10G
b6158d968b3e drm/msm/dsi: set default num_data_lanes
d731ecc6f2ea nfc: fix segfault in nfc_genl_dump_devices_done
c32c40ff8092 Linux 5.4.166
eb1b5eaaddec netfilter: selftest: conntrack_vrf.sh: fix file permission
(From OE-Core rev: ebfe803e9545b862416e3a647c7a5e19e9c6acbd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
7f70428f0109 Linux 5.4.165
3a99b4baff3c bpf: Add selftests to cover packet access corner cases
b8a2c49aa956 misc: fastrpc: fix improper packet size calculation
8f9a25e452f8 irqchip: nvic: Fix offset for Interrupt Priority Offsets
61981e5fee6d irqchip/irq-gic-v3-its.c: Force synchronisation when issuing INVALL
fc20091b3f97 irqchip/armada-370-xp: Fix support for Multi-MSI interrupts
a3689e694b39 irqchip/armada-370-xp: Fix return value of armada_370_xp_msi_alloc()
8c163a142771 iio: accel: kxcjk-1013: Fix possible memory leak in probe and remove
20f0fb418b6c iio: ad7768-1: Call iio_trigger_notify_done() on error
b68f44829b73 iio: adc: axp20x_adc: fix charging current reporting on AXP22x
e79d86de1e96 iio: at91-sama5d2: Fix incorrect sign extension
5f3d932f91cb iio: dln2: Check return value of devm_iio_trigger_register()
7447f0450825 iio: dln2-adc: Fix lockdep complaint
4c0fa7ed5a3a iio: itg3200: Call iio_trigger_notify_done() on error
e67d60c5ebb0 iio: kxsd9: Don't return error code in trigger handler
f143cfdccfc9 iio: ltr501: Don't return error code in trigger handler
acf0088ac073 iio: mma8452: Fix trigger reference couting
02553e971255 iio: stk3310: Don't return error code in interrupt handler
1374297ccf61 iio: trigger: stm32-timer: fix MODULE_ALIAS
1dadba28a829 iio: trigger: Fix reference counting
ec0cddcc2454 xhci: avoid race between disable slot command and host runtime suspend
8d45969ca31a usb: core: config: using bit mask instead of individual bits
d1eee0a3936f xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime suspending
d2f242d7a9ce usb: core: config: fix validation of wMaxPacketValue entries
9978777c5409 USB: gadget: zero allocate endpoint 0 buffers
fd6de5a0cd42 USB: gadget: detect too-big endpoint 0 requests
46d3477cdef3 selftests/fib_tests: Rework fib_rp_filter_test()
caff29d1129c net/qla3xxx: fix an error code in ql_adapter_up()
4aa28ac9373c net, neigh: clear whole pneigh_entry at alloc time
f23f60e81af2 net: fec: only clear interrupt of handling queue in fec_enet_rx_queue()
05bc4d266eaf net: altera: set a couple error code in probe()
84a890d6959e net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero
e9ca63a07dd3 tools build: Remove needless libpython-version feature check that breaks test-all fast path
49e59d514408 dt-bindings: net: Reintroduce PHY no lane swap binding
b78a27fa58cc mtd: rawnand: fsmc: Fix timing computation
7596d0deec7f mtd: rawnand: fsmc: Take instruction delay into account
9f88ca269c41 i40e: Fix pre-set max number of queues for VF
171527da8414 i40e: Fix failed opcode appearing if handling messages from VF
ee8bfa62bf79 ASoC: qdsp6: q6routing: Fix return value from msm_routing_put_audio_mixer
43dcb79c1d9b qede: validate non LSO skb length
727858a98ac9 block: fix ioprio_get(IOPRIO_WHO_PGRP) vs setuid(2)
9ba5635cfad7 tracefs: Set all files to the same group ownership as the mount option
4105e6a128e8 aio: fix use-after-free due to missing POLLFREE handling
380185111fa8 aio: keep poll requests on waitqueue until completed
aac8151624b6 signalfd: use wake_up_pollfree()
1a478a0522e5 binder: use wake_up_pollfree()
e0c03d15cd03 wait: add wake_up_pollfree()
6db0db1657cb libata: add horkage for ASMedia 1092
050ac9da6768 x86/sme: Explicitly map new EFI memmap table as encrypted
9f5b334ee654 can: m_can: Disable and ignore ELO interrupt
abb4eff3dcd2 can: pch_can: pch_can_rx_normal: fix use after free
291a164ac1f3 drm/syncobj: Deal with signalled fences in drm_syncobj_find_fence.
f53b73953ff8 clk: qcom: regmap-mux: fix parent clock lookup
e871f89ebfe2 tracefs: Have new files inherit the ownership of their parent
f5734b1714ca nfsd: Fix nsfd startup race (again)
412498e9e54b btrfs: replace the BUG_ON in btrfs_del_root_ref with proper error handling
aa4740bc8595 btrfs: clear extent buffer uptodate when we fail to write it
434927e938ce ALSA: pcm: oss: Handle missing errors in snd_pcm_oss_change_params*()
76f19e4cbb54 ALSA: pcm: oss: Limit the period size to 16MB
f12c8a7515f6 ALSA: pcm: oss: Fix negative period/buffer sizes
5b06fa0cd2be ALSA: hda/realtek - Add headset Mic support for Lenovo ALC897 platform
caaea6bd3e18 ALSA: ctl: Fix copy of updated id with element read/write
a7ea5c099ad4 mm: bdi: initialize bdi_min_ratio when bdi is unregistered
b8a79804056b IB/hfi1: Correct guard on eager buffer deallocation
ab1be91cf1ec iavf: Fix reporting when setting descriptor count
c21bb711d0fb iavf: restore MSI state on reset
c8ae8c812e16 udp: using datalen to cap max gso segments
ef8804e47c0a seg6: fix the iif in the IPv6 socket control block
2e0e072e62fd nfp: Fix memory leak in nfp_cpp_area_cache_add()
3db6482523ea bonding: make tx_rebalance_counter an atomic
143ceb9b6736 ice: ignore dropped packets during init
4174bd4221c2 bpf: Fix the off-by-two error in range markings
15f987473d33 vrf: don't run conntrack on vrf with !dflt qdisc
8d3563ecbca3 selftests: netfilter: add a vrf+conntrack testcase
48fcd08fdbe0 nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_done
1a295fea90e1 can: sja1000: fix use after free in ems_pcmcia_add_card()
fbcb12bc9dbf can: kvaser_pciefd: kvaser_pciefd_rx_error_frame(): increase correct stats->{rx,tx}_errors counter
68daa476f499 can: kvaser_usb: get CAN clock frequency from device
a7944962ee1f HID: check for valid USB device for many HID drivers
e9114b9dc8ea HID: wacom: fix problems when device is not a valid USB device
8e0ceff632f4 HID: bigbenff: prevent null pointer dereference
31520ec149d2 HID: add USB_HID dependancy on some USB HID drivers
f8a6538587b4 HID: add USB_HID dependancy to hid-chicony
ee8477d1dbce HID: add USB_HID dependancy to hid-prodikeys
6e1e0a014258 HID: add hid_is_usb() function to make it simpler for USB detection
1e8db541c2be HID: google: add eel USB id
cb7b13c98218 HID: quirks: Add quirk for the Microsoft Surface 3 type-cover
f99b2013793f ntfs: fix ntfs_test_inode and ntfs_init_locked_inode function type
eb246f58e1fc serial: tegra: Change lower tolerance baud rate limit for tegra20 and tegra30
e3c95128def1 Linux 5.4.164
5df7d6a012fc ipmi: msghandler: Make symbol 'remove_work_wq' static
5d1e83fffbc9 net/tls: Fix authentication failure in CCM mode
cffd7583c92e parisc: Mark cr16 CPU clocksource unstable on all SMP machines
23b40edec832 iwlwifi: mvm: retry init flow if failed
8d6e4b422d0c serial: 8250_pci: rewrite pericom_do_set_divisor()
181cf7622ce2 serial: 8250_pci: Fix ACCES entries in pci_serial_quirks array
c5da8aa44105 serial: core: fix transmit-buffer reset and memleak
7ed4a98a174c serial: pl011: Add ACPI SBSA UART match id
9e16682c94ec tty: serial: msm_serial: Deactivate RX DMA for polling support
b5dd5a467ec6 x86/64/mm: Map all kernel memory into trampoline_pgd
72736a3b90ef x86/tsc: Disable clocksource watchdog for TSC on qualified platorms
fe3cd48420cd x86/tsc: Add a timer to make sure TSC_adjust is always checked
957a203fe1b7 usb: typec: tcpm: Wait in SNK_DEBOUNCED until disconnect
7fbde744374e USB: NO_LPM quirk Lenovo Powered USB-C Travel Hub
095a39a2cc27 xhci: Fix commad ring abort, write all 64 bits to CRCR register.
caedb12c7737 vgacon: Propagate console boot parameters before calling `vc_resize'
a42944686249 parisc: Fix "make install" on newer debian releases
fbe7eacab7eb parisc: Fix KBUILD_IMAGE for self-extracting kernel
c6a9060be53f sched/uclamp: Fix rq->uclamp_max not set on first enqueue
8ae8ccd2402f KVM: x86/pmu: Fix reserved bits for AMD PerfEvtSeln register
ee38eb8cf9a7 ipv6: fix memory leak in fib6_rule_suppress
9d1596282644 drm/msm: Do hw_init() before capturing GPU state
10bad5a1977f net/smc: Keep smc_close_final rc during active close
3f2a23fd13ff net/rds: correct socket tunable error in rds_tcp_tune()
01c60b3f477b ipv4: convert fib_num_tclassid_users to atomic_t
efb073981756 net: annotate data-races on txq->xmit_lock_owner
bfec04c689af net: marvell: mvpp2: Fix the computation of shared CPUs
d4034bb9b532 net: usb: lan78xx: lan78xx_phy_init(): use PHY_POLL instead of "0" if no IRQ is available
3e70e3a72d80 rxrpc: Fix rxrpc_local leak in rxrpc_lookup_peer()
ae8a253f3fe6 selftests: net: Correct case name
e461a9816a1a net/mlx4_en: Fix an use-after-free bug in mlx4_en_try_alloc_resources()
af120fcffd64 siphash: use _unaligned version by default
f70c6281eafb net: mpls: Fix notifications when deleting a device
bbeb0325a746 net: qlogic: qlcnic: Fix a NULL pointer dereference in qlcnic_83xx_add_rings()
49ab33623107 natsemi: xtensa: fix section mismatch warnings
063d2233623a i2c: cbus-gpio: set atomic transfer callback
f5d7bd03f888 i2c: stm32f7: stop dma transfer in case of NACK
9fce2ead76f4 i2c: stm32f7: recover the bus on access timeout
bc0215cbd162 i2c: stm32f7: flush TX FIFO upon transfer errors
742a5ae18c5f sata_fsl: fix warning in remove_proc_entry when rmmod sata_fsl
77393806c76b sata_fsl: fix UAF in sata_fsl_port_stop when rmmod sata_fsl
03d4462ba3bc fget: check that the fd still exists after getting a ref to it
a78b607e1b43 s390/pci: move pseudo-MMIO to prevent MIO overlap
006edd736dc8 cpufreq: Fix get_cpu_device() failure in add_cpu_dev_symlink()
648813c26d64 ipmi: Move remove_work to dedicated workqueue
3f8f7eef8c32 rt2x00: do not mark device gone on EPROTO errors during start
c2e2ccaac3d9 kprobes: Limit max data_size of the kretprobe instances
03ee5e8c63c3 vrf: Reset IPCB/IP6CB when processing outbound pkts in vrf dev xmit
f82013d1d68f net/smc: Avoid warning of possible recursive locking
df5990db088d perf report: Fix memory leaks around perf_tip()
b380d09e44e8 perf hist: Fix memory leak of a perf_hpp_fmt
57247f703539 net: ethernet: dec: tulip: de4x5: fix possible array overflows in type3_infoblock()
77ff16690945 net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
99bb25cb6753 ethernet: hisilicon: hns: hns_dsaf_misc: fix a possible array overflow in hns_dsaf_ge_srst_by_port()
0f89c59e75ac ata: ahci: Add Green Sardine vendor ID as board_ahci_mobile
36c8f686956d scsi: iscsi: Unblock session then wake up error handler
dbbc8aeaf7a1 thermal: core: Reset previous low and high trip during thermal zone init
ebc8aed3b9eb btrfs: check-integrity: fix a warning on write caching disabled disk
5db28ea9f1a4 s390/setup: avoid using memblock_enforce_memory_limit
5d93fc221c5d platform/x86: thinkpad_acpi: Fix WWAN device disabled issue after S3 deep
96274948989c net: return correct error code
89d15a2e40d7 atlantic: Fix OOB read and write in hw_atl_utils_fw_rpc_wait
d6e981ec9491 net/smc: Transfer remaining wait queue entries during fallback
a1671b224bc0 mac80211: do not access the IV when it was stripped
3200cf7b9b7e drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY
7ef990365059 gfs2: Fix length of holes reported at end-of-file
fe915dbd0f83 can: j1939: j1939_tp_cmd_recv(): check the dst address of TP.CM_BAM
fb158a26544c arm64: dts: mcbin: support 2W SFP modules
39b3b131d10d of: clk: Make <linux/of_clk.h> self-contained
aad716bd144a NFSv42: Fix pagecache invalidation after COPY/CLONE
(From OE-Core rev: 2784863606e27715ee5e7f582bb6c4df67879c95)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
57899c4e26bf Linux 5.4.163
6c728efe164f tty: hvc: replace BUG_ON() with negative return value
c3024e1945fe xen/netfront: don't trust the backend response data blindly
828b1d3861a1 xen/netfront: disentangle tx_skb_freelist
5b757077dacd xen/netfront: don't read data from request on the ring page
5c374d830e1b xen/netfront: read response from backend only once
3456a07614b1 xen/blkfront: don't trust the backend response data blindly
6392f51a9d2e xen/blkfront: don't take local copy of a request from the ring page
ce011335cb42 xen/blkfront: read response from backend only once
61826a7884cb xen: sync include/xen/interface/io/ring.h with Xen's newest version
54f682cd4849 fuse: release pipe buf after last use
eff32973ecc3 NFC: add NCI_UNREG flag to eliminate the race
43788453983e shm: extend forced shm destroy to support objects from several IPC nses
b23c0c4c9e0a s390/mm: validate VMA in PGSTE manipulation functions
3c9a213e0edb tracing: Check pid filtering when creating events
dda227cccf14 vhost/vsock: fix incorrect used length reported to the guest
2eacc0acf6ea smb3: do not error on fsync when readonly
51be334da375 f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
3ceecea047c2 net: mscc: ocelot: correctly report the timestamping RX filters in ethtool
ee4e3f9d3dd7 net: mscc: ocelot: don't downgrade timestamping RX filters in SIOCSHWTSTAMP
0ea2e5497b8c net: hns3: fix VF RSS failed problem after PF enable multi-TCs
3b961640399b net/smc: Don't call clcsock shutdown twice when smc shutdown
5e44178864b3 net: vlan: fix underflow for the real_dev refcnt
296139e1de16 MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48
9f5838471aed igb: fix netpoll exit with traffic
25980820c4f0 nvmet: use IOCB_NOWAIT only if the filesystem supports it
d54662a91faa tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-limited flows
562fe6a6d2c5 PM: hibernate: use correct mode for swsusp_close()
2654e6cfc483 net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
080f6b694ef1 nvmet-tcp: fix incomplete data digest send
6c0ab2caa8d1 net/smc: Ensure the active closing peer first closes clcsock
7854de57be29 scsi: core: sysfs: Fix setting device state to SDEV_RUNNING
67a6f64a0c84 net: nexthop: release IPv6 per-cpu dsts when replacing a nexthop group
cca61bb17042 net: ipv6: add fib6_nh_release_dsts stub
ddd0518c1e09 nfp: checking parameter process for rx-usecs/tx-usecs is invalid
b638eb32c64d ipv6: fix typos in __ip6_finish_output()
8029ced6d775 iavf: Prevent changing static ITR values if adaptive moderation is on
4374e414fcbf drm/vc4: fix error code in vc4_create_object()
7e324f734a91 scsi: mpt3sas: Fix kernel panic during drive powercycle test
dc9eb93d5a0a ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE
a078967dd34b NFSv42: Don't fail clone() unless the OP_CLONE operation failed
ce50e97a06bd firmware: arm_scmi: pm: Propagate return value to caller
7360abf31ce0 net: ieee802154: handle iftypes as u32
4421a196fdaf ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
76867d0cb83f ASoC: qdsp6: q6routing: Conditionally reset FrontEnd Mixer
a848a22e9434 ARM: dts: BCM5301X: Add interrupt properties to GPIO node
03f7379e2c69 ARM: dts: BCM5301X: Fix I2C controller interrupt
17a763eab714 netfilter: ipvs: Fix reuse connection if RS weight is 0
fd7974c547ab proc/vmcore: fix clearing user buffer by properly using clear_user()
66d6eacba7a6 arm64: dts: marvell: armada-37xx: Set pcie_reset_pin to gpio function
3a4baf070c6a pinctrl: armada-37xx: Correct PWM pins definitions
086226048bcd PCI: aardvark: Fix support for PCI_BRIDGE_CTL_BUS_RESET on emulated bridge
7c517d7b8898 PCI: aardvark: Set PCI Bridge Class Code to PCI Bridge
44b2776a9307 PCI: aardvark: Fix support for bus mastering and PCI_COMMAND on emulated bridge
bbc6201152fb PCI: aardvark: Fix link training
3d770a20950b PCI: aardvark: Simplify initialization of rootcap on virtual bridge
a06ace0d317d PCI: aardvark: Implement re-issuing config requests on CRS response
75faadcc3a0e PCI: aardvark: Fix PCIe Max Payload Size setting
c697885a1281 PCI: aardvark: Configure PCIe resources from 'ranges' DT property
e3c51ac70aae PCI: pci-bridge-emul: Fix array overruns, improve safety
ea6eef03dafb PCI: aardvark: Update comment about disabling link training
fe8a8c3a408e PCI: aardvark: Move PCIe reset card code to advk_pcie_train_link()
14311e77c93e PCI: aardvark: Fix compilation on s390
93491c5d26f7 PCI: aardvark: Don't touch PCIe registers if no card connected
8b0f7b8b7839 PCI: aardvark: Replace custom macros by standard linux/pci_regs.h macros
e090b2e2708e PCI: aardvark: Issue PERST via GPIO
0ad291db2d01 PCI: aardvark: Improve link training
063a98c00528 PCI: aardvark: Train link immediately after enabling training
bbe213fd12fb PCI: aardvark: Fix big endian support
5551081d845e PCI: aardvark: Wait for endpoint to be ready before training link
65d962199b7f PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()
57c7d46e8b1d mdio: aspeed: Fix "Link is Down" issue
e466278662be mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
e09e868c6341 tracing: Fix pid filtering when triggers are attached
f5bbebfd7ca1 tracing/uprobe: Fix uprobe_perf_open probes iteration
5c895828f421 KVM: PPC: Book3S HV: Prevent POWER7/8 TLB flush flushing SLB
4f1adc3f572a xen: detect uninitialized xenbus in xenbus_init
173fe1aedf67 xen: don't continue xenstore initialization in case of errors
2e1ec01af2c7 staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
e72e981d16fc staging/fbtft: Fix backlight
9b406e39e539 HID: wacom: Use "Confidence" flag to prevent reporting invalid contacts
c03ad97293d2 Revert "parisc: Fix backtrace to always include init funtion names"
4a6f918a92b0 media: cec: copy sequence field for the reply
8d0b9ea19174 ALSA: ctxfi: Fix out-of-range access
aaa83768ba39 binder: fix test regression due to sender_euid change
d797fde8644a usb: hub: Fix locking issues with address0_mutex
4b354aeea431 usb: hub: Fix usb enumeration issue due to address0 race
d00bf013aed2 usb: typec: fusb302: Fix masking of comparator and bc_lvl interrupts
7b6f44856da5 net: nexthop: fix null pointer dereference when IPv6 is not enabled
9ad421aedc55 usb: dwc2: hcd_queue: Fix use of floating point literal
e44a934f9e04 usb: dwc2: gadget: Fix ISOC flow for elapsed frames
c2e05c4ed8a3 USB: serial: option: add Fibocom FM101-GL variants
ee034eae9d9b USB: serial: option: add Telit LE910S1 0x9200 composition
(From OE-Core rev: 94264cb2b1355a9b91bbbe701da858866cccb370)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
9334f48f5673 Linux 5.4.162
46a8e16fcf2c ALSA: hda: hdac_stream: fix potential locking issue in snd_hdac_stream_assign()
293385739d68 ALSA: hda: hdac_ext_stream: fix potential locking issues
201340ca4eb7 hugetlbfs: flush TLBs correctly after huge_pmd_unshare
e7891b22b251 tlb: mmu_gather: add tlb_flush_*_range APIs
10e34766d8ac ice: Delete always true check of PF pointer
101485e566ce usb: max-3421: Use driver data instead of maintaining a list of bound devices
4e1b3e718f24 ASoC: DAPM: Cover regression by kctl change notification fix
56a32c82761a batman-adv: Don't always reallocate the fragmentation skb head
08bceb1e30c2 batman-adv: Reserve needed_*room for fragments
374c55d416ab batman-adv: Consider fragmentation for needed_headroom
9eff9854f82d perf/core: Avoid put_page() when GUP fails
e0122ea133cd Revert "net: mvpp2: disable force link UP during port init procedure"
4efa2509d3aa drm/amdgpu: fix set scaling mode Full/Full aspect/Center not works on vga and dvi connectors
c0276de0be48 drm/i915/dp: Ensure sink rate values are always valid
1c4af56ffbfb drm/nouveau: use drm_dev_unplug() during device removal
9e98622aa508 drm/udl: fix control-message timeout
52affc201fc2 cfg80211: call cfg80211_stop_ap when switch from P2P_GO type
ca9834a1148b parisc/sticon: fix reverse colors
670f6b3867c8 btrfs: fix memory ordering between normal and ordered work functions
1c3882215946 udf: Fix crash after seekdir
f79957d274b0 s390/kexec: fix memory leak of ipl report buffer
b0e44dfb4e4c x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails
f2e0cd42f198 mm: kmemleak: slob: respect SLAB_NOLEAKTRACE flag
95de3703a1d0 ipc: WARN if trying to remove ipc object which is absent
8997bb6d1ecc hexagon: export raw I/O routines for modules
01a7ecd36d1e tun: fix bonding active backup with arp monitoring
7c8f778f0a3a arm64: vdso32: suppress error message for 'make mrproper'
e636f65b3d8f s390/kexec: fix return code handling
cc093e5a966d perf/x86/intel/uncore: Fix IIO event constraints for Skylake Server
cc63a789d80d perf/x86/intel/uncore: Fix filter_tid mask for CHA events on Skylake Server
47a810817823 KVM: PPC: Book3S HV: Use GLOBAL_TOC for kvmppc_h_set_dabr/xdabr()
307d2e6cebfc NFC: reorder the logic in nfc_{un,}register_device
da3a87eeb990 drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame
e418bb556ff8 NFC: reorganize the functions in nci_request
bbb8376d58ac i40e: Fix display error code in dmesg
69e5d27af579 i40e: Fix creation of first queue by omitting it if is not power of two
5564e9129f1f i40e: Fix ping is lost after configuring ADq on VF
8509178dc001 i40e: Fix changing previously set num_queue_pairs for PFs
c30162da9132 i40e: Fix NULL ptr dereference on VSI filter sync
0a0308af22a5 i40e: Fix correct max_pkt_size on VF RX queue
fb2dbc124a7f net: virtio_net_hdr_to_skb: count transport header in UFO
d74ff10ed2d9 net: dpaa2-eth: fix use-after-free in dpaa2_eth_remove
8b2c66b0f2a0 net: sched: act_mirred: drop dst for the direction from egress to ingress
edd783162bf2 scsi: core: sysfs: Fix hang when device state is set via sysfs
446882f216ac platform/x86: hp_accel: Fix an error handling path in 'lis3lv02d_probe()'
453b5b614b93 mips: lantiq: add support for clk_get_parent()
477653f3e4e4 mips: bcm63xx: add support for clk_get_parent()
426fed211b49 MIPS: generic/yamon-dt: fix uninitialized variable error
67334abd4fb7 iavf: Fix for the false positive ASQ/ARQ errors while issuing VF reset
98f3badc414f iavf: validate pointers
92cecf349121 iavf: prevent accidental free of filter structure
63f032a956ed iavf: Fix failure to exit out from last all-multicast mode
926e8c83d4c1 iavf: free q_vectors before queues in iavf_disable_vf
f0222e7eee0c iavf: check for null in iavf_fix_features
b5638bc64a69 net: bnx2x: fix variable dereferenced before check
fbba0692ec4b perf tests: Remove bash construct from record+zstd_comp_decomp.sh
9e0df711f8db perf bench futex: Fix memory leak of perf_cpu_map__new()
642fc22210a5 perf bpf: Avoid memory leak from perf_env__insert_btf()
6bf5523090a7 RDMA/netlink: Add __maybe_unused to static inline in C file
ef82c3716a5a tracing/histogram: Do not copy the fixed-size char array field over the field size
80b777606925 tracing: Save normal string variables
8928e31a776a sched/core: Mitigate race cpus_share_cache()/update_top_cache_domain()
a93a58bae950 mips: BCM63XX: ensure that CPU_SUPPORTS_32BIT_KERNEL is set
05311b9192be clk: qcom: gcc-msm8996: Drop (again) gcc_aggre1_pnoc_ahb_clk
ee1317e1f4b0 clk/ast2600: Fix soc revision for AHB
d6c32b4c83f6 clk: ingenic: Fix bugs with divided dividers
982d31ba5533 sh: define __BIG_ENDIAN for math-emu
214cd15d3675 sh: math-emu: drop unused functions
3d774e776f68 sh: fix kconfig unmet dependency warning for FRAME_POINTER
7727659e45f8 f2fs: fix up f2fs_lookup tracepoints
d7c612f6b1f3 maple: fix wrong return value of maple_bus_init().
9823ba8f17f8 sh: check return code of request_irq
94292e4577a2 powerpc/dcr: Use cmplwi instead of 3-argument cmpli
c6d2cefdd05c ALSA: gus: fix null pointer dereference on pointer block
513543f1eda1 powerpc/5200: dts: fix memory node unit name
3a9eae47a550 iio: imu: st_lsm6dsx: Avoid potential array overflow in st_lsm6dsx_set_odr()
a3ecee8a8fd7 scsi: target: Fix alua_tg_pt_gps_count tracking
14934afd4f5d scsi: target: Fix ordered tag handling
1ab3b4f4f46f MIPS: sni: Fix the build
d491c84df5c4 tty: tty_buffer: Fix the softlockup issue in flush_to_ldisc
80709beddb8d ALSA: ISA: not for M68K
2f8cda43c415 ARM: dts: ls1021a-tsn: use generic "jedec,spi-nor" compatible for flash
723c1af01c35 ARM: dts: ls1021a: move thermal-zones node out of soc/
f98986b7acb4 usb: host: ohci-tmio: check return value after calling platform_get_resource()
e187c2f3f25e ARM: dts: omap: fix gpmc,mux-add-data type
3b9d8d3e4af2 firmware_loader: fix pre-allocated buf built-in firmware use
cc248790bfdc scsi: advansys: Fix kernel pointer leak
bcc1eac0bd49 ASoC: nau8824: Add DMI quirk mechanism for active-high jack-detect
c9428e13417d clk: imx: imx6ul: Move csi_sel mux to correct base register
e5f8c43c8546 ASoC: SOF: Intel: hda-dai: fix potential locking issue
cb074c00b71a arm64: dts: freescale: fix arm,sp805 compatible string
a14d7038ea20 arm64: dts: qcom: msm8998: Fix CPU/L2 idle state latency and residency
30dcfcda8992 usb: typec: tipd: Remove WARN_ON in tps6598x_block_read
3ee15f1af174 usb: musb: tusb6010: check return value after calling platform_get_resource()
ba9579f832bd RDMA/bnxt_re: Check if the vlan is valid before reporting
bf6a633b0736 arm64: dts: hisilicon: fix arm,sp805 compatible string
16bcbfb56d75 scsi: lpfc: Fix list_add() corruption in lpfc_drain_txq()
51c94d6aee59 ARM: dts: NSP: Fix mpcore, mmc node names
1390f32ea964 arm64: zynqmp: Fix serial compatible string
31df0f0f1882 arm64: zynqmp: Do not duplicate flash partition label property
5c088fba39af Linux 5.4.161
b786cb3236e1 erofs: fix unsafe pagevec reuse of hooked pclusters
83de35ae27a1 erofs: remove the occupied parameter from z_erofs_pagevec_enqueue()
b37f6da8c3fc PCI: Add MSI masking quirk for Nvidia ION AHCI
db1390b60e89 PCI/MSI: Deal with devices lying about their MSI mask capability
49b55a7792ec PCI/MSI: Destroy sysfs before freeing entries
7186be970c11 parisc/entry: fix trace test in syscall exit path
258c42a8fb31 fortify: Explicitly disable Clang support
4f9a3cda1660 scsi: ufs: Fix tm request when non-fatal error happens
c468f9249d84 ext4: fix lazy initialization next schedule time computation in more granular unit
307c6f728728 MIPS: Fix assembly error from MIPSr2 code used within MIPS_ISA_ARCH_LEVEL
7be773a0288e scsi: ufs: Fix interrupt error message for shared interrupts
e3c97ba4a69e soc/tegra: pmc: Fix imbalanced clock disabling in error code path
17efa1a44c7f Linux 5.4.160
66bd28d6be90 selftests/bpf: Fix also no-alu32 strobemeta selftest
e7ea088cd030 ath10k: fix invalid dma_addr_t token assignment
20a951afb7d5 SUNRPC: Partial revert of commit 6f9f17287e78
5b7a0a4f7cbe PCI: Add PCI_EXP_DEVCTL_PAYLOAD_* macros
256a1e009b9b powerpc/powernv/prd: Unregister OPAL_MSG_PRD2 notifier during module unload
fe02d37870c9 s390/cio: make ccw_device_dma_* more robust
8a8d007bae0e s390/tape: fix timer initialization in tape_std_assign()
5ef14af16629 s390/cio: check the subchannel validity for dev_busid
b0989ae51d01 video: backlight: Drop maximum brightness override for brightness zero
66938ba12857 mm, oom: do not trigger out_of_memory from the #PF
d6648b55ed39 mm, oom: pagefault_out_of_memory: don't force global OOM for dying tasks
c6f9a5c11a91 powerpc/bpf: Emit stf barrier instruction sequences for BPF_NOSPEC
453b779d2b8f powerpc/security: Add a helper to query stf_barrier type
84b3fbfd8ed8 powerpc/bpf: Fix BPF_SUB when imm == 0x80000000
7edda4bd9eb9 powerpc/bpf: Validate branch ranges
0347c001c909 powerpc/lib: Add helper to check if offset is within conditional branch range
c4461ca7a835 ovl: fix deadlock in splice write
8d750efc8dd6 9p/net: fix missing error check in p9_check_errors
aba12bb38b10 net, neigh: Enable state migration between NUD_PERMANENT and NTF_USE
223985fa1b5f f2fs: should use GFP_NOFS for directory inodes
af73b240e09e irqchip/sifive-plic: Fixup EOI failed when masked
53014c1c4162 parisc: Fix set_fixmap() on PA1.x CPUs
645d6dfdcb0b parisc: Fix backtrace to always include init funtion names
62c4e0a3d81a ARM: 9156/1: drop cc-option fallbacks for architecture selection
61a5e446bbff ARM: 9155/1: fix early early_iounmap()
dc3357424610 selftests/net: udpgso_bench_rx: fix port argument
dd3a418ba5e6 cxgb4: fix eeprom len when diagnostics not implemented
1800c9eecd5e net/smc: fix sk_refcnt underflow on linkdown and fallback
b2d1b6624bde vsock: prevent unnecessary refcnt inc for nonblocking connect
72aca95f958e net: hns3: allow configure ETS bandwidth of all TCs
07b218db54a4 net/sched: sch_taprio: fix undefined behavior in ktime_mono_to_any
18f2809441ef bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding
180a9b539cf6 arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions
572599cbf17a nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
c1d5f943bbc3 llc: fix out-of-bound array index in llc_sk_dev_hash()
bdf94057aae6 perf bpf: Add missing free to bpf_event__print_bpf_prog_info()
23def86bbf71 zram: off by one in read_block_state()
d26835de40db mm/zsmalloc.c: close race window between zs_pool_dec_isolated() and zs_unregister_migration()
46d695e870c4 bonding: Fix a use-after-free problem when bond_sysfs_slave_add() failed
dce69e0a065d ACPI: PMIC: Fix intel_pmic_regs_handler() read accesses
700602b662d7 net: vlan: fix a UAF in vlan_dev_real_dev()
98e0ab88f435 net: davinci_emac: Fix interrupt pacing disable
70ecaadb49c2 xen-pciback: Fix return in pm_ctrl_init()
7f57b9bc8ee6 i2c: xlr: Fix a resource leak in the error handling path of 'xlr_i2c_probe()'
53ad06ff3b4e NFSv4: Fix a regression in nfs_set_open_stateid_locked()
c9dcb51ae473 scsi: qla2xxx: Turn off target reset during issue_lip
211f08d1ffc8 scsi: qla2xxx: Fix gnl list corruption
9b180f3c2d92 ar7: fix kernel builds for compiler test
59e97c74d159 watchdog: f71808e_wdt: fix inaccurate report in WDIOC_GETTIMEOUT
162a1cfcd5ca m68k: set a default value for MEMORY_RESERVE
9770f8c29f81 signal/sh: Use force_sig(SIGKILL) instead of do_group_exit(SIGKILL)
9e6985190f04 dmaengine: dmaengine_desc_callback_valid(): Check for `callback_result`
fd1de3590123 netfilter: nfnetlink_queue: fix OOB when mac header was cleared
15351d5e8bb4 soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
be832f781dc4 auxdisplay: ht16k33: Fix frame buffer device blanking
c441943075fd auxdisplay: ht16k33: Connect backlight to fbdev
1fa9803de9e3 auxdisplay: img-ascii-lcd: Fix lock-up when displaying empty string
e63507ea4369 dmaengine: at_xdmac: fix AT_XDMAC_CC_PERID() macro
04317e74745a mtd: core: don't remove debugfs directory if device is in use
59929f9a573a mtd: spi-nor: hisi-sfc: Remove excessive clk_disable_unprepare()
a83aaf15077e fs: orangefs: fix error return code of orangefs_revalidate_lookup()
c79c37c77550 NFS: Fix deadlocks in nfs_scan_commit_list()
5a893e0eab16 opp: Fix return in _opp_add_static_v2()
98ac69821650 PCI: aardvark: Fix preserving PCI_EXP_RTCTL_CRSSVE flag on emulated bridge
819925eff0c5 PCI: aardvark: Don't spam about PIO Response Status
bab1cfec7ae2 drm/plane-helper: fix uninitialized variable reference
4b48c6ede329 pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds
2b2fdb6f4892 rpmsg: Fix rpmsg_create_ept return when RPMSG config is not defined
bd48bdbfd9c4 apparmor: fix error check
a7b294764945 power: supply: bq27xxx: Fix kernel crash on IRQ handler register error
3f698d97f7c5 mips: cm: Convert to bitfield API to fix out-of-bounds access
fb7b73cd9418 powerpc/44x/fsp2: add missing of_node_put
d3dd1a057c9a HID: u2fzero: properly handle timeouts in usb_submit_urb
b216a39b3212 HID: u2fzero: clarify error check and length calculations
fae0552d83ff serial: xilinx_uartps: Fix race condition causing stuck TX
818e100c2bf4 phy: qcom-qusb2: Fix a memory leak on probe
de43e75917bc ASoC: cs42l42: Defer probe if request_threaded_irq() returns EPROBE_DEFER
f00ff5357b61 ASoC: cs42l42: Correct some register default values
baf5c1225eb2 ARM: dts: stm32: fix SAI sub nodes register range
bb74ce1feb36 staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC
73aaa6222ac7 RDMA/mlx4: Return missed an error if device doesn't support steering
20dfad97dbd6 scsi: csiostor: Uninitialized data in csio_ln_vnp_read_cbfn()
5ead6f4feaa7 power: supply: rt5033_battery: Change voltage values to µV
fdbe8e8a08bf usb: gadget: hid: fix error code in do_config()
15355466cded serial: 8250_dw: Drop wrong use of ACPI_PTR()
d8241e7a2144 video: fbdev: chipsfb: use memset_io() instead of memset()
e7df004eb14e clk: at91: check pmc node status before registering syscore ops
44a2dcd146dc memory: fsl_ifc: fix leak of irq and nand_irq in fsl_ifc_ctrl_probe
03fe35ce9a0e soc/tegra: Fix an error handling path in tegra_powergate_power_up()
543d85602f9c arm: dts: omap3-gta04a4: accelerometer irq fix
7cf7d9b83d79 ALSA: hda: Reduce udelay() at SKL+ position reporting
d1cf71d79e00 JFS: fix memleak in jfs_mount
56911ee5375f MIPS: loongson64: make CPU_LOONGSON64 depends on MIPS_FP_SUPPORT
ee49b6598cfb scsi: dc395: Fix error case unwinding
dd49dee254db ARM: dts: at91: tse850: the emac<->phy interface is rmii
1df7102f265b arm64: dts: meson-g12a: Fix the pwm regulator supply properties
681c58f34434 RDMA/bnxt_re: Fix query SRQ failure
50eca29537b0 ARM: dts: qcom: msm8974: Add xo_board reference clock to DSI0 PHY
863e71a3afb7 arm64: dts: rockchip: Fix GPU register width for RK3328
6694960195b7 ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
d27580c1b027 clk: mvebu: ap-cpu-clk: Fix a memory leak in error handling paths
9212ebb1c6d8 RDMA/rxe: Fix wrong port_cap_flags
cf234bc5fbd8 ibmvnic: Process crqs after enabling interrupts
bc4061648176 ibmvnic: don't stop queue in xmit
a91c8ee2ed84 udp6: allow SO_MARK ctrl msg to affect routing
9ff14503f498 selftests/bpf: Fix fclose/pclose mismatch in test_progs
af51aa2b8586 crypto: pcrypt - Delay write to padata->info
9be9cb2a2be4 net: phylink: avoid mvneta warning when setting pause parameters
077410c7907c net: amd-xgbe: Toggle PLL settings during rate change
63a3b1af0474 drm/amdgpu/gmc6: fix DMA mask from 44 to 40 bits
9ca0d107428b wcn36xx: add proper DMA memory barriers in rx path
a3256ae45b0d libertas: Fix possible memory leak in probe and disconnect
427583b93d5a libertas_tf: Fix possible memory leak in probe and disconnect
2339ff4162a6 KVM: s390: Fix handle_sske page fault handling
3f3b4054e214 samples/kretprobes: Fix return value if register_kretprobe() failed
9435b2f9c006 tcp: don't free a FIN sk_buff in tcp_remove_empty_skb()
a8226599cbab irq: mips: avoid nested irq_enter()
ae5a24464872 s390/gmap: don't unconditionally call pte_unmap_unlock() in __gmap_zap()
8fb436d146c7 libbpf: Fix BTF data layout checks and allow empty BTF
03a818c09677 smackfs: use netlbl_cfg_cipsov4_del() for deleting cipso_v4_doi
12ccb5737925 drm/msm: Fix potential NULL dereference in DPU SSPP
dc18f0806297 clocksource/drivers/timer-ti-dm: Select TIMER_OF
c523474f2a45 PM: hibernate: fix sparse warnings
0d22f55014d2 nvme-rdma: fix error code in nvme_rdma_setup_ctrl
67ba6c8e715f phy: micrel: ksz8041nl: do not use power down mode
ae213c059a8b mwifiex: Send DELBA requests according to spec
3a781e213164 rsi: stop thread firstly in rsi_91x_init() error handling
ad4cd0130757 mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
bdbc9311f10f platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
3446e5ecdf91 block: ataflop: fix breakage introduced at blk-mq refactoring
2918a29fc8ba mmc: mxs-mmc: disable regulator on error and in the remove function
b631c603b5fb net: stream: don't purge sk_error_queue in sk_stream_kill_queues()
f27fbff86280 drm/msm: uninitialized variable in msm_gem_import()
32ac072c24b5 ath10k: fix max antenna gain unit
218fb43ffff0 hwmon: (pmbus/lm25066) Let compiler determine outer dimension of lm25066_coeff
8384c4a7bcb3 hwmon: Fix possible memleak in __hwmon_device_register()
f7fd072039d6 net, neigh: Fix NTF_EXT_LEARNED in combination with NTF_USE
9498f5272a44 memstick: jmb38x_ms: use appropriate free function in jmb38x_ms_alloc_host()
5f462b38ce7a memstick: avoid out-of-range warning
3a7525d5d7bf mmc: sdhci-omap: Fix NULL pointer exception if regulator is not configured
dc73f7cae11d b43: fix a lower bounds test
1b6365fdae77 b43legacy: fix a lower bounds test
c51ac7fd0256 hwrng: mtk - Force runtime pm ops for sleep ops
52d2cdab5288 crypto: qat - disregard spurious PFVF interrupts
4d7881430ffb crypto: qat - detect PFVF collision after ACK
a3d3f9c5dca3 media: dvb-frontends: mn88443x: Handle errors of clk_prepare_enable()
73dd601bec0d netfilter: nft_dynset: relax superfluous check on set updates
62f6260f7065 EDAC/amd64: Handle three rank interleaving mode
f399e650c095 ath9k: Fix potential interrupt storm on queue reset
843ff688eb83 media: em28xx: Don't use ops->suspend if it is NULL
e577924b7021 cpuidle: Fix kobject memory leaks in error paths
18fdbdbecf72 crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
a993159a2ad0 kprobes: Do not use local variable when creating debugfs file
71411bd79e24 media: cx23885: Fix snd_card_free call on null card pointer
1c2c8030e7eb media: tm6000: Avoid card name truncation
61266f852fb5 media: si470x: Avoid card name truncation
4e65b9ec2158 media: radio-wl1273: Avoid card name truncation
8eeec127d5cf media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
2b9ae7bac92e media: TDA1997x: handle short reads of hdmi info frame.
23b65152a069 media: dvb-usb: fix ununit-value in az6027_rc_query
e2b2d221a446 media: cxd2880-spi: Fix a null pointer dereference on error handling path
f46da0c6af3a media: em28xx: add missing em28xx_close_extension
14f3d77c770d drm/amdgpu: fix warning for overflow check
465dc8a1b1c1 ath10k: Fix missing frame timestamp for beacon/probe-resp
7c12c2fe4568 net: dsa: rtl8366rb: Fix off-by-one bug
674637270edd rxrpc: Fix _usecs_to_jiffies() by using usecs_to_jiffies()
d4cd7a167c87 crypto: caam - disable pkc for non-E SoCs
555fe5734d39 Bluetooth: btmtkuart: fix a memleak in mtk_hci_wmt_sync
8c68d12f1a37 wilc1000: fix possible memory leak in cfg_scan_result()
1713b856345d cgroup: Make rebind_subsystems() disable v2 controllers all at once
bd76ec43f14e net: net_namespace: Fix undefined member in key_remove_domain()
3a37742128ea virtio-gpu: fix possible memory allocation failure
606c95078a4e drm/v3d: fix wait for TMU write combiner flush
6a93d8ebb8aa rcu: Fix existing exp request check in sync_sched_exp_online_cleanup()
6237a1685c28 Bluetooth: fix init and cleanup of sco_conn.timeout_work
28c1d965622f selftests/bpf: Fix strobemeta selftest regression
f2c04d46c8de netfilter: conntrack: set on IPS_ASSURED if flows enters internal stream state
0c2acfede5ac parisc/kgdb: add kgdb_roundup() to make kgdb work with idle polling
cbe28724277c parisc/unwind: fix unwinder when CONFIG_64BIT is enabled
a9a411adcac8 task_stack: Fix end_of_stack() for architectures with upwards-growing stack
c06cf3b1d049 parisc: fix warning in flush_tlb_all
732441923321 x86/hyperv: Protect set_hv_tscchange_cb() against getting preempted
ad67a7e2ab13 spi: bcm-qspi: Fix missing clk_disable_unprepare() on error in bcm_qspi_probe()
a15fc58933aa btrfs: do not take the uuid_mutex in btrfs_rm_device
aba1db41dde7 net: annotate data-race in neigh_output()
2f78cb7eccb6 vrf: run conntrack only in context of lower/physdev for locally generated packets
5919f02e185b ARM: 9136/1: ARMv7-M uses BE-8, not BE-32
d99f320a1b7e gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
9929b3db46c9 ARM: clang: Do not rely on lr register for stacktrace
681a426e6ba4 smackfs: use __GFP_NOFAIL for smk_cipso_doi()
4752a9c3a079 iwlwifi: mvm: disable RX-diversity in powersave
41e583edb1d2 selftests: kvm: fix mismatched fclose() after popen()
4411d0d8df2b PM: hibernate: Get block device exclusively in swsusp_check()
a528d3aac3ef nvme: drop scan_lock and always kick requeue list when removing namespaces
209c39b3f5e9 nvmet-tcp: fix use-after-free when a port is removed
81d11e40fdbb nvmet: fix use-after-free when a port is removed
1ec1ca2be9c6 block: remove inaccurate requeue check
bfde056402c7 mwl8k: Fix use-after-free in mwl8k_fw_state_machine()
e4af3e42ba1e tracing/cfi: Fix cmp_entries_* functions signature mismatch
caeb6bae7553 workqueue: make sysfs of unbound kworker cpumask more clever
58b4e0c075d5 lib/xz: Validate the value before assigning it to an enum variable
8cdab20660f0 lib/xz: Avoid overlapping memcpy() with invalid input with in-place decompression
eb8f087201b5 memstick: r592: Fix a UAF bug when removing the driver
2226ad031436 leaking_addresses: Always print a trailing newline
63c3c7b699d2 ACPI: battery: Accept charges over the design capacity as full
2efb81b22d2d iov_iter: Fix iov_iter_get_pages{,_alloc} page fault return value
d5fb057f2364 ath: dfs_pattern_detector: Fix possible null-pointer dereference in channel_detector_create()
e2c27194fcd9 tracefs: Have tracefs directories not set OTH permission bits by default
ace6e7fe9645 net-sysfs: try not to restart the syscall if it will fail eventually
d8d1d3540561 media: usb: dvd-usb: fix uninit-value bug in dibusb_read_eeprom_byte()
382e7b6458e4 media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info
e5f9be486976 media: ipu3-imgu: imgu_fmt: Handle properly try
cdf338e1dbf1 ACPICA: Avoid evaluating methods too early during system resume
9ff00d0b1d35 ipmi: Disable some operations during a panic
4bba26f89e66 media: rcar-csi2: Add checking to rcsi2_start_receiver()
c08a655ed938 brcmfmac: Add DMI nvram filename quirk for Cyberbook T116 tablet
f64551db5299 ia64: don't do IA64_CMPXCHG_DEBUG without CONFIG_PRINTK
31b784864736 media: mceusb: return without resubmitting URB in case of -EPROTO error.
e419469adfd4 media: imx: set a media_device bus_info string
b2b2f9178250 media: s5p-mfc: Add checking to s5p_mfc_probe().
6b8ab552e24c media: s5p-mfc: fix possible null-pointer dereference in s5p_mfc_probe()
bc4af8c782eb media: uvcvideo: Set unique vdev name based in type
7a646855d6a0 media: uvcvideo: Return -EIO for control errors
ab7fca0eaefb media: uvcvideo: Set capability in s_param
bff0833e2b7a media: stm32: Potential NULL pointer dereference in dcmi_irq_thread()
cede36511c3b media: netup_unidvb: handle interrupt properly according to the firmware
3fe3d04354ae media: mt9p031: Fix corrupted frame after restarting stream
08743f9c4801 ath10k: high latency fixes for beacon buffer
fadb4cd750f4 mwifiex: Properly initialize private structure on interface type changes
7d3e6635c22a mwifiex: Run SET_BSS_MODE when changing from P2P to STATION vif-type
480c240ab6df x86: Increase exception stack sizes
91b9c23b6d5b smackfs: Fix use-after-free in netlbl_catmap_walk()
31df731c8705 net: sched: update default qdisc visibility after Tx queue cnt changes
a82f379378ab locking/lockdep: Avoid RCU-induced noinstr fail
f14eca60bf23 MIPS: lantiq: dma: reset correct number of channel
ca07aff2575d MIPS: lantiq: dma: add small delay after reset
e5ea3dca9497 platform/x86: wmi: do not fail if disabling fails
b57df4d6fc13 drm/panel-orientation-quirks: add Valve Steam Deck
67bd269a84ce Bluetooth: fix use-after-free error in lock_sock_nested()
d416020f1a9c Bluetooth: sco: Fix lock_sock() blockage by memcpy_from_msg()
a52bd11b2410 drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6
e5ca76568a61 drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1
c19cabfa5537 drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)
46a25b7a25a0 dma-buf: WARN on dmabuf release with pending attachments
1bee9e59c67b USB: chipidea: fix interrupt deadlock
8a643c0f95e8 USB: iowarrior: fix control-message timeouts
32858116748e USB: serial: keyspan: fix memleak on probe errors
8ce0bc6962df iio: dac: ad5446: Fix ad5622_write() return value
f01e16d32495 pinctrl: core: fix possible memory leak in pinctrl_enable()
270541cbc056 quota: correct error number in free_dqentry()
10b808307d37 quota: check block number when reading the block in quota file
a509a515f378 PCI: aardvark: Read all 16-bits from PCIE_MSI_PAYLOAD_REG
0ea58b9bb9cf PCI: aardvark: Fix return value of MSI domain .alloc() method
ee9cdca4d61b PCI: aardvark: Fix reporting Data Link Layer Link Active
6f99c7a51e0a PCI: aardvark: Do not unmask unused interrupts
d964886327ba PCI: aardvark: Fix checking for link up via LTSSM state
e0269c0c81b8 PCI: aardvark: Do not clear status bits of masked interrupts
50b0ce94fbcc PCI: pci-bridge-emul: Fix emulation of W1C bits
3d995568c9bb xen/balloon: add late_initcall_sync() for initial ballooning done
3f6255a91bf3 ALSA: mixer: fix deadlock in snd_mixer_oss_set_volume
6225a31b2eb6 ALSA: mixer: oss: Fix racy access to slots
e9adf72bdbd5 serial: core: Fix initializing and restoring termios speed
b535b634645f powerpc/85xx: Fix oops when mpc85xx_smp_guts_ids node cannot be found
bfefc5d6f953 can: j1939: j1939_can_recv(): ignore messages with invalid source address
94a3f521e3b6 can: j1939: j1939_tp_cmd_recv(): ignore abort message in the BAM transport
8e61c799c81e KVM: nVMX: Query current VMCS when determining if MSR bitmaps are in use
654a8248169e power: supply: max17042_battery: use VFSOC for capacity when no rsns
11129762e31a power: supply: max17042_battery: Prevent int underflow in set_soc_threshold
625c3ed247e1 signal/mips: Update (_save|_restore)_fp_context to fail with -EFAULT
ec5ef8d4d795 signal: Remove the bogus sigkill_pending in ptrace_stop
28c70d50363d RDMA/qedr: Fix NULL deref for query_qp on the GSI QP
91a29609bd6f rsi: Fix module dev_oper_mode parameter description
9defe9b1ab34 rsi: fix rate mask set leading to P2P failure
2f1f06be3eb5 rsi: fix key enabled check causing unwanted encryption for vap_id > 0
1fa1da8a60ff rsi: fix occasional initialisation failure with BT coex
398e7e5add0c wcn36xx: handle connection loss indication
4a67355383f3 libata: fix checking of DMA state
6f2f91b9df15 mwifiex: Read a PCI register after writing the TX ring write pointer
3991cdc40fc1 wcn36xx: Fix HT40 capability for 2Ghz band
301d33c95441 evm: mark evm_fixmode as __ro_after_init
e1f71a32899a rtl8187: fix control-message timeouts
76d2ce7ca9dc PCI: Mark Atheros QCA6174 to avoid bus reset
3110371c7af6 ath10k: fix division by zero in send path
2b94d10056f9 ath10k: fix control-message timeout
cfbe74d8b131 ath6kl: fix control-message timeout
1a2fe1c3d87f ath6kl: fix division by zero in send path
78ebff828a33 mwifiex: fix division by zero in fw download path
08501eb9ff6a EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
a147922924ab regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property
c9e5a005960b regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled
3baa5886d128 hwmon: (pmbus/lm25066) Add offset coefficients
98bea923793f ia64: kprobes: Fix to pass correct trampoline address to the handler
ddb54bf3b764 btrfs: call btrfs_check_rw_degradable only if there is a missing device
5223324ed1a9 btrfs: fix lost error handling when replaying directory deletes
c25984fa182f btrfs: clear MISSING device status bit in btrfs_close_one_device
87a87c82f7f3 net/smc: Correct spelling mistake to TCPF_SYN_RECV
cc14499b9dde nfp: bpf: relax prog rejection for mtu check through max_pkt_offset
a62d43084165 vmxnet3: do not stop tx queues after netif_device_detach()
17dcecf20ce7 r8169: Add device 10ec:8162 to driver r8169
e84b38e57821 nvmet-tcp: fix header digest verification
2804181e1b91 drm: panel-orientation-quirks: Add quirk for GPD Win3
7273488fd373 watchdog: Fix OMAP watchdog early handling
5ffdddcf28a1 net: multicast: calculate csum of looped-back and forwarded packets
9420e2496d45 spi: spl022: fix Microwire full duplex mode
1a667bc32918 nvmet-tcp: fix a memory leak when releasing a queue
2f3860ba601a xen/netfront: stop tx queues during live migration
de649ec7ad84 bpf: Prevent increasing bpf_jit_limit above max
df8665c3983e bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT
8dd688ba675a drm: panel-orientation-quirks: Add quirk for Aya Neo 2021
c4282bb80519 mmc: winbond: don't build on M68K
05f0a97e2ff7 reset: socfpga: add empty driver allowing consumers to probe
dfa8fb782b52 ARM: dts: sun7i: A20-olinuxino-lime2: Fix ethernet phy-mode
f09014e8bea8 hyperv/vmbus: include linux/bitops.h
054fe50d2654 sfc: Don't use netif_info before net_device setup
82005afbb30b cavium: Fix return values of the probe function
9f5fd5aab85f scsi: qla2xxx: Fix unmap of already freed sgl
96183337e97d scsi: qla2xxx: Return -ENOMEM if kzalloc() fails
8e3a0d28edb6 cavium: Return negative value when pci_alloc_irq_vectors() fails
58608e80d627 x86/irq: Ensure PI wakeup handler is unregistered before module unload
7252cb96e410 x86/cpu: Fix migration safety with X86_BUG_NULL_SEL
e3d4ba338b98 x86/sme: Use #define USE_EARLY_PGTABLE_L5 in mem_encrypt_identity.c
ccc4e5e60b41 fuse: fix page stealing
9505d4872188 ALSA: timer: Unconditionally unlink slave instances, too
2c6446168f07 ALSA: timer: Fix use-after-free problem
246c6a1fe356 ALSA: synth: missing check for possible NULL after the call to kstrdup
ce9f7535ec26 ALSA: usb-audio: Add registration quirk for JBL Quantum 400
7da6f4c5c21c ALSA: line6: fix control and interrupt message timeouts
4a12e624e597 ALSA: 6fire: fix control and bulk message timeouts
ab3f823af278 ALSA: ua101: fix division by zero at probe
a3bb6e0db72b ALSA: hda/realtek: Add quirk for HP EliteBook 840 G7 mute LED
40243342d297 ALSA: hda/realtek: Add quirk for ASUS UX550VE
8af6ade7ac5e ALSA: hda/realtek: Add a quirk for Acer Spin SP513-54N
809416fe0a7a ALSA: hda/realtek: Add quirk for Clevo PC70HS
638b53d67ffc media: v4l2-ioctl: Fix check_ext_ctrls
8c11269bd619 media: ir-kbd-i2c: improve responsiveness of hauppauge zilog receivers
bbd62d2fca94 media: ite-cir: IR receiver stop working after receive overflow
eef6cb3d3c92 crypto: s5p-sss - Add error handling in s5p_aes_probe()
d7a5d872b414 firmware/psci: fix application of sizeof to pointer
18f0fb57a9fe tpm: Check for integer overflow in tpm2_map_response_body()
f38f3da360a6 parisc: Fix ptrace check on syscall return
acbc2a08ea7c mmc: dw_mmc: Dont wait for DRTO on Write RSP error
5ee76475f82a scsi: qla2xxx: Fix use after free in eh_abort path
cc5b13948838 scsi: qla2xxx: Fix kernel crash when accessing port_speed sysfs file
617d2fd48da5 ocfs2: fix data corruption on truncate
c20eb9551c52 libata: fix read log timeout value
69c2199f49fb Input: i8042 - Add quirk for Fujitsu Lifebook T725
17ec1c6b45a7 Input: elantench - fix misreporting trackpoint coordinates
ce4bec0a54a4 Input: iforce - fix control-message timeout
db39f49ee7d5 binder: use cred instead of task for getsecid
fc9c470cd519 binder: use cred instead of task for selinux checks
28a1e470b000 binder: use euid from cred instead of using task
3e87c4996de1 usb: xhci: Enable runtime-pm by default on AMD Yellow Carp platform
3fa7efd1fab1 xhci: Fix USB 3.1 enumeration issues by increasing roothub power-on-good delay
(From OE-Core rev: 638171722cc6bfde01bf71a83af1a7c104ec54aa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dropbear shares a lot of code with other SSH implementations, so this is
a port of CVE-2018-20685 to dropbear by the dropbear developers.
Reference:
8f8a3dff70
CVE: CVE-2020-36254
Upstream-Status: Backport
(From OE-Core rev: 10712b736d7cbde897c5aab30e969c04740dce34)
Signed-off-by: Ernst Sjöstrand <ernst.sjostrand@verisure.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use After Free in vim/vim
Upstream-Status: Backport [e031fe90cf]
CVE: CVE-2021-4069
(From OE-Core rev: 9db3b4ac4018bcaedb995bc77a9e675c2bca468f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improper access control in BlueZ may allow an authenticated user to
potentially enable information disclosure via adjacent access.
This issue can be fixed in the kernel, in BlueZ or both. This patch
fixes it on the BlueZ side, so that the configuration no longer
depends on the kernel fix.
https://nvd.nist.gov/vuln/detail/CVE-2021-012
(From OE-Core rev: 573ff24c5ba7836b4dd7f95b6e7c7244b80f9d00)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the sdl frontend, qemu isn't able to even boot fully,
so let's skip the test early.
(From OE-Core rev: 74bb94a7d249b5c53f3e1d15688a3a323fc8e828)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 'meta/scripts: Manual git url branch additions (dc53fe75cc)'
sets the branch= parameter too early to master and thereby breaks the
-B/--srcbranch option.
ERROR: branch= parameter and -B/--srcbranch option cannot both be specified - use one or the other
(From OE-Core rev: 2bc6deb34aee7542d7086c24b166083c562a6a01)
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 34ece8030e7a6a100b5e3e7b94e6c786c0e199a6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If runqemu is killed, check that we have a valid PID for the qemu before
sending a kill() to it.
[ YOCTO #14651 ]
(From OE-Core rev: 7f95eb486a2d07cf0c821d5301fd670de34fe2d1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f3afbd3a6a6bef668612f818517df7543c0a683)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When CONFIG_TRACEPOINTS is not enabled in kernel config - module
compilation is skipped, which causes the ${D}/${nonarch_base_libdir} not
to be created.
This fails later in do_install:append() due to the fact that find
command in executed for non-existing folder.
Check for folder existence before find command in executed.
(From OE-Core rev: db8a8b53f440f37731c7c5db9561ac46ef59d891)
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit de0aa1700ed4e6f04b0a233eb1f6d2ac598e7ed8)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic fstab-update creates invalid entries for partitons that are not supposed to
be mounted from userspace eg u-boot partitions.
The following lines were added to fstab on a rock-pi-4:
/dev/mmcblk1p1 loader1 vfat defaults 0 0
/dev/mmcblk1p2 reserved1 vfat defaults 0 0
/dev/mmcblk1p3 reserved2 vfat defaults 0 0
/dev/mmcblk1p4 loader2 vfat defaults 0 0
/dev/mmcblk1p5 atf vfat defaults 0 0
/dev/mmcblk1p6 /boot vfat defaults 0 0
With this patch only valid entries should be added
/dev/mmcblk1p6 /boot vfat defaults 0 0
(From OE-Core rev: 3c8e50b073a1505cc3586ca51dfe1e75338feafc)
Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7aa678ce804c21dc1dc51b9be442671bc33c4041)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change fixes patches for two issues reported in a research
paper [1]: a side channel attack (*) and a cross-configuration
attack (**).
In this commit we add a fix for (*) that wasn't marked as a CVE
initially upstream. A fix of (**) previosly available in OE
backports is in fact fixing CVE-2021-40528, not CVE-2021-33560
as marked in the commit message.
We commit the accual fix for CVE-2021-33560 and rename the
existing fix with the correct CVE-2021-40528.
For details of the mismatch and the timeline see [2] (fix of the
documentation) and [3] (the related ticket upstream).
[1] https://eprint.iacr.org/2021/923.pdf
[2] https://dev.gnupg.org/rCb118681ebc4c9ea4b9da79b0f9541405a64f4c13
[3] https://dev.gnupg.org/T5328#149606
(From OE-Core rev: 0ce5c68933b52d2cfe9eea967d24d57ac82250c3)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since Oracle relicensed bdb, the open source community is slowly but surely replacing bdb with
supported and open source friendly alternatives. As a result these CVEs are unlikely to ever be fixed.
(From OE-Core rev: 15ccac9307a8a3a69ea7e9e611688dbb63df32aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 679fc70f907fb221f4541ebf30c1610e937209b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix reference to the latest 3.0.x version
Aligning releases.rst and sphinx-static/switchers.js
with the contents in master-next
(From yocto-docs rev: 77db6738d58ba4bdc68deb74775c00a332fcc86c)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`googlemock` has been absorbed into the
[googletest](https://github.com/google/googletest) project and is built
and installed from the same source tree.
`googletest` has provided a CMake Config-file Package starting with
GTest 1.8.1. `find_package(GTest ...)` by default dispatches first to
CMake Find Module. Starting with CMake commit
2327b4330cce157d616ff8b611b3e77568d00351 in CMake v3.20.0 the module
dispatches onward to the Config-file Package so that the same targets
are available. In pre v3.20.0 versions of CMake however the Find Module
masks the targets provided by the upstream `GTest` package.
Update `Modules/FindGTest.cmake` to provide the same targets as the
CMake Config-file Package and backwards compatible targets and result
variables.
(From OE-Core rev: 3b05fb01ec0e51c85d8ed62618467e57be91b928)
Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code was assuming that the a recipe with only one srcrev wouldn't "name"
it. This isn't the case as the glibc or bzip2 recipes show, you can have
a single srcrev which is named.
We can pull the data from the fetcher and in fact we already have it, we just
need to handle the "default" case and make that code the default for all srcrev
regardless of length.
[YOCTO #14017]
(From OE-Core rev: 9a7ea10660d0efd87e8cadf866e6dbed112b7f94)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45ae567932ba52b758eb41754453e9828d9533a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Khem Raj]
defaults for gcc is to use -fno-common this ensures that it keeps
building with gcc -fno-common
Fixes
src/arm/Ginit.c:60: multiple definition of `_U_dyn_info_list'; mi/.libs/dyn-info-list.o:/usr/src/debug/libunwind/1.4.0-r0/build/src/../../libunwind-1.4.0/src/mi/dyn-info-list.c:28: first defined here
[Philippe Coval]
Change and related patch ported to dunfell branch on 1.3.1 version
(From OE-Core rev: 0c12a3a3008ec1202dff3b4986029dd1a4e8f9a7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Origin: 6cd2cf6525
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Keep installed packages in upgrade job
This prevents duplicate identical packages from being reinstalled
with each upgrade
(From OE-Core rev: 87c413d2a9554412d02dee4534febfafdbe4a4c1)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark goal.upgrade with sltr as targeted
This allows a bugfix in dnf to work
(From OE-Core rev: f17edb6854985ffb1a43b8288253f9618334fc3f)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Notes for BIND 9.11.35
Security Fixes
named failed to check the opcode of responses when performing zone refreshes,
stub zone updates, and UPDATE forwarding. This could lead to an assertion
failure under certain conditions and has been addressed by rejecting responses
whose opcode does not match the expected value. [GL #2762]
(From OE-Core rev: ede9176c53d2de5559a15f48f2a0a3a31a331d1b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Notes for BIND 9.11.34
This maintenance release of BIND 9.11 contains no significant changes,
although some minor updates have been made (for example, to fix build
issues on Solaris 11).
(From OE-Core rev: ec9d6b2dc3e64715286bd93c789887b3ea0d4e3c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Notes for BIND 9.11.33
This maintenance release of BIND 9.11 contains no significant changes,
although some minor updates have been made (for example, to eliminate
compiler warnings emitted by GCC 11).
(From OE-Core rev: ee9986b305250b5940e38c1aeac69ec0c958d923)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a fix for -3972, and whitelist -3968: it isn't valid as it
fixes a bug which was introduced after 8.2.
(From OE-Core rev: ba1ae7dcd2eeb57a6e288449a26a6121c6ccac5c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bec5caadfb53638748d8c41ce7230c2bf7808d27)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A NULL pointer dereference in Busybox's hush applet leads to denial of service
when processing a crafted shell command, due to missing validation after
a \x03 delimiter character.
This may be used for DoS under very rare conditions of filtered command input.
Reference: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-42376
(From OE-Core rev: 58e49c94d5305875188110aecdefe77c0afdfcb7)
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When adding a layer, parse error can occur, raising BBHandledException.
Catch this and error, aborting the layer add to meet user expectations.
[YOCTO #14054]
(Bitbake rev: f18b65d0b9a6b983d53bde491e1bf2ca56949444)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ceddb5b3d229b83c172656053cd29aeb521fcce0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From tinfoil, if you edit bblayers.conf and break it, then call
parseConfiguration (e.g. by adding a bad layer with bitbake-layers),
the system doens't show any parse error yet it should.
Add in a call to the updateCache function so that things really
are reparsed when requested.
Partially fixes [YOCTO #14054]
(Bitbake rev: a6ad6eaf4cddbe45077d1e6cb667f71602b8a49d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e655f9361b9c3b77906b8e06b5cc76bc5180640e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license statement already includes BSD-2-Clause and BSD-3-Clause, so
remove the redundant and ambiguous BSD license.
(From OE-Core rev: 5c0b03cda19bcebfc71e1e601a4336fcda4bfc2b)
(From OE-Core rev: f61fcb6e176f19f1e768ce63a693f238713c8887)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
(cherry picked from commit 7eaab4b261)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the distro does not include the group 'wheel' systemd will
complain when trying to parse ACL rules for tmpfiles.d.
systemd-tmpfiles[273]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring
Systemd has a configuration parameter to avoid using 'wheel'
group in the standard config files for tmpfiles. Add this as
a PACKAGECONFIG and enable it by default to keep default.
(From OE-Core rev: 1b5648e6aeb9837cb807ce086c26fbfaa16f6f8b)
(From OE-Core rev: 88d2c3d807a5f6bdd858de39506762aaca834aa9)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 457cc45f51)
Upstream-Status: Backport
Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com>
Signed-off-by: Sana Kazi <sanakazisk19@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current code hardcodes archiver to be 'ar' from build host
(From OE-Core rev: 99435486248731700d11144c909a9d688e35dd1d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74ed1d10434213ad3fcf54ded49879090f979e1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DISTRO_CODENAME is part of VERSION variable but not used as dependency
for do_compile task. Append it to the vardeps list to rebuild in case it
changes.
(From OE-Core rev: f73a0fbe29434e26285b220964a0d0567c87dbf0)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee0345057459c6d77fb64902a955e836c6c1e8e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The packageconfig needs to be --disable-systemd as documented in
configure file for cups. With the current value "--without-systemd" the
SYSTEM_DIR variable ends up being set to "no"
It is caused by the --without-* section in configure file resulting in
eval with_$ac_useropt=no ;;
$ac_useropt is "systemd" causing the variable $with_systemd to be set
to "no", because of below test
if test ${with_systemd+y}
then :
withval=$with_systemd; SYSTEMD_DIR="$withval"
else $as_nop
SYSTEMD_DIR=""
fi
cups configure test for i if SYSTEMD_DIR is empty to decide if the init
scripts need to be installed. A value of "no" results in that no init
scripts is installed.
With --disable-systemd it works as expected - installing the init files.
Though cups should properly improve their configure script.
(From OE-Core rev: a4c8e2abb7d71697c8d0c53894e82bf2790ae5ac)
Signed-off-by: Claus Stovgaard <clst@ambu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 967fdd2ba12f22d8e46600ff085833993a32cfeb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add
it here.
(From OE-Core rev: e62e0f6757078cef5c793d8fb107b09362db783d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c9cfe326913d28f82e6a91d1eeae55a6651f0f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The URLs describing Kickstart are no longer valid and do not redirect to
the correct location. Update them with the correct location.
(From OE-Core rev: f01e3e8ece228a355cb91cbd043e0fe7fa951ebf)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5ac75f93c8128b0761af5fee99e8603ddd1657d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Give the user a proper error message if there aren't packages built,
rather than a less friendly traceback.
[YOCTO #14619]
(From OE-Core rev: 4b6d3564c09dbea3794f2915b65cbd2314ccffb6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b14c176b7dd74b7d63ca0f72e6e00fbf209f5a0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
git_connect_git in connect.c in Git before 2.30.1 allows a repository path to contain a newline character,
which may result in unexpected cross-protocol requests,
as demonstrated by the git://localhost:1234/%0d%0a%0d%0aGET%20/%20HTTP/1.1 substring.
Upstream-Status: Backport [a02ea57717]
CVE: CVE-2021-40330
(From OE-Core rev: ea0d7ef4a8c9bba94bd603ebd19e502faa86293b)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 53ce5f292fd8d65fd89c977364ea6f7d813c7566.
Reverting in preparation for fixes from master
(From OE-Core rev: bf489893714d1c2d2e4694a5a1e313b661c9fdc4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release Date: Aug. 30, 2021
This is a security release of Python 3.8
Note: The release you're looking at is Python 3.8.12, a security bugfix release
for the legacy 3.8 series. Python 3.10 is now the latest feature release series
of Python 3. Get the latest release of 3.10.x here.
Security content in this release contains four fixes. There are also four
additional fixes for bugs that might have lead to denial-of-service attacks.
Finally, while we're not providing binary installers anymore, for those users
who produce installers, we upgraded the OpenSSL version used to 1.1.1l.
Take a look at the change log for details.
According to the release calendar specified in PEP 569, Python 3.8 is now in the
"security fixes only" stage of its life cycle: 3.8 branch only accepts security
fixes and releases of those are made irregularly in source-only form until
October 2024. Python 3.8 isn't receiving regular bug fixes anymore, and binary
installers are no longer provided for it. Python 3.8.10 was the last full bugfix
release of Python 3.8 with binary installers.
This release includes a fix for CVE-2021-29921.
References:
https://docs.python.org/release/3.8.12/whatsnew/changelog.html#changelog
(From OE-Core rev: ff52cf448c5e26246f8637d0b8957c5c479fa389)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
c65356f0f726 Linux 5.4.158
e31d51f8a41f ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
960b1fdfc39a Revert "drm/ttm: fix memleak in ttm_transfered_destroy"
a73ebe514a60 sfc: Fix reading non-legacy supported link modes
6789e4b7593b Revert "usb: core: hcd: Add support for deferring roothub registration"
049849492b77 Revert "xhci: Set HCD flag to defer primary roothub registration"
2461f38384d5 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
21fc2bb836e5 net: ethernet: microchip: lan743x: Fix skb allocation failure
e02fdd7db471 vrf: Revert "Reset skb conntrack connection..."
1ce287eff9f2 scsi: core: Put LLD module refcnt after SCSI device is released
e6de9a8b5b30 Linux 5.4.157
39fb393e2102 perf script: Check session->header.env.arch before using it
472d9354a9ce KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
07e9a4e1abfe KVM: s390: clear kicked_mask before sleeping again
5919a07d71b1 cfg80211: correct bridge/4addr mode check
dba9e632eda0 net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT
0f5b4c57dc85 sctp: add vtag check in sctp_sf_ootb
df527764072c sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
0aa322b5fe70 sctp: add vtag check in sctp_sf_violation
d6470c220025 sctp: fix the processing for COOKIE_ECHO chunk
5fe74d5e4d58 sctp: fix the processing for INIT_ACK chunk
5953ee99bab1 sctp: use init_tag from inithdr for ABORT chunk
5395650d154c phy: phy_start_aneg: Add an unlocked version
c85b696270db phy: phy_ethtool_ksettings_get: Lock the phy for consistency
0dea6379e273 net/tls: Fix flipped sign in async_wait.err assignment
e12b8f3c2b73 net: nxp: lpc_eth.c: avoid hang when bringing interface down
b232898c1d4b net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
92507dc1efac net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
3708aa267d67 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
b1c76f97ad2c RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
18a012869fa7 net: Prevent infinite while loop in skb_tx_hash()
6422e8471890 net: batman-adv: fix error handling
1cead23c1c0b regmap: Fix possible double-free in regcache_rbtree_exit()
207e6e93e7d6 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
c29c3295e0e5 RDMA/mlx5: Set user priority for DCT
13ad93a42ce3 nvme-tcp: fix data digest pointer calculation
b597b0e2e80b nvmet-tcp: fix data digest pointer calculation
d997d4e4365f IB/hfi1: Fix abba locking issue with sc_disable()
0f8cdfff0682 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
5f0bfe21c853 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
bd99782f3ca4 drm/ttm: fix memleak in ttm_transfered_destroy
d2c64ebcc76a net: lan78xx: fix division by zero in send path
a37c5e70ac24 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
590abe5becf5 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
07da44b08641 mmc: sdhci: Map more voltage level to SDHCI_POWER_330
0821c5608d80 mmc: dw_mmc: exynos: fix the finding clock sample value
08328d65cb78 mmc: cqhci: clear HALT state after CQE enable
55a3870f4a26 mmc: vub300: fix control-message timeouts
e0cfd5159f31 net/tls: Fix flipped sign in tls_err_abort() calls
6a18d155d5b3 Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
9fdcf66ee413 nfc: port100: fix using -ERRNO as command type mask
853f22623dd5 ata: sata_mv: Fix the error handling of mv_chip_id()
6d0b30784fcd Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
b7dfc536db87 usbnet: fix error return code in usbnet_probe()
492140e45d2b usbnet: sanity check for maxpacket
4ba6c163fe64 ipv4: use siphash instead of Jenkins in fnhe_hashfun()
3f439c231a03 ipv6: use siphash in rt6_exception_hash()
1cad781ecf37 powerpc/bpf: Fix BPF_MOD when imm == 1
ca10ddbbabd0 ARM: 9141/1: only warn about XIP address when not compile testing
40cd32945552 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
2f7647cc13be ARM: 9134/1: remove duplicate memcpy() definition
9f44f66396f3 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
(From OE-Core rev: dfb12f1571a6d7581a07f2573abbf928365fa850)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
89b6869b942b Linux 5.4.156
7cdcaa7c765b pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume()
a9c4e246f7c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG
a98c81ab1751 tracing: Have all levels of checks prevent recursion
b0feaa8376f5 net: mdiobus: Fix memory leak in __mdiobus_register
0ab35e707462 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma()
9068beaa049a Input: snvs_pwrkey - add clk handling
8de335e8199f ALSA: hda: avoid write to STATESTS if controller is in reset
570bc60dcd00 platform/x86: intel_scu_ipc: Update timeout value in comment
4054b869dc26 isdn: mISDN: Fix sleeping function called from invalid context
5001160d3ed5 ARM: dts: spear3xx: Fix gmac node
e9d9ffa19367 net: stmmac: add support for dwmac 3.40a
044fa2afd676 btrfs: deal with errors when checking if a dir entry exists during log replay
d49a293b946d gcc-plugins/structleak: add makefile var for disabling structleak
e8ef9984418f selftests: netfilter: remove stray bash debug line
b7fdebde2c9b netfilter: Kconfig: use 'default y' instead of 'm' for bool config option
285e9210b1fa isdn: cpai: check ctr->cnr to avoid array index out of bound
1f75f8883b4f nfc: nci: fix the UAF of rf_conn_info object
4f5d1c29cfab mm, slub: fix potential memoryleak in kmem_cache_open()
a1ec195a1943 mm, slub: fix mismatch between reconstructed freelist depth and cnt
8e25a62e8dab powerpc/idle: Don't corrupt back chain when going idle
d0148cfaf89c KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest
80bbb0bc3a02 KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest()
722e6f6ac818 powerpc64/idle: Fix SP offsets when saving GPRs
d6f451f1f60c audit: fix possible null-pointer dereference in audit_filter_rules
c974f2f92c31 ASoC: DAPM: Fix missing kctl change notifications
5307a77b7149 ALSA: hda/realtek: Add quirk for Clevo PC50HS
50fc52e5ca59 ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset
0f218ba4c8aa vfs: check fd has read access in kernel_read_file_from_fd()
f439d2bcb679 elfcore: correct reference to CONFIG_UML
d3a83576378b ocfs2: mount fails with buffer overflow in strlen
b05caf023b14 ocfs2: fix data corruption after conversion from inline format
bce53fbee948 ceph: fix handling of "meta" errors
151c72bba129 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes
0ddf781882ac can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length
a0e47d2833b4 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv
7e66cfed66f9 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer
1248582e47a9 can: peak_pci: peak_pci_remove(): fix UAF
ea82c2463e22 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification
c26dcd1cb8db can: rcar_can: fix suspend/resume
8c5585eae3ae net: enetc: fix ethtool counter name for PM0_TERR
c0b0baade9b8 net: stmmac: Fix E2E delay mechanism
c4b64011e458 net: hns3: disable sriov before unload hclge layer
472acf1582fd net: hns3: add limit ets dwrr bandwidth cannot be 0
b1f9380ee230 net: hns3: reset DWRR of unused tc to zero
12bdcbc04341 NIOS2: irqflags: rename a redefined register name
599766696f69 net: dsa: lantiq_gswip: fix register definition
f49ce82f9b7c lan78xx: select CRC32
83094f8c44cb netfilter: ipvs: make global sysctl readonly in non-init netns
ce70ee94dde6 ASoC: wm8960: Fix clock configuration on slave mode
0f5b08ca22e1 dma-debug: fix sg checks in debug_dma_map_sg()
50aefa9acc91 NFSD: Keep existing listeners on portlist error
4a5bf3e729d9 xtensa: xtfpga: Try software restart before simulating CPU reset
31137288b946 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF
d946a39bad58 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default
e7c4819c0b67 tee: optee: Fix missing devices unregister during optee_remove
b1e9b4e0f656 net: switchdev: do not propagate bridge updates across bridges
2d22cd048289 parisc: math-emu: Fix fall-through warnings
(From OE-Core rev: 1a1a140984a463e4e74bfbc0c77c0c28e394bbe9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
ce061ef43f1d Linux 5.4.154
291a48871e51 sched: Always inline is_percpu_thread()
3e105ecc4ab7 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported"
1ff5ee9d3926 scsi: ses: Fix unsigned comparison with less than zero
83d857d6b096 drm/amdgpu: fix gart.bo pin_count leak
1843ae8c4b2b net: sun: SUNVNET_COMMON should depend on INET
6d1d7acb1067 mac80211: check return value of rhashtable_init
2aaf3fd5e109 net: prevent user from passing illegal stab size
1e66a472b51b m68k: Handle arrivals of multiple signals correctly
be191c8e68fe mac80211: Drop frames from invalid MAC address in ad-hoc mode
fffad5988f28 netfilter: nf_nat_masquerade: defer conntrack walk to work queue
b3cb06303419 netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic
a9d8aa2d3ca8 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs
8c6680025b49 netfilter: ip6_tables: zero-initialize fragment offset
744b908a7f3f HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS
b6bccc978ec8 ext4: correct the error path of ext4_write_inline_data_end()
de4a28b718bb net: phy: bcm7xxx: Fixed indirect MMD operations
(From OE-Core rev: b8f2b67706311672f923dfef9a0587c64c49e840)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new server startup code means exceptions can happen when we aren't
setup to show them to the user correctly, leading to ugly tracebacks.
Add in some special case handling of BBHandledException to at least
ensure that common case doesn't traceback and the user sees meaningful
output.
In the future, the logging setup can likely be improved, as can the way
runCommand handles exceptions, they all should likely become real
exceptions again on the UI side.
[YOCTO #14022]
[YOCTO #14033]
(Bitbake rev: 7fdd43c5cbde38daa013076de2fdedcf3c3d3107)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6059d0e77f60ddb679049bd34478f41b1ab7995d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server may be displaying useful information for the user through log
messages so we should display anything that has been sent. Its either this
or expecting every UI to implement this code around every command call
which isn't good API.
[YOCTO #14054]
(Bitbake rev: f20da5247dea524e837c5b6fdeccc79cbafedf90)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64ae9d7e2fad804dd9e12706c6d76b4b22f9586b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previous changes allowed BBHandledException to be detected but not exceptions
which inherit from it. Fix this. The code really needs totally reworking
to preserve the exceptions.
[YOCTO #14054]
(Bitbake rev: 80348b68a34b7ec45a0496a4af7f2ae0c26488f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef762d92df6c2554c6248e80212f984d9ec4c651)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.org now has a mirror of the downloads.yoctoproject.org sources
archive so include this in our mirrors list.
(From OE-Core rev: dbbec36638f035aefbaf22f152a2ca95836d08bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are still getting occassional failures to reproduce
(From OE-Core rev: 0d3603f9433266b619adf59bf5e5d346b0405062)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously if BUILD_REPRODUCIBLE_BINARIES was set to 0, the system would
fall back and select the default epoch (April 2011), but still perform
the reproducible build actions. This resulted in binaries that had an
unusually old date.
Simplify the functions and remove the anonymous python as no longer
necessary.
Also improve the documentation to better explain what the class is doing
and how a recipe can override the behavior if necessary.
(From OE-Core rev: 814bedacac9f5c343c9888c0b14649189a84f817)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1976013b026cfba94de32a13e994d92d7e9e39e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This sstate task is only needed when depended upon, it can be skipped
if there are no tasks running that directly depend upon it.
This reduced the number of sstate tasks in something like an image
build.
(From OE-Core rev: 884e44701ada57abe4d8ad9ece424435be25c6a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 601cee016da5c7505915e26641a085714de175ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating packages we build them with --clamp-mtime and use
SOURCE_DATE_EPOCH as the maximum mtime. This makes the end packages
reproducible. The data stored in sstate for do_package and the package
task doesn't benefit from this though and have varying timestamps.
This means their outhash varies and means hash equivalance isn't
effective at all and doesn't work as intended/desired.
We could create the sstate archives with the same clamping however
that would lead to different results depending on whether a task was
installed from sstate or not. Making that differ is a path to madness.
It also wouldn't fix the outhash of the task to be determninistic
without clamping of the date in the hash calculation code.
Instead, iterate over the files in sstate output and clamp them at
the code level. This isn't ideal but does make the file timestamps
determnistic everywhere and means we don't have to change the hash
calculation code.
This issue can be clearly seen looking at the do_package outhash for
a recipe which you then re-run the package task for after adding
something like whitespace to the install task. The outhash shouldn't
change but currently does.
(From OE-Core rev: 06b8f2a5a24be1a87f0eaf29fdba719ebe3bb06e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c3b3cc4745811b48b9193f83889946b2e1788932)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch is a fixup for 676757f "sstate: fix touching files inside pseudo"
running the 'id' command inside the sstate_unpack_package
function shows that this funcion run inside the pseudo:
uid=0(root) gid=0(root) groups=0(root)
The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ]
will always return true and the touch can fail when the real user
don't have permission or in readonly filesystem.
As the documentation refers:
- the file test operator "-w" check if the file has write permission
(for the user running the test).
- the file test operator "-O" check if you are owner of file
We can avoid this test running the touch and mask any return errors
that we have.
(From OE-Core rev: 29fc85997ade490ae46ffca37ef8e1a56957c876)
(From OE-Core rev: e7d94a9cc5ab1b2c5d160fd06d643a4bc3409d26)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b9210d66c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At the last nas outage, we realised that we don't have good mirrors of the
uninative tarball if our main system can't be accessed. kernel.org mirrors
some Yocto Project data so we've ensured uninative is there. Add the appropriate
mirror url to make use of that.
(From OE-Core rev: ebeb1458c7f24cd97978beb7cddf814cae43c6a2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update piglit to latest git revision and update the branch name,
since the original one is no longer updated. Make sure the VK
tests are only enabled if VK is also enabled in PACKAGECONFIG,
and that this is opt-in, otherwise older systems fail to build.
Cherry picked from squashed commits:
eb3a8d4c7b ("piglit: upgrade to latest revision")
a27b06f73a ("piglit: upgrade to latest revision")
bb091bc0be ("piglit: upgrade to latest revision")
394746d1cb ("piglit: upgrade to latest revision")
5aec8cff94 ("piglit: upgrade to latest revision")
fc4c82773d ("piglit: fix reproducibility")
6fbec0f12a ("piglit: update to latest revision")
8d23a0d498 ("piglit: upgrade to latest revision")
5144d515fe ("piglit: upgrade to latest revision")
dd085bd577 ("piglit: upgrade to latest revision")
9ba6df1b2c ("piglit: upgrade to latest revision")
1ccd71eb3e ("piglit: upgrade to latest revision")
(From OE-Core rev: 65aa83e25059b29563a45eacdad8178bc7a07fe4)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Anuj Mittal <anuj.mittal@intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find
command in the libtool removal code when built with LFS compile flags on Gentoo.
(From OE-Core rev: c87d2dd8ec10d8164b0bff4307ea66f41b3360d4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pulls in:
pseudo_db: Flush DB if there is a shutdown request
fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix)
(From OE-Core rev: 649333a0d1bd5be4d5fb8a494e06686e08d291be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0882095d608ce3abbcc9814517434c21ea549063)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since file-native is ASSUME_PROVIDED magic.mgc is not being staged. As
a result diffoscope-native is failing with:
magic.MagicException: b'could not find any valid magic files!
Fix this by adding dependency on file-replacement-native
(From OE-Core rev: dcd8294f826f6e061cdd01c6c3594789ed46732e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the missing rdepends to fix below error:
# python3
[snip]
>>> import magic
[snip]
ModuleNotFoundError: No module named 'ctypes'
ModuleNotFoundError: No module named 'tempfile'
(From OE-Core rev: ba5562d34653fa6b5819dbc8ca80a42167c38c96)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 115791844124bdddfbaec9d75bb887ef35c41f20)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffoscope changed the --exclude-directory-metadata option to require an
argument.
Add a test to validate that diffoscope is functioning as
expected to ensure that future upgrades do not unintentionally break
the reproducibility tests.
[YOCTO #14025]
(From OE-Core rev: a1087756221b8fcfe9c6903e678920f96e12292e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea8fbcb7978ce48d7a9a83143d09402329535f86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had an issue where a webserver serving sstate had filesystem issues so
would accept connections but effectively not do anything with them. This
causes bitbake to hang whilst processing things like sstate objects inside
the checkstatus() calls. It can be replicated by setting up a server like:
socat -u TCP4-LISTEN:NNN,fork OPEN:/dev/null
and pointing SSTATE_MIRRORS in OE at that address.
Adding a timeout to the checkstatus calls of 30s means that whilst the
system will pause, it will then continue and not hang entirely. Since there
isn't a large transfer here, 30s should be a reasonable response time after
which we should fall back to building things ourselves.
[YOCTO #13716]
(Bitbake rev: c0348de8121c3a842bf44906f7e2f79e93f7275b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following the scripted conversion adding branches to git://
SRC_URI entries, add the remaining references, mainly in the selftests
and recipetool.
(From OE-Core rev: 38fc0807eea14dc12610da4ba73c082d5a4b0744)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script handles two emerging issues:
1. There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
(From OE-Core rev: 904bdbab712e2f3c332c4d85d08ed83c957e249f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vcs.pcre.org was a redirect to github which we use for subversion testing.
With the protocol changes at github and the removal of the redirect, use a
direct address for github.
(Bitbake rev: fa471399d41efdf61e95e0be541b45f0621756f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6230ca71eb7eb2a6db162e28a01727d00af5299b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix:
lib/bb/tests/fetch.py:1288: DeprecationWarning: invalid escape sequence
for several lines of the fetch tests.
(Bitbake rev: bd8883d756328ca4c8f6bf97f77e17133a6bfb45)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9d84fd557a3fcbae2cdd70b24e69325ad737a01e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
github is dropping support for git protocol in Git urls. Add code to remap
this to https in a way that could be used in older bitbake versions.
(Bitbake rev: c222eddcebe892ae209aea7776cfc1147ac1df6e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: new firmware files, copyright years, file names
(From OE-Core rev: f0d69f801d37ddb9bb82b2b5178f31538e5690cd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bfceaba4f38771047dfdfdfdbf16b794006dfd78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changed the following line from:
[drm] Cannot find any crtc or sizes - going 1024x768 > [drm] Cannot find any crtc or sizes
This will expand the coverage of the failure to also cover the case when fallback size is not set.
(From OE-Core rev: 058f720448a79ada94671bfd93e77a4f0003382c)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0569fa735458512d6e15aa3315218ecbdf8510a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The controller module loading code needs to be told what directories
to search for modules via the target_modules_path keyword argument, which
is set to BBPATH.
However, as the actual module loading is done via importlib this relies
on the paths being on sys.path, which it is as base.bbclass puts each
layer's lib/ in sys.path.
Simplify the code by removing this indirection, and simply search
sys.path directly.
(From OE-Core rev: f2736f9a1156e23efbb20ea44a4aa81775ccbeba)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 570a19581f582f77e04d6892adb647cd649a6943)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sstate has been sufficiently invalidated since this change was made, drop
the workaround now.
(From OE-Core rev: 81b602eaab686fa5a523c023285f8ffd7050888d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a497d8f30f21bafc78d0f22f3442a9cc99544cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the function a ThreadedWorker is executing raises an exception, don't
use print() as that mostly disappears. Instead, output it to the logger.
This is done using bb.mainlogger.debug directly instead of bb.debug() as
this allows us to pass the exception instance directly, which is then
incorporated into the log stream.
(From OE-Core rev: 3bad17c8cf58b2bfc36a1de754fa47fb344bd5d8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f1ea25c222b344dd8b784b2bc73a6540ab30274)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant. We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.
(From OE-Core rev: d91fe6ecb9fbb410b3bab6ced66b7fe5f869cf83)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 875a944392a3c93f40081a14af357f70b6b8264f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since Python 3.8 visit_Num(), visit_Str() and so on are all deprecated
and replaced with visit_Constant. We can't yet remove the deprecated
functions until we require 3.8, but we can implement visit_Constant to
silence the deprecation warnings.
(From OE-Core rev: 18f10a51387cdee7c7058a3cb3f7c8c24c57c36a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit abc93390a3f19bc4cc159c5690a478b9e2270906)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If gpg is used, it will find the first gpg agent in the path, this
may lead to issues where gpg comes from the host, and the agent
comes from a gnupg-native due to package signing. The versions
being out of sync causes gpg to fail.
(From OE-Core rev: f9649bca64771e845a74475b621a3c91ca0a6901)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b59fb9d52a405a32a1d069d4c5320b72fbd35ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Exceptions print more clearly using repr() instead of str(), fix
in fetch and unpack tasks.
Drop part of the test which no longer makes sense after this change.
(From OE-Core rev: 045124ce7ef7c53a1932848835f93abbe535f157)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c94816259cc1c09746353ad26ca0c811e0c962c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code pattern isn't very pythonic, improve it to drop the unneeded
len() calls.
(From OE-Core rev: e0cecf7b4a4b966f11527a88e632997bdf74af96)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69376ac1a6147b26fe1abaa4cf68414024814d63)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If checkstatus returns an exception we should silently handle
FetchError, as this means the fetch failed for 'normal' reasons such as
file not found. However, other exceptions may be raised, and these
should be made visible.
(From OE-Core rev: f16803718a19ace7b582c5b73924fe3112502927)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50d99faf88a1d82cbd939b9bd6e33ebed2b1ffd8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a recipe applies patches which are in machine-specific override
directories, devtool will fail to fetch the patches that don't match the
default configuration. For example where there are patches at
qemux86/x86.patch and qemuarm/arm.patch:
SRC_URI = "file://source"
SRC_URI_append_qemuarm = " file://arm.patch"
SRC_URI_append_qemux86 = " file://x86.patch"
The patch apply phase sets OVERRIDES but does not set FILESOVERRIDES, so
it cannot find the patch files as the search path isn't correct. Fix
this by setting FILESOVERRIDES too.
Also when iterating through the overrides we need to be sure that other
overrides that are used are not enabled, so extend no_overrides instead of
simply appending the current override.
Fixes most but not all of [ YOCTO #14060 ].
(From OE-Core rev: a372cdf8e175423c47faeecc98ad076ee26bbec8)
(From OE-Core rev: b20699229671ef37daac8b0ed1133aacb477f6a0)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a35bcc9d1)
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
running the 'id' command inside the sstate_create_package
function shows that this funcion run inside the pseudo:
uid=0(root) gid=0(root) groups=0(root)
The check for touch files [ ! -w ${SSTATE_PKG} ]
will always return true and the touch can fail
when the real user don't have permission or
in readonly filesystem.
As the documentation refers, the file test operator "-w"
check if the file has write permission (for the user running the test).
We can avoid this test running the touch and mask any return errors
that we have.
(From OE-Core rev: 590de1dd89cfd5f0ca7395880ba88b27ee35470d)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6e7445c94443544e92fda97a017ce93393c5f84)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vim is vulnerable to Use After Free
Problem: Checking first character of url twice.
reference:
35a9a00afc
(From OE-Core rev: 53ce5f292fd8d65fd89c977364ea6f7d813c7566)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following packages where needed to a fresh FC33 install
perl-FindBin
perl-File-Compare
perl-File-Copy
perl-locale
Error seen:
openssl-native-1.1.1g-r0 do_configure: Execution of '/{snipped}/build/tmp-glibc/work/x86_64-linux/openssl-native/1.1.1g-r0/temp/run.do_configure.14627' failed with exit code 2:
Can't locate FindBin.pm in @INC (you may need to install the FindBin module)
[YOCTO #14188]
(From yocto-docs rev: 6e287138eaf1e20ac09bdc31fc91b3fe0fabe3ff)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
(cherry picked from commit 5b4127dd72a465ff8c962c425e78140ca8e536db)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If an existing source date epoch file was found during do_unpack, it was
deleted and a new one would be written in its place. This causes a race
with check-before-use code in get_source_date_epoch_value. Resolve the
problem by making do_unpack write the new source date epoch to a
temporary file, then do an atomic rename to ensure it's always present,
and change the check-before-use code to use a EAFP exception instead of
checking for file existence.
[YOCTO #14384]
(From OE-Core rev: b98d37da1554f524bd5b16287731d7b34945e92d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b5e3b33187bf78a2d62cc886463e4b27d6bd228)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SOURCE_DATE_EPOCH can be expanded early in the parsing process before
the class extensions are applied. This can mean the directory pointed
to for the SDE can be incorrect until later in parsing. Cache the file
name in the cached value and allow it to dynamically update.
This isn't ideal but avoding expansion of the variable likely isn't
possible and I'm not sure how else to handle this. This works around
the issue until a better solution can be found.
(From OE-Core rev: 257eb2ee73831afe84600235c967cbb4c2627e26)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 44dc97cd1223e4d2b635669627ec5f796838d42d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On an aarch64 build host, vendor is found to be "unknown", on x86 systems
it is "pc". This filters through to the PLATFORM tag in target rpms.
We saw reproducibility test failures where the PLATFORM tags in noarch
rpms were changing depending upon which host built them. Forcing the
vendor value to a consistent one makes things deterministic.
(From OE-Core rev: b7dfe230b9b40145f43fa0bd42be82ae41a3ef3e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6434075b2bdfc23c683d22281b674b1e6abde77)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds a patch to glibc which allows it to work with Docker and
clone3 syscall issues cased by EPERM vs ENOSYS.
(From OE-Core rev: 2b01964e7eb535de374e840ae7d853cdea934c0d)
(From OE-Core rev: 62cdc20a2186ecd54d3a7131ec8f6937aa0229ed)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 06d55ee67ef81a9f9da178b06bb797cc62881643)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After recent updates to the autobuilder tumbleweed workers there are tests where the client and
server fail to agree on a public key algorithm for host authentication:
DEBUG: [Running]$ ssh -l root -o PubkeyAcceptedKeyTypes=+ssh-rsa -o UserKnownHostsFile=/dev/null
-o StrictHostKeyChecking=no -o LogLevel=VERBOSE 192.168.7.6 export PATH=/usr/sbin:/sbin:/usr/bin:/bin; uname -a
DEBUG: time: 1634578090.4632802, endtime: 1634578390.4592378
DEBUG: Partial data from SSH call: Unable to negotiate with 192.168.7.6 port 22: no matching host key type found. Their offer: ssh-rsa
This appears to be an issue with recent versions of shh. Add -o HostKeyAlgorithms=+ssh-rsa to
command invocation as suggested at:
http://www.openssh.com/legacy.html
(From OE-Core rev: 5fc4f7896fb7af94cd0eeb6370128c861193a6ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a fix for reproducibility issues where pyc files for python-config.py
may not always be generated.
(From OE-Core rev: 917f800368c6d452670d3ccf74057afae98013b0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1c3a87c48b598b6e5624d0affe8bd89320631bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.
(From OE-Core rev: 8fc9963d70247d243c8fc5597d68d88a1757f2fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3fe5101b335384ef83e96ccc58687fd631164075)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.
(From OE-Core rev: e570efa43d5655afa041bd4ab52fec2de2216e4d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1bc5378db760963e2ad46542f2907dd6a592eb66)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When reproducible builds are enabled and externalsrc is in use, the
source date epoch function is added. The conditions on the conditional
code removing the unpack task need to match the deltask function, else
the source date epoch function can end up running twice and the functions
can race with each other causing build failures or corruption.
(From OE-Core rev: e30c2be8b9534a8dbec5520b41a00c6dc8aa65a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e82095c02881410035ca23dc12692f074d8ed39b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Externalsrc removes do_fetch, do_unpack, and do_patch. The system normally
discovers the correct reproducible date as a postfuncs of do_unpack, so this
date is never found, so it falls back to the default epoch.
Instead we can move the discovery function to a prefuncs on the epoch
deploy task. This task will run before do_configure, and since the source
is already available can run safely at anytime.
(From OE-Core rev: badef50c6c9821f1975483de0ba50a75f2eda52c)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0b7dd711a54e92ce54abe99f59fc67e683d52dfe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Writing an expanded version of $HOME into the wrapper script breaks
reproducibility. We don't need this here so don't.
(From OE-Core rev: 419205da83190fee53861251a03f01736a500e16)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5df092524e93cd7d0eaa633ec8a5689d4c0d018d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hostname removal from the script is useful to make libtool-cross
reproduce. Apply the patch everywhere as it doesn't cause any issues.
(From OE-Core rev: f1cc4b8d7503331f04d3f217ae67d0fd4cc483c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c61c6f20187154d677085fc9ccdcd762d4cdf3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If lto is enabled, we need the prefix-map variables to be passed to the linker.
Add these to the list of options libtool passes through.
(From OE-Core rev: 3dcc84e37ce7e94e746304ee2a4437251af0ae41)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c26d2c00b47df856fb2d9c35486b135094d46ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sort the list of files to ensure the pkgdata output is deterministic.
(From OE-Core rev: c6a5c4a72de7590b4ac8f5e1bd4c1e83567ef468)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a55194f90e11da5671b24391a4aaf2b86a8e1e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set a path to where sendmail would exist making the output deterministic
as it no longer depends on the build host and the presense of sendmail
there.
(From OE-Core rev: a8ec8c9eaed898c3cc719efd87a2f4296c6304a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 32e03a430f13960fe07f08c04eaa58017d977f6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a sort to ensure the package dependency output is determnistic.
(From OE-Core rev: 422ce20c7d3089c25593210b1e8a9dec99fb9965)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 693e8d0dfe0b475bc233ccc1ad7674d39de346ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the pkgconfig pclist files contain full paths which are build
host specific and the order of entries is not deterministic.
Fix both these issues so the files are deterministic.
(From OE-Core rev: 00615c9edb8b9b644e853453603846eddfff2054)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e422e29bca4af3ab4073e04490f38b05cd7c38c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With glibc 2.34, the libraries were renamed. Tweak the glob to support both
as this is needed for newer uninative versions.
[RP: tweak commit message]
(From OE-Core rev: effa24ebf216687c97b9edc5d2ac4a74ff430f4c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98248306e4b5f023e96375293b60524574ebb686)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [df313aa810 pseudo: Fix to work with glibc 2.34
systems] applied, it fixed native only. And nativesdk has
the similar issue
Tweak library search order, make prebuilt lib ahead of recipe lib,
after apply the fix:
...
$ readelf -a lib/pseudo/lib64/libpseudo.so | grep 'Shared library'
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library:[libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
...
(From OE-Core rev: b7d269c84838f646b2915e7ff66d81db0bc16b9e)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d6d116b5db78645958ea30be3d0572e0f6d7bd92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull in the following changes:
* ports/linux/guts: Add closefrom support for glibc 2.34
* pseudo_client: Make msg static in pseudo_op_client
* ports/linux/guts: Add close_range wrapper for glibc 2.34
* pseudo_client: Do not pass null argument to pseudo_diag()
* test-openat: Consider device as well as inode number
* test: Add missing test-statx test case
* fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ
(From OE-Core rev: 63afcafef78f3d3b95c0d0c9746f9d627b6291c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71b549924a7fa7973a8e03e11f3db45fdc29889d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The merge of libdl into libc in glibc 2.34 causes problems for pseudo. Add a fix
that works around this issue.
(From OE-Core rev: 449bb53b3ebfc838ba674c1c3a39407620103c8d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd3e46a043c81cd4d81731a0f691868d3c059742)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
raw.h has been dropped in linux-libc-headers-5.14 leading to:
configure: error: raw selected, but required raw.h header file not available
WARNING: exit code 1 from a shell command.
(From OE-Core rev: 7c2de7211d8c8790851a87d949d29c6e0e140dc2)
Signed-off-by: MarkusVolk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f577c10913104860121f682b9b3754870c4db23)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building GCC with multiple make jobs appears to trigger a race condition. The build fails with:
/bin/bash: TOPDIR/tmp/work/x86_64-linux/gcc-cross-i686/9.3.0-r0/gcc-9.3.0/build.x86_64-linux.i686-poky-linux/./gcc/xgcc: No such file or directory
(From OE-Core rev: 5690d18bb6a9a61a81ccd0bc28d1ace4181d1921)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on d22d87b9c4ac85ffb3506e2acaf2a8a627f55e8e, but kept idn2
as default.
(From OE-Core rev: c912cd493f02458d22c78791fc3175f613b8108e)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are situations when the user have the 'patchdir' defined
as a parameter on SRC_URI. However he doesn't know that with this
the patch is applied relatively to the receipe source dir 'S'.
- When user have 'patchdir' defined check if this directory exist.
- If the patch fails show addition info to the user:
- Import: show the striplevel
- Resolver: show the expanded 'patchdir' to the user.
The next example is from opencv in meta-oe layer, here the
patch is applied on the target directory ${WORKDIR}/git/contrib.
S = "${WORKDIR}/git"
SRCREV_FORMAT = "opencv_contrib"
SRC_URI = "git://github.com/opencv/opencv.git;name=opencv \
git://github.com/opencv/opencv_contrib.git;destsuffix=contrib;name=contrib \
file://0001-sfm-link-with-Glog_LIBS.patch;patchdir=../contrib \
"
* When the patch fail there are no message that indicates the real reason.
patchdir=../no-found-on-file-system
ERROR: opencv-4.5.2-r0 do_patch: Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
* The check of the patchdir will add a new fatal error
when the user specifies a wrong path than don't exist.
patchdir=../no-found-on-file-system
ERROR: opencv-4.5.2-r0 do_patch: Target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../no-found-on-file-system' not found, patchdir '../no-found-on-file-system' is incorrect in patch file '0001-sfm-link-with-Glog_LIBS.patch'
* When we can't aplly the patch but the patchdir exist,
show the expanded patchdir on fatal error.
patchdir=../git
ERROR: opencv-4.5.2-r0 do_patch: Applying patch '0001-sfm-link-with-Glog_LIBS.patch' on target directory '/build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/git/../git'
Command Error: 'quilt --quiltrc /build/tmp/work/core2-64-poky-linux/opencv/4.5.2-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch 0001-sfm-link-with-Glog_LIBS.patch
can't find file to patch at input line 37
Perhaps you used the wrong -p or --strip option?
(From OE-Core rev: af46b360b364f6b50cd389d838dc5dd3099ecc41)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c44bc7c0fb8b7c2e44dd93607a3bfd9733e1df80)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently a number of CVEs have been logged against a nodejs project
called "node-tar". These appear as false positives against the GNU tar
being built by Yocto. Some of these have been manually excluded using
CVE_CHECK_WHITELIST.
To avoid this problem, use the vendor name (in addition to package name)
for filtering CVEs. The syntax for this is:
CVE_PRODUCT = "vendor:package"
When not specified, the vendor defaults to "%" which matches anything.
(From OE-Core rev: 4d0ad4962bd3c69800f70770dc9123a694e16c26)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 45d1a0bea0c628f84a00d641a4d323491988106f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rngd needs to start after `systemd-udev-settle` in order for the kernel
modules of the random source hardware to be loaded before it is started.
However, since the `rngd.service` does not require or want
`systemd-udev-settle.service` it might not be scheduled for start and
the `After=systemd-udev-settle.service` there has no effect.
Adding `Wants=systemd-udev-settle.service` provides a weak requirement
to it, so that the `rngd` is started after it, if possible.
(From OE-Core rev: 006b5221ed6dac9964f49a03a55de2e847118dc1)
Signed-off-by: Claudius Heine <ch@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9715d4234eb7b45dee8b323799014646f0a1b07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a check before deleting path when using recipetool commands to avoid the following type of errors:
Traceback (most recent call last):
File "<workdir>/sources/core/scripts/lib/scriptutils.py", line 218, in fetch_url
shutil.rmtree(path)
File "/usr/local/lib/python3.7/shutil.py", line 476, in rmtree
onerror(os.lstat, path, sys.exc_info())
File "/usr/local/lib/python3.7/shutil.py", line 474, in rmtree
orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '<workdir>/build/tmp/work/recipetool-usg7o81n/work/recipe-sysroot'
ERROR: Command 'script -e -q -c "recipetool --color=always create --devtool -o /tmp/devtool5sq_op37 'file:///<SRCTREE>' -x <workdir>/build/workspace/sources/devtoolsrcxc1b9zjq -N test" /dev/null' failed
(From OE-Core rev: a21d3d8f6da9fbb71f484343244cc3a63a346337)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b6aa8b47e023004ffd6958d1cec18c2d9c95d77b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autobuilder.yoctoproject.org URLS no longer work. Update them to a
working location.
(From OE-Core rev: 8809209c95fa185c29d11dcfc4e69cfe0efabd92)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56f7bac1f0d1ced41e6908706be27149aa7b87e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Multilib changes RECIPE_SYSROOT which can make the value in PSEUDO_IGNORE_PATHS
incorrect. Add the correct value, which fixes races over files in the sysroot.
[YOCTO #14581]
(From OE-Core rev: 771c7fe5fff266038954873290f4c785f66c1634)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64003e5e1b51c0cd561681b1ac13293546b8182b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using systemd notify fixes the problem with dependency chain in case
if other services depend on running weston.
This change required more robust handling of weston modules arguments
due to custom argument parser impmentation in weston (only last
--modules argument is accepted) and fixes the bug in modules handling
in the weston-start script (only last argument is actually parsed by
weston). Master branch implements systemd-notify thus backport but
doesn't utilize modules anymore so this change is mostly dunfell
specific.
Upstream-status: Backport
(From OE-Core rev: 4efdcc10906945765aa28324ce1badc59cda2976)
Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch
removed since it is included in 1.45.7
(From OE-Core rev: d4ec2802306b901d00bc88ea1452c21c00d0914f)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f51835e022731d1c0e8e18209e48f1a718048977)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports, and also 0001-misc-create_inode.c-set-dir-s-mode-correctly.patch
as upstream code has been refactored.
(From OE-Core rev: 53947537ed5ab5f9fd213a6fb4295740b5a2ca6b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da9fec8592db913d13af3a936ab518e93496be3e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
3a7dc5b4cfbd Linux 5.4.150
27f8c4402c4a qnx4: work around gcc false positive warning bug
3a0f951e3725 xen/balloon: fix balloon kthread freezing
f80b6793811d arm64: dts: marvell: armada-37xx: Extend PCIe MEM space
04783de9c0f3 thermal/drivers/int340x: Do not set a wrong tcc offset on resume
de1c3506806d EDAC/synopsys: Fix wrong value type assignment for edac_mode
8ede848bc99e spi: Fix tegra20 build with CONFIG_PM=n
d193f7dbf4ec net: 6pack: Fix tx timeout and slot time
fa56f2c987c7 alpha: Declare virt_to_phys and virt_to_bus parameter as pointer to volatile
af4a142ab798 arm64: Mark __stack_chk_guard as __ro_after_init
aeb19da46c7d parisc: Use absolute_pointer() to define PAGE0
8cd34eb616d9 qnx4: avoid stringop-overread errors
1214ace61402 sparc: avoid stringop-overread errors
113a8edfb9c9 net: i825xx: Use absolute_pointer for memcpy from fixed memory location
2397ea2db22b compiler.h: Introduce absolute_pointer macro
d12ddd843f18 blk-cgroup: fix UAF by grabbing blkcg lock before destroying blkg pd
9d7798823264 sparc32: page align size in arch_dma_alloc
ec49f3f7f669 nvme-multipath: fix ANA state updates when a namespace is not present
29917bbb07c3 xen/balloon: use a kernel thread instead a workqueue
93937596e065 bpf: Add oversize check before call kvcalloc()
7273cb182f13 ipv6: delay fib6_sernum increase in fib6_add
7432ecc55fe9 m68k: Double cast io functions to unsigned long
29c70b0d335a net: stmmac: allow CSR clock of 300MHz
1da750d1e214 net: macb: fix use after free on rmmod
ebb8d26d93c3 blktrace: Fix uaf in blk_trace access after removing by sysfs
2b5befcd4045 md: fix a lock order reversal in md_alloc
42d3711c2378 irqchip/gic-v3-its: Fix potential VPE leak on error
71f323f60592 irqchip/goldfish-pic: Select GENERIC_IRQ_CHIP to fix build
1b59625da697 scsi: lpfc: Use correct scnprintf() limit
30d373dc3501 scsi: qla2xxx: Restore initiator in dual mode
d140ccb140c2 cifs: fix a sign extension bug
1c1062c5cf21 thermal/core: Potential buffer overflow in thermal_build_list_of_policies()
b869901caba4 fpga: machxo2-spi: Fix missing error code in machxo2_write_complete()
0ebc3e688f54 fpga: machxo2-spi: Return an error on failure
5bcead7cde68 tty: synclink_gt: rename a conflicting function name
c5f27aedf6bb tty: synclink_gt, drop unneeded forward declarations
1deb94d37a7e scsi: iscsi: Adjust iface sysfs attr detection
d0f4a2eeebbe net/mlx4_en: Don't allow aRFS for encapsulated packets
ae7b957ef003 qed: rdma - don't wait for resources under hw error recovery flow
23716d7153fc gpio: uniphier: Fix void functions to remove return value
f7fb7dbdfb25 net/smc: add missing error check in smc_clc_prfx_set()
363438ed5de0 bnxt_en: Fix TX timeout when TX ring size is set to the smallest
4c4c3052911b enetc: Fix illegal access when reading affinity_hint
cf9138c966dd platform/x86/intel: punit_ipc: Drop wrong use of ACPI_PTR()
a8e8b1481930 afs: Fix incorrect triggering of sillyrename on 3rd-party invalidation
acce91ba0d9f net: hso: fix muxed tty registration
494260e20ac2 serial: mvebu-uart: fix driver's tx_empty callback
2d7c20db7220 xhci: Set HCD flag to defer primary roothub registration
381c8ce0abc0 btrfs: prevent __btrfs_dump_space_info() to underflow its free space
d4ec140e7158 erofs: fix up erofs_lookup tracepoint
7751f609eadf mcb: fix error handling in mcb_alloc_bus()
406ff5bf727d USB: serial: option: add device id for Foxconn T99W265
4b2cf0faffce USB: serial: option: remove duplicate USB device ID
59564b0183cb USB: serial: option: add Telit LN920 compositions
5cc674a3f18e USB: serial: mos7840: remove duplicated 0xac24 device ID
20c9fdde30fb usb: core: hcd: Add support for deferring roothub registration
a6c7d3c2d127 Re-enable UAS for LaCie Rugged USB3-FW with fk quirk
4dc56951a8d9 staging: greybus: uart: fix tty use after free
aa2c274c279f binder: make sure fd closes complete
93fa08e9a32f USB: cdc-acm: fix minor-number release
0dc1cfa7b907 USB: serial: cp210x: add ID for GW Instek GDM-834x Digital Multimeter
85d3493085ab usb-storage: Add quirk for ScanLogic SL11R-IDE older than 2.6c
d4e7647695c9 xen/x86: fix PV trap handling on secondary processors
8b06b0f17f35 cifs: fix incorrect check for null pointer in header_assemble
b1f6efa27b24 usb: musb: tusb6010: uninitialized data in tusb_fifo_write_unaligned()
b8c806065160 usb: dwc2: gadget: Fix ISOC transfer complete handling for DDMA
ff275c870e1b usb: dwc2: gadget: Fix ISOC flow for BDMA and Slave
f013a5001b4a usb: gadget: r8a66597: fix a loop in set_feature()
aa40438c7174 ocfs2: drop acl cache for directories too
(From OE-Core rev: 79a17b6c323e8fcf40afa48b63091855084e1a86)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e74e2950a0d6 Linux 5.4.149
382526348612 drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV
409cb0b3d45a rtc: rx8010: select REGMAP_I2C
43832bf76363 blk-throttle: fix UAF by deleteing timer in blk_throtl_exit()
c37a34d7975f pwm: stm32-lp: Don't modify HW state in .remove() callback
8a29e68ea8e8 pwm: rockchip: Don't modify HW state in .remove() callback
ed60d2db3171 pwm: img: Don't modify HW state in .remove() callback
b16f4acf6b65 nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group
594addd4369e nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
237ca37ca5ac nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group
288c8b5ba52d nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group
dc70f0c8c3de nilfs2: fix NULL pointer in nilfs_##name##_attr_release
9c3ba404881d nilfs2: fix memory leak in nilfs_sysfs_create_device_group
fb4c7d2923de btrfs: fix lockdep warning while mounting sprout fs
3f2d5c11bef8 ceph: lockdep annotations for try_nonblocking_invalidate
3bbb11261a75 ceph: request Fw caps before updating the mtime in ceph_write_iter
2c89a856fa49 dmaengine: xilinx_dma: Set DMA mask for coherent APIs
2f3206199dc9 dmaengine: ioat: depends on !UML
644f1e87fe73 dmaengine: sprd: Add missing MODULE_DEVICE_TABLE
445a3379f6df parisc: Move pci_dev_is_behind_card_dino to where it is used
2f7bfc07e386 drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
a12743d07249 thermal/core: Fix thermal_cooling_device_register() prototype
c7b9a866ee25 Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH
3c1d9b650c08 net: stmmac: reset Tx desc base address before restarting Tx
729f9d5ee374 phy: avoid unnecessary link-up delay in polling mode
81e6b51709da pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered
b94def8a475f profiling: fix shift-out-of-bounds bugs
7e98111cb28e nilfs2: use refcount_dec_and_lock() to fix potential UAF
5607b1bae1c8 prctl: allow to setup brk for et_dyn executables
b40301607ca8 9p/trans_virtio: Remove sysfs file on probe failure
c3b45ea0a3c8 thermal/drivers/exynos: Fix an error code in exynos_tmu_probe()
e1060803039d dmaengine: acpi: Avoid comparison GSI with Linux vIRQ
93f8a98ad89c um: virtio_uml: fix memory leak on init failures
4cd05e390a3b staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb()
2f4b67bceb09 sctp: add param size validation for SCTP_PARAM_SET_PRIMARY
cbd10b118902 sctp: validate chunk size in __rcv_asconf_lookup
6a12918e9065 ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE
2f7974cd7b12 ARM: 9079/1: ftrace: Add MODULE_PLTS support
1b27a03d1292 ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link()
490be340c86c ARM: 9077/1: PLT: Move struct plt_entries definition to header
278df0646003 apparmor: remove duplicate macro list_entry_is_head()
f23763ab464f ARM: Qualify enabling of swiotlb_init()
6bfdc3056ca8 s390/pci_mmio: fully validate the VMA before calling follow_pte()
bd292c687390 console: consume APC, DM, DCS
b0c813fbbf75 KVM: remember position in kvm->vcpus array
5163578e9d0b PCI/ACPI: Add Ampere Altra SOC MCFG quirk
ec29e33e5cba PCI: aardvark: Fix reporting CRS value
3f0e275e43f6 PCI: pci-bridge-emul: Add PCIe Root Capabilities Register
296895c4f0c8 PCI: aardvark: Indicate error in 'val' when config read fails
2fcb7b7a1d20 PCI: pci-bridge-emul: Fix big-endian support
07e5f23d3fa6 Linux 5.4.148
54ac8339ae99 s390/bpf: Fix 64-bit subtraction of the -0x80000000 constant
a5fc48000b0e s390/bpf: Fix optimizing out zero-extensions
f7f1bac8983f net: renesas: sh_eth: Fix freeing wrong tx descriptor
3d32ce5472bb ip_gre: validate csum_start only on pull
f9b308f7302e qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom
93f54354ccc8 fq_codel: reject silly quantum parameters
d448b240b175 netfilter: socket: icmp6: fix use-after-scope
b79204169de5 net: dsa: b53: Fix calculating number of switch ports
d5c0f016ae85 perf unwind: Do not overwrite FEATURE_CHECK_LDFLAGS-libunwind-{x86,aarch64}
114bf5776f56 ARC: export clear_user_page() for modules
9b63c27d6b70 mtd: rawnand: cafe: Fix a resource leak in the error handling path of 'cafe_nand_probe()'
14e0fdc43ddf PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n
810f9b6f0a40 KVM: arm64: Handle PSCI resets before userspace touches vCPU state
5f289dcf0b02 mfd: tqmx86: Clear GPIO IRQ resource when no IRQ is set
e1746c27c373 PCI: Fix pci_dev_str_match_path() alloc while atomic bug
beaf65f0fe0c mfd: axp20x: Update AXP288 volatile ranges
4a6c7c818bcb NTB: perf: Fix an error code in perf_setup_inbuf()
5a1614194963 NTB: Fix an error code in ntb_msit_probe()
098069796940 ethtool: Fix an error code in cxgb2.c
f336aa92b431 PCI: ibmphp: Fix double unmap of io_mem
0f9550c4f40d block, bfq: honor already-setup queue merges
b61a99dda392 net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920
79b584d85912 Set fc_nlinfo in nh_create_ipv4, nh_create_ipv6
cf4168c4e0ec PCI: Add ACS quirks for Cavium multi-function devices
b3435cd96848 tracing/probes: Reject events which have the same name of existing one
32280649f044 mfd: Don't use irq_create_mapping() to resolve a mapping
e904621ae0b7 fuse: fix use after free in fuse_read_interrupt()
a1eaaa6b7d88 PCI: Add ACS quirks for NXP LX2xx0 and LX2xx2 platforms
47c4490617d1 mfd: db8500-prcmu: Adjust map to reality
88834a62539f dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation
86565668215f mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range()
d291cca2c4f7 net: hns3: fix the timing issue of VF clearing interrupt sources
65bcb8f73ae3 net: hns3: disable mac in flr process
d8fe64c3511e net: hns3: change affinity_mask to numa node range
dede0381da0b net: hns3: pad the short tunnel frame before sending to hardware
4bf2c9605dff KVM: PPC: Book3S HV: Tolerate treclaim. in fake-suspend mode changing registers
235f782d5e3b ibmvnic: check failover_pending in login response
d3939844ebdc dt-bindings: arm: Fix Toradex compatible typo
c642afd17ab5 qed: Handle management FW error
9ebbb8b964f5 tcp: fix tp->undo_retrans accounting in tcp_sacktag_one()
baf450477143 net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setup
498e765b8595 net/af_unix: fix a data-race in unix_dgram_poll
e7332a1ac14e vhost_net: fix OoB on sendmsg() failure.
172749c879f5 events: Reuse value read using READ_ONCE instead of re-reading it
cd78d9c9968f net/mlx5: Fix potential sleeping in atomic context
48e79555c22c net/mlx5: FWTrace, cancel work on alloc pd error flow
4655f8a5afc2 perf machine: Initialize srcline string member in add_location struct
6808e70a77e9 tipc: increase timeout in tipc_sk_enqueue()
678787dcfe92 r6040: Restore MDIO clock frequency after MAC reset
efe35db94897 net/l2tp: Fix reference count leak in l2tp_udp_recv_core
5ab04a4ffed0 dccp: don't duplicate ccid when cloning dccp sock
6c4b7a87ba79 ptp: dp83640: don't define PAGE0
faf9d465425b net-caif: avoid user-triggerable WARN_ON(1)
79ab38864d5e tipc: fix an use-after-free issue in tipc_recvmsg
08f33350ed8a x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
fde4caf6fe4d s390/sclp: fix Secure-IPL facility detection
15b674b1e581 drm/etnaviv: add missing MMU context put when reaping MMU mapping
b2ec1e6f1d6f drm/etnaviv: reference MMU context when setting up hardware state
5827dbac41c7 drm/etnaviv: fix MMU context leak on GPU reset
5e67b3843540 drm/etnaviv: exec and MMU state is lost when resetting the GPU
7068030d5e26 drm/etnaviv: keep MMU context across runtime suspend/resume
a7970d4f0039 drm/etnaviv: stop abusing mmu_context as FE running marker
ee52ccecfe2c drm/etnaviv: put submit prev MMU context when it exists
a9bacefda031 drm/etnaviv: return context from etnaviv_iommu_context_get
b56b6c51a919 drm/amd/amdgpu: Increase HWIP_MAX_INSTANCE to 10
c221eb008a98 PCI: Add AMD GPU multi-function power dependencies
d180a373a014 PM: base: power: don't try to use non-existing RTC for storing data
484fbe9cc0d9 arm64/sve: Use correct size when reinitialising SVE state
2f725420339e bnx2x: Fix enabling network interfaces without VFs
66c88a479357 xen: reset legacy rtc flag for PV domU
c7fab1f53603 btrfs: fix upper limit for max_inline for page size 64K
b9cc70e3dcb4 drm/panfrost: Clamp lock region to Bifrost minimum
9a6c88548935 drm/panfrost: Use u64 for size in lock_region
6c635129bf49 drm/panfrost: Simplify lock_region calculation
825ba38dfd6a drm/amdgpu: Fix BUG_ON assert
d7a936da6389 drm/msi/mdp4: populate priv->kms in mdp4_kms_init
90358cb02a6c net: dsa: lantiq_gswip: fix maximum frame length
c1f12f440c0b lib/test_stackinit: Fix static initializer test
3c232895b835 platform/chrome: cros_ec_proto: Send command again when timeout occurs
0569920e4310 memcg: enable accounting for pids in nested pid namespaces
d0ddb80bbf10 mm,vmscan: fix divide by zero in get_scan_count
22b11dbbf94c mm/hugetlb: initialize hugetlb_usage in mm_init
1dc6df795c9f s390/pv: fix the forcing of the swiotlb
f3b57cf09012 cpufreq: powernv: Fix init_chip_info initialization in numa=off
b5eb54c4a903 scsi: qla2xxx: Sync queue idx with queue_pair_map idx
f499a9e9edde scsi: qla2xxx: Changes to support kdump kernel
cfa459132875 scsi: BusLogic: Fix missing pr_cont() use
a701ae9a0dd6 ovl: fix BUG_ON() in may_delete() when called from ovl_cleanup()
1a2f728b034a parisc: fix crash with signals and alloca
76bebc93e1c9 net: w5100: check return value after calling platform_get_resource()
3179dd79dbcf fix array-index-out-of-bounds in taprio_change
ef9a7867b25f net: fix NULL pointer reference in cipso_v4_doi_free
88a4ed85e80f ath9k: fix sleeping in atomic context
99b950d55e59 ath9k: fix OOB read ar9300_eeprom_restore_internal
5f70ea4a5c84 parport: remove non-zero check on count
c30ea33b03ff net/mlx5: DR, Enable QP retransmission
c9095f788d03 iwlwifi: mvm: fix access to BSS elements
f950996d64df iwlwifi: mvm: avoid static queue number aliasing
2db5ae5b28e7 iwlwifi: mvm: fix a memory leak in iwl_mvm_mac_ctxt_beacon_changed
3da13a1e2a45 drm/amdkfd: Account for SH/SE count when setting up cu masks.
2af60889c88e ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B
98381f840f22 ASoC: rockchip: i2s: Fix regmap_ops hang
a1c7bc02e192 usbip:vhci_hcd USB port can get stuck in the disabled state
4f6095b0c9d5 usbip: give back URBs for unsent unlink requests during cleanup
9a4a6805294f usb: musb: musb_dsps: request_irq() after initializing musb
d24381e5a73b Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set"
aa40cf19bfa9 cifs: fix wrong release in sess_alloc_buffer() failed path
39111cbb7b7c mmc: core: Return correct emmc response in case of ioctl error
26f55b60f22f selftests/bpf: Enlarge select() timeout for test_maps
48f5a5f0276d mmc: rtsx_pci: Fix long reads when clock is prescaled
4e773c5553b2 mmc: sdhci-of-arasan: Check return value of non-void funtions
a73bbfabfe6f of: Don't allow __of_attached_node_sysfs() without CONFIG_SYSFS
2fdf7d38ee86 ASoC: Intel: Skylake: Fix passing loadable flag for module
f6ff4d5609ca ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER
736f60bd4883 btrfs: tree-log: check btrfs_lookup_data_extent return value
53a72858bcae m68knommu: only set CONFIG_ISA_DMA_API for ColdFire sub-arch
3710cff57d3c drm/exynos: Always initialize mapping in exynos_drm_register_dma()
727c973ffe51 lockd: lockd server-side shouldn't set fl_ops
a18cfd715e91 usb: chipidea: host: fix port index underflow and UBSAN complains
8deedce385d2 gfs2: Don't call dlm after protocol is unmounted
50cf8f1b6c39 staging: rts5208: Fix get_ms_information() heap buffer size
8dfd785ae110 rpc: fix gss_svc_init cleanup on failure
0bc818e0231a tcp: enable data-less, empty-cookie SYN with TFO_SERVER_COOKIE_NOT_REQD
2918eca4970a serial: sh-sci: fix break handling for sysrq
d02a1c5fd7d9 opp: Don't print an error if required-opps is missing
d772d993b072 Bluetooth: Fix handling of LE Enhanced Connection Complete
fb8593e8ed36 nvme-tcp: don't check blk_mq_tag_to_rq when receiving pdu data
072660f6c688 arm64: dts: ls1046a: fix eeprom entries
08825a784e56 arm64: tegra: Fix compatible string for Tegra132 CPUs
a6b69a76c347 ARM: tegra: tamonten: Fix UART pad setting
a66049c5ff74 mac80211: Fix monitor MTU limit so that A-MSDUs get through
1e2842fb7ed3 drm/display: fix possible null-pointer dereference in dcn10_set_clock()
cf82fe45bef9 gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()
bbaa21da550d net/mlx5: Fix variable type to match 64bit
0d563020b8a3 Bluetooth: avoid circular locks in sco_sock_connect
37d7ae2b0578 Bluetooth: schedule SCO timeouts with delayed_work
c408efcb8ae6 selftests/bpf: Fix xdp_tx.c prog section name
350e7501eee8 drm/msm: mdp4: drop vblank get/put from prepare/complete_commit
e5450804778a net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe()
ed3400f22b58 arm64: dts: qcom: sdm660: use reg value for memory node
52f8a30730ee ARM: dts: imx53-ppd: Fix ACHC entry
e15afa6747fa media: tegra-cec: Handle errors of clk_prepare_enable()
53d02b04098b media: TDA1997x: fix tda1997x_query_dv_timings() return value
71de2779e52a media: v4l2-dv-timings.c: fix wrong condition in two for-loops
d785cef384f1 media: imx258: Limit the max analogue gain to 480
33bd83fe3ffd media: imx258: Rectify mismatch of VTS value
8d179746b3f3 ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output
37414bd6ec51 arm64: tegra: Fix Tegra194 PCIe EP compatible string
5a24034ad87f bonding: 3ad: fix the concurrency between __bond_release_one() and bond_3ad_state_machine_handler()
b6cee3583930 workqueue: Fix possible memory leaks in wq_numa_init()
9b4f0170e03d Bluetooth: skip invalid hci_sync_conn_complete_evt
7b1718666fb0 ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init()
76cbc142a546 samples: bpf: Fix tracex7 error raised on the missing argument
917eb0bbb8d3 staging: ks7010: Fix the initialization of the 'sleep_status' structure
44fd61a8bd0d serial: 8250_pci: make setup_port() parameters explicitly unsigned
4beadefea857 hvsi: don't panic on tty_register_driver failure
af0bd97b9d71 xtensa: ISS: don't panic in rs_init
5418023f81cd serial: 8250: Define RX trigger levels for OxSemi 950 devices
b050848bba7d s390: make PCI mio support a machine flag
0dd8da8ad04b s390/jump_label: print real address in a case of a jump label bug
91b4d44c7c4d flow_dissector: Fix out-of-bounds warnings
8076709052e1 ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs()
faf0749c9062 video: fbdev: riva: Error out if 'pixclock' equals zero
ae0d210aa717 video: fbdev: kyro: Error out if 'pixclock' equals zero
98551f0a7b57 video: fbdev: asiliantfb: Error out if 'pixclock' equals zero
9dff06c50572 bpf/tests: Do not PASS tests without actually testing the result
58831317c9b1 bpf/tests: Fix copy-and-paste error in double word test
a23430e79ef7 drm/amd/amdgpu: Update debugfs link_settings output link_rate field in hex
9baa552b2f76 drm/amd/display: Fix timer_per_pixel unit error
6c78ee1aecb9 tty: serial: jsm: hold port lock when reporting modem line changes
7993ee173378 staging: board: Fix uninitialized spinlock when attaching genpd
995567ded019 usb: gadget: composite: Allow bMaxPower=0 if self-powered
44bbd4e6366f USB: EHCI: ehci-mv: improve error handling in mv_ehci_enable()
7b96de5c3042 usb: gadget: u_ether: fix a potential null pointer dereference
e1480bcb407e usb: host: fotg210: fix the actual_length of an iso packet
33109bdf2c41 usb: host: fotg210: fix the endpoint's transactional opportunities calculation
b190fdb93a9f igc: Check if num of q_vectors is smaller than max before array access
f4bf2fdfe37b drm: avoid blocking in drm_clients_info's rcu section
a1d12196c375 Smack: Fix wrong semantics in smk_access_entry()
c454b1a2155c netlink: Deal with ESRCH error in nlmsg_notify()
5adbbb27bb7c video: fbdev: kyro: fix a DoS bug by restricting user input
4ee6cc0f52db ARM: dts: qcom: apq8064: correct clock names
b9707a950492 iavf: fix locking of critical sections
35429d3aa387 iavf: do not override the adapter state in the watchdog task
ab03f15c1db4 iio: dac: ad5624r: Fix incorrect handling of an optional regulator.
0de0c1673927 tipc: keep the skb in rcv queue until the whole data is read
fe14f10c07c8 PCI: Use pci_update_current_state() in pci_enable_device_flags()
7d356909744f crypto: mxs-dcp - Use sg_mapping_iter to copy data
80bec14b4e09 media: dib8000: rewrite the init prbs logic
4cab14bcff25 ASoC: atmel: ATMEL drivers don't need HAS_DMA
4a7c6e9159be drm/amdgpu: Fix amdgpu_ras_eeprom_init()
d766826eeec4 userfaultfd: prevent concurrent API initialization
7bf2913a5bca kbuild: Fix 'no symbols' warning when CONFIG_TRIM_UNUSD_KSYMS=y
0ac2ecb915e8 MIPS: Malta: fix alignment of the devicetree buffer
debdff960034 f2fs: fix to unmap pages from userspace process in punch_hole()
1c28c23dc82e f2fs: fix unexpected ENOENT comes from f2fs_map_blocks()
1ca5b00782df f2fs: fix to account missing .skipped_gc_rwsem
ec5cab379832 KVM: PPC: Fix clearing never mapped TCEs in realmode
e46ce5a8aba5 clk: at91: clk-generated: Limit the requested rate to our range
557f6445e37f clk: at91: clk-generated: pass the id of changeable parent at registration
d93a37889e3a clk: at91: sam9x60: Don't use audio PLL
57188e2cac47 fscache: Fix cookie key hashing
e2e3758a2cf9 platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
ba5d4dc003b4 KVM: PPC: Book3S HV Nested: Reflect guest PMU in-use to L0 when guest SPRs are live
a02309beb2b8 HID: i2c-hid: Fix Elan touchpad regression
f934961bf4e2 scsi: target: avoid per-loop XCOPY buffer allocations
389946024f0e powerpc/config: Renable MTD_PHYSMAP_OF
db16408d52a8 scsi: qedf: Fix error codes in qedf_alloc_global_queues()
5e56c8d843fa scsi: qedi: Fix error codes in qedi_alloc_global_queues()
a90ef02f012a scsi: smartpqi: Fix an error code in pqi_get_raid_map()
3365d41c0485 pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry()
ef476b8d5a9c scsi: fdomain: Fix error return code in fdomain_probe()
9ee7b45eddc4 SUNRPC: Fix potential memory corruption
be09cbd6a35f dma-debug: fix debugfs initialization order
9315497b1750 openrisc: don't printk() unconditionally
f56ee9af23cc f2fs: reduce the scope of setting fsck tag when de->name_len is zero
2a2afb6d26c6 f2fs: show f2fs instance in printk_ratelimited
25ed0498915a RDMA/efa: Remove double QP type assignment
b8bb4b28394a powerpc/stacktrace: Include linux/delay.h
02889ac588bd vfio: Use config not menuconfig for VFIO_NOIOMMU
b900cc481618 pinctrl: samsung: Fix pinctrl bank pin count
e69c28362116 docs: Fix infiniband uverbs minor number
fb42b9801e0a RDMA/iwcm: Release resources if iw_cm module initialization fails
7930b1f98dd8 IB/hfi1: Adjust pkey entry in index 0
2b1addd585a4 scsi: bsg: Remove support for SCSI_IOCTL_SEND_COMMAND
a02982545e61 f2fs: quota: fix potential deadlock
bd74d6de0b9e HID: input: do not report stylus battery state as "full"
0656eb5e7ed8 PCI: aardvark: Fix masking and unmasking legacy INTx interrupts
2b58db229eb6 PCI: aardvark: Increase polling delay to 1.5s while waiting for PIO response
0f39f8429c82 PCI: aardvark: Fix checking for PIO status
d810fa6f5f0f PCI: xilinx-nwl: Enable the clock through CCF
d43ad02ad3a8 PCI: Return ~0 data on pciconfig_read() CAP_SYS_ADMIN failure
3aa6d023c6d6 PCI: Restrict ASMedia ASM1062 SATA Max Payload Size Supported
4d2bc69df9fa PCI/portdrv: Enable Bandwidth Notification only if port supports it
0445da50b727 ARM: 9105/1: atags_to_fdt: don't warn about stack size
8ec08f1431ce libata: add ATA_HORKAGE_NO_NCQ_TRIM for Samsung 860 and 870 SSDs
7cfbf391e870 dmaengine: imx-sdma: remove duplicated sdma_load_context
788122c99d85 Revert "dmaengine: imx-sdma: refine to load context only once"
86e1abcd143f media: rc-loopback: return number of emitters rather than error
9d91046f6b4e media: uvc: don't do DMA on stack
1ccb1fa41f4c VMCI: fix NULL pointer dereference when unmapping queue pair
80d167590330 dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc()
a6d4ac3f861b power: supply: max17042: handle fails of reading status register
668370dd4c90 block: bfq: fix bfq_set_next_ioprio_data()
cfdd25cd426d crypto: public_key: fix overflow during implicit conversion
3411b481ed24 arm64: head: avoid over-mapping in map_memory
991b64b89b66 soc: aspeed: p2a-ctrl: Fix boundary check for mmap
2712f29c44f1 soc: aspeed: lpc-ctrl: Fix boundary check for mmap
24c245de17ea soc: qcom: aoss: Fix the out of bound usage of cooling_devs
603dbb1fa272 pinctrl: ingenic: Fix incorrect pull up/down info
eda59ca42fde pinctrl: stmfx: Fix hazardous u8[] to unsigned long cast
d4acec5e9454 tools/thermal/tmon: Add cross compiling support
8a964aa6ed43 9p/xen: Fix end of loop tests for list_for_each_entry
7d81fcc20316 include/linux/list.h: add a macro to test if entry is pointing to the head
4bc0d1b535da xen: fix setting of max_pfn in shared_info
27f3b7f5c6e0 powerpc/perf/hv-gpci: Fix counter value parsing
7e9e6d0e07ec PCI/MSI: Skip masking MSI-X on Xen PV
2edc06fa381a blk-zoned: allow BLKREPORTZONE without CAP_SYS_ADMIN
8da22cc41ada blk-zoned: allow zone management send operations without CAP_SYS_ADMIN
cd7b39e7c475 btrfs: reset replace target device to allocation state on close
8554095328ac btrfs: wake up async_delalloc_pages waiters after submit
d609c63a7165 rtc: tps65910: Correct driver module alias
48a24510c328 Linux 5.4.147
1f8ee024498d Revert "time: Handle negative seconds correctly in timespec64_to_ns()"
dc15f641c6cc Revert "posix-cpu-timers: Force next expiration recalc after itimer reset"
541e757944aa Revert "block: nbd: add sanity check for first_minor"
5f3ecbf4d586 Revert "Bluetooth: Move shutdown callback before flushing tx and rx queue"
245f15a48cdc Linux 5.4.146
b40facee46db clk: kirkwood: Fix a clocking boot regression
8810c51077b0 backlight: pwm_bl: Improve bootloader/kernel device handover
5de2ee621bc4 fbmem: don't allow too huge resolutions
4a95b04afab5 IMA: remove the dependency on CRYPTO_MD5
c69935f0b0aa IMA: remove -Wmissing-prototypes warning
85b0726d5bd7 fuse: flush extending writes
8a98ced6e1c8 fuse: truncate pagecache on atomic_o_trunc
06dad664d4ea KVM: nVMX: Unconditionally clear nested.pi_pending on nested VM-Enter
1735cec1e83c KVM: x86: Update vCPU's hv_clock before back to guest when tsc_offset is adjusted
20fff3ef33b2 KVM: s390: index kvm->arch.idle_mask by vcpu_idx
0323ab5b254e x86/resctrl: Fix a maybe-uninitialized build warning treated as error
51f4575ca182 perf/x86/amd/ibs: Extend PERF_PMU_CAP_NO_EXCLUDE to IBS Op
03c3e977eeac tty: Fix data race between tiocsti() and flush_to_ldisc()
7a25a0a94c8b time: Handle negative seconds correctly in timespec64_to_ns()
ae968e270f2e bpf: Fix pointer arithmetic mask tightening under state pruning
a0a4778feae1 bpf: verifier: Allocate idmap scratch in verifier env
f5893af2704e bpf: Fix leakage due to insufficient speculative store bypass mitigation
e80c3533c354 bpf: Introduce BPF nospec instruction for mitigating Spectre v4
1c9424a765af ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
b3fe6d192126 octeontx2-af: Fix loop in free and unmap counter
8216d7157bcf net: qualcomm: fix QCA7000 checksum handling
4648917e499c net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed
e46e23c289f6 ipv4: make exception cache less predictible
f73cbdd1b8e7 ipv6: make exception cache less predictible
aa167dcde4c7 brcmfmac: pcie: fix oops on failure to resume and reprobe
5debec63a28f bcma: Fix memory leak for internally-handled cores
574e563649ec ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point()
d946e685d6b7 ASoC: wcd9335: Disable irq on slave ports in the remove function
f3ec07f832bb ASoC: wcd9335: Fix a memory leak in the error handling path of the probe function
a6088f4ed3fc ASoC: wcd9335: Fix a double irq free in the remove function
7bfa680f3b47 tty: serial: fsl_lpuart: fix the wrong mapbase value
0f1375fa693b usb: bdc: Fix an error handling path in 'bdc_probe()' when no suitable DMA config is available
06203abb7275 usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
a0a9ecca2dc4 i2c: mt65xx: fix IRQ check
b444064a0e0e CIFS: Fix a potencially linear read overflow
e37eeaf9506c bpf: Fix possible out of bound write in narrow load handling
fb8e695e9cfa mmc: moxart: Fix issue with uninitialized dma_slave_config
48b1f117e8d0 mmc: dw_mmc: Fix issue with uninitialized dma_slave_config
57314d8414d1 ASoC: Intel: Skylake: Fix module resource and format selection
92397571c243 ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
b58cf18e384d rsi: fix an error code in rsi_probe()
d82fe3dd0b0f rsi: fix error code in rsi_load_9116_firmware()
4be8deab6f0d i2c: s3c2410: fix IRQ check
da3e5f32049a i2c: iop3xx: fix deferred probing
2da3272ae0ea Bluetooth: add timeout sanity check to hci_inquiry
70d71611eb83 mm/swap: consider max pages in iomap_swapfile_add_extent
8f5e26053c46 usb: gadget: mv_u3d: request_irq() after initializing UDC
eb3c6a25012f nfsd4: Fix forced-expiry locking
81e69d3fdd9e lockd: Fix invalid lockowner cast after vfs_test_lock
e1c02e2e6a7a mac80211: Fix insufficient headroom issue for AMSDU
606668e24a0d usb: phy: tahvo: add IRQ check
ecf18ac8ff76 usb: host: ohci-tmio: add IRQ check
abbcd61d091f Bluetooth: Move shutdown callback before flushing tx and rx queue
93ec1fd04f0f usb: gadget: udc: renesas_usb3: Fix soc_device_match() abuse
30d9607bcd73 usb: phy: twl6030: add IRQ checks
e1473ac28563 usb: phy: fsl-usb: add IRQ check
9535f55d0cba usb: gadget: udc: at91: add IRQ check
05e5b16b79dc drm/msm/dsi: Fix some reference counted resource leaks
5ccb04c6e1fb Bluetooth: fix repeated calls to sco_sock_kill
c2451d5439d0 counter: 104-quad-8: Return error when invalid mode during ceiling_write
a1194b805c90 arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7
1b6fcd10375a drm/msm/dpu: make dpu_hw_ctl_clear_all_blendstages clear necessary LMs
156eaacba3d2 PM: EM: Increase energy calculation precision
5537dc810b2a Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow
c0faa638f016 debugfs: Return error during {full/open}_proxy_open() on rmmod
f44714b4eb2a soc: qcom: smsm: Fix missed interrupts if state changes while masked
e7997fe3e9ca PCI: PM: Enable PME if it can be signaled from D3cold
9e570f3d4777 PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently
f865b316ccc6 media: venus: venc: Fix potential null pointer dereference on pointer fmt
d2ea2f0725cc media: em28xx-input: fix refcount bug in em28xx_usb_disconnect
ebf570042b5f leds: trigger: audio: Add an activate callback to ensure the initial brightness is set
0a01dc77662c leds: lt3593: Put fwnode in any case during ->probe()
e39c73563a38 i2c: highlander: add IRQ check
fba783ddd945 net: cipso: fix warnings in netlbl_cipsov4_add_std
9fdac650c413 cgroup/cpuset: Fix a partition bug with hotplug
ffde05819953 net/mlx5e: Prohibit inner indir TIRs in IPoIB
87f817c560e6 ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties
e55d7cbe1fe2 ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties
4b0bbc412b51 ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties
f7058060c01b ARM: dts: meson8: Use a higher default GPU clock frequency
37ed461b52e9 tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos
952136275367 drm/amdgpu/acp: Make PM domain really work
252fad3d0234 netns: protect netns ID lookups with RCU
bd1cd32caa67 6lowpan: iphc: Fix an off-by-one check of array index
c4895cf45fd5 Bluetooth: sco: prevent information leak in sco_conn_defer_accept()
a96eb96ce4c1 media: coda: fix frame_mem_ctrl for YUV420 and YVU420 formats
7163014d7d29 media: go7007: remove redundant initialization
810149287981 media: dvb-usb: Fix error handling in dvb_usb_i2c_init
fa8aaa769092 media: dvb-usb: fix uninit-value in vp702x_read_mac_addr
88933f9c93a0 media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init
f81c89614ee8 soc: qcom: rpmhpd: Use corner in power_off
5b3987f58325 arm64: dts: renesas: r8a77995: draak: Remove bogus adv7511w properties
6c106c73208a ARM: dts: aspeed-g6: Fix HVI3C function-group in pinctrl dtsi
004778bf390a bpf: Fix potential memleak and UAF in the verifier.
fa4802c54e69 bpf: Fix a typo of reuseport map in bpf.h.
9a193caf9d79 media: cxd2880-spi: Fix an error handling path
34106f526015 soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally
b92893053003 media: TDA1997x: enable EDID support
43282ca83ace drm/panfrost: Fix missing clk_disable_unprepare() on error in panfrost_clk_init()
fc9cf2229087 EDAC/i10nm: Fix NVDIMM detection
32d8a3684bba spi: spi-zynq-qspi: use wait_for_completion_timeout to make zynq_qspi_exec_mem_op not interruptible
4206dbc9857b spi: sprd: Fix the wrong WDG_LOAD_VAL
1f70517eac57 regulator: vctrl: Avoid lockdep warning in enable/disable ops
d255d6a6457f regulator: vctrl: Use locked regulator_get_voltage in probe path
013177ccc4c5 certs: Trigger creation of RSA module signing key if it's not an RSA key
cc74533a47c9 crypto: qat - use proper type for vf_mask
b3fa499d72a0 block: nbd: add sanity check for first_minor
c60a31db3990 clocksource/drivers/sh_cmt: Fix wrong setting if don't request IRQ for clock source channel
6b10d3d3a9ff lib/mpi: use kcalloc in mpi_resize
57c8e2ea47bc genirq/timings: Fix error return code in irq_timings_test_irqs()
2d00b22c8b81 spi: spi-pic32: Fix issue with uninitialized dma_slave_config
b29593d0696d spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config
449884aeb358 sched: Fix UCLAMP_FLAG_IDLE setting
67da2d9c9e99 m68k: emu: Fix invalid free in nfeth_cleanup()
c68ba4a708fb s390/debug: fix debug area life cycle
7a67a00ea8a7 s390/kasan: fix large PMD pages address alignment check
98296eb3deca udf_get_extendedattr() had no boundary checks.
ae4240d1f4bf fcntl: fix potential deadlock for &fasync_struct.fa_lock
a6273c8c2aca crypto: qat - do not export adf_iov_putmsg()
7dfa7bb69e13 crypto: qat - fix naming for init/shutdown VF to PF notifications
843b4e713a80 crypto: qat - fix reuse of completion variable
4a988264556c crypto: qat - handle both source of interrupt in VF ISR
c2b3f81125a6 crypto: qat - do not ignore errors from enable_vf2pf_comms()
1c189ccef0cf libata: fix ata_host_start()
e55b627d6e1f s390/cio: add dev_busid sysfs entry for each subchannel
0423517520d3 power: supply: max17042_battery: fix typo in MAx17042_TOFF
eb45ae88bf10 nvmet: pass back cntlid on successful completion
6cb5d6ae687d nvme-rdma: don't update queue count when failing to set io queues
3073ec7f0642 nvme-tcp: don't update queue count when failing to set io queues
93cf19b4d9b3 bcache: add proper error unwinding in bcache_device_init
e55f20798f53 isofs: joliet: Fix iocharset=utf8 mount option
0f5cd92e5eb5 udf: Fix iocharset=utf8 mount option
86987cf0fbd2 udf: Check LVID earlier
cc608af36e00 hrtimer: Ensure timerfd notification for HIGHRES=n
a8457878307f hrtimer: Avoid double reprogramming in __hrtimer_start_range_ns()
c322a963d522 posix-cpu-timers: Force next expiration recalc after itimer reset
28996dbb8a74 rcu/tree: Handle VM stoppage in stall detection
b7c560ae51c6 sched/deadline: Fix missing clock update in migrate_task_rq_dl()
40db13e3efce crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
ebf0f71ae3bd power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors
bba2b82d1b48 sched/deadline: Fix reset_on_fork reporting of DL tasks
53a6ef40c6bc crypto: mxs-dcp - Check for DMA mapping errors
344a38789ab2 regmap: fix the offset of register error log
a5e42516a61e locking/mutex: Fix HANDOFF condition
a0f68fb55ebc Linux 5.4.145
d83f0b39e72e PCI: Call Max Payload Size-related fixup quirks early
0c8277e334da x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions
d31a4c35b925 xhci: fix unsafe memory usage in xhci tracing
e00d39ca92bb usb: mtu3: fix the wrong HS mult value
c3ffd3501470 usb: mtu3: use @mult for HS isoc or intr
00b6325590a4 usb: host: xhci-rcar: Don't reload firmware after the completion
7a74ae301c2c ALSA: usb-audio: Add registration quirk for JBL Quantum 800
c1ea74f64209 Revert "btrfs: compression: don't try to compress if we don't have enough pages"
f05c74e10463 x86/events/amd/iommu: Fix invalid Perf result due to IOMMU PMC power-gating
b1ca1665e674 Revert "r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM"
cf1222b877b0 mm/page_alloc: speed up the iteration of max_order
17d409c83e76 net: ll_temac: Remove left-over debug message
ccadb9143796 powerpc/boot: Delete unneeded .globl _zimage_start
295501c77c4c ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table (v2)
6dec8e17b8db USB: serial: mos7720: improve OOM-handling in read_mos_reg()
d84708451d90 igmp: Add ip_mc_list lock in ip_check_mc_rcu
cd8ad6ed9ae5 media: stkwebcam: fix memory leak in stk_camera_probe
9febc9153fdb ARC: wireup clone3 syscall
417b11d3255c ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
cf28619cd9c6 ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17
a8146f149028 ARM: 8918/2: only build return_address() if needed
ebad44b6432e cryptoloop: add a deprecation warning
d12526ddf5e3 perf/x86/amd/power: Assign pmu.module
be1f76fceec4 perf/x86/amd/ibs: Work around erratum #1197
861118d64e50 perf/x86/intel/pt: Fix mask of num_address_ranges
40d23de514cd qede: Fix memset corruption
468623f69683 net: macb: Add a NULL check on desc_ptp
50f73f31ae63 qed: Fix the VF msix vectors flow
92abb09f7ab7 reset: reset-zynqmp: Fixed the argument data type
b820c4c651ea gpu: ipu-v3: Fix i.MX IPU-v3 offset calculations for (semi)planar U/V formats
48051387fa80 xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG
56c77c1b5229 kthread: Fix PF_KTHREAD vs to_kthread() race
af3cf928b998 ubifs: report correct st_size for encrypted symlinks
aa4e216156e8 f2fs: report correct st_size for encrypted symlinks
52d8e5b0abb9 ext4: report correct st_size for encrypted symlinks
228a4203d8b6 fscrypt: add fscrypt_symlink_getattr() for computing st_size
9b3849ba667a ext4: fix race writing to an inline_data file while its xattrs are changing
(From OE-Core rev: 79c44850690b09647660118275ddc3f01a7b6c42)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os.rename will overwrite the destination file if present so we can use this
instead of the process call overhead.
(Bitbake rev: c5b8a2fce98c362ea77d74a8bc472d01b739a98a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3cccaa6a896c41d8c9be5eebc327f726542d16b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a potential race over the mirror tarballs where a partial git repo
could be extracted causing fetcher failures if the tarball is being rewritten
whilst another build accesses it.
Create the mirror tarball atomically to avoid this.
[YOCTO #14441]
(Bitbake rev: e3da0ecbd282da060b52a4bcf3ed36497295fde0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3250bc950c56bd7dd2114df26e5a8e13b04ceac8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From 3.10 documentation [1]:
Deprecated since version 3.8, removed in version 3.10: The loop
parameter. This function has been implicitly getting the current
running loop since 3.7
This is fixed in master as a side-effect of
cf9bc0310b0092bf52b61057405aeb51c86ba137 which is more intrusive but
likewise drops the loop parameter.
1. https://docs.python.org/3/library/asyncio-stream.html#asyncio.open_connection
(Bitbake rev: 74a1e71b1e677a482fdedc685a71a1798ad63920)
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the glew code creates a new directory in /tmp for each make
invocation. This is a bit ugly, don't do that. The patch does break the
dist targets but we don't use them.
(From OE-Core rev: d12c44df66ca065a1526c7d6885e726cf50aab46)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a55194f90e11da5671b24391a4aaf2b86a8e1e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The go tests leave readonly files and directories behind.
Fix this to allow cleanup.
[YOCTO #14575]
(From OE-Core rev: c0d4c3f96d3b3bca55013efd0ffb1ea189bd206c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5680e95d7bd9fe00a797b2d0deb8cb4790027508)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to name files starting with a hyphen in the work
directory. Without this change rm will fail due to an unexpected option
being passed.
(From OE-Core rev: eb65a5870a1f5c5a4fbce0df87a7dbfb38487dce)
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f1a63e0de4921ef970114a16d0827fcddcdaa0e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sys.exit will cause finally statements and other code to run at exit. Since
we're using os.fork() here, os._exit() is apprioriate in this codepath.
(From OE-Core rev: 2130363c7a8762866b523e596adf44ab63f40722)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec08498ff29de9ccd23be88b9d7af3dab6bbb81e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid a rare divide by zero error if there isn't data point spread.
[YOCTO #14547]
(From OE-Core rev: 6b0e7d478bf23bcae774422160be51419c45c386)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7e36d01e87ddf89f76f164a0b7d98f597a53fa5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manually patch SHARED_VERSION_INFO, which was missed in
the 0.1.9 release and later incorrectly fixed until 0.2.1
(From OE-Core rev: eb637a677dfed8680d680349e616a358795a7d56)
Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb2e8efd316d44b9b1453882114856e0eb7b3500)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set shared library name as libbz2.so.1.0.8, version in configure.ac
already synced via do_configure PV substitution.
(From OE-Core rev: acb560a78ecd5403cf1f79e5a452c52cd58d1cfa)
Signed-off-by: Tom Pollard <tom.pollard@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07e3abc9d282a54add69a6905ec4248f3104219f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are observing systemd-network service crash during link down
while freeing link->ifname pointer
Backtrace:
(gdb) bt
0 __GI_abort () at abort.c:107
1 0x0000007f861d32b4 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f8628d500 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
2 0x0000007f861da51c in malloc_printerr (str=str@entry=0x7f86289070 "free(): invalid next size (fast)") at malloc.c:5347
3 0x0000007f861dbd58 in _int_free (av=0x7f862c9a28 <main_arena>, p=0x558aa28eb0, have_lock=0) at malloc.c:4249
4 0x0000005569249cf0 in link_free (link=0x558aa1c0d0) at ../git/src/network/networkd-link.c:715
5 link_unref (p=0x558aa1c0d0) at ../git/src/network/networkd-link.c:734
6 0x000000556920f34c in manager_rtnl_process_link (rtnl=<optimized out>, message=0x558aa2a430, userdata=0x558a9fc630)
While checking upstream code change with regards to link->ifname
memory allocation and free, we found below PR which also fixes
random systemd-networkd crash:
https://github.com/systemd/systemd/pull/19631https://github.com/systemd/systemd/issues/19629
(From OE-Core rev: adca61c61d84f022fdedd2d616e7c2df00661af8)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Ranjitsinh Rathod <ranjitsinhrathod1991@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vim is vulnerable to Heap-based Buffer Overflow
reference:
65b6056659
(From OE-Core rev: 0fb9be3925f258a7e8009c581c1cf93ace2a498b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The levels of indirection to set these verbose logging options is rather
crazy. This attempts to turn things into two specific options with
much more specific meanings. For now its all still controlled by the
commandline verbose option and should funciton as previously, with
the addition that the BB_VERBOSE_LOGS option can now be task specific.
(Bitbake rev: b4117231bf070703b9375af4411bcd160e07fdae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 423c046f2173aaff3072dc3d0882d01b8a0b0212)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a multiconfig starts with a digit, users would see pages of
errors as we use the multiconfig as a python function name prefix
and python functions cannot start with a digit. We could avoid doing
that but it is easier just to ask users to name multiconfigs not
starting with digits.
This tweak ensures the user sees an easier to understand error.
(Bitbake rev: 34301f8a38078c2329e460051a1193c0314bcfd2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9cddaeef35b2ea0dadf717101ed896f6b857abd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If bitbake-worker fails, return an error code showing that. Also
make the thread cleanup code explict in a finally clause as it would
otherwise hang.
[YOCTO #14393]
(Bitbake rev: 97541440e982848ef8bdbced22decdc24eda855b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e0af70fb53fb13f824ca954b8cc1dffee730233)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is no BBLAYERS set in bblayers.conf show a more helpful
error and exit.
[YOCTO #14340]
(Bitbake rev: 7f7034a6a0893debd8a5288a5765146a8b2ab0a0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97183e10faf9862b5d9489d6e2c27ac77c3b697d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the core layer is missing from bblayers.conf, the message the user sees is
hard to understand. Improve it.
[YOCTO #14340]
(Bitbake rev: 0b08c0ed89951a2fc1f052d1bcae8b8bc5552c8e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5815a7258ebb8a989e0c6f5798853559d9413f02)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are circular task references, error on them rather than show
a recursion error. A simple reproducer is:
"""
do_packageswu () {
:
}
addtask do_packageswu after do_image_complete before do_image_qa
"""
into image_types.bbclass. There is code in runqueue to detect these but
we never get that far with the current codebase.
[YOCTO #13140]
(Bitbake rev: f613d8d601be75e624e46cfe2351d1a067a9c341)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 339d4d6be515a71311b81fb9e99742af0d8a5130)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With "bitbake -v", for task failures you'd see the log output twice. Avoid
this by using the existing "did we print info" switch.
(Bitbake rev: 53d05a7b4a6380bd2bf8dd7bb0681e8c961bed5d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2c1afda4cb8023ed4ffeb5dc5bee4f0055659a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the caller is piping the logs, they likely don't want them in the error exception
as well. This removes duplicate output from the build output allowing the UI level
controls on whether to show logs to work correctly.
(Bitbake rev: f84a2f8d8bcc2fa4cd9ab6ef80ae638d0df47965)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fc58ad84a9deb2620ad90611684dad65dafedb11)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a python task fails with sys.exit(), we currently see no TaskFailed event.
The high level code does detect the exit code and fail the task but it can
leave the UI inconsistent with log output.
Fix this be intercepting SystemExit explicitly. This makes python
task failures consistent with shell task failures.
(Bitbake rev: 8dec1a58ff176b82006a084537156f65ad81def9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9eee9fd4f2f96789ad2b037e74d561bdc1426856)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The point of the injected text is to identify where the function comes from. Using
the correct function name would therefore be better.
(Bitbake rev: 7919f1f94e15bb5d3d124062bdcfdbe44aceb81a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30c6ff8551c235254ab90663ab88f66bb0c71edb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently we inform the user that some package/layer is skipped but we
don't print the reason albeit bitbake knows the reason. So currently it
looks like:
gtk+:
meta-oe 2.24.32 (skipped)
With this change the output prints the skip reason which is very helpful
for debugging:
gtk+:
meta-oe 2.24.32 (skipped: one of 'x11 directfb' needs to be in DISTRO_FEATURES)
(Bitbake rev: 253aa584b04f4e5c6e7b16904a9e242a4f5cbd35)
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d43e72db4f7c8b47d91d99ed54ce30e9ee898de1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If run on an empty build directory, taskexp wasn't working as it didn't
send the current environment to the server. This means HOSTTOOLS in oe-core
couldn't be built and gave an error. Add the missing updateToServer call in.
[YOCTO #14408]
(Bitbake rev: 6737fba707917db16e317bb738c47c096454f816)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 06a0bbe746f879ae539223e7fdb6f07d55d13719)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When an exception occurs at startup, show it to the user.
[YOCTO #14408]
(Bitbake rev: 2dc35a3ef95da594db2051369e98e8f678848849)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc1df1af67cfd3e223b39e2b7ea5f86b8cf78aee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the client process never sends cooker data, the server timeout will
be 0.0, not None. This will prevent the server from exiting, as it is
waiting for a new client. In particular, the client will disconnect with
a bad "INHERIT" line, such as:
INHERIT += "this-class-does-not-exist"
Instead of checking explicitly for None, check for a false value, which
means either 0.0 or None.
(Bitbake rev: 77f62ec8d45cf639d5030d0743778b9bc496a25c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13e2855bff6a6ead6dbd33c5be4b988aafcd4afa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream database uses both "connman" and "connection_manager" to report CVEs
(From OE-Core rev: 8e7c8e43260682efafabc50c757b9c2daff98f13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it easier for the AB scripts (particularly, collect-results)
to access and archive these items, as they can contain useful information
when ptests or other qemu tests fail (and also if they don't fail).
[YOCTO #14518]
(From OE-Core rev: bdad1bdfec7fa86a6550f8aeb4e74029599df6d5)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1965b344abcff0ba584136f929b4a14645f1585e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The corrected line accidentally converted it to float,
which causes problems later on with python 3.10:
| File "/home/alex/development/poky/scripts/lib/wic/partition.py", line 278, in prepare_rootfs_ext
| os.ftruncate(sparse.fileno(), rootfs_size * 1024)
| TypeError: 'float' object cannot be interpreted as an integer
(From OE-Core rev: 098195ecefafa4082bb5d27ff1c8b1b7b8e222d5)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1d260dd2d196d10379ed9e238bcb34f39f3a3b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When attempting to execute runqemu on qemuarmv5, the following error is
encountered:
runqemu - ERROR - Failed to run qemu: qemu-system-arm: versatilepb: memory size must not exceed 256MB
To work around this, limit the QB_MEM size for qemuarmv5, similar to
what is being done for qemumips.
(From OE-Core rev: 4b4131f28dd4d0f61d92d0c0bb0e058a755f65b6)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6450138afebffcc55ab32afadd5fb979274fff2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash keeps a count of the number of times make was invoked on a directory
and changes the output versioning accordingly. We want deterministic output
so disable this behaviour.
(From OE-Core rev: 8ca4fad65d267c178a416546486c8422001115b0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13a039e03195a47c750d5901e96fe81cf523481f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The preinst data in pkgdata will not expand out the ${XXX_PARAM} variables
since they don't use a package suffix. It happens that the final expansion
used for the packages is corrected by a second trip through the datastore.
The first version is used for calculation of the task output hash and
recent improvements in hash reuse showed this data wasn't using included
in the hashes, meaning for example builds with dynamic IDs were mixing
sstate with builds using static IDs. The result was a mess.
Fix this by expanding the data in the preinst correctly to use the
package specific _PARAM values.
(From OE-Core rev: fbd5a1f877d805d810562985c7a5dac4a5761263)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 375430f249e7e0b6622e566e2478b40ba7e606ab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch changed
to avoid critical issues
Handled return values of getrlimit() and lzma_cputhreads() functions
to avoid unexpected behaviours like devide by zero and potential read
of uninitialized variable 'virtual_memory'
Upstream-Status: Pending [merge of multithreading patches to upstream]
(From OE-Core rev: ad080aadbc409c99511d602e0531952b96c06bbf)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aae9c2cb464350bc443a0f60fd6602942e61f46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
c6bf0ed9d1a7 Linux 5.4.144
0634c0f91995 audit: move put_tree() to avoid trim_trees refcount underflow and UAF
cab0003311a0 net: don't unconditionally copy_from_user a struct ifreq for socket ioctls
6752b3b0628e Revert "parisc: Add assembly implementations for memset, strlen, strcpy, strncpy and strcat"
67871ada3a53 Revert "floppy: reintroduce O_NDELAY fix"
d7f7eca72ecc btrfs: fix NULL pointer dereference when deleting device by invalid id
e644da7ace0f arm64: dts: qcom: msm8994-angler: Fix gpio-reserved-ranges 85-88
4f76285f6df8 KVM: x86/mmu: Treat NX as used (not reserved) for all !TDP shadow MMUs
620681d7201a net: dsa: mt7530: fix VLAN traffic leaks again
38adbf21f37e bpf: Fix cast to pointer from integer of different size warning
812ee47ad76e bpf: Track contents of read-only maps as scalars
f4418015201b vt_kdsetmode: extend console locking
8a19e0045086 btrfs: fix race between marking inode needs to be logged and log syncing
f3a1ac258ebc net/rds: dma_map_sg is entitled to merge entries
ad6a2bc7588a drm/nouveau/disp: power down unused DP links during init
689179c462d8 drm: Copy drm_wait_vblank to user before returning
18ceb99f8483 qed: Fix null-pointer dereference in qed_rdma_create_qp()
f1a0db49abd5 qed: qed ll2 race condition fixes
73ba9e4ece4b vringh: Use wiov->used to check for read/write desc order
ee52acae6fb5 virtio_pci: Support surprise removal of virtio pci device
be9b79e84154 virtio: Improve vq->broken access to avoid any compiler optimization
0d4ba693db48 opp: remove WARN when no valid OPPs remain
baf56a1d8199 perf/x86/intel/uncore: Fix integer overflow on 23 bit left shift of a u32
0ad96094ab90 usb: gadget: u_audio: fix race condition on endpoint stop
c5c2b4ca5035 drm/i915: Fix syncmap memory leak
2f3cefa6abf0 net: hns3: fix get wrong pfc_en when query PFC configuration
6f0c0b35e277 net: hns3: fix duplicate node in VLAN list
951805c23dff net: hns3: clear hardware resource when loading driver
08162f65642c rtnetlink: Return correct error on changing device netns
f58e42d1928c net: marvell: fix MVNETA_TX_IN_PRGRS bit number
45454400a647 xgene-v2: Fix a resource leak in the error handling path of 'xge_probe()'
53b480e68c1c ip_gre: add validation for csum_start
bb8ca7e2e67e RDMA/efa: Free IRQ vectors on error flow
e29565b4515e e1000e: Fix the max snoop/no-snoop latency for 10M
8a21e84334ec IB/hfi1: Fix possible null-pointer dereference in _extend_sdma_tx_descs()
944a50f56f1b RDMA/bnxt_re: Add missing spin lock initialization
28b189541027 scsi: core: Fix hang of freezing queue between blocking and running device
628c582854d3 usb: dwc3: gadget: Stop EP0 transfers during pullup disable
d9da281c8f9e usb: dwc3: gadget: Fix dwc3_calc_trbs_left()
21880abf19ba USB: serial: option: add new VID/PID to support Fibocom FG150
2e098e91eeec Revert "USB: serial: ch341: fix character loss at high transfer rates"
16b281a70a10 can: usb: esd_usb2: esd_usb2_rx_event(): fix the interchange of the CAN RX and TX error counters
765437d1f078 mm, oom: make the calculation of oom badness more accurate
1cccf5c03077 mmc: sdhci-msm: Update the software timeout value for sdhc
aec1e470d906 ovl: fix uninitialized pointer read in ovl_lookup_real_one()
57bd5b59f1ce once: Fix panic when module unload
5892f910f401 netfilter: conntrack: collect all entries in one cycle
7c95c89b6929 ARC: Fix CONFIG_STACKDEPOT
a6b049aeefa8 net: qrtr: fix another OOB Read in qrtr_endpoint_post
(From OE-Core rev: dc1209f35369ea57d507356e19e64654df197b94)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
fd80923202c6 Linux 5.4.143
4bf194158102 netfilter: nft_exthdr: fix endianness of tcp option cast
e4fd994f02c5 fs: warn about impending deprecation of mandatory locks
41c7f46c89f6 mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim
1a3aa81444d3 mm, memcg: avoid stale protection values when cgroup is above protection
9c1c449dcca0 ASoC: intel: atom: Fix breakage for PCM buffer address setup
846ba58a7c06 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI
548b75f4905e btrfs: prevent rename2 from exchanging a subvol with a directory from different parents
0fc6a9c2025b ipack: tpci200: fix memory leak in the tpci200_register
280d66b31797 ipack: tpci200: fix many double free issues in tpci200_pci_probe
cb7aa5103146 slimbus: ngd: reset dma setup during runtime pm
abce32d0f7f4 slimbus: messaging: check for valid transaction id
0786d315f55c slimbus: messaging: start transaction ids from 1 instead of zero
20c2f141b1e5 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name
8fbfebe188c0 ALSA: hda - fix the 'Capture Switch' value change notifications
85e60614d1f6 mmc: dw_mmc: Fix hang on data CRC error
4f6c9caf7b6c ovl: add splice file read write helper
85813f1f9e86 iavf: Fix ping is lost after untrusted VF had tried to change MAC
a498115dcd9c i40e: Fix ATR queue selection
1b8a8fba7853 ovs: clear skb->tstamp in forwarding path
84dbbf5482e3 net: mdio-mux: Handle -EPROBE_DEFER correctly
453486e79ed2 net: mdio-mux: Don't ignore memory allocation errors
6b70c67849bb net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32
da92ce364595 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO
9aeadce8e33b virtio-net: support XDP when not more queues
3ed7cf8386c9 vrf: Reset skb conntrack connection on VRF rcv
447b16028956 bnxt_en: Add missing DMA memory barriers
c9566df334d0 ptp_pch: Restore dependency on PCI
a73b9aa14269 net: 6pack: fix slab-out-of-bounds in decode_data
2bc75713434b bnxt: disable napi before canceling DIM
a9fb0f155980 bnxt: don't lock the tx queue from napi poll
1fe038030cc8 bpf: Clear zext_dst of dead insns
73a45f75a07b vhost: Fix the calculation in vhost_overflow()
b9a59636c4bf virtio: Protect vqs list access
b264e37b3517 dccp: add do-while-0 stubs for dccp_pr_debug macros
9112ebc2990a cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant
cb9a9d5fe636 iommu: Check if group is NULL before remove device
911a8141efdd Bluetooth: hidp: use correct wait queue when removing ctrl_wait
5b14c1f16e2d drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X
f92dc3a89dd8 net: usb: lan78xx: don't modify phy_device state concurrently
be7043679967 ARM: dts: nomadik: Fix up interrupt controller node names
69aa1a1a569f scsi: core: Fix capacity set to zero after offlinining device
935de7ec7a4d scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
7a721a1e1885 scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
9900e06ae6e6 scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
e37cf26bd56d dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available
12d1322d93a6 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
11145efd295b dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
9c97a0539288 dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
fc566b5a21f5 USB: core: Avoid WARNings for 0-length descriptor requests
1bd505c814cc media: drivers/media/usb: fix memory leak in zr364xx_probe
705660a6d98d media: zr364xx: fix memory leaks in probe()
79dff2a3f41a media: zr364xx: propagate errors from zr364xx_start_readpipe()
7305d6d4078f mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
23f77ad13f81 ath9k: Postpone key cache entry deletion for TXQ frames reference it
c6feaf806da6 ath: Modify ath_key_delete() to not need full key entry
b7d593705eb4 ath: Export ath_hw_keysetmac()
add283e2517a ath9k: Clear key cache explicitly on disabling hardware
0c049ce432b3 ath: Use safer key clearing with key cache entries
172b91bbbb49 x86/fpu: Make init_fpstate correct with optimized XSAVE
81d152c8daf8 ext4: fix EXT4_MAX_LOGICAL_BLOCK macro
(From OE-Core rev: 75b56eb2822d268918cf17783ad2a0cda1a5323f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a fix from iputils 20210202 to make arp table updating
work again.
Fixes: 77c5792aa5e7 ("iputils: fix various arping regressions")
(From OE-Core rev: 9df63cd89939b2f4e0b7ea983db8c047e987ff26)
Signed-off-by: Visa Hankala <visa@hankala.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These three CVEs are specific to the Node package node-tar.
exclude: CVE-2021-37701 CVE-2021-37712 CVE-2021-37713
(From OE-Core rev: 8653ed5bc02c794944372be5c4ba785a7739f6d0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f9317a02d73c1e5aea026683a037e52c996c7bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
curl v7.79.0 contained fixes for three CVEs:
The description of CVE-2021-22945[1] contains:
> This flaw was introduced in commit 2522903b79 but since MQTT support
> was marked 'experimental' then and not enabled in the build by default
> until curl 7.73.0 (October 14, 2020) we count that as the first flawed
> version.
which I believe means that curl v7.69.1 is not vulnerable.
curl v7.69.1 is vulnerable to both CVE-2021-22946[2] and CVE-22947[3].
These patches are from Ubuntu 20.04's curl 7.68.0 package. The patches
applied without conflicts, but I used devtool to regenerate them to
avoid fuzz warnings.
[1] https://curl.se/docs/CVE-2021-22945.html
[2] https://curl.se/docs/CVE-2021-22946.html
[3] https://curl.se/docs/CVE-2021-22947.html
(From OE-Core rev: b9b343704afc28a6182f699ef17943afacd482a8)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://dist.apache.org
MR: 112793
Type: Security Fix
Disposition: Backport from https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch
ChangeID: c8247210204ffcc7d1425e3d60f077ad3dd54ebc
Description:
An out-of-bounds array read in the apr_time_exp*() functions was fixed in the
Apache Portable Runtime 1.6.3 release (CVE-2017-12613). The fix for this issue
was not carried forward to the APR 1.7.x branch, and hence version 1.7.0 regressed
compared to 1.6.3 and is vulnerable to the same issue.
(From OE-Core rev: 315262830bfe2bc8b2a9259541bb3a0bc83a2cdd)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SDKPATHINSTALL is the default installation path used for the SDK but is not
the path encoded into every SDK binary as the default path. This change
allows it to contain things like dates without requiring every nativesdk
recipe to rebuild.
Partially fixes [YOCTO #14100]
(From meta-yocto rev: 7eac76587428202db781f269439ad9d719017289)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a62175ee581bd05661717f0fb89dad2a297b4034)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE is effectively disputed - yes there is stack exhaustion but no bug and it
is building the parser, not running it, effectively similar to a compiler ICE.
Upstream no plans to address and there is no security issue.
https://github.com/westes/flex/issues/414
(From OE-Core rev: b939b005b06be58a276d565f755ee2d8f3e5dfc1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0cae5d7a24bedf6784781b62cbb3795a44bab4d1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dbus and dbus-test share the same source code and base configuration options,
so factor out the common parts into dbus.inc.
This way we can eliminate the need to keep the two recipes in sync. When they
are not properly in sync (e.g. when dbus recipe has extra patches/config
options that are not duplicated in dbus-test) ptest testsuite will actually
test a slightly different codebase. This is due to the fact that dbus-test does
not run the testsuite against the system libdbus library, but instead it
generates a local libdbus.so that needs to configured/compiled as close as
possible to the system one.
(From OE-Core rev: 1cde2935526d2eec7d6b17a6c622647b0c132439)
(From OE-Core rev: 6c90e4dd59eb06058d14deeb9aa87717fd88ab09)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 44ae5d8d6f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 8d33a2a4e4b6ff8f831523e5b1b16ead6b29cc79)
(From OE-Core rev: 7337d7e4faf20a513c065c44d7d9d472334452b2)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a62471f064)
[Bug fix only update, drop cve patch now included
a0926ef86f (tag: dbus-1.12.18) Prepare 1.12.18
8bc1381819 fdpass test: Assert that we don't leak file descriptors
272d484283 sysdeps-unix: On MSG_CTRUNC, close the fds we did receive <- cve fix
31297172f1 Update NEWS
041d579139 dbus-daemon test: Don't test fd limits if in an unprivileged container
55b3f71376 Update NEWS
ced04aabc7 doxygen: fix example for dbus_message_append_args
3e40637b10 Update NEWS
3e0ea34966 cmake: Add X11 include path for tools
d0992805d7 doc: replace dbus-send's --address with --peer and --bus
dd32f6b617 Update NEWS
d251fe7850 Merge branch 'cherry-pick-b034b83b' into 'dbus-1.12'
2c6b0ad7f6 bus: Don't explicitly clear BusConnections.monitors
df0c675b93 Merge branch 'cherry-pick-bf71a58e' into 'dbus-1.12'
beb79b94fb doc: Fix environment variable name in dbus-daemon(1)
eab5d4a420 Start 1.12.18 development]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream repo no longer has 'master' branch, and switched to
'main'. To avoid issue such as:
ERROR: rt-tests-1_1.1-r0 do_fetch: Fetcher failure: Unable to find
revision dff174f994f547a5785d32454865f140daacb0f5 in branch master
even from upstream
we need to set the default branch name to 'main' in the recipe.
(From OE-Core rev: ed52bea54f135b7b5367a24bb3861d9bc0c53117)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This log checking fix is needed for both qemux86 and qemux86-64 so move
to the common section.
[YOCTO #14528]
(From OE-Core rev: e47fcdd767f97d788b5bf749815d902215520edc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2475ce68f0bc1f342c75364dfcfaf7f30499badf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added 0001-core-reuse-large-mem-chunks-fix-mem-usage-fixes-3033.patch
to fix large memory usage for large file downloads
from dynamic backends reuse or release large memory chunks.
Also, added patch to set default chunk size 8k earlier it was 4k.
This issue is caused by a bug in the lighttpd 1.4.55 version and
has been fixed in lighttpd 1.4.58. Hence, it is not needed for
master and hardknott branch because lighttpd has 1.4.59 version.
Link: 7ba521ffb4
Link: 304e46d4f8
(From OE-Core rev: d3ac63230b98251d67a75a67456b769b6a002df0)
Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport an upstream patch for the CVE.
(From OE-Core rev: 5042a4116a024bbc320d97ea29b21a589dea9942)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87191ed0303f6552865ad1edcacd674c57f2010c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 05a87be51b44608ce4f77ac332df90a3cd2445ef introduced
a Python conditional expression when updating PATH that
generates syntax warnings in bitbake-cookerdaemon.log:
Var <PATH[:=]>:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?
Fix this by using the more appropriate '!=' comparison
operator.
(From OE-Core rev: b46b059a306b2823624e64adecded9f76430471a)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e753a12cf6bb98f9e0940e5ed6255ce8c538eed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Some distributions with UTF-8 locale have problem when National Language
Support is enabled. Add there an option to disable it.
(From OE-Core rev: 9224b01eaa46986b1c363a541e88f20387d8c30b)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da630d6d81a396c3e1635fbd7b8103df47ed2732)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add SDKPATHINSTALL which is used as the default install location of the SDK
instead of SDKPATH. This means the default install path isn't encoded into
every SDK binary, meaning if a date is used there the entire SDK doesn't
have to rebuild. Most distros can switch to only customise SDKPATHINSTALL
meaning more sstate reuse too.
[YOCTO #14100]
(From OE-Core rev: 33a5714592bf41a26fcd7e8ff595b45538082431)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc4ee5453560dcefc4a4ecc5657df5cc1666e153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Crashes in mesa when using vgem kernel module (in the absence of real GPU)
have been observed in dunfell (they do not happen in master):
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14527
Let's focus on making host-accelerated virtualized graphics work well in master
and upcoming releases (the issue is not seen there).
(From OE-Core rev: 448e0271ed831582bb5833486fc17b131676fb53)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't use the CD/DVD ROM drive in any of our tests, but it
periodically fails discovery and that leads to a QA error:
[ 6.403477] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
The only way to disable the optical ROM drive in qemu is to use
the '-nodefaults' option, which disables the CDROM (among other things).
We can't be sure that none of our tests, or extended users are relying
on default devices, so using that option is more of a risk than adding
the message to our ignore list.
To date, no one has sent a patch to just disable the optical drive
(either in qemu or the BIOS), but that is something we could consider
in the future.
[YOCTO #14528]
(From OE-Core rev: ae65f4a6a10ad9ca7cf94d653b3b07039b483e72)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 143fc5504539c69752ca87717507c197a8920ce5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done when starting up qemu has failed, but is not done
when qemu started ok, but fails later in QMP communication.
Output from runqemu does contain valuable information to find out
why, so rather than fix all the QMP fails to include it, let's just
print it in stop().
(From OE-Core rev: 1732290d4d2147bd9ffd76deaf90650519a6ad3d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e2bf68e4401db747484c2c8ba0f77500b1d2d49)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
c15b830f7c1c Linux 5.4.142
a17f2f2c8949 KVM: nSVM: always intercept VMLOAD/VMSAVE when nested (CVE-2021-3656)
7c1c96ffb658 KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653)
456fd889227f iommu/vt-d: Fix agaw for a supported 48 bit guest address width
5b5f855a793c vmlinux.lds.h: Handle clang's module.{c,d}tor sections
e9b2b2b29ca8 ceph: take snap_empty_lock atomically with snaprealm refcount change
95ff775df6ec ceph: clean up locking annotation for ceph_get_snap_realm and __lookup_snap_realm
1d8c232afb03 ceph: add some lockdep assertions around snaprealm handling
a6ff0f3f9f90 KVM: VMX: Use current VMCS to query WAITPKG support for MSR emulation
ec25d05e1893 PCI/MSI: Protect msi_desc::masked for multi-MSI
48d2439c6f2a PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
386ead1d3598 PCI/MSI: Correct misleading comments
76d81dec16d0 PCI/MSI: Do not set invalid bits in MSI mask
6b4bcbf13390 PCI/MSI: Enforce MSI[X] entry updates to be visible
4495a41fbcd7 PCI/MSI: Enforce that MSI-X table entry is masked for update
1866c8f6d43c PCI/MSI: Mask all unused MSI-X entries
3b4220c2bf35 PCI/MSI: Enable and mask MSI-X early
0c8dea3fd55c genirq/timings: Prevent potential array overflow in __irq_timings_store()
4dfe80927102 genirq/msi: Ensure deactivation on teardown
e3e54a930073 x86/resctrl: Fix default monitoring groups reporting
a6b594ad7419 x86/ioapic: Force affinity setup before startup
db5e2666946a x86/msi: Force affinity setup before startup
eda32c21882c genirq: Provide IRQCHIP_AFFINITY_PRE_STARTUP
06b347743608 x86/tools: Fix objdump version check again
74451dd8bfca powerpc/kprobes: Fix kprobe Oops happens in booke
b74145d858a8 nbd: Aovid double completion of a request
ad9550114d4c vsock/virtio: avoid potential deadlock when vsock device remove
b9cd73cce50a xen/events: Fix race in set_evtchn_to_irq
4d3c5c319b19 net: igmp: increase size of mr_ifc_count
721ff564cc6a tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets
2ce8a68a312c net: linkwatch: fix failure to restore device state across suspend/resume
33597972a2e9 net: bridge: fix memleak in br_add_if()
f6eee53beb07 net: dsa: sja1105: fix broken backpressure in .port_fdb_dump
1e6a570d3786 net: dsa: lantiq: fix broken backpressure in .port_fdb_dump
564f6bbd0ed6 net: dsa: lan9303: fix broken backpressure in .port_fdb_dump
a9243455e874 net: igmp: fix data-race in igmp_ifc_timer_expire()
ed957c77b391 net: Fix memory leak in ieee802154_raw_deliver
13a381b8bc22 net: dsa: microchip: Fix ksz_read64()
991117eeeee8 drm/meson: fix colour distortion from HDR set during vendor u-boot
e114f15de881 net/mlx5: Fix return value from tracer initialization
f99aa76bb83c psample: Add a fwd declaration for skbuff
9dc8e396c12e iavf: Set RSS LUT and key in reset handle path
23436edae3c9 net: sched: act_mirred: Reset ct info when mirror/redirect skb
9636fbfe7bdd ppp: Fix generating ifname when empty IFLA_IFNAME is specified
1c31ee907fde net: phy: micrel: Fix link detection on ksz87xx switch"
dfeb64f6e2ce platform/x86: pcengines-apuv2: Add missing terminating entries to gpio-lookup tables
699db2bb96ad platform/x86: pcengines-apuv2: revert wiring up simswitch GPIO as LED
af7f1539cfb1 net: dsa: mt7530: add the missing RxUnicast MIB counter
d353a61860a2 ASoC: cs42l42: Fix LRCLK frame start edge
b036452082f3 netfilter: nf_conntrack_bridge: Fix memory leak when error
cd36a36ea4ea ASoC: cs42l42: Remove duplicate control for WNF filter frequency
eb789cc9179f ASoC: cs42l42: Fix inversion of ADC Notch Switch control
6a3381336398 ASoC: cs42l42: Don't allow SND_SOC_DAIFMT_LEFT_J
55e86f07b85e ASoC: cs42l42: Correct definition of ADC Volume control
22d2e3c6a1b8 ieee802154: hwsim: fix GPF in hwsim_new_edge_nl
5bac8c2a3087 ieee802154: hwsim: fix GPF in hwsim_set_edge_lqi
ddcf807fbb70 libnvdimm/region: Fix label activation vs errors
bc97fde4c668 ACPI: NFIT: Fix support for virtual SPA ranges
a753e3f33405 ceph: reduce contention in ceph_check_delayed_caps()
aa04486c419d i2c: dev: zero out array used for i2c reads from userspace
c18b28e5ade8 ASoC: intel: atom: Fix reference to PCM buffer address
aab3fa544647 ASoC: xilinx: Fix reference to PCM buffer address
60e2854acf3b iio: adc: Fix incorrect exit of for-loop
bcac5225923b iio: humidity: hdc100x: Add margin to the conversion time
da7cb80905ec iio: adc: ti-ads7950: Ensure CS is deasserted after reading channels
(From OE-Core rev: 18e0b6edc40a6e26b90f582e7eb3edcd10b62887)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the mkfs.btrfs generates large images with a lot of wasted
space. This happens since OE-core updated btrfs-tools from 4.13.3 to
4.15.1 in commit 94b645aa77 ("btrfs-tools: update to 4.15.1") .
Note in mkfs.btrfs(8) manpage section -r says the following:
"
-r|--rootdir <rootdir>
...
Note This option may enlarge the image or file to ensure
it’s big enough to contain the files from rootdir. Since
version 4.14.1 the filesystem size is not minimized. Please
see option --shrink if you need that functionality.
--shrink
Shrink the filesystem to its minimal size, only works with
--rootdir option.
...
Note prior to version 4.14.1, the shrinking was done
automatically.
"
Add the --shrink option to EXTRA_IMAGECMD_btrfs to reinstate the
original behavior and un-waste the space.
(From OE-Core rev: 6de30e62fc5815edc19c96b49c0ff9681298c56c)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4a99d36967302c176b62fad840b5e79486ea356)
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
utils.bbclass contains create_cmdline_wrapper() function that
creates wrapper script with additional arguments for any passed
"$cmd" command, and uses several calls to "dirname".
Because "dirname" is an external command, in cases of lots of
calls to wrapped "$cmd", each call of "dirname" will incur
significant overhead.
There are three same calls to "dirname": one for saving it`s
output to "realdir" variable, and other two in "exec" command.
So last two "dirname" calls can be replaced with cached value
from "realdir" variable.
(From OE-Core rev: 912c9eda653c45fee2f55092fbe281efba897bc0)
Signed-off-by: Oleksandr Popovych <opopovyc@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b9cf2c80fd14386e0b88a2e6c40a9fa3f1ae0f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lzo was missing CVE_PRODUCT and related CVEs (at least CVE-2014-4607) were
not reported.
(From OE-Core rev: 69e33b9eee6ae97208e766fd96353dfcb8c20bd5)
Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 366cf8201e36df1ac836e49de04ccda1f763ca9e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the bootimg-pcbios wic plugin was not respecting
the --label option provided from the wks file. The plugin
was setting the label to 'boot'. With this fix, the --label
option is use. If no option are specified, then the default
is 'boot'.
(From OE-Core rev: c9617934a20d30198a8ddcf10fc02de4885fd433)
Signed-off-by: jbouchard <jeanbouch418@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0fd7a73c1bd2486b7a022f0f69bbcb2e0d9cb141)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding fix for CVE-2021-20266
Upstream-Status: Backport [9646711891]
Note: Hunk#2 and Hunk#3 refreshed to apply patch and match value of
dl_max variable to make it with current version
All Hunks are refreshed to solve patch-fuzz
(From OE-Core rev: 6c16aad7167eb98bc9995486f967431c39f9df15)
Signed-off-by: Ranjitsinh Rathod <ranjitsinh.rathod@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: poky.org
MR: 105607
Type: Security Fix
Disposition: Backport from http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-support/gnupg?h=hardknott&id=0c06506d42f9e1f43a54a178cda47cfea3f12f81
ChangeID: 4341d0331368d6cd51d635d2c70555b3dce61792
Description:
This addresses CVE-2020-25125 and provides some other minor
updates and translations.
Updated commits for reference:
e234d04c3 Werner Koch Release 2.2.23
aeb8272ca Werner Koch gpg: Fix AEAD preference list overflow
038314665 Werner Koch po: auto update
1a4b0fd79 Yuri Chornoivan po: Update Ukrainian translation
93d10403a Jakub Bogusz po: Update Polish translation
a8a8105bc Werner Koch po: Add key-check.c to the list of translatable sources.
cad9955ac Petr Pisar po: Update Czech translation.
896c528ba Werner Koch gpg: Fix segv importing certain keys.
0a9665187 NIIBE Yutaka scd: Fix a regression for OpenPGP card.
bcae9cd4e Nagy Ferenc László po: Minor update to the Hungarian translation.
d2fe2ffd7 Werner Koch sm: Fix a bug in the rfc2253 parser
f799b3ddb Werner Koch Post release updates
(From OE-Core rev: 965683336816eba7cb0548e59faf224f74b306b1)
(From OE-Core rev: 4079feb6dc2876cc7f2d0a5582be98e01188c2d7)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c06506d42)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch enables building image based SDKs for multi-libbed images
e.g. lib32-core-image-minimal and so on. Change the path to nativesdk
tools to use recipe-sysroot since thats where the nativesdk components
are installed and it will need access to qemu wrappers during build for
processing intercepts
[YOCTO #14444]
(From OE-Core rev: eea71d274fe4d5f23ba0ab35d14be4fff2e64e2b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6196a785eababb040ee1dee9f33cb6d6dad77eef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently in dunfell branch python3 version is 3.8.11.
so, python3_3.8.10.bb is not needed.
Hence, removed.
(From OE-Core rev: 2b44de6e7b3e02b78e2b09294ac37799ad4cfadb)
Signed-off-by: Purushottam Choudhary <purushottamchoudhary29@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
b704883aa8dc Linux 5.4.141
983d6a6b7e3c btrfs: don't flush from btrfs_delayed_inode_reserve_metadata
ea13f678a3fd btrfs: export and rename qgroup_reserve_meta
41a9b8f36de7 btrfs: qgroup: don't commit transaction when we already hold the handle
38b8485b72cb net: xilinx_emaclite: Do not print real IOMEM pointer
654c19a7e8d8 btrfs: fix lockdep splat when enabling and disabling qgroups
c55442cdfdb8 btrfs: qgroup: remove ASYNC_COMMIT mechanism in favor of reserve retry-after-EDQUOT
fdaf6a322fcc btrfs: transaction: Cleanup unused TRANS_STATE_BLOCKED
36af2de520cc btrfs: qgroup: try to flush qgroup space when we get -EDQUOT
5c79287c2b6d btrfs: qgroup: allow to unreserve range without releasing other ranges
b7a722fd75a1 btrfs: make btrfs_qgroup_reserve_data take btrfs_inode
dfadea4061a2 btrfs: make qgroup_free_reserved_data take btrfs_inode
812f39ed5b0b ovl: prevent private clone if bind mount is not allowed
eeb4742501e0 ppp: Fix generating ppp unit id when ifname is not specified
3460f3959d1c ALSA: hda: Add quirk for ASUS Flow x13
81d1a3f97631 USB:ehci:fix Kunpeng920 ehci hardware problem
d28adaabbbf4 KVM: X86: MMU: Use the correct inherited permissions to get shadow page
5f4ab7e25fbb usb: dwc3: gadget: Avoid runtime resume if disabling pullup
1782c4af6bd0 usb: dwc3: gadget: Disable gadget IRQ during pullup disable
54b7022f2878 usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
e36245a68eb1 usb: dwc3: gadget: Prevent EP queuing while stopping transfers
823f69250863 usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup
25a0625fa96f usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
5f081a928d55 usb: dwc3: Stop active transfers before halting the controller
396f29ea0cd2 tracing: Reject string operand in the histogram expression
28276c280f2e media: v4l2-mem2mem: always consider OUTPUT queue during poll
236aca70929d tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag
5b774238e8af KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB
a998faa9c4ce Linux 5.4.140
3c197fdd0732 arm64: fix compat syscall return truncation
72fcaf69525d net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
742e85fa9e80 alpha: Send stop IPI to send to online CPUs
26946d21395c virt_wifi: fix error on connect
17d7c9c940fb reiserfs: check directory items on read from disk
bcad6ece2a50 reiserfs: add check for root_inode in reiserfs_fill_super
e30a88f1f578 libata: fix ata_pio_sector for CONFIG_HIGHMEM
a2671d96a3c7 bpf, selftests: Adjust few selftest result_unpriv outcomes
4892b4f3244b perf/x86/amd: Don't touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest
d6cf5342faa6 soc: ixp4xx/qmgr: fix invalid __iomem access
a5bf7ef13ebf spi: meson-spicc: fix memory leak in meson_spicc_remove
27991c78d630 soc: ixp4xx: fix printing resources
07fd256d53a3 arm64: vdso: Avoid ISB after reading from cntvct_el0
90e498ef3f54 KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds
2e1a80b93464 KVM: Do not leak memory for duplicate debugfs directories
43486cd7391f KVM: x86: accept userspace interrupt only if no event is injected
1b7b9713a50f md/raid10: properly indicate failure when ending a failed write request
790cb68d35a6 pcmcia: i82092: fix a null pointer dereference bug
42ac2c63486f timers: Move clearing of base::timer_running under base:: Lock
8211bb20da23 serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts.
f73dcb5d63e2 serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver
607460d38692 MIPS: Malta: Do not byte-swap accesses to the CBUS UART
3eb686d01c31 serial: 8250: Mask out floating 16/32-bit bus bits
3b73a69962d6 serial: 8250_mtk: fix uart corruption issue when rx power off
afdef443a892 serial: tegra: Only print FIFO error message when an error occurs
097a183f9c1d ext4: fix potential htree corruption when growing large_dir directories
ac23a1738127 pipe: increase minimum default pipe size to 2 pages
f3cae04bd42d media: rtl28xxu: fix zero-length control request
e2f6d5b03898 staging: rtl8712: get rid of flush_scheduled_work
8f241df0e68f staging: rtl8723bs: Fix a resource leak in sd_int_dpc
bbdd4a51629a tpm_ftpm_tee: Free and unregister TEE shared memory during kexec
3c712f14d8a9 optee: Fix memory leak when failing to register shm pages
0572199b78b3 tee: add tee_shm_alloc_kernel_buf()
b247bf412cc2 optee: Clear stale cache entries during initialization
7da261e6bb65 tracing / histogram: Give calculation hist_fields a size
ba22053f5d5e scripts/tracing: fix the bug that can't parse raw_trace_func
8d1191f9243c clk: fix leak on devm_clk_bulk_get_all() unwind
ed5c9a49e6c0 usb: otg-fsm: Fix hrtimer list corruption
449a705fba60 usb: gadget: f_hid: idle uses the highest byte for duration
02f336cee589 usb: gadget: f_hid: fixed NULL pointer dereference
f780a9580cd2 usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers
134e27da543d usb: cdns3: Fixed incorrect gadget state
df1c6eec4ea1 ALSA: usb-audio: Add registration quirk for JBL Quantum 600
639b45456ec6 ALSA: hda/realtek: add mic quirk for Acer SF314-42
d09639528b66 firmware_loader: fix use-after-free in firmware_fallback_sysfs
1deb6b903018 firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback
0ee687e67277 USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2
01b2c35b051b USB: serial: ch341: fix character loss at high transfer rates
9ed43cfaa7f7 USB: serial: option: add Telit FD980 composition 0x1056
518e81874c40 USB: usbtmc: Fix RCU stall warning
ff29fe26ab86 Bluetooth: defer cleanup of resources in hci_unregister_dev()
580c10a40cc7 blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit()
ed169b054b43 net: vxge: fix use-after-free in vxge_device_unregister
c5549876a9ef net: fec: fix use-after-free in fec_drv_remove
3fed6dee16e4 net: pegasus: fix uninit-value in get_interrupt_interval
75cef4fc07d2 bnx2x: fix an error code in bnx2x_nic_load()
437ee90d7b4f mips: Fix non-POSIX regexp
b1fa6747b9d0 net: ipv6: fix returned variable type in ip6_skb_dst_mtu
3e63b566d96a nfp: update ethtool reporting of pauseframe control
d333503de1f0 sctp: move the active_key update after sh_keys is added
de30346dd396 gpio: tqmx86: really make IRQ optional
9d440b5c1d20 net: natsemi: Fix missing pci_disable_device() in probe and remove
69340406986a net: phy: micrel: Fix detection of ksz87xx switch
2b8ab7aec0dc net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones
71b0a935dbb0 net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add
88b7781609c6 net, gro: Set inner transport header offset in tcp/udp GRO hook
ba3abe3f8236 dmaengine: imx-dma: configure the generic DMA type to make it work
ee2f81330a7b media: videobuf2-core: dequeue if start_streaming fails
3377f2f8c606 scsi: sr: Return correct event when media event code is 3
f588d4b7be92 spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation
b58e3d59a5d8 spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay
2c1065d40acb omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator
299e3968c01a ARM: dts: am437x-l4: fix typo in can@0 node
9cbe7e21ddff clk: stm32f4: fix post divisor setup for I2S/SAI PLLs
3f9eed4462b3 ALSA: usb-audio: fix incorrect clock source setting
16db40fc4a37 arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode
7c08460773b8 ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins
1b1f1aa225ed ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init
aecff98c3efe ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz
c39907335b9c ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms
61b71c5f51aa ARM: imx: add missing clk_disable_unprepare()
d88d6bba3bd9 ARM: imx: add missing iounmap()
6c629cd0239f arm64: dts: ls1028a: fix node name for the sysclk
4a830a37d37e ALSA: seq: Fix racy deletion of subscriber
0658a4533576 Revert "ACPICA: Fix memory leak caused by _CID repair function"
e350cd02e293 Linux 5.4.139
03ff8a4f9db6 spi: mediatek: Fix fifo transfer
a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones
8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests
fd568de5806f bpf: Fix leakage under speculation on mispredicted branches
d2f790327f83 bpf: Do not mark insn as seen under speculative path verification
283d742988f6 bpf: Inherit expanded/patched seen count from old aux data
a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
76f5314d7859 firmware: arm_scmi: Add delayed response status check
1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function
44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
38f54217b423 ACPI: fix NULL pointer dereference
0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event
b508b652d4f3 net: Fix zero-copy head len calculation.
bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
6bc48348eca7 r8152: Fix potential PM refcount imbalance
a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling
b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO
86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename
cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations
174c27d0f9ef btrfs: delete duplicated words + other fixes in comments
7b90d57b09fa Linux 5.4.138
7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object
18b536de3b97 i40e: Add additional info to PHY type error
d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting"
16447b2f5c66 powerpc/pseries: Fix regression while building external modules
265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI
21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd()
f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove
dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup
408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
ac4983230616 net/mlx5: Fix flow table chaining
527feae56fe6 net: llc: fix skb_over_panic
ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one()
acb97d4b2d0e net: Set true network header for ECN decapsulation
851946a68136 tipc: fix sleeping in tipc accept routine
194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded
834af62212c7 i40e: Fix queue-to-TC mapping on Tx
74aea4b7159a i40e: Fix firmware LLDP agent related warning
b2ab34e862eb i40e: Fix logic of disabling queues
519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only
3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value
1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update
6cf2abea1018 nfc: nfcsim: fix use after free during module unload
6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert
c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
e9e2ce00aeda can: esd_usb2: fix memory leak
43726620b2f6 can: ems_usb: fix memory leak
819867389276 can: usb_8dev: fix memory leak
a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization
793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
a24d87b429a9 ocfs2: issue zeroout to EOF blocks
eaaa4284e288 ocfs2: fix zero out valid data
9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes
2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override"
a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed
57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids
61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone
99372c38a948 net_sched: check error pointer in tcf_dump_walker()
5b1de8e15f0f Linux 5.4.137
ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb
6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names
befa900533a9 iomap: remove the length variable in iomap_seek_hole
83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data
302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages
289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
e3acb292f092 hfs: add lock nesting notation to hfs_find_init
af1178296d77 hfs: fix high memory mapping in hfs_bnode_read
89136a47e2e7 hfs: add missing clean-up in hfs_fill_super
ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2()
f65b7f377cca sctp: move 198 addresses from unusable to private scope
c8d32973ee6a net: annotate data race around sk_ll_usec
c23b9a5610f9 net/802/garp: fix memleak in garp_request_join()
88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join()
eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP
7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn()
85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK
af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it.
828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
253dccefb5cb Linux 5.4.136
587f86b7a2a0 xhci: add xhci_get_virt_ep() helper
f9d0c35556cd perf inject: Close inject.output on exit
a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken
11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages
4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values
d04f2582c47e iio: accel: bma180: Use explicit member assignment
4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls
b5d7bebd96a3 nds32: fix up stack guard gap
ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications
13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained
b12ead825f6c hugetlbfs: fix mount mode command line processing
60dbbd76f110 userfaultfd: do not untag user pointers
540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory
e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync
e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
77713fb336ca btrfs: check for missing device in btrfs_trim_fs
f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu"
379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations
281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000
f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family
e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
863d071dbcd5 usb: max-3421: Prevent corruption of freed memory
e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations
fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
c968f563ccde xhci: Fix lost USB 2 remote wake
a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board
f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver
7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
f1754f96ab41 s390/boot: fix use of expolines in the DMA code
8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation
268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one"
f323809e3108 proc: Avoid mixing integer types in mem_rw()
b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free
2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter
b60461696a0b sctp: update active_key for asoc when old key is being replaced
9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI
c50141b3d769 r8169: Avoid duplicate sysfs entry creation error
f726817d6b42 afs: Fix tracepoint string placement with built-in AFS
b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets
c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue
006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp
3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic()
16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence.
35637acc9810 spi: cadence: Correct initialisation of runtime PM again
2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32)
a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection
25df44e90ff5 netrom: Decrease sock refcount when sock timers expire
8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work
f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
b3224bd31861 net: decnet: Fix sleeping inside in af_decnet
bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table.
9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg
6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin
edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16
42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume
d99aaf07365f spi: mediatek: fix fifo rx mode
08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata
b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument
a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove
40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel()
24b78097a837 spi: imx: add a check for speed_hz before calculating the clock
52cff6123aa0 perf data: Close all files in close_dir()
0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path
8b92ea243bbf perf lzma: Close lzma stream on exit
51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit
d2bfc3eda914 perf dso: Fix memory leak in dso__new_map()
05804a7d223d perf test event_update: Fix memory leak of evlist
d257f3abdc71 perf test session_topology: Delete session->evlist
89d1762a4a21 perf env: Fix sibling_dies memory leak
fd335143befb perf probe: Fix dso->nsinfo refcounting
6513dee46f80 perf map: Fix dso->nsinfo refcounting
ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
d029df83c61a cxgb4: fix IRQ free race during driver unload
ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get
7f4848229e91 ipv6: fix 'disable_policy' for fwd packets
c67fb96f5431 gve: Fix an error handling path in 'gve_probe()'
e33da4eeaa35 igb: Fix position of assignment to *ring
7dd897773618 igb: Check if num of q_vectors is smaller than max before array access
d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()'
7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()'
9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()'
5d6a04927b08 igb: Fix an error handling path in 'igb_probe()'
cddd53237de8 igc: Fix an error handling path in 'igc_probe()'
47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method
83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()'
ba4fbb68fcfe igc: change default return of igc_read_phy_reg()
88e0720133d4 igb: Fix use-after-free error during reset
a9508e0edfe3 igc: Fix use-after-free error during reset
(From OE-Core rev: a422fe82d265dda79ef4cc5918659903534c17f7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e350cd02e293 Linux 5.4.139
03ff8a4f9db6 spi: mediatek: Fix fifo transfer
a0f66ddf05c2 bpf, selftests: Adjust few selftest outcomes wrt unreachable code
d3796e8f6b3d bpf, selftests: Add a verifier test for assigning 32bit reg states to 64bit ones
8dec99abcd74 bpf: Test_verifier, add alu32 bounds tracking tests
fd568de5806f bpf: Fix leakage under speculation on mispredicted branches
d2f790327f83 bpf: Do not mark insn as seen under speculative path verification
283d742988f6 bpf: Inherit expanded/patched seen count from old aux data
a0a9546aaec3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
76f5314d7859 firmware: arm_scmi: Add delayed response status check
1b38f70bbc7c firmware: arm_scmi: Ensure drivers provide a probe function
44f522298c94 Revert "Bluetooth: Shutdown controller after workqueues are flushed or cancelled"
38f54217b423 ACPI: fix NULL pointer dereference
0ea2f55babb7 nvme: fix nvme_setup_command metadata trace event
b508b652d4f3 net: Fix zero-copy head len calculation.
bf692e7ef657 qed: fix possible unpaired spin_{un}lock_bh in _qed_mcp_cmd_and_union()
6bc48348eca7 r8152: Fix potential PM refcount imbalance
a57c75ff0700 ASoC: tlv320aic31xx: fix reversed bclk/wclk master bits
e2cccb839a18 spi: stm32h7: fix full duplex irq handler handling
b72f2d9e91e1 regulator: rt5033: Fix n_voltages settings for BUCK and LDO
86f2a3e9aae9 btrfs: fix lost inode on log replay after mix of fsync, rename and inode eviction
b7f0fa2192c5 btrfs: fix race causing unnecessary inode logging during link and rename
cb006da62a9e btrfs: do not commit logs and transactions during link and rename operations
174c27d0f9ef btrfs: delete duplicated words + other fixes in comments
7b90d57b09fa Linux 5.4.138
7eef18c0479b can: j1939: j1939_session_deactivate(): clarify lifetime of session object
18b536de3b97 i40e: Add additional info to PHY type error
d21eb931109a Revert "perf map: Fix dso->nsinfo refcounting"
16447b2f5c66 powerpc/pseries: Fix regression while building external modules
265883d1d839 PCI: mvebu: Setup BAR0 in order to fix MSI
21734a31c9a0 can: hi311x: fix a signedness bug in hi3110_cmd()
f4fa45b0f91e sis900: Fix missing pci_disable_device() in probe and remove
dff00ce44891 tulip: windbond-840: Fix missing pci_disable_device() in probe and remove
e0310bbeaaa2 sctp: fix return value check in __sctp_rcv_asconf_lookup
408614108abd net/mlx5e: Fix nullptr in mlx5e_hairpin_get_mdev()
ac4983230616 net/mlx5: Fix flow table chaining
527feae56fe6 net: llc: fix skb_over_panic
ede4c93860e6 mlx4: Fix missing error code in mlx4_load_one()
acb97d4b2d0e net: Set true network header for ECN decapsulation
851946a68136 tipc: fix sleeping in tipc accept routine
194b71d28b26 i40e: Fix log TC creation failure when max num of queues is exceeded
834af62212c7 i40e: Fix queue-to-TC mapping on Tx
74aea4b7159a i40e: Fix firmware LLDP agent related warning
b2ab34e862eb i40e: Fix logic of disabling queues
519582e44e6a netfilter: nft_nat: allow to specify layer 4 protocol NAT only
3a7a4cee7bec netfilter: conntrack: adjust stop timestamp to real expiry value
1c043783403c cfg80211: Fix possible memory leak in function cfg80211_bss_update
6cf2abea1018 nfc: nfcsim: fix use after free during module unload
6b313d0ffa71 NIU: fix incorrect error return, missed in previous revert
c4663c162778 HID: wacom: Re-enable touch by default for Cintiq 24HDT / 27QHDT
e9e2ce00aeda can: esd_usb2: fix memory leak
43726620b2f6 can: ems_usb: fix memory leak
819867389276 can: usb_8dev: fix memory leak
a051dbd17b5b can: mcba_usb_start(): add missing urb->transfer_dma initialization
793581441b5c can: raw: raw_setsockopt(): fix raw_rcv panic for sock UAF
c621638d0e6d can: j1939: j1939_xtp_rx_dat_one(): fix rxtimer value between consecutive TP.DT to 750ms
a24d87b429a9 ocfs2: issue zeroout to EOF blocks
eaaa4284e288 ocfs2: fix zero out valid data
9bd1092148b5 KVM: add missing compat KVM_CLEAR_DIRTY_LOG
7a94dfe5e2a0 x86/kvm: fix vcpu-id indexed array sizes
2dc291582cce Revert "ACPI: resources: Add checks for ACPI IRQ override"
a8eec6979734 btrfs: mark compressed range uptodate only if all bio succeed
57429c1ec770 btrfs: fix rw device counting in __btrfs_free_extra_devids
61f2cbc792eb x86/asm: Ensure asm/proto.h can be included stand-alone
99372c38a948 net_sched: check error pointer in tcf_dump_walker()
(From OE-Core rev: df362ae9ed810017b276d810e09c21f0290abcfd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5455d9e201e324b7cf7bb19381bfebb0e892312)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5b1de8e15f0f Linux 5.4.137
ebb1b38be0c9 ipv6: ip6_finish_output2: set sk into newly allocated nskb
6c04123962f0 ARM: dts: versatile: Fix up interrupt controller node names
befa900533a9 iomap: remove the length variable in iomap_seek_hole
83fb41b2f6e4 iomap: remove the length variable in iomap_seek_data
302e1acd4c26 cifs: fix the out of range assignment to bit fields in parse_server_interfaces
02a470e3c64a firmware: arm_scmi: Fix range check for the maximum number of pending messages
289dd584319f firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
e3acb292f092 hfs: add lock nesting notation to hfs_find_init
af1178296d77 hfs: fix high memory mapping in hfs_bnode_read
89136a47e2e7 hfs: add missing clean-up in hfs_fill_super
ded37d03440d ipv6: allocate enough headroom in ip6_finish_output2()
f65b7f377cca sctp: move 198 addresses from unusable to private scope
c8d32973ee6a net: annotate data race around sk_ll_usec
c23b9a5610f9 net/802/garp: fix memleak in garp_request_join()
88c4cae3ed25 net/802/mrp: fix memleak in mrp_request_join()
eef99860c677 cgroup1: fix leaked context root causing sporadic NULL deref in LTP
7f0365b4daaa workqueue: fix UAF in pwq_unbound_release_workfn()
85abe0d47fe6 af_unix: fix garbage collect vs MSG_PEEK
af45f3527aa0 KVM: x86: determine if an exception has an error code only when injecting it.
828cab3c8c23 tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include
525c5513b60d selftest: fix build error in tools/testing/selftests/vm/userfaultfd.c
253dccefb5cb Linux 5.4.136
587f86b7a2a0 xhci: add xhci_get_virt_ep() helper
f9d0c35556cd perf inject: Close inject.output on exit
a9c103fa91e4 PCI: Mark AMD Navi14 GPU ATS as broken
11561d2f7b9d btrfs: compression: don't try to compress if we don't have enough pages
4980301e1c1f iio: accel: bma180: Fix BMA25x bandwidth register values
d04f2582c47e iio: accel: bma180: Use explicit member assignment
4e0afa88954b net: bcmgenet: ensure EXT_ENERGY_DET_MASK is clear
2a4865d1547e net: dsa: mv88e6xxx: use correct .stats_set_histogram() on Topaz
7d8c06b8d2d2 drm: Return -ENOTTY for non-drm ioctls
b5d7bebd96a3 nds32: fix up stack guard gap
ba378b796088 rbd: always kick acquire on "acquired" and "released" notifications
13066d6628f0 rbd: don't hold lock_rwsem while running_list is being drained
b12ead825f6c hugetlbfs: fix mount mode command line processing
60dbbd76f110 userfaultfd: do not untag user pointers
540eee8cbb3d selftest: use mmap instead of posix_memalign to allocate memory
e706ac3fc82e ixgbe: Fix packet corruption due to missing DMA sync
e617fa62f6cf media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf()
77713fb336ca btrfs: check for missing device in btrfs_trim_fs
f899f24d34d9 tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop.
59a9f75fb2b6 tracing/histogram: Rename "cpu" to "common_cpu"
379d8da3353e firmware/efi: Tell memblock about EFI iomem reservations
281a94362bbe usb: dwc2: gadget: Fix sending zero length packet in DDMA mode.
167079fbfaa7 USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick
811c4cdf2917 USB: serial: cp210x: fix comments for GE CS1000
f54ee7e16d0d USB: serial: option: add support for u-blox LARA-R6 family
e28d28eb9be6 usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop()
863d071dbcd5 usb: max-3421: Prevent corruption of freed memory
e4077a90e600 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS
da6f6769ee0f usb: hub: Fix link power management max exit latency (MEL) calculations
fea6b53e631a usb: hub: Disable USB 3 device initiated lpm if exit latency is too high
962ce043ef92 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state
2b9ffddd70b4 KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow
c968f563ccde xhci: Fix lost USB 2 remote wake
a660ecde5c55 ALSA: hdmi: Expose all pins on MSI MS-7C94 board
f73696354d59 ALSA: sb: Fix potential ABBA deadlock in CSP driver
7aa2dfbc6bd0 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets
46d62c3fe2ab ALSA: usb-audio: Add missing proc text entry for BESPOKEN type
f1754f96ab41 s390/boot: fix use of expolines in the DMA code
8eb521d19248 s390/ftrace: fix ftrace_update_ftrace_func implementation
268132b070d9 Revert "MIPS: add PMD table accounting into MIPS'pmd_alloc_one"
f323809e3108 proc: Avoid mixing integer types in mem_rw()
b71a75209f6a drm/panel: raspberrypi-touchscreen: Prevent double-free
2e6ab87f8e63 net: sched: cls_api: Fix the the wrong parameter
b60461696a0b sctp: update active_key for asoc when old key is being replaced
9fa89c2caee2 nvme: set the PRACT bit when using Write Zeroes with T10 PI
c50141b3d769 r8169: Avoid duplicate sysfs entry creation error
f726817d6b42 afs: Fix tracepoint string placement with built-in AFS
b22c9e433bb7 Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem"
69a49e7b5baf nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING
830251361425 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
a88414fb1117 net/sched: act_skbmod: Skip non-Ethernet packets
c278b954ccc7 net: hns3: fix rx VLAN offload state inconsistent issue
006ed6f4d00b net/tcp_fastopen: fix data races around tfo_active_disable_stamp
3942ba235693 net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition
f11f12decd55 bnxt_en: Check abort error state in bnxt_half_open_nic()
16ce6cb78690 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task()
c993e7aadc50 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe()
6ee8e6be3067 bnxt_en: Improve bnxt_ulp_stop()/bnxt_ulp_start() call sequence.
35637acc9810 spi: cadence: Correct initialisation of runtime PM again
2f2150bf41c1 scsi: target: Fix protect handling in WRITE SAME(32)
a6cb717f8534 scsi: iscsi: Fix iface sysfs attr detection
25df44e90ff5 netrom: Decrease sock refcount when sock timers expire
8d7924ce85ba net: sched: fix memory leak in tcindex_partial_destroy_work
f38527f18905 KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak
b85dadd4347b KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash
b3224bd31861 net: decnet: Fix sleeping inside in af_decnet
bd2b3b13aa2a efi/tpm: Differentiate missing and invalid final event log table.
9413c0abb57f net: fix uninit-value in caif_seqpkt_sendmsg
6d56299ff911 bpftool: Check malloc return value in mount_bpffs_for_pin
edec10098675 bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats
58259e8b6e85 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1]
cc876a5618bc liquidio: Fix unintentional sign extension issue on left shift of u16
42fe8f433b31 ASoC: rt5631: Fix regcache sync errors on resume
d99aaf07365f spi: mediatek: fix fifo rx mode
08cdda8d8972 regulator: hi6421: Fix getting wrong drvdata
b25be6bf6419 regulator: hi6421: Use correct variable type for regmap api val argument
a1ade24cccb5 spi: stm32: fixes pm_runtime calls in probe/remove
40e203ce74eb spi: stm32: Use dma_request_chan() instead dma_request_slave_channel()
24b78097a837 spi: imx: add a check for speed_hz before calculating the clock
52cff6123aa0 perf data: Close all files in close_dir()
0f63857d1099 perf probe-file: Delete namelist in del_events() on the error path
8b92ea243bbf perf lzma: Close lzma stream on exit
51351c6d5a18 perf script: Fix memory 'threads' and 'cpus' leaks on exit
d2bfc3eda914 perf dso: Fix memory leak in dso__new_map()
05804a7d223d perf test event_update: Fix memory leak of evlist
d257f3abdc71 perf test session_topology: Delete session->evlist
89d1762a4a21 perf env: Fix sibling_dies memory leak
fd335143befb perf probe: Fix dso->nsinfo refcounting
6513dee46f80 perf map: Fix dso->nsinfo refcounting
ff9fc81fa884 nvme-pci: do not call nvme_dev_remove_admin from nvme_remove
d029df83c61a cxgb4: fix IRQ free race during driver unload
ae9b64434441 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped
a37ca2a076ec selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect
05364a2794fb selftests: icmp_redirect: remove from checking for IPv6 route get
7f4848229e91 ipv6: fix 'disable_policy' for fwd packets
c67fb96f5431 gve: Fix an error handling path in 'gve_probe()'
e33da4eeaa35 igb: Fix position of assignment to *ring
7dd897773618 igb: Check if num of q_vectors is smaller than max before array access
d3d7cceee841 iavf: Fix an error handling path in 'iavf_probe()'
7a13a8a8a5fb e1000e: Fix an error handling path in 'e1000_probe()'
9fc381db7583 fm10k: Fix an error handling path in 'fm10k_probe()'
5d6a04927b08 igb: Fix an error handling path in 'igb_probe()'
cddd53237de8 igc: Fix an error handling path in 'igc_probe()'
47f69d8828e7 igc: Prefer to use the pci_release_mem_regions method
83b2d55a512a ixgbe: Fix an error handling path in 'ixgbe_probe()'
ba4fbb68fcfe igc: change default return of igc_read_phy_reg()
88e0720133d4 igb: Fix use-after-free error during reset
a9508e0edfe3 igc: Fix use-after-free error during reset
(From OE-Core rev: 1a3763a31bf5d33daf531dcd1e354e0556f5fdd2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d308f120891e23c34fa8ae38a7e87aa3810518ae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OVMF target binaries are (currently) x86-specific, but the native
tools to build them are not.
Make the COMPATIBLE_HOST assignment target-specific, so that the native
tools can be built on an arm64 build server.
(From OE-Core rev: 94f5c2d51ec8033e00b52ef2d4e0e4c334c14163)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 58ebb47688fc98fdaeb78b4033bd31100218d5d6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We dont control the test output and sometimes see badly encoded characters.
These don't affect the operation of the code we're running. Use
errors='replace' to avoid those issues and the resulting test failures.
(From OE-Core rev: bea86c9fc8c1f2e80209fb83c0ed73c7ae350e10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3939b1923387d3bc440118ed1663d28a03a1ea5d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test uses the broken out time and can only handle about 59s of delay,
use a UNIX timestamp to allow for up to a 300s delay.
[YOCTO #14463]
(From OE-Core rev: fd5387e8707e12b5c442bbe745c50a3e27085d02)
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b705e9373acd4119da75af4eb96ec92cc964aa86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Install SDK to non-default dir, sysmlink mkfs.vfat is invalid
$ ./sdk.sh -y -d ./dnf-2 -S -D
$ ls sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -al
lrwxrwxrwx 1 hjia users 99 Aug 10 20:38 sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -> /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools
Since commit [bc4ee54535 sdk: Decouple default install path from
built in path] applied, sdk relocates symlink failed, it should
replace $SDK_BUILD_PATH rather than $DEFAULT_INSTALL_DIR, just
like above commit did
Without this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/usr/local/oecore-x86_64:path-to:
|+ ln -sfn /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/
usr/bin/mkfs.vfat.dosfstools path-to//sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...
After appling this commit:
...
|+ for l in $($SUDO_EXEC find $native_sysroot -type l)
|++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
|++ sed -e s:/opt/windriver/wrlinux-graphics/21.31:path-to:
|+ ln -sfn path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools
path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat
...
(From OE-Core rev: a155c4d4ca841ef492213a5f0b9121703c62e2b4)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 942c06a7348070b92f722fa5c439c8c4404485b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two CVEs are specific to the Node package node-tar.
(From OE-Core rev: d1b09f81ad80e5099ae670c965dcf7d39ad09ac1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc7216e8148d0dee7b56e6851da6615e93647a0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit dd555537fc
'sstate.bbclass: fix errors about read-only sstate mirrors'
adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.
The exception handler checks the error type with the python module errno
but this module needs to be imported as it don't exist.
Example of the error:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:sstate_task_postfunc(d)
0003:
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 778, function: sstate_task_postfunc
0774:
0775: omask = os.umask(0o002)
0776: if omask != 0o002:
0777: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
*** 0778: sstate_package(shared_state, d)
0779: os.umask(omask)
0780:
0781: sstateinst = d.getVar("SSTATE_INSTDIR")
0782: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/home/builder/src/base/poky/meta/classes/sstate.bbclass', lineno: 708, function: sstate_package
0704: except PermissionError:
0705: pass
0706: except OSError as e:
0707: # Handle read-only file systems gracefully
*** 0708: if e.errno != errno.EROFS:
0709: raise e
0710:
0711: return
0712:
Exception: NameError: name 'errno' is not defined
(From OE-Core rev: ce78c16409363741d59a2f787aca66077bec93cd)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15f30ad144fbe25e9a5e71bc7e42e746d2039992)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts part of oe-core eecbe62555, which was a previous attempt
to solve the Y2038 problem. This is now solved centrally in e2fsprogs,
so doesn't need to be dealt with in wic.
We don't revert the commit entirely, to retain the warning if a
filesystem has small inodes.
(From OE-Core rev: 83e53de4c99578a686cd7885610a978d995996b7)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e8017208bed98b6c90735cb641fc9d7aedf9140)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
e2fsprogs calls filesystems larger than 3MB but smaller than 512MB
"small", which has some implications:
- blocksize 1024 instead of 4096
- inode_ratio 4096 instead of 16384
- inode_size 128 instead of 256
The outcome of the inode size dropping to 128 bytes is that they cannot
store 64-bit timestamps, so are not Y2038-safe.
A previous attempt to solve this problem[1] changed some of the canned
wic files to pass -T default to mkfs.ext4, but this only covered wic
images and not traditional images. Also, actually small filesystems,
for example a core-image-minimal, will happily be tens of megabytes and
with the "default" options will result in an image which runs out of
blocks before it runs out of space:
mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system
Considering that many OpenEmbedded images are in fact "small", being
2038-safe is worth the marginal increase is disk usage. This patch
alters the small configuration in native builds so that it also has
256-byte inodes. Target is unchanged so that standard behaviour is
maintained outside of the build.
This is actually the same underlying patch that Mathieu Dubois-Briand
sent in April, but the wic change in [1] was accepted instead. I believe
that is the wrong approach and this approach covers more cases.
[ YOCTO #14478 ]
[1] openembedded-core eecbe62
[2] https://lists.openembedded.org/g/openembedded-core/message/150298
(From OE-Core rev: 98fbb9452aa762e61032a0836e5d732f206e3836)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ab0ae83a24ee99e69f8ac54256b253a122aef8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This implements various fixes in comments in cve-check.bbclass
In particular, the "whitlisted" typo is important as the "whitelisted"
word is going to be replaced in a near future.
(From OE-Core rev: 596859862409f83861665a7e282da8f9f7297878)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5eecd2bf942254d08c252388594e5ec7ae330f45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are times when exluding or including a layer
may be desired. This provide the framwork for that via
two variables. The default is all layers in bblayers.
CVE_CHECK_LAYER_INCLUDELIST
CVE_CHECK_LAYER_EXCLUDELIST
(From OE-Core rev: 76d5c60734c614b8224bef97022738f3a59244d0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5fdde65ef58b4c1048839e4f9462b34bab36fc22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the kernel sources are not fetched via git, a local git repository is
created in do_kernel_checkout. In this case we know that there will be
no remote branches and we will already be on the correct branch (since
only one branch will exist). So we can simplify things by skipping these
steps.
This also removes the assumption that the default git branch name will
be "master". Prior to this change, the final git checkout command in
do_kernel_checkout could fail if a local git repo was created and the
user had changed init.defaultBranch in their gitconfig.
(From OE-Core rev: 3a16f312e5942e8a3d6f77a550c5374da81eed37)
Signed-off-by: Paul Barker <paul@pbarker.dev>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af2a9c92d4498492ca23388c7b4bbed48abdc4d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Along with the other license exclusions, we need to exclude the
top level COPYING.MIT file else when:
COPY_LIC_DIRS = "1"
COPY_LIC_MANIFEST = "1"
is set, we see eSDK failures from a pseudo abort.
[YOCTO #14366]
(From OE-Core rev: 46dd415720eb507a3d181a289b155ac4cfc2219c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3eb580843de3f055e42fcce60b0f15c4190c0542)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release includes security fixes.
CVE-2021-31810: Trusting FTP PASV responses vulnerability in Net::FTP
CVE-2021-32066: A StartTLS stripping vulnerability in Net::IMAP
CVE-2021-31799: A command injection vulnerability in RDoc
https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-7-4-released/
(From OE-Core rev: 9b1a0d63186a64d78de379494fe256087f62770a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is fixed in the upstream glibc-2.31 branch, and dunfell already
includes an update to this version in commit e1e89ff7d7 ("glibc:
update to lastest 2.31 release HEAD")
(From OE-Core rev: c1d49cee0a3a7391708b19647889f48036d7e4e8)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When adding a layer which changed SSTATE_EXCLUDEDEPS_SYSROOT, the state
hashes were changing when they should not. This was caused by wider use
of setscene_depvalid which means the dependency on the variable was seen
when it was previously not.
Exclude the variable since this should be be included in the hashes.
(From OE-Core rev: bae9c6482271d53dc28d3c801fba467e268003bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09725a29365c69ccbd603fe3a1de72189f26d5ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to be compliant with the YP compatible status, a layer also
needs to ensure that all its dependencies are compatible
too. Currently yocto-check-layer only checks the requested layer,
without testing any dependencies.
With this change, all dependencies are also checked by default, so the
summary printed at the end will give a clear picture whether all
dependencies pass the script or not.
Using --no-auto-dependency can be used to skip that.
(From OE-Core rev: bec38becf8a489d69aca0917a2ce1dfdc96d8ab3)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45d59b774b95c91193a8376b83c05291d555e5c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
What this function does is really to find a layer, not a 'depends'. We
are using this function to find a dependent layer, but the name is
confusing.
(From OE-Core rev: d6618f92fa3f589c1d155081e85905ffe5e39a6c)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9b7690ab30d0e7c07471034f6cb89ccc3168a11)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split add_layer_dependencies() into 2 parts. First search for layer
dependencies, and then add them to the config. That allows us to
call get_layer_dependencies() independently.
(From OE-Core rev: e11c7ceed212c0d38e3d38de3099389a4e397818)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08edf928aac3f2daaa0c256d4c21e56e2db72bff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The first 2 calls to add_layer_dependencies() are here to add all
dependencies for the 'layer under test' and the additional layers
provided by the users.
In both cases, we use misssing_dependencies boolean to indicate if any
dependency is missing. But we then never really use
missing_dependencies. Instead the script is calling
add_layer_dependencies() again (for both the layer under test, and the
additional layers) to detect if there are any missing dependency. As a
result, we are trying to add again all dependencies, and we can see
that from the traces:
INFO: Detected layers:
INFO: meta-aws: LayerType.SOFTWARE, /work/oe/sources/meta-aws
INFO: checklayer: Doesn't have conf/layer.conf file, so ignoring
INFO:
INFO: Setting up for meta-aws(LayerType.SOFTWARE), /work/oe/sources/meta-aws
INFO: Adding layer meta-python
INFO: Adding layer meta-oe
INFO: Adding layer meta-networking
-->
INFO: Adding layer meta-python
INFO: meta-python is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-oe
INFO: meta-oe is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
INFO: Adding layer meta-networking
INFO: meta-networking is already in /work/oe/poky/master/build-checklayer/conf/bblayers.conf
<--
INFO: Getting initial bitbake variables ...
The code appears more complex than it should, and we can simply
replace the complex if statement by using missing_dependencies, and
avoid duplicating the call to add_layer_dependencies().
(From OE-Core rev: 84e63d179d935a071730e89a0963bb9ae867c93b)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fceb84f7bc472731b8f96ee1ebf0f4485943226c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test mimic the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state manual test case from oeqa/manual/bsp-hw.json.
(From OE-Core rev: 00074636b81484dedef4c1769b018f6b980be423)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23a3dc370a52907ee3261746405fb9b2af9e9a11)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Improve this test case to fulfill the requirements of replacing the click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw :
1) verify that the terminal window is working without problem
2) verify that there's only 1 terminal window is launched
(From OE-Core rev: 039cd427cffe37bdf09cbf30c2cc47a85e166330)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 824713174fae0617240a236d1bbfd2929bf4b24f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is checking that the terminal application is able to run. The click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw can be replace by this runtime test.
(From OE-Core rev: e4d0109bde6f9dce0709106262c3e4f51007b510)
Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cfa9c1ce853bfd31c1febe61d0f7ad9c5d35f709)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test case is checking the command and LAN device behaviour before and after suspend state. The Test_if_LAN_device_works_well_after_resume_from_suspend_state and standby manual test cases from oeqa/manual/bsp-hw can be replace by this runtime test.
(From OE-Core rev: dbd541cf2bf5083604a2e929ea8f148b96b4ce2f)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10728035a606483ea67f6cb8ba5779558856593a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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: 1d848b939e503df94178822c9ca8bb26d0e75231)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43dd83b6a325589368c980a3f17cab90935aaeb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is checking the functionality of the RTC(Real Time Clock). The Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test case from oeqa/manual/bsp-hw can be replace by this runtime test.
(From OE-Core rev: 7c6624dbea2df5a47752e7684045d9d1aa41c3e5)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6961c2fc04edbc5bc3827c7703997085d9c609e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test mimic the ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP test case from oeqa/manual/bsp-hw.json.
The ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP manual test case should be remove from oeqa/manual/bsp-hw.json if this patch get merged.
(From OE-Core rev: 008cc0340676cd67f3ec68d3ca8286bbd16c32c6)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aaabc94dbe353b12297ba4a237f6817b2c6d4a31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When dhclient is used with ifupdown and in the /etc/network/interfaces
file is something like e.g. "iface eth0 inet6 dhcp" the system does not
boot but hangs at the after dhcp configuration of IPv4 at the stage
where IPv6 should be configured.
The reason seems to be, that ifupdown calls the dhclient in a blocking
way which leads to a permanent block of the boot when no DHCPv6 server
is available.
A similar bug in Redhat:
https://bugzilla.redhat.com/show_bug.cgi?id=585047
[YOCTO #14117]
(From OE-Core rev: 6d8bf12bffa146cb51153a79a4b96b05298c4fbf)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the seccomp PACKAGECONFIG option to allow building seccomp features
in QEMU. The libseccomp library is available in additional layers (e.g.
meta-security).
Additionally this serves as a way to disable seccomp by default to avoid
the configure of QEMU automatically finding it (via pkg-config) on the
build host when building qemu-system-native and auto enabling the
feature.
(From OE-Core rev: 80d79ca651b03a3a7d65d25065af3fa5d85925b3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ruslan Babayev <fib@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates the link to the YP docs
and proposes to access the OE website through https
(From OE-Core rev: a73c10667b3ef2d0606dc5b2e4ff9605e2cd52f6)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87686233aeffc639c3f412fd5c4898b32b15013b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a Makefile race resulting in the target creating a directory being
executed after the target to write into that directory.
[ YOCTO #14485 ]
(From OE-Core rev: 098e9a98ef31211d9a217ab1fde4655b81a7b56d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e90c1d3b80e35fb685d4b321972743771eb2c2c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nicolas Dechesne spotted there was duplicate code I had introduced with a
previous fix. Remove the second statement since the earlier one is correct
all that is needed.
(From OE-Core rev: aa8e0928bda4a01623552084fc0ac0658e495b53)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3e8d9f0e53e73de5498fccce81d049a88f6473b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found in avahi in versions 0.6 up to 0.8. The event used
to signal the termination of the client connection on the avahi Unix
socket is not correctly handled in the client_work function,
allowing a local attacker to trigger an infinite loop. The highest
threat from this vulnerability is to the availability of the avahi
service, which becomes unresponsive after this flaw is triggered.
https://nvd.nist.gov/vuln/detail/CVE-2021-3468
CVE: CVE-2021-3468
(From OE-Core rev: 7ca7aeb7c703bfa22c9f128849e11b62f93d81b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found in libxml2. Exponential entity expansion attack
is possible bypassing all existing protection mechanisms and leading
to denial of service.
https://nvd.nist.gov/vuln/detail/CVE-2021-3541
CVE: 2021-3541
(From OE-Core rev: 1699293a7011797895c284d6ad664c66badba426)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CPE entries for gst-plugins-* are listed as gstreamer issues
so we need to ignore the false hits for the CVEs we've patched
in plugins recipes
(From OE-Core rev: 55140153e66f13a2d8a673a48f6c21e293415e56)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change is correct but should be in gstreamer recipe not gstreamer-plugins-base
This reverts commit f32e90a7f8918aacda61ef6176eb1655742045b4.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change is correct but should be in gstreamer recipe not gstreamer-plugins-good
This reverts commit d853e2bde1ea083f8438e8d7a80f041196d2e38d.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that ":" is a valid character in variable key names, it needs to be
allowed by the variable expansion code too, to match.
(Bitbake rev: c5418eae56cc50dbae7951c055434a0c456c53a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is becomming increasingly clear we need to find a way to show what
is/is not an override in our syntax. We need to do this in a way which
is clear to users, readable and in a way we can transition to.
The most effective way I've found to this is to use the ":" charater
to directly replace "_" where an override is being specified. This
includes "append", "prepend" and "remove" which are effectively special
override directives.
This patch simply adds the character to the parser so bitbake accepts
the value but maps it back to "_" internally so there is no behaviour
change.
This change is simple enough it could potentially be backported to older
version of bitbake meaning layers using the new syntax/markup could
work with older releases. Even if other no other changes are accepted
at this time and we don't backport, it does set us on a path where at
some point in future we could
require a more explict syntax.
I've tested this patch by converting oe-core/meta-yocto to the new
syntax for overrides (9000+ changes) and then seeing that builds
continue to work with this patch.
(Bitbake rev: a6d5fb7554e3cf071e453db56a1e7469ac44277c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If shell function name starts with 'python' or 'fakeroot' parser wrongly
assumes it's python/fakeroot function.
[YOCTO #14204]
Use regex lookahead assertions to check if 'python' expression is
followed by whitespace or '(' and if 'fakeroot' is followed by
whitespace.
(Bitbake rev: 9df61675f0e9bb67a78bfa1a16b1cf9fa4c333f1)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As a follow up to commit: 0fc66a0b64953 [kernel: provide module.lds
for out of tree builds in v5.10+], we must not only copy module.lds
from its new location, we have to not error when it isn't found in
the old location.
With this tweak, we have coverage on all supported arches for the
new location of module.lds, and backwards compatibility through
kernel versions.
(From OE-Core rev: 9ae339ace9274be71bfd3b5e5da64dceac9fa963)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb940d8af359fa370254bd4c2b36ba26708bb54b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e8d9b740a550 Linux 5.4.131
d2f8a8a07ee3 xen/events: reset active flag for lateeoi events later
a05499b29a6e KVM: SVM: Call SEV Guest Decommission if ASID binding fails
58356f448b61 s390/stack: fix possible register corruption with stack switch helper
abbd42939db6 KVM: SVM: Periodically schedule when unregistering regions on destroy
8b24c7edc2f2 Linux 5.4.130
5e8519c4083b RDMA/mlx5: Block FDB rules when not in switchdev mode
c5fb49e12f2c gpio: AMD8111 and TQMX86 require HAS_IOPORT_MAP
cf5eb8209723 drm/nouveau: fix dma_address check for CPU/GPU sync
3edfd34f1338 scsi: sr: Return appropriate error code when disk is ejected
a6c85a8433e0 x86/efi: remove unused variables
(From OE-Core rev: 8c3a582b00842baeea8fdaaa81d641b998fc78a4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edfd97ac5a11f46b9f3b905373abe3554f4b85db)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that pseudo-native always includes statx support and we have sanity
checks on pseudo-native to ensure it always contains a minimum feature set,
we no longer need to mark pseudo-native as distro specific. This fixes
eSDK build problems.
[YOCTO #14428]
(From OE-Core rev: d7e87a5851d717da047f552be394d5712efa0402)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3279e43fcb469edb63c7c4eb60fdc565d5751f9d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates to the latest pseudo version which includes:
Revert "client: Fix some compiler warnings"
ports/linux: Always build statx support
makewrappers: Handle parameters marked as nonnull
client: Fix some compiler warnings
wrappers: Avoid -Wcast-function-type warning
In particular, this pseudo version always has statx enabled which means
we can then remove the need to make pseudo-native host distro specific
which fixes an eSDK issue.
(From OE-Core rev: c78d82c60acd8cf1eabc728d614bf4631a96c2ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 58cc70940ff998be49a9b89e1ad0538242cb7998)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building pseudo-native to work with uninative, we need to ensure the
configuration will work on all supported target systems. This means
"new clone" semantics, xattr and statvfs support in particular. It is
extremely unlikely we'd run on a system without any of these but add
a check just to be sure when uninative is enabled.
(From OE-Core rev: 262b70f94c34762f5879f637dc918e2d5928f2d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea5b208ee25752bea6037cd0f3b28da7d2c9905e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CPE entries for gst-plugins-good are listed as gstreamer issues
so we need to ignore the false hits for the two CVEs we've patched
(From OE-Core rev: d853e2bde1ea083f8438e8d7a80f041196d2e38d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CPE entries for gst-plugins-base are listed as gstreamer issues
so we need to ignore the false hit for the CVE we've patched
(From OE-Core rev: f32e90a7f8918aacda61ef6176eb1655742045b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cli_feat_read_cb() function in src/gatt-database.c does not perform
bounds checks on the 'offset' variable before using it as an index into
an array for reading
https://nvd.nist.gov/vuln/detail/CVE-2021-3588
(From OE-Core rev: 569362f338736a1c85f090909a9893d019bfce5d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The base class is always inherited, drop the unneeded inherit.
(From OE-Core rev: cfd74f2bae51413d9c327e0f08ecf751325c2d74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 837d62c066589e5a12a0bf894ae7b24e8b048665)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tzcode 2020b changed the default format from "-b fat" to "-b slim".
Allow external control for the binary format.
(From OE-Core rev: 1e9393cae53b4de260ec951e7855d74f206730d0)
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9e8b716eb71d4526517825eacefb91ab2c1781c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having two possible failures in multiprocesslauch creates a race where one failure
may occur and stop processes being lanuched meaning the second failure may not
be seen. Rather than having periodic races appearing on the autobuilder, only
have one failure, making the test much more deterministic.
[YOCTO #13054]
(From OE-Core rev: 5df87fc7d3353abb8a8f4a25b544e7927c8b39eb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31e9dcda40aae3ce0801580c838928956e1455e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use dwarfsrcfiles in package.bbclass to list the source files used by a binary.
This is done before they're stripped and linked to debug symbols in separate files.
It is possible a binary may already have a link to separate debug symbols, e.g.
some of the test binaries in lttng-tools ptest. In those cases, the linked binary
may be changed by package.bbclass code whilst dwarfsrcfiles is reading it. That
would result in a rare SIGBUS race causing the binary to fail.
To avoid this, break the debug file search path so no other binaries are found.
Also fix a segfault if no binary is specified while here.
[YOCTO #14400]
(From OE-Core rev: 317e334518c6394ecba4a3fdd4ba18b185822d22)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit efef732859e265533acf16f2f4da3b29d50e0df4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes the following fixes:
4f0a61f753 wordexp: handle overflow in positional parameter number (bug 28011)
8e88c0d888 Fix SXID_ERASE behavior in setuid programs (BZ #27471)
74a4425fae Enhance setuid-tunables test
bb5bb87959 tst-env-setuid: Use support_capture_subprogram_self_sgid
700264179c support: Add capability to fork an sgid child
7fa6d30eea support: Typo and formatting fixes
0de2b69c31 support: Pass environ to child process
0c92f409a7 S390: Also check vector support in memmove ifunc-selector [BZ #27511]
(From OE-Core rev: eb03d3f72472539b10de49a32bdd3c68c34b658e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bug fix release in the stable 2.28 series.
Fixes several crashes and rendering issues.
backport a patch from master to fix clang11 build error
(From OE-Core rev: 16f345895dfb82475ab4640e608d232c38b072f6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d38f23f5c34dfb2a2d28b834b0c35b1f7778f85)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bug fix release in the stable 2.28 series.
- Enable kinetic scrolling with async scrolling.
- Fix web process hangs on large GitHub pages.
- Bubblewrap sandbox should not attempt to bind empty paths.
- Fix threading issues in the media player.
- Fix several crashes and rendering issues.
Remove CVE-2020-13753.patch since fix is included in 2.28.3
(From OE-Core rev: a452fbbdb9646cb2a2f37a680a269b41f4bf215b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e67e325ba620fe91ef11ab2a1029fbbc54b3c69)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release Date: June 28, 2021
This is a security release of Python 3.8
Note: The release you're looking at is Python 3.8.11, a security bugfix release
for the legacy 3.8 series. Python 3.9 is now the latest feature release series
of Python 3. Get the latest release of 3.9.x here.
Security content in this release contains three fixes. There's also two fixes
for 3.8.10 regressions. Take a look at the change log for details.
According to the release calendar specified in PEP 569, Python 3.8 is now in
security fixes only stage of its life cycle: 3.8 branch only accepts security
fixes and releases of those are made irregularly in source-only form until
October 2024. Python 3.8 isn't receiving regular bugfixes anymore, and binary
installers are no longer provided for it. Python 3.8.10 was the last full
bugfix release of Python 3.8 with binary installers.
References:
https://docs.python.org/release/3.8.11/whatsnew/changelog.html#python-3-8-11-final
(From OE-Core rev: 1ba51ee2d52ee92bbdede9f2cd2f9ed9ff04ddb6)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we tweak sstate to not remove empty directories under conditions
where a race could occur, we see failures from:
"oe-selftest -r archiver.Archiver.test_archiver_filters_by_type archiver.Archiver.test_archiver_filters_by_type_and_name"
since an empty directory is left behind. Update the tests to ignore
empty directories.
(From OE-Core rev: c96bcf97272f243df14598c84a41097746884b65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10cda713faea9a348fd278137ac75e4a6d76a71c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit a2db4fa127 added ${WORKDIR}/deploy-* to
PSEUDO_IGNORE_PATHS. This breaks the --strip mode since ${D} is copied to
deploy-target-stripped. Use the directory devtool-deploy-target-stripped
instead.
[YOCTO #14451]
(From OE-Core rev: 9e2c7750f57bd1baa429d2f28a4c836ee57d1bfc)
Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02661f20faf11d0fa2f1874bd423f5d9fa7a31c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sstate code tries to be careful about racing around directory creation.
In particular, the copyhardlinktree code creates the directory tree first
allowing for "already exists" errors and ignoring them, then hardlinks the
files in.
Unfortunately the sstate removal code can race against this since it
will try and remove empty directories. If there is some bad timing,
a newly created directory can be removed before it was populated, leading
to build failures.
We could try and add locking but this would damage performance, we've been
there before. It is also unclear where to actually place locks just based on
the contents of a manifest file which may cover multiple sstate install
locations for a given task.
Instead, lets disable directory removal in the problematic "shared" core
path. This could result in a few more empty directories being left on disk
but those should be harmless and better than locking hurting performance
or rare build races.
[YOCTO #13999]
[YOCTO #14379]
(From OE-Core rev: fa49622521b6386d8031b1e7519f087aa9d99b19)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f94d9296394bc7ce241439f00df86eb5912875f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Load on the autobuilder meant we see occasionaly timeout issues with these tests.
Slightly increase the test timeouts to better reflect the real world timings we
see.
[YOCTO #14262]
(From OE-Core rev: 102ac28cf41e36c5d619be87ebb33b4af32ec817)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fccd2ade0e345625ed9a4b74a7431b000ce2214f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a read-only sstate mirror is used in conjunction with hash equiv,
then OSError will be raised when an sstate-cache hit is achieved.
This is because sstate_task_postfunc will try to "touch" the symlinks
that point to the read-only sstate mirror when sstate_report_unihash
has changed SSTATE_PKG.
This commit adds an additional exception handler to silently mask read
only rootfs errors thrown during the touch.
The fix is also duplicated to sstate_eventhandler as the code is very
similar but it may not be needed there.
Example of the error:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:sstate_task_postfunc(d)
0003:
File: '/poky/meta/classes/sstate.bbclass', lineno: 774, function: sstate_task_postfunc
0770:
0771: omask = os.umask(0o002)
0772: if omask != 0o002:
0773: bb.note("Using umask 0o002 (not %0o) for sstate packaging" % omask)
*** 0774: sstate_package(shared_state, d)
0775: os.umask(omask)
0776:
0777: sstateinst = d.getVar("SSTATE_INSTDIR")
0778: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
File: '/poky/meta/classes/sstate.bbclass', lineno: 703, function: sstate_package
0699: if not os.path.exists(siginfo):
0700: bb.siggen.dump_this_task(siginfo, d)
0701: else:
0702: try:
*** 0703: os.utime(siginfo, None)
0704: except PermissionError:
0705: pass
0706:
0707: return
Exception: OSError: [Errno 30] Read-only file system
(From OE-Core rev: f2360f796016cce93610a080ff07c8047bda6ee8)
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 244b3be0358a66e0cca4016fe26144e3d7323390)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add SSTATETASKS to package_prepare_pkgdata[vardepsexclude] since otherwise
the task hashes vary depending upon which packaging backends are enabled
and likely other changes which add/remove unrelated sstate tasks.
(From OE-Core rev: fd94aa40e68189c41ef650d7fc9f4d4da686a4ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4011d31d4372639fd72ee0eefae210bf59c90d13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen some reproducibility issues on the autobuilder in perf where the
size of the python module varies slightly between systems. After some head
scratching and removing the --quiet option to the python module build,
you can see it using -Lrecipe-sysroot-native in the linking commandline
for the module. This means it is linking against the native library
on systems where that works, skipping it and using the target one
otherwise, probably with warnings in logs we've not seen.
The fix is to inherit the python3targetconfig class which ensures
that the target sysroot is used, then the byte differences between
the builds go away and things are sane(r) again.
(From OE-Core rev: 8d625ded4a943fe9f0a8134d66cb2908b1947cae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e2b6c042edd9ec76cb8281247604e4f81518780)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This races if there are several copies of the test running at the same
time.
[YOCTO #14438]
(From OE-Core rev: deab11848036941771f2b3dc5cdaee83395280b5)
(From OE-Core rev: 969c29c39b0ceb73ace615c478ca4544be803c9a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ea707e8726cd7012d101d02e69503b7c98bdaf3e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.
(From OE-Core rev: 44756b6d92d922873fe1781e2cc1be3031cc5a86)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d6b114cf5a9b22688c0b59a3afc46a07450d87b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When packaging is disabled using the nopackages class, ensure we don't
add to PACKAGES. This fixes builds where we have an unpackaged kernel
alongside a packaged kernel.
(From OE-Core rev: 6683b784d3258672c8d56c945db02ba37379cbf6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2522daf22e2c27dd9c7926feda0345978217c6c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
82ffbc138a1f Linux 5.4.129
9011aaab90b8 certs: Move load_system_certificate_list to a common function
e20b90e4f81b certs: Add EFI_CERT_X509_GUID support for dbx entries
06ab9df09eb3 x86/efi: move common keyring handler functions to new file
ac7d3f554472 certs: Add wrapper function to check blacklisted binary hash
61168eafe024 mm, futex: fix shared futex pgoff on shmem huge page
a33b70d62552 mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
e045e9e79d2a mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
037a1d67d236 mm: page_vma_mapped_walk(): get vma_address_end() earlier
fa89d536948a mm: page_vma_mapped_walk(): use goto instead of while (1)
a499febd9935 mm: page_vma_mapped_walk(): add a level of indentation
b1783bf8c8e4 mm: page_vma_mapped_walk(): crossing page table boundary
80b2270a14b8 mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
ef161ccaca70 mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
4961160272b7 mm: page_vma_mapped_walk(): settle PageHuge on entry
52e2b20fb5e4 mm: page_vma_mapped_walk(): use page for pvmw->page
82ee7326af7a mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split
bd4389215227 mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
b767134ec30a mm/thp: fix page_address_in_vma() on file THP tails
41432a8a6776 mm/thp: fix vma_address() if virtual address below file offset
4b0a34e222e5 mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
bd092a0f1942 mm/thp: make is_huge_zero_pmd() safe and quicker
4c37d7f269f8 mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
7ce4b73d349b mm, thp: use head page in __migration_entry_wait()
68ce37ebe0f2 mm/rmap: use page_not_mapped in try_to_unmap()
432b61863ac7 mm/rmap: remove unneeded semicolon in page_not_mapped()
cfe575954ddd mm: add VM_WARN_ON_ONCE_PAGE() macro
42f11f0fe977 kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()
06ab015d1849 kthread_worker: split code for canceling the delayed work timer
d77c9c8537db i2c: robotfuzz-osif: fix control-request directions
bb85717e3797 KVM: do not allow mapping valid but non-reference-counted pages
d6f751ecccfb nilfs2: fix memory leak in nilfs_sysfs_delete_device_group
702acfcbfa68 pinctrl: stm32: fix the reported number of GPIO lines per bank
76c10e10ba7b net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY
aa00b9780482 net: ll_temac: Add memory-barriers for TX BD access
d807b93f9bca PCI: Add AMD RS690 quirk to enable 64-bit DMA
5830f2081d98 recordmcount: Correct st_shndx handling
70866199220e net: qed: Fix memcpy() overflow of qed_dcbx_params()
b7168ec176fd KVM: selftests: Fix kvm_check_cap() assertion
58687d143515 r8169: Avoid memcpy() over-reading of ETH_SS_STATS
cb4a2e4e224a sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
97e0102e1824 r8152: Avoid memcpy() over-reading of ETH_SS_STATS
f12a5b48bcc8 net/packet: annotate accesses to po->ifindex
cdcedd3c8683 net/packet: annotate accesses to po->bind
343406f9c198 net: caif: fix memory leak in ldisc_open
8707ce86e927 net: phy: dp83867: perform soft reset and retain established link
9f2d04dfb3c4 inet: annotate date races around sk->sk_txhash
d40ff07a7b7d ping: Check return value of function 'ping_queue_rcv_skb'
9df4f031536b net: ethtool: clear heap allocations for ethtool function
62aed2df294a mac80211: drop multicast fragments
eb2b1216bc8f net: ipv4: Remove unneed BUG() function
e0c950d2fddb dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma
f7b1926c7c5d dmaengine: mediatek: do not issue a new desc if one is still current
3d995587c3ea dmaengine: mediatek: free the proper desc in desc_free handler
c09af3877b53 dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()
f2c027a7750f cfg80211: call cfg80211_leave_ocb when switching away from OCB
78bf3c613148 mac80211_hwsim: drop pending frames on stop
ae9de9444b54 mac80211: remove warning in ieee80211_get_sband()
0e486713779a dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
456367b24190 Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"
1442186236ad spi: spi-nxp-fspi: move the register operation after the clock enable
7bc73260c4b1 MIPS: generic: Update node names to avoid unit addresses
0855fe6d8835 arm64: link with -z norelro for LLD or aarch64-elf
3173390b8dbc kbuild: add CONFIG_LD_IS_LLD
3450f5eb8c9e mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk
48a5449c0be1 ARM: 9081/1: fix gcc-10 thumb2-kernel regression
4a8e89e0fd0b drm/radeon: wait for moving fence after pinning
4577708b2a22 drm/nouveau: wait for moving fence after pinning v2
c77c617e26e2 Revert "drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell."
6bd0da6c9b12 Revert "drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue."
e2dc07ca4e01 module: limit enabling module.sig_enforce
(From OE-Core rev: bcbeef7c6fc55e60d4bb5351e25046705b3b68ea)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d621feee60e71bea68c853626e74669b9d953346)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4037804c5574 Linux 5.4.128
fd7c4bd58249 usb: dwc3: core: fix kernel panic when do reboot
d7e403eea007 usb: dwc3: debugfs: Add and remove endpoint dirs dynamically
5babc3977565 clocksource/drivers/timer-ti-dm: Handle dra7 timer wrap errata i940
aad8f1d88ed6 clocksource/drivers/timer-ti-dm: Prepare to handle dra7 timer wrap issue
5394080643bc clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support
c53cc5f9587c ARM: OMAP: replace setup_irq() by request_irq()
7d266c8a2ae8 KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
0c2a4178d796 tools headers UAPI: Sync linux/in.h copy with the kernel sources
7381c4d0bc10 net: fec_ptp: add clock rate zero check
190ecdf53d67 net: stmmac: disable clocks in stmmac_remove_config_dt()
4f69c8930674 mm/slub.c: include swab.h
9ddeea35c47d mm/slub: fix redzoning for small allocations
c0837e021d90 mm/slub: clarify verification reporting
79855be6445b net: bridge: fix vlan tunnel dst refcnt when egressing
a2241e62f6b4 net: bridge: fix vlan tunnel dst null pointer dereference
b6c0ab11c88f net: ll_temac: Fix TX BD buffer overwrite
6d120ab4dc39 net: ll_temac: Make sure to free skb when it is completely used
a32f70e06980 drm/amdgpu/gfx9: fix the doorbell missing when in CGPG issue.
dbde458378ef drm/amdgpu/gfx10: enlarge CP_MEC_DOORBELL_RANGE_UPPER to cover full doorbell.
92e08a5ffae9 cfg80211: avoid double free of PMSR request
01ade7c84fda cfg80211: make certificate generation more robust
05b4fdec273b dmaengine: pl330: fix wrong usage of spinlock flags in dma_cyclc
f3c629b164ca x86/fpu: Reset state for all signal restore failures
4f1e9bafa195 x86/pkru: Write hardware init value to PKRU when xstate is init
13c5f1f0798c x86/process: Check PF_KTHREAD and not current->mm for kernel threads
80c56699cf1a ARCv2: save ABI registers across signal handling
cbb425f62df9 KVM: x86: Immediately reset the MMU context when the SMM flag is cleared
58877ce3fecd PCI: Work around Huawei Intelligent NIC VF FLR erratum
a36d9bdc1917 PCI: Add ACS quirk for Broadcom BCM57414 NIC
4c90f90a91d7 PCI: aardvark: Fix kernel panic during PIO transfer
0e888c237754 PCI: aardvark: Don't rely on jiffies while holding spinlock
f3b600a2b6bc PCI: Mark some NVIDIA GPUs to avoid bus reset
775c25b7a334 PCI: Mark TI C667X to avoid bus reset
c7660ab8126e tracing: Do no increment trace_clock_global() by one
79894a5d75ab tracing: Do not stop recording comms if the trace file is being read
4ab1152bb778 tracing: Do not stop recording cmdlines when tracing is off
0061eff74824 usb: core: hub: Disable autosuspend for Cypress CY7C65632
6f87c0e21ad2 can: mcba_usb: fix memory leak in mcba_usb
22cba878abf6 can: j1939: fix Use-after-Free, hold skb ref while in use
776e0d16ac84 can: bcm/raw/isotp: use per module netdevice notifier
c297559a2a2a can: bcm: fix infoleak in struct bcm_msg_head
35b651d6bdf3 hwmon: (scpi-hwmon) shows the negative temperature properly
8ea34be15fb5 radeon: use memcpy_to/fromio for UVD fw upload
0b445249635d pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
d7d307fb3e70 spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
04e5fbe604d3 ASoC: rt5659: Fix the lost powers for the HDA header
81376d3d5ede regulator: bd70528: Fix off-by-one for buck123 .n_voltages setting
19f88ca68ccf net: ethernet: fix potential use-after-free in ec_bhf_remove
63137ea2423c icmp: don't send out ICMP messages with a source address of 0.0.0.0
c3e6fbc7ba7c bnxt_en: Call bnxt_ethtool_free() in bnxt_init_one() error path
87971d582c66 bnxt_en: Rediscover PHY capabilities after firmware reset
755da76ec5de cxgb4: fix wrong shift.
81de2ed06df8 net: cdc_eem: fix tx fixup skb leak
a49cbb762ef2 net: hamradio: fix memory leak in mkiss_close
0f868a684376 be2net: Fix an error handling path in 'be_probe()'
c14c276d7f35 net/af_unix: fix a data-race in unix_dgram_sendmsg / unix_release_sock
3dd2aeac2e96 net: ipv4: fix memory leak in ip_mc_add1_src
7b18f289fd0b net: fec_ptp: fix issue caused by refactor the fec_devtype
4252bf6c2b24 net: usb: fix possible use-after-free in smsc75xx_bind
217395c5ab15 lantiq: net: fix duplicated skb in rx descriptor ring
5f7acbf602d8 net: cdc_ncm: switch to eth%d interface naming
3daa97817aa8 ptp: improve max_adj check against unreasonable values
26b8d10703a9 net: qrtr: fix OOB Read in qrtr_endpoint_post
8d3de2b47e53 netxen_nic: Fix an error handling path in 'netxen_nic_probe()'
a670a78fb180 qlcnic: Fix an error handling path in 'qlcnic_probe()'
b0bb49b0fbc3 net: make get_net_ns return error if NET_NS is disabled
5d47a84f459c net: stmmac: dwmac1000: Fix extended MAC address registers definition
c82e4e78094d alx: Fix an error handling path in 'alx_probe()'
4cefa061fc63 sch_cake: Fix out of bounds when parsing TCP options and header
6defc77d48ef netfilter: synproxy: Fix out of bounds when parsing TCP options
ad689fec4498 net/mlx5e: Block offload of outer header csum for UDP tunnels
946a36f82a0b net/mlx5e: allow TSO on VXLAN over VLAN topologies
0bb0270832c8 net/mlx5: Consider RoCE cap before init RDMA resources
4b16118665e9 net/mlx5e: Fix page reclaim for dead peer hairpin
3c3461ed267b net/mlx5e: Remove dependency in IPsec initialization flows
2ae0f0a409c8 net/sched: act_ct: handle DNAT tuple collision
23f3d2779dd6 rtnetlink: Fix regression in bridge VLAN configuration
5a88477c1c85 udp: fix race between close() and udp_abort()
cc4c6b19093c net: lantiq: disable interrupt before sheduling NAPI
2038cd15eacd net: rds: fix memory leak in rds_recvmsg
cc16e7d36e5c vrf: fix maximum MTU
398a24447eb6 net: ipv4: fix memory leak in netlbl_cipsov4_add_std
e7fbd8184fa9 batman-adv: Avoid WARN_ON timing related checks
bf99ea52970c kvm: LAPIC: Restore guard to prevent illegal APIC register access
566345aaabac mm/memory-failure: make sure wait for page writeback in memory_failure
0498165c6fec afs: Fix an IS_ERR() vs NULL check
2a3f74ca167e dmaengine: stedma40: add missing iounmap() on error in d40_probe()
10fd28745d8b dmaengine: QCOM_HIDMA_MGMT depends on HAS_IOMEM
1e3c5c450567 dmaengine: ALTERA_MSGDMA depends on HAS_IOMEM
a82d4d5e9fe6 Linux 5.4.127
f7afaf778591 fib: Return the correct errno code
51cc5ad292da net: Return the correct errno code
376a703f9dce net/x25: Return the correct errno code
107140952ecd rtnetlink: Fix missing error code in rtnl_bridge_notify()
12fa0fdbcd0f drm/amd/display: Allow bandwidth validation for 0 streams.
8c48345fdc98 net: ipconfig: Don't override command-line hostnames or domains
c8e4a72b255e nvme-loop: check for NVME_LOOP_Q_LIVE in nvme_loop_destroy_admin_queue()
655d4dc10a23 nvme-loop: clear NVME_LOOP_Q_LIVE when nvme_loop_configure_admin_queue() fails
ed4bee6e1bb7 nvme-loop: reset queue count to 1 in nvme_loop_destroy_io_queues()
31ac5531110a scsi: scsi_devinfo: Add blacklist entry for HPE OPEN-V
4791b8948741 scsi: qedf: Do not put host in qedf_vport_create() unconditionally
8034fc4ee9ef ethernet: myri10ge: Fix missing error code in myri10ge_probe()
ea4a9a34c9b2 scsi: target: core: Fix warning on realtime kernels
86fd5b27db74 gfs2: Fix use-after-free in gfs2_glock_shrink_scan
527f70f76742 riscv: Use -mno-relax when using lld linker
e58f4b5046e0 HID: gt683r: add missing MODULE_DEVICE_TABLE
50b8e1be15f6 gfs2: Prevent direct-I/O write fallback errors from getting lost
c8eff6762943 ARM: OMAP2+: Fix build warning when mmc_omap is not built
e4c3f7a6a3b2 drm/tegra: sor: Do not leak runtime PM reference
7f5a4b24cdbd HID: usbhid: fix info leak in hid_submit_ctrl
20fbcfaaa571 HID: Add BUS_VIRTUAL to hid_connect logging
41b9b39e1b37 HID: multitouch: set Stylus suffix for Stylus-application devices, too
2173746ed125 HID: quirks: Add quirk for Lenovo optical mouse
cdf5e4747da9 HID: hid-sensor-hub: Return error for hid_set_field() failure
1f760c4e655c HID: hid-input: add mapping for emoji picker key
818bf51031cf HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for Saitek X65
d0f47648b87b net: ieee802154: fix null deref in parse dev addr
ffe4d2a0684d Linux 5.4.126
0f8837070136 proc: only require mm_struct for writing
d63f00ec908b tracing: Correct the length check which causes memory corruption
7e4e824b109f ftrace: Do not blindly read the ip address in ftrace_bug()
74430f3f6149 scsi: core: Only put parent device if host state differs from SHOST_CREATED
e694ddc8f3de scsi: core: Put .shost_dev in failure path if host state changes to RUNNING
fe7bcd794a53 scsi: core: Fix failure handling of scsi_add_host_with_dma()
79296e292d67 scsi: core: Fix error handling of scsi_host_alloc()
8c9400c4855e NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.
86377b239e04 NFSv4: Fix second deadlock in nfs4_evict_inode()
3e3c7ebbfac1 NFS: Fix use-after-free in nfs4_init_client()
83668ab1dbbf kvm: fix previous commit for 32-bit builds
0147af30925a perf session: Correct buffer copying when peeking events
34769f17e47c NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()
0057ecef9f32 NFS: Fix a potential NULL dereference in nfs_get_client()
e3ecd9c09fcc IB/mlx5: Fix initializing CQ fragments buffer
796d3bd4ac93 KVM: x86: Ensure liveliness of nested VM-Enter fail tracepoint message
71c751cbb9e8 sched/fair: Make sure to update tg contrib for blocked load
26ab08df8656 perf: Fix data race between pin_count increment/decrement
8aeb339571c6 vmlinux.lds.h: Avoid orphan section with !SMP
fc57713afaca RDMA/mlx4: Do not map the core_clock page to user space unless enabled
64f1fb6acc2a RDMA/ipoib: Fix warning caused by destroying non-initial netns
a0828219185d usb: typec: mux: Fix copy-paste mistake in typec_mux_match
139af3b2192c regulator: max77620: Use device_set_of_node_from_dev()
c4e10f92c319 regulator: core: resolve supply for boot-on/always-on regulators
5ef23506695b usb: fix various gadget panics on 10gbps cabling
b4903f7fdc48 usb: fix various gadgets null ptr deref on 10gbps cabling.
191144bcfe3a usb: gadget: eem: fix wrong eem header operation
cc40404bd0dd USB: serial: cp210x: fix alternate function for CP2102N QFN20
02fafcf74cde USB: serial: quatech2: fix control-request directions
eedd4b494538 USB: serial: omninet: add device id for Zyxel Omni 56K Plus
a2119ad276f1 USB: serial: ftdi_sio: add NovaTech OrionMX product ID
28b9764eb568 usb: gadget: f_fs: Ensure io_completion_wq is idle during unbind
4fe7635a245b usb: typec: ucsi: Clear PPM capability data in ucsi_init() error path
9523c42be986 usb: typec: wcove: Use LE to CPU conversion when accessing msg->header
5e8ca8c79f74 usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling
366369b89bed usb: dwc3: ep0: fix NULL pointer exception
c469c8dddc7d usb: pd: Set PD_T_SINK_WAIT_CAP to 310ms
32c2e6c2e4eb usb: f_ncm: only first packet of aggregate needs to start timer
0c05a8bc0e76 USB: f_ncm: ncm_bitrate (speed) is unsigned
4d14a82ef112 cgroup1: don't allow '\n' in renaming
298499d73d2d btrfs: promote debugging asserts to full-fledged checks in validate_super
d4b047651fb1 btrfs: return value from btrfs_mark_extent_written() in case of error
dccd575337ac staging: rtl8723bs: Fix uninitialized variables
bff1fbf0cf07 kvm: avoid speculation-based attacks from out-of-range memslot accesses
977d11df7932 drm: Lock pointer access in drm_master_release()
b246b4c70c12 drm: Fix use-after-free read in drm_getunique()
b5502580cf95 spi: bcm2835: Fix out-of-bounds access with more than 4 slaves
a225ee1fe41c x86/boot: Add .text.* to setup.ld
8c2c1db4f2e4 i2c: mpc: implement erratum A-004447 workaround
c7f0393a370e i2c: mpc: Make use of i2c_recover_bus()
3cdbefdd3146 spi: Cleanup on failure of initial setup
85a7998e7211 spi: Don't have controller clean up spi device before driver unbind
92350839d329 powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers
96cea4843b8f powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P2041 i2c controllers
3e9aa125f69c nvme-tcp: remove incorrect Kconfig dep in BLK_DEV_NVME
c385af145eb4 bnx2x: Fix missing error code in bnx2x_iov_init_one()
ece8ad75e318 dm verity: fix require_signatures module_param permissions
a450b5b6c01d MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER
eb5c4794b79e nvme-fabrics: decode host pathing error for connect
70036fb61ea8 net: dsa: microchip: enable phy errata workaround on 9567
128bb4b0e5d2 net: appletalk: cops: Fix data race in cops_probe1
19e14481cc7d net: macb: ensure the device is available before accessing GEMGXL control registers
cd05e1a61a05 scsi: target: qla2xxx: Wait for stop_phase1 at WWN removal
e773147692c6 scsi: hisi_sas: Drop free_irq() of devm_request_irq() allocated irq
1e209effe36c scsi: vmw_pvscsi: Set correct residual data length
90476c1bfff0 scsi: bnx2fc: Return failure if io_req is already in ABTS processing
a3842219a69d RDS tcp loopback connection can hang
3e324774411d net/qla3xxx: fix schedule while atomic in ql_sem_spinlock
f9e7a38d148e wq: handle VM suspension in stall detection
92215c1f24c0 cgroup: disable controllers at parse time
e29d22371de8 net: mdiobus: get rid of a BUG_ON()
21df0c2e7d19 netlink: disable IRQs for netlink_lock_table()
e0172831c61a bonding: init notify_work earlier to avoid uninitialized use
9d7d4649dc1c isdn: mISDN: netjet: Fix crash in nj_probe:
77b9f527731e spi: sprd: Add missing MODULE_DEVICE_TABLE
cbeee4ccc1c7 ASoC: sti-sas: add missing MODULE_DEVICE_TABLE
575ad4ab2057 vfio-ccw: Serialize FSM IDLE state with I/O completion
02d3f4f0aadb ASoC: Intel: bytcr_rt5640: Add quirk for the Lenovo Miix 3-830 tablet
8a9478cfb21b ASoC: Intel: bytcr_rt5640: Add quirk for the Glavey TM800A550L tablet
02851cb0cae3 usb: cdns3: Fix runtime PM imbalance on error
f3ed12af6bbb net/nfc/rawsock.c: fix a permission check bug
3e7c190475d9 spi: Fix spi device unregister flow
9f9ad67183aa ASoC: max98088: fix ni clock divider calculation
c9002013ffe0 proc: Track /proc/$pid/attr/ opener mm_struct
(From OE-Core rev: 0a134cc73311cd3b05963273721e54289572d85c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c48b8526b56530baa50eb78d3870fe252b3ca1f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
3909e2374335 Linux 5.4.125
d99029e6aab6 neighbour: allow NUD_NOARP entries to be forced GCed
8e0bb29446d1 i2c: qcom-geni: Suspend and resume the bus during SYSTEM_SLEEP_PM ops
bdc17b2f8264 xen-pciback: redo VF placement in the virtual topology
defcc2b5e54a lib/lz4: explicitly support in-place decompression
97e814e6b5cd x86/kvm: Disable all PV features on crash
9084fe1b3572 x86/kvm: Disable kvmclock on all CPUs on shutdown
7620a669111b x86/kvm: Teardown PV features on boot CPU as well
f82030a586a1 KVM: arm64: Fix debug register indexing
2295e87a5e39 KVM: SVM: Truncate GPR value for DR and CR accesses in !64-bit mode
0450af01ae7e btrfs: fix unmountable seed device after fstrim
3b7f3cab1d47 mm/filemap: fix storing to a THP shadow entry
0a890e220954 XArray: add xas_split
03a390d8796d XArray: add xa_get_order
fd8e06a7a723 mm: add thp_order
f192885f7cee bnxt_en: Remove the setting of dev_port.
14fd3da3e8d3 mm, hugetlb: fix simple resv_huge_pages underflow on UFFDIO_COPY
6d4da27bd9ef btrfs: fixup error handling in fixup_inode_link_counts
dad974d2494a btrfs: return errors from btrfs_del_csums in cleanup_ref_head
0fd9149a82e3 btrfs: fix error handling in btrfs_del_csums
295859a55549 btrfs: mark ordered extent and inode with error if we fail to finish
12ca65539b04 x86/apic: Mark _all_ legacy interrupts when IO/APIC is missing
b0c0d8b5bf94 drm/amdgpu: make sure we unpin the UVD BO
24c06e5452c3 drm/amdgpu: Don't query CE and UE errors
5d4c4b06ed9f nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connect
cc2edb99ea60 ocfs2: fix data corruption by fallocate
2cd6eedfa634 pid: take a reference when initializing `cad_pid`
fe4e0bd4c26c usb: dwc2: Fix build in periphal-only mode
920697b004e4 ext4: fix bug on in ext4_es_cache_extent as ext4_split_extent_at failed
52fc8f05c158 ARM: dts: imx6q-dhcom: Add PU,VDD1P1,VDD2P5 regulators
2cac47eed455 ARM: dts: imx6dl-yapp4: Fix RGMII connection to QCA8334 switch
d349ff008cb3 ALSA: hda: Fix for mute key LED for HP Pavilion 15-CK0xx
0afd601d8e0a ALSA: timer: Fix master timer notification
d65bc969ec8b HID: multitouch: require Finger field to mark Win8 reports as MT
368c5d45a87e HID: magicmouse: fix NULL-deref on disconnect
142d5ca797a9 HID: i2c-hid: Skip ELAN power-on command after reset
4d94f530cd24 net: caif: fix memory leak in cfusbl_device_notify
f52f4fd67264 net: caif: fix memory leak in caif_device_notify
c97cdb70b72d net: caif: add proper error handling
64824f626c0c net: caif: added cfserl_release function
b6f97555c71f Bluetooth: use correct lock to prevent UAF of hdev object
8d3d0ac73a4a Bluetooth: fix the erroneous flush_work() order
28efacc21d2a tipc: fix unique bearer names sanity check
9ac67fdf64e0 tipc: add extack messages for bearer/media failure
0fa160a75748 bus: ti-sysc: Fix flakey idling of uarts and stop using swsup_sidle_act
22ea29c39717 ARM: dts: imx: emcon-avari: Fix nxp,pca8574 #gpio-cells
5b97dd983255 ARM: dts: imx7d-pico: Fix the 'tuning-step' property
55fa22d1d8b2 ARM: dts: imx7d-meerkat96: Fix the 'tuning-step' property
3a559111bd10 arm64: dts: zii-ultra: fix 12V_MAIN voltage
f78c28a0dda1 arm64: dts: ls1028a: fix memory node
3616dd03bc43 i40e: add correct exception tracing for XDP
adfd6355fc8b i40e: optimize for XDP_REDIRECT in xsk path
06f667dba42e i2c: qcom-geni: Add shutdown callback for i2c
de37510ec67d ice: Allow all LLDP packets from PF to Tx
bafd0a7461f0 ice: Fix VFR issues for AVF drivers that expect ATQLEN cleared
3583ab29177c ice: write register with correct offset
7ba7fa78a92d ipv6: Fix KASAN: slab-out-of-bounds Read in fib6_nh_flush_exceptions
112533f50c7e ixgbevf: add correct exception tracing for XDP
b5cc02c6986f ieee802154: fix error return code in ieee802154_llsec_getparams()
4ca8aa37cb43 ieee802154: fix error return code in ieee802154_add_iface()
66f3ab065b70 netfilter: nfnetlink_cthelper: hit EBUSY on updates if size mismatches
da8d31e80ff4 netfilter: nft_ct: skip expectations for confirmed conntrack
14c0381e2639 ACPICA: Clean up context mutex during object deletion
8e8678936f0d net/sched: act_ct: Fix ct template allocation for zone 0
385e1861f31b HID: i2c-hid: fix format string mismatch
279e2136dd21 HID: pidff: fix error return code in hid_pidff_init()
c8a95cb0c02d ipvs: ignore IP_VS_SVC_F_HASHED flag when adding service
087b803a5b49 vfio/platform: fix module_put call in error flow
60dcad10e2c7 samples: vfio-mdev: fix error handing in mdpy_fb_probe()
870973918b2a vfio/pci: zap_vma_ptes() needs MMU
5da371c3fdfb vfio/pci: Fix error return code in vfio_ecap_init()
a4ed60297770 efi: cper: fix snprintf() use in cper_dimm_err_location()
bc8f6647a73c efi: Allow EFI_MEMORY_XP and EFI_MEMORY_RO both to be cleared
2986fdd3211f netfilter: conntrack: unregister ipv4 sockopts on error unwind
90870b45fc62 hwmon: (dell-smm-hwmon) Fix index values
0338fa4af9f3 nl80211: validate key indexes for cfg80211_registered_device
e9487a498753 ALSA: usb: update old-style static const declaration
aaa41b3094ea net: usb: cdc_ncm: don't spew notifications
96a40c3fa3d3 btrfs: tree-checker: do not error out if extent ref hash doesn't match
(From OE-Core rev: 9c3b82eec2c9e7263898a812d82089831564cf6d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ac4206f38bba852b1171419ad72a6e1c75ccec4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
70154d2f82a9 Linux 5.4.124
23c7e3235a3a usb: core: reduce power-on-good delay time of root hub
241abccc8a33 neighbour: Prevent Race condition in neighbour subsytem
3c36980ba681 net: hso: bail out on interrupt URB allocation failure
1bd48a2af84e Revert "Revert "ALSA: usx2y: Fix potential NULL pointer dereference""
866648d965f0 net: hns3: check the return of skb_checksum_help()
72cda5259f5e drivers/net/ethernet: clean up unused assignments
776fba1486be i915: fix build warning in intel_dp_get_link_status()
c561d83be40f drm/i915/display: fix compiler warning about array overrun
e3d5ff235ec5 MIPS: ralink: export rt_sysc_membase for rt2880_wdt.c
86a62df8f4d4 MIPS: alchemy: xxs1500: add gpio-au1000.h header file
2221f233cc9e sch_dsmark: fix a NULL deref in qdisc_reset()
a052751302b7 net: ethernet: mtk_eth_soc: Fix packet statistics support for MT7628/88
162b11831f77 ALSA: usb-audio: scarlett2: snd_scarlett_gen2_controls_create() can be static
3bfb58517d06 ipv6: record frag_max_size in atomic fragments in input path
8bb1077448d4 net: lantiq: fix memory corruption in RX ring
fda8f74d3975 scsi: libsas: Use _safe() loop in sas_resume_port()
cf20c704a26e ixgbe: fix large MTU request from VF
7a143b92d1dc bpf: Set mac_len in bpf_skb_change_head
272729d56b2d ASoC: cs35l33: fix an error code in probe()
3ee1d6e23108 staging: emxx_udc: fix loop in _nbu2ss_nuke()
0bf49b3c8d8b cxgb4: avoid accessing registers when clearing filters
68b5fc6ec52f gve: Correct SKB queue index validation.
4f4752e4d8db gve: Upgrade memory barrier in poll routine
821149ee88c2 gve: Add NULL pointer checks when freeing irqs.
6abd1d1983f2 gve: Update mgmt_msix_idx if num_ntfy changes
13c4d8986125 gve: Check TX QPL was actually assigned
37d697759958 mld: fix panic in mld_newpack()
b0fb74377891 bnxt_en: Include new P5 HV definition in VF check.
f7b5b4e26bf5 net: bnx2: Fix error return code in bnx2_init_board()
7a79654b9076 net: hso: check for allocation failure in hso_create_bulk_serial_device()
48da4c0577fe net: sched: fix tx action reschedule issue with stopped queue
515e7c595d84 net: sched: fix tx action rescheduling issue during deactivation
1c25c7621fb7 net: sched: fix packet stuck problem for lockless qdisc
a04790d104e2 tls splice: check SPLICE_F_NONBLOCK instead of MSG_DONTWAIT
5c01181700ab openvswitch: meter: fix race when getting now_ms.
5bfdc481d812 net: mdio: octeon: Fix some double free issues
2e0fba911ca7 net: mdio: thunder: Fix a double free issue in the .remove function
20255d41ac56 net: fec: fix the potential memory leak in fec_enet_init()
41f7f37ddefe net: really orphan skbs tied to closing sk
694f68527e75 vfio-ccw: Check initialized flag in cp_init()
d5e4479228b5 ASoC: cs42l42: Regmap must use_single_read/write
87803141fb3e net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_count
4450f733dc3d net: netcp: Fix an error message
de2bf5de17be drm/amd/amdgpu: fix a potential deadlock in gpu reset
7398c2aab4da drm/amdgpu: Fix a use-after-free
dde2656e0bbb drm/amd/amdgpu: fix refcount leak
f6d92ebb3eaf drm/amd/display: Disconnect non-DP with no EDID
63c61d89660a SMB3: incorrect file id in requests compounded with open
07160b004a0b platform/x86: touchscreen_dmi: Add info for the Mediacom Winpad 7.0 W700 tablet
d1dcd53a45e1 platform/x86: intel_punit_ipc: Append MODULE_DEVICE_TABLE for ACPI
feb5d3618a18 platform/x86: hp-wireless: add AMD's hardware id to the supported list
0ed102453aa1 btrfs: do not BUG_ON in link_to_fixup_dir
a10371342903 openrisc: Define memory barrier mb
fed34fb07c4b scsi: BusLogic: Fix 64-bit system enumeration error for Buslogic
55575c08502f btrfs: return whole extents in fiemap
a3dea6dc1e14 brcmfmac: properly check for bus register errors
26fb7a61de4e Revert "brcmfmac: add a check for the status of usb_register"
d4bab5d15bf5 net: liquidio: Add missing null pointer checks
6ba750549671 Revert "net: liquidio: fix a NULL pointer dereference"
d771def6c305 media: gspca: properly check for errors in po1030_probe()
44b17737b7aa Revert "media: gspca: Check the return value of write_bridge for timeout"
f6068eadc1d2 media: gspca: mt9m111: Check write_bridge for timeout
f19375e9a8f2 Revert "media: gspca: mt9m111: Check write_bridge for timeout"
193c790eccfc media: dvb: Add check on sp8870_readreg return
2d5e27f0e031 Revert "media: dvb: Add check on sp8870_readreg"
5b3a68a1cf37 ASoC: cs43130: handle errors in cs43130_probe() properly
7e4ac4e151f1 Revert "ASoC: cs43130: fix a NULL pointer dereference"
3aa60a0335ea libertas: register sysfs groups properly
e0c75f951f81 Revert "libertas: add checks for the return value of sysfs_create_group"
6c52bc7482e3 dmaengine: qcom_hidma: comment platform_driver_register call
e829b7253e4d Revert "dmaengine: qcom_hidma: Check for driver register failure"
4bc94e60d787 isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info
6b8872d4972f Revert "isdn: mISDN: Fix potential NULL pointer dereference of kzalloc"
85b2c436a143 ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()
b74d4ae8f538 Revert "ath6kl: return error code in ath6kl_wmi_set_roam_lrssi_cmd()"
a34338fcaad6 isdn: mISDNinfineon: check/cleanup ioremap failure correctly in setup_io
d3d74e622e63 Revert "isdn: mISDNinfineon: fix potential NULL pointer dereference"
5dc20457707b Revert "ALSA: usx2y: Fix potential NULL pointer dereference"
ea4c563657d7 Revert "ALSA: gus: add a check of the status of snd_ctl_add"
70bf2a067915 char: hpet: add checks after calling ioremap
07d2945a3551 Revert "char: hpet: fix a missing check of ioremap"
b1da7ad9ad58 net: caif: remove BUG_ON(dev == NULL) in caif_xmit
e8dee217eca8 Revert "net/smc: fix a NULL pointer dereference"
22049c3d40f0 net: fujitsu: fix potential null-ptr-deref
ebb533ce35b5 Revert "net: fujitsu: fix a potential NULL pointer dereference"
e50a9f2548a5 serial: max310x: unregister uart driver in case of failure and abort
e5d3e4b6104c Revert "serial: max310x: pass return value of spi_register_driver"
047aefd62220 Revert "ALSA: sb: fix a missing check of snd_ctl_add"
bec840232fed Revert "media: usb: gspca: add a missed check for goto_low_power"
e44a9941937d gpio: cadence: Add missing MODULE_DEVICE_TABLE
e0c7f6cce1cf platform/x86: hp_accel: Avoid invoking _INI to speed up resume
bd7a3b3ed9e3 perf jevents: Fix getting maximum number of fds
77ac90814b4e i2c: sh_mobile: Use new clock calculation formulas for RZ/G2E
04cc05e3716a i2c: i801: Don't generate an interrupt on bus reset
45488e77e014 i2c: s3c2410: fix possible NULL pointer deref on read message after write
e00da6510b3b net: dsa: sja1105: error out on unsupported PHY mode
ce5355f140a7 net: dsa: fix a crash if ->get_sset_count() fails
4fe4e1f48ba1 net: dsa: mt7530: fix VLAN traffic leaks
15d1cc4b4b58 spi: spi-fsl-dspi: Fix a resource leak in an error handling path
64d17ec9f1de tipc: skb_linearize the head skb when reassembling msgs
d1f76dfadaf8 tipc: wait and exit until all work queues are done
bdd37028a026 Revert "net:tipc: Fix a double free in tipc_sk_mcast_rcv"
5e01d87b108c net/mlx4: Fix EEPROM dump support
4fd3213e5354 net/mlx5e: Fix nullptr in add_vlan_push_action()
df61870c4b1d net/mlx5e: Fix multipath lag activation
4ce2bf20b4a6 drm/meson: fix shutdown crash when component not probed
0787efc1a359 NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config
785917316b25 NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce()
1fc5f4eb9d31 NFS: Fix an Oopsable condition in __nfs_pageio_add_request()
e411df81cd86 NFS: fix an incorrect limit in filelayout_decode_layout()
f76e76555682 fs/nfs: Use fatal_signal_pending instead of signal_pending
fe201316ac36 Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails
977c34b50e6b spi: spi-geni-qcom: Fix use-after-free on unbind
b95fb96e6339 net: usb: fix memory leak in smsc75xx_bind
b94afae0fa7a usb: gadget: udc: renesas_usb3: Fix a race in usb3_start_pipen()
6b5bfb8ce56d usb: dwc3: gadget: Properly track pending and queued SG
2cd572cc45b5 thermal/drivers/intel: Initialize RW trip to THERMAL_TEMP_INVALID
78e80f9c4e96 USB: serial: pl2303: add device id for ADLINK ND-6530 GC
f485e4dcbe44 USB: serial: ftdi_sio: add IDs for IDS GmbH Products
8217f3c7f6cc USB: serial: option: add Telit LE910-S1 compositions 0x7010, 0x7011
eddf691bab0f USB: serial: ti_usb_3410_5052: add startech.com device id
915452f40e2f serial: rp2: use 'request_firmware' instead of 'request_firmware_nowait'
1d8071879a2b serial: sh-sci: Fix off-by-one error in FIFO threshold register setting
3986ba109dad serial: tegra: Fix a mask operation that is always true
2c835fede13e USB: usbfs: Don't WARN about excessively large memory allocations
84af0c28ed1b USB: trancevibrator: fix control-request direction
bc8b9d8c0465 serial: 8250_pci: handle FL_NOIRQ board flag
f75a5b9907e8 serial: 8250_pci: Add support for new HPE serial device
72fa5c26936a iio: adc: ad7793: Add missing error code in ad7793_setup()
f49149964d24 iio: adc: ad7124: Fix potential overflow due to non sequential channel numbers
7e5cac90430c iio: adc: ad7124: Fix missbalanced regulator enable / disable on error.
2c9085b0fa04 iio: adc: ad7768-1: Fix too small buffer passed to iio_push_to_buffers_with_timestamp()
bd877887e479 iio: gyro: fxas21002c: balance runtime power in error path
657f6a33f871 staging: iio: cdc: ad7746: avoid overwrite of num_channels
12fb557863f8 mei: request autosuspend after sending rx flow control
eb78fa5a3815 thunderbolt: dma_port: Fix NVM read buffer bounds and offset issue
36b5ff1db1a4 misc/uss720: fix memory leak in uss720_probe
66a2a494ac48 serial: core: fix suspicious security_locked_down() call
48a9b7957bb2 Documentation: seccomp: Fix user notification documentation
c7c6a316a887 kgdb: fix gcc-11 warnings harder
01c57232a1cb selftests/gpio: Fix build when source tree is read only
d93532a4873d selftests/gpio: Move include of lib.mk up
1e20cdb93889 selftests/gpio: Use TEST_GEN_PROGS_EXTENDED
03aeefb46f07 drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate
f0780e96a6e2 drm/amdgpu/vcn2.0: add cancel_delayed_work_sync before power gate
9351c5192b88 drm/amdgpu/vcn1: add cancel_delayed_work_sync before power gate
d65ec240b3e4 dm snapshot: properly fix a crash when an origin has no snapshots
b06fe1124369 ath10k: Validate first subframe of A-MSDU before processing the list
aee0121afee5 ath10k: Fix TKIP Michael MIC verification for PCIe
124ce717f6b2 ath10k: drop MPDU which has discard flag set by firmware for SDIO
405d08dda2f9 ath10k: drop fragments with multicast DA for SDIO
96d4d82652fa ath10k: drop fragments with multicast DA for PCIe
6bf449a34c0d ath10k: add CCMP PN replay protection for fragmented frames for PCIe
cbc470aa3f93 mac80211: extend protection against mixed key and fragment cache attacks
88664d5e5dc9 mac80211: do not accept/forward invalid EAPOL frames
bbc06191e36e mac80211: prevent attacks on TKIP/WEP as well
c8b3a6150dc8 mac80211: check defrag PN against current frame
1b3774e58e47 mac80211: add fragment cache to sta_info
fb1b24f94d1c mac80211: drop A-MSDUs on old ciphers
fa00d4928eaf cfg80211: mitigate A-MSDU aggregation attacks
5fe9fae1220e mac80211: properly handle A-MSDUs that start with an RFC 1042 header
14f29a67f404 mac80211: prevent mixed key and fragment cache attacks
b90cf214e2bb mac80211: assure all fragments are encrypted
4302a6fdec60 net: hso: fix control-request directions
60d171c477e9 proc: Check /proc/$pid/attr/ writes against file opener
7f4d9d2f0be7 perf scripts python: exported-sql-viewer.py: Fix warning display
cb08c8d591cb perf scripts python: exported-sql-viewer.py: Fix Array TypeError
9044d06150d0 perf scripts python: exported-sql-viewer.py: Fix copy to clipboard from Top Calls by elapsed Time report
21e2eb6a950c perf intel-pt: Fix transaction abort handling
854216d7ec10 perf intel-pt: Fix sample instruction bytes
044bbe8b92ab iommu/vt-d: Fix sysfs leak in alloc_iommu()
aba3c7795f51 NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return()
f2a35ade2274 cifs: set server->cipher_type to AES-128-CCM for SMB3.0
5c81a4e24cf1 ALSA: usb-audio: scarlett2: Improve driver startup messages
26314d278423 ALSA: usb-audio: scarlett2: Fix device hang with ehci-pci
6fc2850259e6 ALSA: hda/realtek: Headphone volume is controlled by Front mixer
(From OE-Core rev: 6edeff686b4cd644f27b370b36273dec79365af0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d91ec7d1b47d026149c488cfe1fd0af831b8fad6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Testing IMAGE_FEATURES from component recipes cannot possibly work;
adjusting the test to soft-fail if needed items are not available
is not trivial, so let's just skip unconditionally for now.
(From OE-Core rev: 68b816cb90badddd0aafa2a5c6633e000cb21a21)
(From OE-Core rev: 0bb221206c55564fd5cfe1d2452a6abe5e86d2c3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 01b41f7deed48b33b35c84e32ef55de3e63b9bc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Making ptest images based on core-image-minimal uncovered quite a
few missing depenendcies from various recipes, here they are.
(From OE-Core rev: 2cda6242f2f0f6f9c6bdef72bbb271eab7e5e1f5)
(From OE-Core rev: 9423ad8f0f42d249c2fcb1b86ec9abb75854f011)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport to Python 3.8.10 (only python3 portion of patch)
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://lists.x.org/archives/xorg-announce/2021-May/003088.html
XLookupColor() and other X libraries function lack proper validation
of the length of their string parameters. If those parameters can be
controlled by an external application (for instance a color name that
can be emitted via a terminal control sequence) it can lead to the
emission of extra X protocol requests to the X server.
(From OE-Core rev: 81d338c6079729b35f55f8889526f0c9a62802fe)
Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a flaw in libxml2 in versions before 2.9.11. An attacker who is able to submit a crafted file to be processed by an application linked with libxml2 could trigger a use-after-free. The greatest impact from this flaw is to confidentiality, integrity, and availability.
Upstream-Status: Backport [from fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1954243]
(From OE-Core rev: ef2a81a473e7c36a36facb209ca907a7439d36f2)
Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
expat < 4.0 is vulnerable to billion laughs attacks (see
[https://github.com/libexpat/libexpat/issues/34]). This patch backports
the commits b1d039607d3d8a042bf0466bfcc1c0f104e353c8
and 60959f2b491876199879d97c8ed956eabb0c2e73 from upstream.
Additionally, the SRC_URI had to be adjusted due to renaming of the
source archive
(From OE-Core rev: b0b843797321360693172c57f2400b9c56ca51cf)
Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This upgrade builds unnative with gcc11 allowing it to work with newer distros
using gcc 11.
(From OE-Core rev: 6af101983c5e7e9d0d000f9fe64b9bd40792bbc9)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a1c7b71c109ca68931d098f4149ab8284d56108e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Causes build failures on autobuilder
This reverts commit 8a59c47ce4c101b2470a06ecf101ca5ab7d1f82e.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you make parsing fail (e.g. add something like:
X := "${@d.getVar('MCMACHINES').split()[1]}"
to meson.bbclass, then run "while true; do bitbake -g bash; done"
it will eventually hang. It appears the cancel_join_thread() call the
parsing failure triggers, breaks the results_queue badly enough that it
sits in read() indefintely (called from self.result_queue.get(timeout=0.25)).
The timeout only applies to lock aquisition, not the read call.
I've tried various other approaches such as using cancel_join_thread()
in other places but the only way things don't lock up is to avoid
cancel_join_thread() entirely for results_queue.
I do have a concern that this may adversely affect Ctrl+C handling
but equally, its broken now already and this appears to improve
things.
[YOCTO #14034]
(Bitbake rev: 0e0af15b84e07e6763300dcd092b980086b9b9c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During cooker shutdown, its possible the parser isn't cleaned up. Fix
this (which may partially explain why threads were left hanging around
at exit).
(Bitbake rev: fe1b57f4d39c287526353387e164c863eb9df421)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hongxu Jia reported a problem where the bb_cache files were not always being
written out correctly. This was due to the sync thread being terminated
prematurely.
Whilst the preceeding changes mean the exit handler for this thread is now
correctly called since we switch to using sys.exit() instead of os._exit(),
this write can happen after we drop the bitbake lock, leading to potential
races. Avoid that headache by adding in explicit thread join() calls before
we drop the lock (which atexit or Finalize can't do).
(Bitbake rev: 6d2dd16b87ce62086f956912e9a7335b2adfcc94)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Each run through the parser would leak a thread from the queue created to
shut the parser down. Close this down correctly and clean up the code flow
slightly whilst in the area, making sure this thread does shut down correctly
(we don't care if it loses data).
(Bitbake rev: 1dcc4e29dee3fd0dd4d6dc2fc9ccdc5888fcfcf3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The routine do_sizecheck() was historically needed by legacy
devices with limited flash memory.
The lowest extreme is probably with Zaurus collie having exactly
1024*1024 = 1048576 bytes for the kernel partition.
In the years the KERNEL_IMAGE_MAXSIZE has been converted to kilobytes
thus rounded so we have now KERNEL_IMAGE_MAXSIZE_collie = "1024".
The effect is that now the check fails because we hit curiously this
| WARNING: This kernel zImage (size=1024(K) > 1024(K)) is too big for...
even though zImage is 1047288 bytes (kernel + kexecboot-klibc-initramfs).
Fix this case using test -gt (greater) instead of -ge (greater or equal).
(From OE-Core rev: f5fc716d744745d5c2ea83f0b1d63907cfe04c06)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 254ca956d63b4ce6aa294213b60bb943f9f3a9e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before
3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable
to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by
using a vector called parameter cloaking. When the attacker can separate query
parameters using a semicolon (;), they can cause a difference in the
interpretation of the request between the proxy (running with default
configuration) and the server. This can result in malicious requests being
cached as completely safe ones, as the proxy would usually not see the
semicolon as a separator, and therefore would not include it in a cache key of
an unkeyed parameter.
References:
https://nvd.nist.gov/vuln/detail/CVE-2021-23336https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23336
(From OE-Core rev: 8a59c47ce4c101b2470a06ecf101ca5ab7d1f82e)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
updates include fixes for
CVE-2021-25214
CVE-2021-25215
CVE-2021-25216
CVE-2020-8625 fixed in 9.11.28, so drop that patch
(From OE-Core rev: d7e56f1910b7963d8b704107903ecf40e9472d3c)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
tmp
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently DTC_FLAGS kernel makefile parameter can be specified directly on the
command line by adding it to KERNEL_EXTRA_ARGS. However, this prevents
scripts/Makefile.lib logic from appending flags that silence dtc warnings (all
assignments done from within a makefile, to a variable specified on the command
line, are ignored).
Because of this, the do_compile log is cluttered with dtc warnings that should
only be printed when compiling with W="123":
...
/soc: node has a reg or ranges property, but no unit name
/soc/gpu: missing or empty reg/ranges property
/soc/firmware/gpio: missing or empty reg/ranges property
...
To fix this, introduce the dedicated KERNEL_DTC_FLAGS variable to hold
dtc flags and export DTC_FLAGS in the environment before generating the dtbs
(make allows "+=" operations on variables that come from the environment, so
the warnings are silenced properly).
(From OE-Core rev: 2246b0d7a71c69eb2e89c55991d1387069895466)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 063b5de86624a42b0aa784db6dddc7552a6dee7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Das U-Boot 2021.4-rc1 has the following commit:
commit 3f04db891a353f4b127ed57279279f851c6b4917
Author: Simon Glass <sjg@chromium.org>
Date: Mon Feb 15 17:08:12 2021 -0700
image: Check for unit addresses in FITs
Using unit addresses in a FIT is a security risk. Add a check for
this and disallow it.
CVE-2021-27138
Adjust the kernel-fitimage.bbclass accordingly to not use unit
addresses. This changte is required before we can bump U-Boot to 2021.4.
(From OE-Core rev: 14eec2f7c3bbb36de8198989bf772135aa117963)
Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backport for Dunfell]
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
103f1dbea1ae Linux 5.4.123
af2a4426baf7 NFC: nci: fix memory leak in nci_allocate_device
45aef101ca44 perf unwind: Set userdata for all __report_module() paths
2960df32bb72 perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder
f3d9f09b10e3 usb: dwc3: gadget: Enable suspend events
3173c7c80785 bpf: No need to simulate speculative domain for immediates
2b3cc41d500a bpf: Fix mask direction swap upon off reg sign change
2768f9962231 bpf: Wrap aux data inside bpf_sanitize_info container
67154cff6258 Linux 5.4.122
f97257cde764 Bluetooth: SMP: Fail if remote and local public keys are identical
46b4a9c68572 video: hgafb: correctly handle card detect failure during probe
3c18dc7de2bc nvmet: use new ana_log_size instead the old one
a6f5ef8c1717 Bluetooth: L2CAP: Fix handling LE modes by L2CAP_OPTIONS
d3d648163a03 ext4: fix error handling in ext4_end_enable_verity()
829203752441 nvme-multipath: fix double initialization of ANA state
2dea1e9ae5cf tty: vt: always invoke vc->vc_sw->con_resize callback
cf52b24b172e vt: Fix character height handling with VT_RESIZEX
971b3fb5b9a6 vgacon: Record video mode changes with VT_RESIZEX
f0c9d29f232a video: hgafb: fix potential NULL pointer dereference
44fe392e1adc qlcnic: Add null check after calling netdev_alloc_skb
4914c67f1a62 leds: lp5523: check return value of lp5xx_read and jump to cleanup code
171b3c1afaeb ics932s401: fix broken handling of errors when word reading fails
d14cd329d83b net: rtlwifi: properly check for alloc_workqueue() failure
533ac32a80c0 scsi: ufs: handle cleanup correctly on devm_reset_control_get error
9e38cf9c3070 net: stmicro: handle clk_prepare() failure during init
9d59d4364dfb ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read()
8f2efd687d19 Revert "niu: fix missing checks of niu_pci_eeprom_read"
04a064b36576 Revert "qlcnic: Avoid potential NULL pointer dereference"
6d53d54ff5be Revert "rtlwifi: fix a potential NULL pointer dereference"
7fb963895513 Revert "media: rcar_drif: fix a memory disclosure"
6f2e5eb82557 cdrom: gdrom: initialize global variable at init time
283cd246bcc1 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom
7e230e5ed8fd Revert "gdrom: fix a memory leak bug"
6ef6f8cd1d34 Revert "scsi: ufs: fix a missing check of devm_reset_control_get"
9c24899f1fae Revert "ecryptfs: replace BUG_ON with error handling code"
a1f0e2bb4975 Revert "video: imsttfb: fix potential NULL pointer dereferences"
bd2a12549fc2 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe"
5c463887edb3 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read"
1cb9f88cde8c Revert "net: stmicro: fix a missing check of clk_prepare"
6f2a72774f38 Revert "video: hgafb: fix potential NULL pointer dereference"
3471a221f308 dm snapshot: fix crash with transient storage and zero chunk size
198ee66478b3 xen-pciback: reconfigure also from backend watch handler
f1d3c63c3f12 mmc: sdhci-pci-gli: increase 1.8V regulator wait
d9e9ec363560 drm/amdgpu: update sdma golden setting for Navi12
e3be683d5e4e drm/amdgpu: update gc golden setting for Navi12
1f0495355b60 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang
c11d59e5edba Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference"
d55df42ef369 rapidio: handle create_workqueue() failure
9f2a613e4b0b Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails"
cdd91637d4ef uio_hv_generic: Fix a memory leak in error handling paths
b0fc59e62bf9 ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx
c4e7ed4fa1b1 ALSA: hda/realtek: Add fixup for HP OMEN laptop
2331f2592879 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA
1c783bfa7f8d ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293
be1f7f30b66b ALSA: hda/realtek: reset eapd coeff to default value for alc287
b2297d1b9511 ALSA: firewire-lib: fix check for the size of isochronous packet payload
f95aabb6aed4 Revert "ALSA: sb8: add a check for request_region"
2ed8227ebd84 ALSA: hda: fixup headset for ASUS GU502 laptop
7ef36d303592 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro
844faf4a9675 ALSA: usb-audio: Validate MS endpoint descriptors
c7456fc35dc8 ALSA: firewire-lib: fix calculation for size of IR context payload
7981c124e34d ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
f72b96ff7935 ALSA: line6: Fix racy initialization of LINE6 MIDI
048840df6de8 ALSA: intel8x0: Don't update period unless prepared
a67a88f9e667 ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency
34413f21acea cifs: fix memory leak in smb2_copychunk_range
20197d327560 btrfs: avoid RCU stalls while running delayed iputs
845c2b9d99b6 locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal
439ce949ee90 nvmet: seset ns->file when open fails
670d34d54320 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly
88128a5054f1 RDMA/uverbs: Fix a NULL vs IS_ERR() bug
6fa78a6b9a3b platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios
6e90ff540a7b platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue
66abc4ef6a8b RDMA/core: Don't access cm_id after its destruction
73e25a2d51bb RDMA/mlx5: Recover from fatal event in dual port mode
8d8b8016e0af scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
07865459eb62 scsi: ufs: core: Increase the usable queue depth
a62225d951d7 RDMA/rxe: Clear all QP fields if creation failed
257f132342ea RDMA/siw: Release xarray entry
a19bb4c0566c RDMA/siw: Properly check send and receive CQ pointers
a03676848886 openrisc: Fix a memory leak
50fd584fbbb3 firmware: arm_scpi: Prevent the ternary sign expansion bug
b239a0365b93 Linux 5.4.121
b63a8e5b4a25 scripts: switch explicitly to Python 3
2cbb484788fe tweewide: Fix most Shebang lines
252495806968 KVM: arm64: Initialize VCPU mdcr_el2 before loading it
50e5c93ca647 ipv6: remove extra dev_hold() for fallback tunnels
b811a8a72366 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
f5ddecb6a195 sit: proper dev_{hold|put} in ndo_[un]init methods
cca2a2b340a9 ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
084a1858e256 net: stmmac: Do not enable RX FIFO overflow interrupts
94600a8300c7 lib: stackdepot: turn depot_lock spinlock to raw_spinlock
5233f4465e22 block: reexpand iov_iter after read/write
48744773d63e ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
0ce1a72ac9b0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
b3252a87a811 drm/amd/display: Fix two cursor duplication when using overlay
6cc777c6acbb bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit
c5946eb52b73 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found
e39a105abbe5 ceph: fix fscache invalidation
13bc6bda6a1e scsi: lpfc: Fix illegal memory access on Abort IOCBs
e69c7c149199 riscv: Workaround mcount name prior to clang-13
cd3ab0ac0a54 scripts/recordmcount.pl: Fix RISC-V regex for clang
cfa65174402f ARM: 9075/1: kernel: Fix interrupted SMC calls
a5923afb6149 um: Disable CONFIG_GCOV with MODULES
2fe3fbcc53b8 um: Mark all kernel symbols as local
cec4c3810ba3 Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state
29da2bab24e9 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices
bbd7ba95bb06 ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
64f8e9526e31 ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend()
41dd2ede9536 dmaengine: dw-edma: Fix crash on loading/unloading driver
b003a4923628 PCI: thunder: Fix compile testing
a05fb4ac72fb virtio_net: Do not pull payload in skb->head
0d08bbce231b xsk: Simplify detection of empty and full rings
323deebaa2d0 pinctrl: ingenic: Improve unreachable code generation
e57e2dd9bbdd isdn: capi: fix mismatched prototypes
7958cdd64cdf cxgb4: Fix the -Wmisleading-indentation warning
acb4faa5f577 usb: sl811-hcd: improve misleading indentation
eabb93e34425 kgdb: fix gcc-11 warning on indentation
b806b41bf55d x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
(From OE-Core rev: 48ac436adb0b186806b2a2d43945d587c50355f0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 881ed7938f84ba89b9bb20ce8e45ef9d85e80cb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e05d387ba736 Linux 5.4.120
7f4ac21468b0 ASoC: rsnd: check all BUSIF status when error
7f6a9044ff24 nvme: do not try to reconfigure APST when the controller is not live
aa9d659856b1 clk: exynos7: Mark aclk_fsys1_200 as critical
baea536cf51f netfilter: conntrack: Make global sysctls readonly in non-init netns
fb80624f39d3 kobject_uevent: remove warning in init_uevent_argv()
658e8982f0eb usb: typec: tcpm: Fix error while calculating PPS out values
718f1c1fdf78 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
3c63b72ffba0 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
b05a28f47582 ARM: 9012/1: move device tree mapping out of linear region
69e44f71319b ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
bb4f8ead473a f2fs: fix error handling in f2fs_end_enable_verity()
7a474350d8de thermal/core/fair share: Lock the thermal zone while looping over instances
2c44110300b8 MIPS: Avoid handcoded DIVU in `__div64_32' altogether
2759b770b53e MIPS: Avoid DIVU in `__div64_32' is result would be zero
02b120493a9c MIPS: Reinstate platform `__div64_32' handler
64508ebf9391 FDDI: defxx: Make MMIO the configuration default except for EISA
ecdf893c5aef mm: fix struct page layout on 32-bit systems
187598fd82cb KVM: x86: Cancel pvclock_gtod_work on module removal
cdaae487e85b cdc-wdm: untangle a circular dependency between callback and softint
b1de23dbeca7 iio: tsl2583: Fix division by a zero lux_val
8229f1d40501 iio: gyro: mpu3050: Fix reported temperature value
2496ead8b1b1 xhci: Add reset resume quirk for AMD xhci controller.
de72d8769bcf xhci: Do not use GFP_KERNEL in (potentially) atomic context
941328f7bda6 usb: dwc3: gadget: Return success always for kick transfer in ep queue
7f15d999dd61 usb: core: hub: fix race condition about TRSMRCY of resume
8f536512db87 usb: dwc2: Fix gadget DMA unmap direction
36399169e6a0 usb: xhci: Increase timeout for HC halt
68b5f65eaa6a usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
04904d90a71a usb: dwc3: omap: improve extcon initialization
f78e2c36609b iomap: fix sub-page uptodate handling
3c1db90ae0d0 blk-mq: Swap two calls in blk_mq_exit_queue()
1c4962df9388 nbd: Fix NULL pointer in flush_workqueue
0b6b4b90b74c kyber: fix out of bounds access when preempted
dafd4c0b5e83 ACPI: scan: Fix a memory leak in an error handling path
1648505d1353 hwmon: (occ) Fix poll rate limiting
fa1547f6e4fb usb: fotg210-hcd: Fix an error message
57f99e92e2f7 iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
2b94c23eaf5e drm/i915: Avoid div-by-zero on gen2
a9b2ac3f6ad1 drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
f77aa56ad989 mm/hugetlb: fix F_SEAL_FUTURE_WRITE
b3f1731c6d7f userfaultfd: release page in error path to avoid BUG_ON
1b8d4206a48c squashfs: fix divide error in calculate_skip()
c451a6bafb5f hfsplus: prevent corruption in shrinking truncate
0b4eb172cc12 powerpc/64s: Fix crashes when toggling entry flush barrier
379ea3a4e34b powerpc/64s: Fix crashes when toggling stf barrier
9cca6cc73bb9 ARC: mm: PAE: use 40-bit physical page mask
e242c138ae01 ARC: entry: fix off-by-one error in syscall number validation
9c1d454726fc i40e: Fix PHY type identifiers for 2.5G and 5G adapters
7e7b538a9af5 i40e: fix the restart auto-negotiation after FEC modified
d718c15a2bf9 i40e: Fix use-after-free in i40e_client_subtask()
c77e2ef18167 netfilter: nftables: avoid overflows in nft_hash_buckets()
a8cfa7aff11d kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
043ebbccdde6 sched/fair: Fix unfairness caused by missing load decay
687f523c134b sched: Fix out-of-bound access in uclamp
51d3e462ea91 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
c8e3c76cc8c5 netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
ca74d0dbaffa smc: disallow TCP_ULP in smc_setsockopt()
2f9f92e2ecec net: fix nla_strcmp to handle more then one trailing null character
6aeba28d1213 ksm: fix potential missing rmap_item for stable_node
dde73137ce9c mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
262943265d97 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
3ddbd4beadfa khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
1816d1b3272a drm/radeon: Avoid power table parsing memory leaks
8e0b76725c38 drm/radeon: Fix off-by-one power_state index heap overwrite
9e3cbdc52318 netfilter: xt_SECMARK: add new revision to fix structure layout
7a0a9f5cf8b5 sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
f7f6f0777409 ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
a04c2a398dc9 sunrpc: Fix misplaced barrier in call_decode
b8168792c3fb RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
b1b31948c0af sctp: do asoc update earlier in sctp_sf_do_dupcook_a
2e99f6871493 net: hns3: disable phy loopback setting in hclge_mac_start_phy
954ea8a0cfe1 net: hns3: use netif_tx_disable to stop the transmit queue
c073c2b27285 net: hns3: fix for vxlan gpe tx checksum bug
56e680c09002 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
282d8a6a5546 net: hns3: initialize the message content in hclge_get_link_mode()
ccffcc9f3574 net: hns3: fix incorrect configuration for igu_egu_hw_err
3dd2cd64466e rtc: ds1307: Fix wday settings for rx8130
2ad8af2b70e9 ceph: fix inode leak on getattr error in __fh_to_dentry
b37609ad2277 rtc: fsl-ftm-alarm: add MODULE_TABLE()
7d1ada9e1096 NFSv4.2 fix handling of sr_eof in SEEK's reply
89862bd77e9c pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
ff4d21fb2261 PCI: endpoint: Fix missing destroy_workqueue()
bdbee0d84520 NFS: Deal correctly with attribute generation counter overflow
7e16709fc540 NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
20f9516b8372 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
3ed8832aeaa9 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
0454a3dc8747 PCI: Release OF node in pci_scan_device()'s error path
364e8bb8b425 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
e150f825ca29 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
f49f00dbe3d0 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
f599960166a0 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
44d96d2dc054 ia64: module: fix symbolizer crash on fdescr
8b88f16d9d30 bnxt_en: Add PCI IDs for Hyper-V VF devices.
98e1d0fe20ed net: ethernet: mtk_eth_soc: fix RX VLAN offload
5da6affd9c7e iavf: remove duplicate free resources calls
40d1cb16a578 powerpc/iommu: Annotate nested lock for lockdep
d26436a3b913 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
9184f2608e89 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
78a004cdfd2d wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
cd06b0786056 drm/amd/display: fixed divide by zero kernel crash during dsc enablement
eed7287db3a9 powerpc/pseries: Stop calling printk in rtas_stop_self()
63a42044b9a1 samples/bpf: Fix broken tracex1 due to kprobe argument change
9f6e107aab14 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
3aa4e4d7ccf4 ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
061868e90062 ASoC: rt286: Generalize support for ALC3263 codec
56a6218e97db powerpc/smp: Set numa node before updating mask
dfa2a8d2d8a7 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
5f24807c3cba sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
9fc2c9579415 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
f59db26081c0 kconfig: nconf: stop endless search loops
c262de1777e4 selftests: Set CC to clang in lib.mk if LLVM is set
2b9ad1fd9dd2 drm/amd/display: Force vsync flip when reconfiguring MPCC
10ed519fa825 iommu/amd: Remove performance counter pre-initialization test
82f6753ac96b Revert "iommu/amd: Fix performance counter initialization"
ae33b2f845fd ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
d61f2d938135 cuse: prevent clone
7dac356a65db mt76: mt76x0: disable GTK offloading
48be573a04f1 pinctrl: samsung: use 'int' for register masks in Exynos
f88e0fbeff0f mac80211: clear the beacon's CRC after channel switch
fadf3660a24f i2c: Add I2C_AQ_NO_REP_START adapter quirk
7ffafbf2537d ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
98ebeb87b2cf ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
fae341909d6c Bluetooth: check for zapped sk before connecting
29e498ff183a net: bridge: when suppression is enabled exclude RARP packets
a3893726745f Bluetooth: initialize skb_queue_head at l2cap_chan_create()
ca0dec6564e6 Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
1ac09b2bdc99 ALSA: bebob: enable to deliver MIDI messages for multiple ports
e2f577188581 ALSA: rme9652: don't disable if not enabled
a6f2224be419 ALSA: hdspm: don't disable if not enabled
4ea252600a7d ALSA: hdsp: don't disable if not enabled
7900cdfbc1dd i2c: bail out early when RDWR parameters are wrong
3c0432417fa3 ASoC: rsnd: core: Check convert rate in rsnd_hw_params
e3564792359d net: stmmac: Set FIFO sizes for ipq806x
ac740f06bf53 ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
aee46e847d19 tipc: convert dest node's address to network order
ccef53a27a24 fs: dlm: fix debugfs dump
6c799f6c7427 PM: runtime: Fix unpaired parent child_count for force_resume
18cb19eab713 KVM: x86/mmu: Remove the defunct update_pte() paging hook
e888d623a420 tpm, tpm_tis: Reserve locality in tpm_tis_resume()
a0fd39a09e31 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
0a60d4be38f0 tpm: fix error return code in tpm2_get_cc_attrs_tbl()
(From OE-Core rev: 94187ff0e669df423209dde52b7aab5ca5063cd0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d5da1fa69df93d85b7eebbe8d60108eed4e4e6a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15.
Patch not in master, erroneously applied
(From OE-Core rev: 090452c5284181f18c32dc33887f4dda20c48004)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were additional links and new firmware versions added but these
were not under any additional licenses.
(From OE-Core rev: b48cfe9148e8f9bbc942899455215e8f9c8e2728)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0562c526817501a494a3674fed006ba40c8f164)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git repo for pkg-config was changed, so update the
SRC_URI accordingly with the new link.
(From OE-Core rev: 9f67246e62aa9e8b0c4a790605c5417336fef70c)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9fd1b9b8282d68213b187ab42fae27e6a3c95b2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is flawed since multiple parts of the system can write to the log
and we obtain different numbers of log messages depending on factors we
can't control.
Drop the log testing component of the test.
[YOCTO #12465]
(From OE-Core rev: fb22cf1891fa8d057348c5270715c45ac3ab9e25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ad815dbafda0b90f5164f05d22dbbc26cb53f13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_bootimg expects IMGDEPLOYDIR to exist, since it stores its artifacts
there. Therefore, do_bootimg should run after do_rootfs because
IMGDEPLOYDIR is created before do_rootfs runs since IMGDEPLOYDIR is
contained in do_rootfs' [cleandirs] varflag.
When do_bootimg depends on ${PN}:do_image_${LIVE_ROOTFS_TYPE},
do_bootimg is correctly ordered after do_rootfs because
do_image_${FSTYPE} tasks are added after do_image and do_image itself is
added after do_rootfs.
However, when do_bootimg doesn't depend on
${PN}:do_image_${LIVE_ROOTFS_TYPE}
(introduced by: 96f47c39f1d17f073243913d524bde84add41d8f), do_bootimg
can run before do_rootfs, thus before IMGDEPLOYDIR is created. To
avoid this situation, do_bootimg is now explicitly ordered after
do_rootfs.
(From OE-Core rev: 4bc93b8ddc7bad210a5816eabd2e3e37b4afa6c1)
Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73c21db8e54002b300ba4972cb49c0577acc5406)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default RPM uses the number of cores as the number of threads to use,
which can result in quite antisocial memory usage.
As we control the macros for compression anyway, we can pass XZ_THREADS
to limit the number of threads if needed.
(From OE-Core rev: b1e9fe67a85be516a0b32e0c91448df87a756e02)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b9c983eb22a9b0771a0454216d1d7cbb5f3f8a16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On some new distro like ubuntu21.04, unfs3-native compile failed with
error: undefined reference to `xdr_uint32', since new distro has new
glibc.
>From glibc 2.27 rpc support is dropped, so unfs3 need to link to
libtirpc.
Here is defination of ac_link:
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Depended library should be added into LIBS, not LDFLAGS, otherwise,
gcc may not load the lib since it is before conftest.$ac_ext during
configure. Finally, it results in compile failed.
(From OE-Core rev: 09b9027a9da8b5cf34e1f1c016d9d6bbbe904dcf)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27867862c1fee6c0e649286500fa1ab015d57faf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of
checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0".
(From OE-Core rev: 0d35b7d1de517ceb1bddc9ffe848e3d25030747a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 900949af7fe357ee66065ba150b0b1914e8ca581)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A stray space made it into the command for verifying gpg signatures.
This caused verification to fail, at least on my host. Removing the
space makes it work as expected.
(From OE-Core rev: feec7cdda906aed37212dc05ea9ff1ef871c28da)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af1d948822cbe6ac7ede9cb4e881db8dc780e308)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
What key is used to sign sstate artefacts should not affect the hash of
the object, otherwise everyone would need to use the same signing key.
(From OE-Core rev: 0bfccdee11866d7f4e6c767127379329cd1dea2d)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 57cc9429dba4f9bd23127633dbc1f57dc2d5dd16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE only applies to RHEL.
(From OE-Core rev: a731386873f9c93c211be30ca8a8f42a9d8d6de3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8cfc3ebe50facb7e34e778f3e264b26cfae20a04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've noticed that:
MACHINE=qemuarm oe-selftest -r glibc.GlibcSelfTest.test_glibc
ends up with one process growing to about the size of system memory
and triggering the OOM killer. This has been taking out other builds
running on the system on the autobuilders and is one cause of our
intermittent failures.
This was tracked down to:
WORKDIR=XXX/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0
BUILDDIR=$WORKDIR/build-arm-poky-linux-gnueabi QEMU_SYSROOT=$WORKDIR/recipe-sysroot
QEMU_OPTIONS="$WORKDIR/recipe-sysroot-native/usr/bin/qemu-arm -r 3.2.0" \
$WORKDIR/check-test-wrapper user env GCONV_PATH=$BUILDDIR/iconvdata LOCPATH=$BUILDDIR/localedata LC_ALL=C $BUILDDIR/elf/ld-linux-armhf.so.3 \
--library-path $BUILDDIR:$BUILDDIR/math:$BUILDDIR/elf:$BUILDDIR/dlfcn:$BUILDDIR/nss:$BUILDDIR/nis:$BUILDDIR/rt:$BUILDDIR/resolv:$BUILDDIR/mathvec:$BUILDDIR/support:$BUILDDIR/nptl \
$BUILDDIR/nptl/tst-pthread-timedlock-lockloop
although other glibc tests appear to use 16GB of memory before failing
anyway. By capping the VM size to 8GB, we see the same number of failures
but no OOM situations. There may be some issue in qemu or the test which
could be improved to avoid this entirely but this provides a necessary
and useful safeguard to other builds and doensn't appear to make the
situation worse.
On a loaded system OOM may not occur as the test timeout may be triggered
first. An experiment with a 5GB limit showed an additional 7 failures.
(From OE-Core rev: 4926a16d4fc075ea486536427e99dd6dcaace583)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 58d4f669bd46805669daf87626350fe9359feca5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, running ptests on core-image-minimal would result in
an error due to missing /bin/bash:
[ -d test ] || ln -s ../libxml2-2.9.10/test .
make: /bin/bash: No such file or directory
make: *** [Makefile:2105: runtests] Error 127
Changing the Makefile to use /bin/sh results in some of the
tests failing, so I have added the missing dependancy on bash.
(From OE-Core rev: bc1d05429da1101d910b4ccf3de5407ddfbedc92)
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2e81298c446aec8d7fcf61fd5023ac30350f205)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reformatted runtest.patch to allow it to be applied using git am.
This makes it easier to apply the series of patches to the original git repo.
There are no changes to the code of the patch other than the reformat.
Previously, the patch claimed to be a backport, but I have not found an
upstream commit so I've changed the Upstream-Status to pending.
(From OE-Core rev: 5f01e69b6e7b7f734882a30146cca89dbdb99705)
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0361d625e1573e846a2f03ed90a8b897bc405160)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
16022114de98 Linux 5.4.118
a992a283c0b7 dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
569bae00ebbe dm integrity: fix missing goto in bitmap_flush_interval error handling
ff8fd1e3b58a dm space map common: fix division bug in sm_ll_find_free_block()
6fcaa44105aa dm persistent data: packed struct should have an aligned() attribute too
c64da3294a7d tracing: Restructure trace_clock_global() to never block
0834094c9a08 tracing: Map all PIDs to command lines
8768085ba271 rsi: Use resume_noirq for SDIO
55aa314a1a6c tty: fix memory leak in vc_deallocate
943131fda33b usb: dwc2: Fix session request interrupt handler
5bd06fc6b02c usb: dwc3: gadget: Fix START_TRANSFER link state check
0790fdbf37ee usb: gadget/function/f_fs string table fix for multiple languages
3b8b63be230f usb: gadget: Fix double free of device descriptor pointers
efa99087ea69 usb: gadget: dummy_hcd: fix gpf in gadget_setup
ffe824c0e35a media: staging/intel-ipu3: Fix race condition during set_fmt
a03fb1e8a110 media: staging/intel-ipu3: Fix set_fmt error handling
ff792ae52005 media: staging/intel-ipu3: Fix memory leak in imu_fmt
ae37aee56cad media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
e5c27c2ae2f2 media: dvb-usb: Fix use-after-free access
9185b3b1c143 media: dvbdev: Fix memory leak in dvb_media_device_free()
92eb134265fa ext4: fix error code in ext4_commit_super
c599462ab9c3 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
9c61387630a5 ext4: fix check to prevent false positive report of incorrect used inodes
79c95130a52a kbuild: update config_data.gz only when the content of .config is changed
19c8c34a8b80 x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
8d2be04dbb17 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
2b040d13b411 jffs2: check the validity of dstlen in jffs2_zlib_compress()
564b1868f229 Fix misc new gcc warnings
8aa728568202 security: commoncap: fix -Wstringop-overread warning
be8db260f482 fuse: fix write deadlock
dc21b424861a dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
6920cef604fa md/raid1: properly indicate failure when ending a failed write request
5f2d256875a5 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
63a25b715633 tpm: vtpm_proxy: Avoid reading host log when using a virtual device
2f12258b5224 tpm: efi: Use local variable for calculating final log size
2af501de8f43 intel_th: pci: Add Alder Lake-M support
ab5d5c9dfd02 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
abf3573ef4e7 powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
077f526fe3cc jffs2: Fix kasan slab-out-of-bounds problem
ad3f360ef20f Input: ili210x - add missing negation for touch indication on ili210x
6be0e4b59314 NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
12ccd59941e3 NFS: Don't discard pNFS layout segments that are marked for return
504632a3577a ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
490ad0a23904 openvswitch: fix stack OOB read while fragmenting IPv4 packets
9508634b2b18 mlxsw: spectrum_mr: Update egress RIF list before route's action
27a130638406 f2fs: fix to avoid out-of-bounds memory access
6c9b98a66d0a ubifs: Only check replay with inode type to judge if inode linked
310efc95c72c virtiofs: fix memory leak in virtio_fs_probe()
2b28e26bd776 Makefile: Move -Wno-unused-but-set-variable out of GCC only block
13a474c01353 arm64/vdso: Discard .note.gnu.property sections in vDSO
f40bf82bf693 btrfs: fix race when picking most recent mod log operation for an old root
2bc0131d5be0 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
45392da1bd91 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
ee47a6414950 ALSA: hda/realtek: fix mic boost on Intel NUC 8
d143cd1f8f6b ALSA: hda/realtek: GA503 use same quirks as GA401
f2b75e357816 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
2136ecfcf3d9 ALSA: usb-audio: More constifications
adba683c573d ALSA: usb-audio: Explicitly set up the clock selector
93588ea2fbd4 ALSA: sb: Fix two use after free in snd_sb_qsound_build
1666f1ac383f ALSA: hda/conexant: Re-order CX5066 quirk table entries
b53b72ef83ff ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
a65181cfd953 s390/archrandom: add parameter check for s390_arch_random_generate
ef00a39e2c78 scsi: libfc: Fix a format specifier
02c13900477c mfd: arizona: Fix rumtime PM imbalance on error
0d0e6dbd5fca scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
0756818b4d3b scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
f67fc8095bbe scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
82bc134b93b5 drm/amdgpu: fix NULL pointer dereference
4b65414ea416 amdgpu: avoid incorrect %hu format string
443fdd7b4bc3 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
c49981759450 drm/msm/mdp5: Do not multiply vclk line count by 100
336e7e758640 drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
b56ad4febe67 sched/fair: Ignore percpu threads for imbalance pulls
53995be39f93 media: gscpa/stv06xx: fix memory leak
3a855efb5426 media: dvb-usb: fix memory leak in dvb_usb_adapter_init
4ca05c0e04d5 media: platform: sti: Fix runtime PM imbalance in regs_show
47be6867d2d0 media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
f6b97476053d media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
cc265fb8e549 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
48304f37ce81 media: adv7604: fix possible use-after-free in adv76xx_remove()
b76249a0a64e media: tc358743: fix possible use-after-free in tc358743_remove()
b25324cf16f5 power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
ac22a96c7388 power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
e0be54070ba1 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
330753d38f26 media: vivid: update EDID
71b75e6e2410 media: em28xx: fix memory leak
cfb42c1bcce8 scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
1a22a9fde806 scsi: smartpqi: Add new PCI IDs
7973764b5454 scsi: smartpqi: Correct request leakage during reset operations
7d77ac088fd7 ata: ahci: Disable SXS for Hisilicon Kunpeng920
1f3daf672a13 mmc: sdhci-pci: Add PCI IDs for Intel LKF
40fdaa2d149b scsi: qla2xxx: Fix use after free in bsg
2cb8ce1d79d3 drm/vkms: fix misuse of WARN_ON
3f67d5b6f943 scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
48425948d2b6 drm/amd/display: fix dml prefetch validation
cd148571eab0 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
e81f4da43b1d drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
0c0356ef2498 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
888b482dbe26 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
8d802ad28f9c power: supply: Use IRQF_ONESHOT
bc73cb52997d media: gspca/sq905.c: fix uninitialized variable
bec3831f5108 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
20065ae0056a extcon: arizona: Fix various races on driver unbind
32990455bd12 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
22ee443ac784 power: supply: bq27xxx: fix power_avg for newer ICs
5bc128a16333 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
e18cee768a6e media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
a2e71d2d797d media: ite-cir: check for receive overflow
78829d2ec594 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
a27784943a96 scsi: lpfc: Fix pt2pt connection does not recover after LOGO
52d2b4370a9d scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
2b847dc1f662 drm/amd/display: Don't optimize bandwidth before disabling planes
84b03026cccc drm/amd/display: Check for DSC support instead of ASIC revision
bbf11337ded8 drm/qxl: release shadow on shutdown
a7d964da5d17 drm: Added orientation quirk for OneGX1 Pro
567c83104471 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
3260434687cc platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
229d2c12f1eb crypto: omap-aes - Fix PM reference leak on omap-aes.c
5c411b92439d crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
e6d5c66737a9 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
e7138a6d6a4d phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
349f95248bce intel_th: Consistency and off-by-one fix
86f4ac7ca448 tty: n_gsm: check error while registering tty devices
665dbcf35508 usb: core: hub: Fix PM reference leak in usb_port_resume()
b8035ac2ad08 usb: musb: fix PM reference leak in musb_irq_work()
972639ed7b90 spi: qup: fix PM reference leak in spi_qup_remove()
0adc0e0c87ff spi: omap-100k: Fix reference leak to master
d6aa2fcd8566 spi: dln2: Fix reference leak to master
99569ac2e97c xhci: fix potential array out of bounds with several interrupters
99c82db050ae xhci: check control context is valid before dereferencing it.
6f34d2ab34ed usb: xhci-mtk: support quirk to disable usb2 lpm
d95748f23084 perf/arm_pmu_platform: Fix error handling
fe53f8fd64d7 tee: optee: do not check memref size on return from Secure World
dda2bc82891c x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
ee68dd4e502f PCI: PM: Do not read power state in pci_enable_device_flags()
52b4b9d250d4 usb: xhci: Fix port minor revision
c13c8354fd58 usb: dwc3: gadget: Ignore EP queue requests during bus reset
9f3c7e0074b7 usb: gadget: f_uac1: validate input parameters
a10fb8a1c70a usb: gadget: f_uac2: validate input parameters
a629f6bc034a genirq/matrix: Prevent allocation counter corruption
1b2207a19664 usb: webcam: Invalid size of Processing Unit Descriptor
4cc65c749d58 usb: gadget: uvc: add bInterval checking for HS mode
28da0edb56ae crypto: qat - fix unmap invalid dma address
69f1a9702d3f crypto: api - check for ERR pointers in crypto_destroy_tfm()
8ac79bdcc0c4 spi: ath79: remove spi-master setup and cleanup assignment
4d6a20917fda spi: ath79: always call chipselect function
e24b9cded4bc staging: wimax/i2400m: fix byte-order issue
ce64f57a0fe0 bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
4928d3b02083 fbdev: zero-fill colormap in fbcmap.c
1c5cb86cdd7f posix-timers: Preserve return value in clock_adjtime32()
e07d0fd8d64f intel_th: pci: Add Rocket Lake CPU support
b6635915a3c3 btrfs: fix metadata extent leak after failure to create subvolume
93f3339b22ba cifs: Return correct error code from smb2_get_enc_key
e7ea8e46e3b7 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
13b0a28e6fef modules: inherit TAINT_PROPRIETARY_MODULE
cd5a738e28ac modules: return licensing information from find_symbol
c4698910a9af modules: rename the licence field in struct symsearch to license
7500d4999431 modules: unexport __module_address
ad6d414703d7 modules: unexport __module_text_address
86de29b833e6 modules: mark each_symbol_section static
79100b191e71 modules: mark find_symbol static
6e38daf2e5db modules: mark ref_module static
909a01b95120 mmc: core: Fix hanging on I/O during system suspend for removable cards
c80524b9e418 mmc: core: Set read only for SD cards with permanent write protect bit
42998c98ce9f mmc: core: Do a power cycle when the CMD11 fails
1b45fcf11d28 mmc: block: Issue a cache flush only when it's enabled
2fb68f705c56 mmc: block: Update ext_csd.cache_ctrl if it was written
4e438ff2d967 mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
698df555cc5f mmc: sdhci: Check for reset prior to DMA address unmap
0d8941b9b2d3 mmc: uniphier-sd: Fix a resource leak in the remove function
06e48bb631d3 mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
21171ede4337 scsi: mpt3sas: Block PCI config access from userspace during reset
77509a238547 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
e45acaddd64b spi: spi-ti-qspi: Free DMA resources
c57af0be7722 erofs: add unsupported inode i_format check
49fc21a47e93 mtd: rawnand: atmel: Update ecc_stats.corrected counter
3ef6813bb3a4 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
fd1772305002 ecryptfs: fix kernel panic with null dev_name
e057164f8731 arm64: dts: mt8173: fix property typo of 'phys' in dsi node
527edae13d24 arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
34ae75d699fd ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
0b641b25870f ftrace: Handle commands when closing set_ftrace_filter file
6a4f786f8eb5 ACPI: custom_method: fix a possible memory leak
72814a94c38a ACPI: custom_method: fix potential use-after-free issue
b691331218d0 s390/disassembler: increase ebpf disasm buffer size
(From OE-Core rev: 1eae221b25018bc1007748bf0465ff21cc7af7a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d4609d4bb709db887b5302077f89a14c05b1edc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
b5dbcd05792a Linux 5.4.117
0ee3bfc2c31e vfio: Depend on MMU
b246759284d6 perf/core: Fix unconditional security_locked_down() call
a1e6a0d1e6cf ovl: allow upperdir inside lowerdir
8198962021fd scsi: ufs: Unlock on a couple error paths
91aa2644a3ab platform/x86: thinkpad_acpi: Correct thermal sensor allocation
164f74391822 USB: Add reset-resume quirk for WD19's Realtek Hub
5922dfc42ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
314192f055d9 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
6cede11149bf perf ftrace: Fix access to pid in array when setting a pid filter
ad4659935e11 perf data: Fix error return code in perf_data__create_dir()
cbc6b467610c iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
c7166a529e2b avoid __memcat_p link failure
8ba25a9ef9b9 bpf: Fix leakage of uninitialized bpf stack under speculation
53e0db429b37 bpf: Fix masking negation logic upon negative dst register
b0c8fe7ef797 iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
43b515c52942 igb: Enable RSS for Intel I211 Ethernet Controller
354520d3ea81 net: usb: ax88179_178a: initialize local variables before use
55714a57f369 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
b3041510f0fc ACPI: tables: x86: Reserve memory occupied by ACPI tables
91b08c5319a5 mips: Do not include hi and lo in clobber list for R6
(From OE-Core rev: 494b2200aea140b5241a181a5a16529df1f17177)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0bb2a057ed02b94e6f12b0508b5d7f4a535b1ca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was mentioned that when developing a BSP, the information about what
definition was used, or what fragments have been applied is not obvious
and requires looking at the code.
With this change, we can trigger a full summary of the meta data gathering
phase when KCONF_AUDIT_LEVEL > 0.
Sample output follows:
NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0
NOTE: kernel meta data summary for qemux86-64 (standard):
NOTE:
======================================================================
NOTE: BSP entry point / definition:
/build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
NOTE: Fragments from SRC_URI:
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
NOTE: KERNEL_FEATURES: features/nfsd/nfsd-enable.scc
features/debug/printk.scc features/kernel-sample/kernel-sample.scc
features/netfilter/netfilter.scc cfg/virtio.scc
features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
features/scsi/scsi-debug.scc features/gpio/mockup.scc
features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc
NOTE: Final scc/cfg list:
/build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
features/nfsd/nfsd-enable.scc features/debug/printk.scc
features/kernel-sample/kernel-sample.scc
features/netfilter/netfilter.scc cfg/virtio.scc
features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
features/scsi/scsi-debug.scc features/gpio/mockup.scc
features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc
(From OE-Core rev: 8c299837622795408f4e4a9e8c2b3b3d6f409acd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b95b11e130e91cb7c5e65f0f9a1c655bcbcbc919)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
syslog.cfg is added to the list of sources for busybox
independent of the VIRTUAL-RUNTIME_base-utils-syslog variable. So even
if VIRTUAL-RUNTIME_base-utils-syslog being set e.g. to empty, syslogd will
be enabled. So only include syslog.cfg in SRC_URI if
VIRTUAL-RUNTIME_base-utils-syslog is set to busybox-syslog.
(From OE-Core rev: e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15)
Signed-off-by: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The preferred methods for CVE resolution are:
1. Version upgrades where possible
2. Patches where not possible
3. Database updates where version info is incorrect
4. Exclusion from checking where it is determined that the CVE
does not apply to our environment
In some cases none of these methods are possible. For example the
CVE may be decades old with no apparent resolution, and with broken
links that make further research impractical. Some CVEs are vauge
with no specific action the project can take too.
This patch creates a mechanism for users to remove this type of
CVE from the cve-check results via an optional include file.
Based on an initial patch from Steve Sakoman <steve@sakoman.com>
but extended heavily by RP.
(From OE-Core rev: c93d541a84ce4f9ed52b7aee0a59857957ea0380)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf282ae03db3f09df42dcd110d7086c2d854642c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream database uses both "expat" and "libexpat" to report CVEs
(From OE-Core rev: f89b497800fb3a3ecd77b7a868a02800b6c86d92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 706bdcaec5fd7c59d7877bbefa5ed4ce5b4f3da1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE relates to bad ownership of /var/log/cups, which we don't have.
(From OE-Core rev: 68ee8fd1ec0f09c6477578de40e1adfc7ba35027)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0792312f3637ec160d2ef90781a8cb1f75b84940)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under certain build patterns, warnings about missing manifests can appear. These
are real issues where the manifest was removed and shouldn't have been.
Martin Jansa was able to find a reproducer of:
MACHINE=qemux86 bitbake zlib-native
echo 'PR = "r1"' >> meta/recipes-core/zlib/zlib_1.2.11.bb
MACHINE=qemux86-64 bitbake zlib-native
MACHINE=qemux86 bitbake zlib-native
<the zlib-native manifest is now removed along with the sysroot-components contents>
The code maintains a per machine list of stamps but a per PACAGE_ARCH list of
stamp/manifest/workdir mappings. The latter is only appended to for speed with
the assumption that once stamps are gone, the code wouldn't trigger.
The code only ever appends to the mapping list (for speed/efficency under lock)
meaning that multiple entries can result where the stamp/workdir differs due to
version changes but the manifest remains the same.
By switching MACHINE part way through the build, the older stamp is referenced
and the manifest is incorrectly removed as it matches an now obsolete entry in
the mapping file.
There are two possible fixes, one is to rewrite the mapping file every time
which means adding regexs, iterating and generally complicating that code. The
second option is to only use the last mapping entry in the file for a given
manifest and ignore any earlier ones. This patch implments the latter.
Also drop the stale entries if we are rewriting it.
(From OE-Core rev: 9039dd25e5d419dd1c60e1b27ff5f9d96c5b0fb5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63da9a4f889c5b0e41bc8ec08abe0acea1546479)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit dee41e92f0.
This patch breaks cases where some config files make changes to earlier ones,
ordering is important. The reproducibility issue in busybox was elsewhere.
(From OE-Core rev: 37d71a7a290a24ee9f57a76725e27769588de0ca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab0a296607b58775e91948ba40956c666dbb1244)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the selected version if not available, bitbake will happily attempt
to build something else. This should be a loud warning not a small note.
(Bitbake rev: 078f3164dcb1de7a141bec3a8fd52631d0362631)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78cd63285713fde59506eb2e71a7b7ee59a594ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runtest return an error due to missing expect on the target.
Add expect as runtime dependency.
(From OE-Core rev: 381a5f3e409504b2a31710d971eef58346339ae4)
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9a3a08edc1efcbe7b02e80be98370792d3c6cc2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
qemuppc32: reduce serial issues seen on shutdown
Richard reported:
We've been seeing a lot of the qemuppc shutdown issue and I decided to
look into it. The really worrying thing looking at the logs locally is the
serial ports are showing irq issues and becoming disabled as nobody would
handle them.
Errors like:
[ 9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
[ 9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted
[ 9.202283] Call Trace:
[ 9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
[ 9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
[ 9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
[ 9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
[ 9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
[ 9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
[ 9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
[ 9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
[ 9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
[ 9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
[ 9.237288] LR = __setup_irq+0x790/0x838
[ 9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
[ 9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
[ 9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
[ 9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
[ 9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
[ 9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
[ 9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
[ 9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
[ 9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
[ 9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
[ 9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
[ 9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
[ 9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
[ 9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
[ 9.292620] --- interrupt: c01 at 0xfec3738
[ 9.292620] LR = 0xfec36e0
[ 9.299035] handlers:
[ 9.302312] [<7f7f7da8>] pmz_interrupt
[ 9.305541] Disabling IRQ #36
(and the irqpoll option does not help)
This is problematic as the shutdown test uses the serial interface to
shut down the system. If the serial interface fails to login or run the command,
game over for the test.
CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
any output or capabilities that we need. So we disable it here, and
reduce the chances of issues during shutdown.
(From OE-Core rev: 9ee0f43414a121487fc3310f4d5635b09aa3e117)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42355cb73049ee7a4af0f539a2a5b7d4ee1abc65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This currently catches the .clb_blob and .vamrs,rock960.txt, and other
.txt files may come in future upstream releases.
(From OE-Core rev: 501cd3063af388dabd3329d2e69ac218ffd62a9e)
Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e332738a8aae0914c58b40faae8b9d7a82fd6a95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update CVE_PRODUCT to also include 'berkeley_db'. For example,
CVE-2020-2981 uses 'berkeley_db'.
(From OE-Core rev: 753e6510df01fb4d71f46639bef06e1361f87170)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad799b109716ccd2f44dcf7a6a4cfcbd622ea661)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.
(From OE-Core rev: 9c0b242856de519c58be179f82441a35fc635ad9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 396a3ba884820d040c91f7592daf20ac28c49b5d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.
One of these cases was newly added, copied from the other which has
been there for a long time, always broken.
(From OE-Core rev: 8f24a7b35861b6aec39bc8d589e090ea9816732c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b8995b27db265b0a0b2d2ca595915f70f9f96e07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.
Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.
(From OE-Core rev: 57249316b6c66c5e17804e1b04f2d5cf0db92683)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e19f31a1005f94105e1cef252abfffcef2aafad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue only affects Debian and SUSE.
(From OE-Core rev: 760cc905fda18ee73ff3698a117f8841d3823b65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72522fa1a5f3b9b2855043fe6b421886d641385f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue only affects windows.
(From OE-Core rev: 9b214d503f3237fa7cd96c20686e610b09994823)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a90d3b056992346003d96765fc8639f5235cca55)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some fix upstream addresses the issue, it isn't clear which change this was. Our
current version doesn't have issues with the test image though so we can exclude.
(From OE-Core rev: 256f6be93eed82c7db8a76b1038e105331c0009f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3874da694ae1d9de06dd003bd80705205e2b033b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVEs are fixed with kernel changes and don't affect the bluez recipe.
(From OE-Core rev: d7779a9d58b088ce078956af4fdc0325d8c03c35)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 658902477840ea34d414083c4c79616bf5e999a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE is in the jpeg sources included with ghostscript. We use our own
external jpeg library so this doesn't affect us.
(From OE-Core rev: 829296767ecfbd443d738367b7146a91506e25f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8556d6a6722f21af5e6f97589bec3cbd31da206c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue applies to use of cpio in SUSE/OBS, doesn't apply to us.
(From OE-Core rev: 0f759992b7713e9664a4276a068a65f5e638fe33)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915b38c54a7932744a9f56713d1c6bd00a789331)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch mentioned as the fix for the CVE is applied to the 6.0 source
code. Zip versioning makes CPE entry changes hard.
(From OE-Core rev: 4ff9d2c57d9cade1faa3916f171e5ad96ee32487)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8917e5ae2bb44d017fc0155f16632c5decadb0bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE only applies to some distributed RHEL binaries so irrelavent to us.
(From OE-Core rev: 44d477b1cadc3e48c0a902123736fdf3bf2b412c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5d8b3ddf91050f6745a99a8abb1c3b03c35247af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't build/use the OPIE PAM module, exclude the CVE from this recipe.
(From OE-Core rev: d55474025a4518c674d9781c4c3b1ce5d6389466)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3670be602f2ace24dc49e196407efec577164050)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVEs apply to the way logrotate was installed on Gentoo, Debian
and SUSE, exclude from cve-check as they don't apply to OE.
(From OE-Core rev: 99cb9534902717e637f1460c1d1c10d290bbebf2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23643016f3b8794db772e333ff0b8f598571b628)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE is non-specific and depends on the users of jquery, doesn't
make sense to have this flagged against jquery as there is nothing we can
do about it.
(From OE-Core rev: d18ba3735ff3438ebd60b680e6bae5227c85bccb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f82843584f6d2843c5bbd2fe5dcbc654a0fbcfb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The issues were investigated and found not to be an issue therefore
exclude from checks.
(From OE-Core rev: 05f39301ab19a968916163b2d8f65beda7c09852)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee6ee9bd489c126b99d15c1011560df2f840a6e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE applies to the built-in VNC server but we don't enable this by default.
(From OE-Core rev: f0e0787265d9d8bd01629f2b56a0eb57d950c037)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d62b9974a5f3a0f462434ce2763c28a4b4bbcfc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE applies to virglrender before 0.6.0 which we don't have.
(From OE-Core rev: 559ed3e62e542b7a4456a9a4eef8742ce8521dfb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b5355375d028577de0b98e05992de6a088cb972)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVEs are disputed by upstream and there is no plan to fix/address them. No
other distros are carrying patches for them. There is a patch for 1010025
however it isn't merged upstream and probably carries more risk of other bugs
than not having it.
(From OE-Core rev: 2afbfc1eb6bc7613da4a7f06ac267ea561b5470e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b238db678083cc15313b98d2e33f83cccab03fc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer have a recipe for 5.0% in dunfell (and never did).
(From meta-yocto rev: d8bdb69e6bd7b52cf047cd6be406bf632a600a58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both don't seem to be reproducible with fedora 33
(From OE-Core rev: 55dc503f4ab33e2aa51a3a6e4003131e0b9355ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.
(From OE-Core rev: e9c8f43296552b43376d87fb291458731fb7f718)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjusting the tolerance to a more reasonable time
given the load on the AB and given the high amount(100) of
events some of the tests like `common_timeout` generates.
[YOCTO #14163]
(From OE-Core rev: 3c59989b7a09f412704f90480c3726a0cb7df746)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38b36d2b90d570149e63816e68f457aea28a5092)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.
(From OE-Core rev: 690e368ae06a461fb21b4eee1b78fb637279bbfe)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62c94bb925543c1e1c5af3c751913d9f06d9597d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:
PKG TASK ABSDIFF RELDIFF CPUTIME1 -> CPUTIME2
my-image do_image -45.3s -94.2% 48.1s -> 2.8s
Cumulative cputime:
-44.3s -92.3% 00:48.1 (48.1s) -> 00:03.7 (3.7s)
(From OE-Core rev: 2538a566f01f79537f8a94d93ac02588d6c239ec)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15c65f90a3aa1e98c2beab2539403157df1fca08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LD_LIBRARY_PATH leaks into host executables too, and breaks them
as they are not uninative-enabled. E.g. on ubuntu 18.04 trying
to run host bash with a sysroot that was built on Fedora 33:
akanavin@ubuntu1804-ty-3:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-24341/tmp/work/x86_64-linux/gnupg-native/2.3.1-r0/recipe-sysroot-native$ LD_LIBRARY_PATH=./usr/lib /bin/bash
/bin/bash: ./usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./usr/lib/libtinfo.so.5)
This was seen e.g. here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2090/steps/14/logs/stdio
(From OE-Core rev: a150f6fba94518509ee80869ffbfb973c1283e3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e9850486b74a3de934527ca1077df001d3a8d22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:
File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno
(From OE-Core rev: 0f4531275c1e332de81b31b89e52f588fc34b14a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87884d9938829d5ae5d250f483c749e00cd83322)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With kernel v5.8+ and gcc10 plugins, we can run into the following build error:
HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
In file included from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/gcc-plugin.h:28,
from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/system.h:687:10:
fatal error: gmp.h: No such file or directory
687 | #include <gmp.h>
| ^~~~~~~
(From OE-Core rev: 51a09f99127a90716b22a48a221838e6af1a617f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb055446e0fe4771c8bd6122e79d43ef8db2e45b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When doing the perf python3 conversion, the audit-python RDEPENDS
was caught up in the regex replacement and was incorrectly changed.
The audit recipe continues to produce a package called audit-python
and it is that package we should have as a RDEPENDS.
(From OE-Core rev: 489541edb82b0d3de68f60b38e7465b2f5511ec0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7eccb9c0c2ea00685451c44cb8faa96c4a2272fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host
(From OE-Core rev: 1eaa291f6a29eff76b717d90eae2d4896c9430ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with xz PACKAGECONFIG enabled in kmod and xz module compression enabled in kernel
the do_rootfs task doesn't run depmod in the image, because it thinks there are no modules:
NOTE: No Kernel Modules found, not running depmod
(From OE-Core rev: e198806404472a10230086b54544d83077381d19)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c13ce05eae0f126eb150e48709e9bd06e9280fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.
[YOCTO #14360]
(From OE-Core rev: 6c4355cd13ae47c327ddc5e9b66623e44ba5b118)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b71d30aef5dc2c360432c0dd4147859dd303ea48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior work has refactored the do_install task multiple times, and any
references to PKGV and PKGR (even indirect ones) have been removed.
(From OE-Core rev: d2fe8c5861283ff4a4bd18239a61eb6745b7f696)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 36fe4db8ae827a93abe9fce6740459d215411965)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This only affects glibc systems and have been
found on runqemu core-image-minimal with gstreamer ptest-runner
STOP: ptest-runner
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted
(From OE-Core rev: b7435fae07c7f6859e951d4796486b4cc65d44bc)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1cb679e6a4528a2cef16f65342d5e65adb14cb16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
370636ffbb86 Linux 5.4.116
e23967af130b bpf: Update selftests to reflect new error states
ef4e68f0af04 bpf: Tighten speculative pointer arithmetic mask
4dc6e55e282f bpf: Move sanitize_val_alu out of op switch
876d1cec9369 bpf: Refactor and streamline bounds check into helper
4158e5fea3b1 bpf: Improve verifier error messages for users
15de0c537bf7 bpf: Rework ptr_limit into alu_limit and add common error path
f7fbedc90909 bpf: Ensure off_reg has no mixed signed bounds for all types
4a163b1c7053 bpf: Move off_reg into sanitize_ptr_alu
19bfeb47e96b Linux 5.4.115
af7099bad495 USB: CDC-ACM: fix poison/unpoison imbalance
d7fad2ce15bd net: hso: fix NULL-deref on disconnect regression
699017fe0de4 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
b3962b4e8334 ia64: tools: remove duplicate definition of ia64_mf() on ia64
763cbe5e1ebb ia64: fix discontig.c section mismatches
3dce9c4bb546 csky: change a Kconfig symbol name to fix e1000 build error
892f6bc55746 cavium/liquidio: Fix duplicate argument
2ccca124620e xen-netback: Check for hotplug-status existence before watching
78687d6a3213 s390/entry: save the caller of psw_idle
026490fac496 net: geneve: check skb is large enough for IPv4/IPv6 header
caaf9371ecad ARM: dts: Fix swapped mmc order for omap3
be60afbb9136 HID: wacom: Assign boolean values to a bool variable
116ee59ef886 HID: alps: fix error return code in alps_input_configured()
a4e2b91cea52 HID: google: add don USB id
aefb6ac6ac11 perf auxtrace: Fix potential NULL pointer dereference
39638289595b perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
319a06e58ed7 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
82808cc02681 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
c6eb92b37af1 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
37ee803d7ed7 pinctrl: lewisburg: Update number of pins in community
dbb355960ef9 gpio: omap: Save and restore sysconfig
835c8d688e1e s390/ptrace: return -ENOSYS when invalid syscall is supplied
(From OE-Core rev: 8dd9cfc0f95366b1ca7fca981d4ae238b6dcb92c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 667352cc46429f3d8eca12cf93c26be2d26e5d74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a7eb81c1d11a Linux 5.4.114
3822683fd101 net: phy: marvell: fix detection of PHY on Topaz switches
cec3b778f70f ARM: 9071/1: uprobes: Don't hook on thumb instructions
4f0cda5e9e62 r8169: don't advertise pause in jumbo mode
c5934da725bb r8169: tweak max read request size for newer chips also in jumbo mtu mode
50b7a68664dc r8169: improve rtl_jumbo_config
cbbd3e2a2e7c r8169: fix performance regression related to PCIe max read request size
0243bb394186 r8169: simplify setting PCI_EXP_DEVCTL_NOSNOOP_EN
c667953d6433 r8169: remove fiddling with the PCIe max read request size
b14992c96274 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
871b569a3e67 ARM: footbridge: fix PCI interrupt mapping
9a7ac9afc8d7 gro: ensure frag0 meets IP header alignment
fde195c03bff ibmvnic: remove duplicate napi_schedule call in open function
c591bbaae545 ibmvnic: remove duplicate napi_schedule call in do_reset function
c6acd7d19124 ibmvnic: avoid calling napi_disable() twice
2bc14f5eca10 i40e: fix the panic when running bpf in xdpdrv mode
51edda8a6334 net: ip6_tunnel: Unregister catch-all devices
92f93a03cef0 net: sit: Unregister catch-all devices
4fcbb1fa2703 net: davicom: Fix regulator not turned off on failed probe
01fb1626b620 netfilter: nft_limit: avoid possible divide error in nft_limit_init
e65cd80558e5 net: macb: fix the restore of cmp registers
6449b405f99a netfilter: arp_tables: add pre_exit hook for table unregister
ce23be37ecac netfilter: bridge: add pre_exit hooks for ebtable unregistration
61ca5b653220 libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
4ce8e86d125d netfilter: conntrack: do not print icmpv6 as unknown via /proc
5f6c1a81713e scsi: libsas: Reset num_scatter if libata marks qc as NODATA
7779f84e4677 riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
ec3bb712fb62 vfio/pci: Add missing range check in vfio_pci_mmap
9e8c5e3d8279 arm64: alternatives: Move length validation in alternative_{insn, endif}
b7d15166c1d1 arm64: fix inline asm in load_unaligned_zeropad()
b9956950f23c readdir: make sure to verify directory entry for legacy interfaces too
ff821c7ce913 dm verity fec: fix misaligned RS roots IO
804607635cc1 HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
b428063fb310 Input: i8042 - fix Pegatron C15B ID entry
995503dd6546 Input: s6sy761 - fix coordinate read bit shift
7a2ac9ed8cf6 virt_wifi: Return micros for BSS TSF values
bd7e90c82850 mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
f666567a51fb pcnet32: Use pci_resource_len to validate PCI resource
9e249bc38a48 net: ieee802154: forbid monitor for add llsec seclevel
7a7899eaaeb8 net: ieee802154: stop dump llsec seclevels for monitors
fc5f9c33edb5 net: ieee802154: forbid monitor for del llsec devkey
63581374638b net: ieee802154: forbid monitor for add llsec devkey
0d5ee2ee9ab2 net: ieee802154: stop dump llsec devkeys for monitors
6c8caf78304f net: ieee802154: forbid monitor for del llsec dev
c993c05b9d48 net: ieee802154: forbid monitor for add llsec dev
f9d7088d385c net: ieee802154: stop dump llsec devs for monitors
178ddee28d53 net: ieee802154: forbid monitor for del llsec key
5d025404d513 net: ieee802154: forbid monitor for add llsec key
d8b4f3a9d732 net: ieee802154: stop dump llsec keys for monitors
e16998019358 scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
f0268d35305d ASoC: fsl_esai: Fix TDM slot setup for I2S mode
d60837aa64be drm/msm: Fix a5xx/a6xx timestamps
01e86da75c18 ARM: omap1: fix building with clang IAS
4f02dc4d360f ARM: keystone: fix integer overflow warning
f3183866b3da neighbour: Disregard DEAD dst in neigh_update
1cf8b48a4de2 ASoC: max98373: Added 30ms turn on/off time delay
47d04c039915 arc: kernel: Return -EFAULT if copy_to_user() fails
68bd0d8ab19e lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
6ffc9f854d23 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
4609d27ca6e4 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
09db44ad36b0 dmaengine: dw: Make it dependent to HAS_IOMEM
5130cda3cb1f gpio: sysfs: Obey valid_mask
2dce5702ef05 Input: nspire-keypad - enable interrupts only when opened
6180d2274b17 net/sctp: fix race condition in sctp_destroy_sock
304c21786b01 scsi: qla2xxx: Fix fabric scan hang
ca0188d396cd scsi: qla2xxx: Fix stuck login session using prli_pend_timer
c393c7f77cf8 scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport
ad66dc6d8830 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
8b5e82aea7b3 scsi: qla2xxx: Fix device connect issues in P2P configuration
8eed34d3c444 scsi: qla2xxx: Dual FCP-NVMe target port support
33beb0e6c244 Revert "scsi: qla2xxx: Fix stuck login session using prli_pend_timer"
94ac0a8866c4 Revert "scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure"
ab3bed80f9d3 Linux 5.4.113
94371b6c5553 xen/events: fix setting irq affinity
4ea6097986c4 perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
d462247bb274 perf tools: Use %zd for size_t printf formats on 32-bit
2715a4c0dc34 perf tools: Use %define api.pure full instead of %pure-parser
799f02f0dfc4 driver core: Fix locking bug in deferred_probe_timeout_work_func()
cc59b872f2e1 netfilter: x_tables: fix compat match/target pad out-of-bound write
8119a2b42028 block: don't ignore REQ_NOWAIT for direct IO
2d71bffbe9a0 riscv,entry: fix misaligned base for excp_vect_table
90b71ae8e5cf idr test suite: Create anchor before launching throbber
b9299c2bf554 idr test suite: Take RCU read lock in idr_find_test_1
cde89079ce46 radix tree test suite: Register the main thread with the RCU library
f5b60f26e36b block: only update parent bi_status when bio fail
5b8f89685a9a drm/tegra: dc: Don't set PLL clock to 0Hz
db162d8d7d08 gfs2: report "already frozen/thawed" errors
3c89c7240412 drm/imx: imx-ldb: fix out of bounds array access warning
e1ff1c6bbe4b KVM: arm64: Disable guest access to trace filter controls
2012f9f75444 KVM: arm64: Hide system instruction access to Trace registers
cc678e2f372e interconnect: core: fix error return code of icc_link_destroy()
(From OE-Core rev: fddf3e91bdeb4cb08d9abaa8b6c9ab1b95a4d729)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a24b8651365b333e903b317ad969ba8adfed28c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
drop changes to changelog file in the patch so it can be backport.
(From OE-Core rev: c955d1fc332b8c0a931ffa4a068844981406ae8a)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gitsm fetcher crashes when cloning a repository that contains LFS files.
This happens because the unpack method is called during download, but the
submodules have not been downloaded yet at this point.
This issue was introduced in this
commit: 977b7268bf
[YOCTO #14283]
(Bitbake rev: b4acaa314cd8bc86c50e14464ff01c2d110122c4)
Signed-off-by: Niels Avonds <niels@codebits.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26caedc4d2e9b5a0f1d57f9291754a7f6c5e437e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e05d79a6ed92c9ce17b90fd5fb6186898a7b3bf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a multiconfig situation there are circumstances where firstly, tasks
are deferred when they shouldn't be, then later, tasks can end up as
both covered and not covered.
This patch fixes two related issues. Firstly, the stamp validity checking
is done up front in the build and not reevaulated. When rebuilding the
deferred task list after scenequeue hash change updates, we need therefore
need to check if a task was in notcovered *or* covered when deciding to
defer it. This avoids strange logs like:
NOTE: Running setscene task X of Y (mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch_setscene)
NOTE: Deferring mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch after mc:host:/A/alsa-state.bb:do_deploy_source_date_epoch
where tasks have run but are then deferred.
Since we're recalculating the whole list, we also need to clear it before
iterating to rebuild it. By ensuring covered tasks aren't added to the
deferred queue, the covered + notcovered issue should also be avoided.
in the task deadlock forcing code.
[YOCTO #14342]
(Bitbake rev: fa068b5a3430b1b580cacfaf9011cdc3324d5844)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c8717fb9ee1114dd80fc1ad22ee6c9e312bdac7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason several git-annex files in Debian 10 buster
are read-only and removing them with "rm -rf" fails.
Fixes test failures like:
$ bitbake-selftest
...
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
EE..................................ssss.sssssssssssssss.sssss.......................................................................................................
======================================================================
ERROR: test_shallow_annex (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1773, in test_shallow_annex
fetcher, ud = self.fetch_shallow(uri)
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1541, in fetch_shallow
bb.utils.remove(ud.clonedir, recurse=True)
File "/home/builder/src/base/poky/bitbake/lib/bb/utils.py", line 700, in remove
subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource']' returned non-zero exit status 1.
Also, one "chmod" call was failing since the .git/annex subdirectory doesn't exist so just chmod
the whole temporary directory which should cover any directory name differences between
different git-annex versions. Fixes tests failing after chmod call:
Running 'export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; chmod u+w -R /tmp/tmpwmfn4w64/git//.git/annex' in /tmp/tmpwmfn4w64/git/
(Bitbake rev: 1fae1c812138f35c35ea4c0586e21f022524c5f1)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A CI user validating changes does not have any git push rights or
even a .gitconfig file so fix tests so that they run
by setting the user.name and user.email for the repo before
committing changes.
Fixes errors like:
ERROR: test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 2055, in test_that_unpack_throws_an_error_when_the_git_clone_no
r_shallow_tarball_exist
self.add_empty_file('a')
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1562, in add_empty_file
self.git(['commit', '-m', msg, path], cwd)
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1553, in git
return bb.process.run(cmd, cwd=cwd)[0]
File "/home/builder/src/base/poky/bitbake/lib/bb/process.py", line 184, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -m a a' failed with exit code 128:
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
(Bitbake rev: e341afcce40edf8078661630af1e0a780e8c1910)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link to the canonical filename of a license as only this one exists.
Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00
[license_image.bbclass: use canonical name for license files].
(From OE-Core rev: 834a8e357bc999a0163e7c5bafbcc1a8816448d4)
Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64b1ba978e079c345e1f7fbd1bf44052fc3dd857)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If iterating a layer with multiple components and auto-adding dependencies
the tests can break since layers are never removed and order isn't guaranteed
to account for that.
Fix this by resetting the layer list back to the original list each time
before auto-adding the dependencies in each case.
This fixes scanning of meta-openembedded in particular where the sublayers
may not be added in order of minimal dependency.
(From OE-Core rev: 886752b6877438c16b1f27b3b05798498026e645)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf1b467dacf345379cd5d84a1c9b3b0d844d5c91)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling xilinx-zynq board linux-kernel-dev(v5.8) if
"GCC_PLUGINS=y", The following error will appear:
"HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
fatal error: gmp.h: No such file or directory"
the GCC_PLUGINS depend on return result of gcc-plugin.sh execution
however in gcc-plugin.sh use HOSTCC to detect the feature of GNU
extension of gcc, this will result that HOSTCC can compile the file
successfully, but HOSTCXX is used in the actual compilation process.
(From OE-Core rev: 9a14fb4aefb3a0bad1d1a98f44eaa10177737e04)
Signed-off-by: Zhang Qiang <qiang.zhang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the sequence that didn't properly operate:
- a test case that skips and isn't executed
- a second test case that is skipped via a dependency decorator, and sets a timeout
- a third test case that takes longer than the timeout from the second
test case
Without the fix, the timeout is not cleared, and the third test case is
erroneously aborted. With the fix, the timeout is cleared and the third
test case is able to complete.
(From OE-Core rev: 79d216817c16237a9d660fc7956bf782ff60c65a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54ef07a9aa1af8f41cfb9a4802929c918efc43c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the decorators need proper cleanup, such as OETimeout
which sets a signal handler that needs to be cleared via teardown.
If this is not done then the signal gets called later with unpredictable effects.
This can be seen if there's a test that is skipped via a decorator and sets a timeout
at the same time: the timeout isn't cleared, and is invoked later in a
completely unrelated context. The test case for this is added in the
next commit.
(From OE-Core rev: d004c39ae70077c2c6f59afcfdecb6e9378cf692)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f42a08e1aabf1ca57e0c09d69fb69cc717c7f156)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently an entry in the NVD DB appeared that looks like that
{'vulnerable': True, 'cpe_name': []}.
As besides all the vulnerable flag no data is present we would get
a KeyError exception on acccess.
Use get method on dictionary and return if no meta data is present
Also quit if the length of the array after splitting is less than 6
(From OE-Core rev: 45148918628ba797755f3cbb52f065ec6dbbcfd2)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00ce2796d97de2bc376b038d0ea7969088791d34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.
d7fd0213b75 base: exclude some BT options as non-hardware
(From OE-Core rev: 2cc9e06807026b86038db88c2175c626feadc0be)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a86c8251905baf5bf4714f3db01cdfae02383839)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a49e5ea5e045 Linux 5.4.111
45f540622d5b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
43dd03f08819 init/Kconfig: make COMPILE_TEST depend on !S390
f5eb7e12a75d nvme-mpath: replace direct_make_request with generic_make_request
6cce30548058 bpf, x86: Validate computation of branch displacements for x86-32
a0b3927a07be bpf, x86: Validate computation of branch displacements for x86-64
20c60bbc1c54 cifs: Silently ignore unknown oplock break handle
754c82a6bf48 cifs: revalidate mapping when we open files for SMB1 POSIX
e5991b4fcedb ia64: fix format strings for err_inject
3e9292b39862 ia64: mca: allocate early mca with GFP_ATOMIC
9b872bac1923 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
e2db0e66139a x86/build: Turn off -fcf-protection for realmode targets
0465098898ef platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
5a8c30e8acad netfilter: conntrack: Fix gre tunneling over ipv6
e84a795b8a0b drm/msm: Ratelimit invalid-fence message
daf5aaa8e6e0 drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
6abe3dad0afe mac80211: choose first enabled channel for monitor
37b51460b25a mISDN: fix crash in fritzpci
901d39f7b2ce net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
dc7c4d30d6e0 net/mlx5e: Enforce minimum value check for ICOSQ size
b0e2b3271236 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
e5868baa1e3c platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
422c68101110 bus: ti-sysc: Fix warning on unbind if reset is not deasserted
bec7103b04a9 ARM: dts: am33xx: add aliases for mmc interfaces
59c8e3329268 Linux 5.4.110
cde4e338c2b2 drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
0ca13611d33f staging: rtl8192e: Change state information from u16 to u8
f9974f189c67 staging: rtl8192e: Fix incorrect source in memcpy()
fd5ce87aee48 usb: dwc2: Prevent core suspend when port connection flag is 0
85e1752ae0ed usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
26d2284a0580 usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
25c13ca8302f USB: cdc-acm: fix use-after-free after probe failure
b5aedddb621e USB: cdc-acm: fix double free on probe failure
7220bba3066e USB: cdc-acm: downgrade message to debug
62da51d0e7b7 USB: cdc-acm: untangle a circular dependency between callback and softint
7443350af8cb cdc-acm: fix BREAK rx code path adding necessary calls
58cace45f84b usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
a22e35f7b4fb usb: musb: Fix suspend with devices connected for a64
e94dec2765b5 USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
2ecf5803557b usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
5ecfad1efbc3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
58073dc536a6 extcon: Fix error handling in extcon_dev_register
e3a3d5005e63 extcon: Add stubs for extcon_register_notifier_all() functions
67ff75be1ab1 pinctrl: rockchip: fix restore error in resume
c92e8a8ecb9d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
7f93d47677dd reiserfs: update reiserfs_xattrs_initialized() condition
4dc52ce56d63 drm/amdgpu: check alignment on CPU page for bo map
f9b3b70fd468 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
00bd9c22409e mm: fix race by making init_zero_pfn() early_initcall
558ab52776c0 tracing: Fix stack trace event size
07b19a118d2f PM: runtime: Fix ordering in pm_runtime_get_suppliers()
72a667681cc4 PM: runtime: Fix race getting/putting suppliers at probe
b6e7dbf0ed9c xtensa: move coprocessor_flush to the .text section
c3715f06f9ad ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
09a08fd89996 ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
3acbf473a885 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
65f92e40cc6d ALSA: hda: Re-add dropped snd_poewr_change_state() calls
05dd1a4223c5 ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
42c83e3bca43 bpf: Remove MTU check in __bpf_skb_max_len
aca623d79cb7 net: wan/lmc: unregister device when no matching device is found
f22854911523 appletalk: Fix skb allocation size in loopback case
4ff476b88135 net: ethernet: aquantia: Handle error cleanup of start on open
ee898d95f446 ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
0b8dfb61f29a brcmfmac: clear EAP/association status bits on linkdown events
2d0e594c1316 can: tcan4x5x: fix max register value
4ac1feff6ea6 net: introduce CAN specific pointer in the struct net_device
23394679aa56 can: dev: move driver related infrastructure into separate subdir
7ca4feb37e9e flow_dissector: fix TTL and TOS dissection on IPv4 fragments
ee5055593d0e net: mvpp2: fix interrupt mask/unmask skip condition
aa9345d10f0a ext4: do not iput inode under running transaction in ext4_rename()
5e39a73e47ef locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
84bd602c14b7 thermal/core: Add NULL pointer check before using cooling device stats
50c38f76b51d ASoC: rt5659: Update MCLK rate in set_sysclk()
b6408fd7eb89 staging: comedi: cb_pcidas64: fix request_irq() warn
b9fe8673b874 staging: comedi: cb_pcidas: fix request_irq() warn
7390a1cdf304 scsi: qla2xxx: Fix broken #endif placement
6e79f829e791 scsi: st: Fix a use after free in st_open()
98052c40e3ac vhost: Fix vhost_vq_reset()
57aa4f30911a powerpc: Force inlining of cpu_has_feature() to avoid build failure
dcf4b6e710c7 NFSD: fix error handling in NFSv4.0 callbacks
990a0fa1ccbb ASoC: cs42l42: Always wait at least 3ms after reset
6d197691a1c5 ASoC: cs42l42: Fix mixer volume control
aa74bf73937c ASoC: cs42l42: Fix channel width support
47ae33d5b32b ASoC: cs42l42: Fix Bitclock polarity inversion
5952cf385ceb ASoC: es8316: Simplify adc_pga_gain_tlv table
381679aec216 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
57b8a192872a ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
b75073a37c65 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
ca3f8dcd6d94 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
c899b8391a54 rpc: fix NULL dereference on kmalloc failure
0e71c59b2450 fs: nfsd: fix kconfig dependency warning for NFSD_V4
9b68d3ed8aa8 ext4: fix bh ref count on error paths
721a6f64c0bc ext4: shrink race window in ext4_should_retry_alloc()
05d891e76dde module: harden ELF info handling
6a8df0821f67 module: avoid *goto*s in module_sig_check()
d9b98ccdfed0 module: merge repetitive strings in module_sig_check()
1a8c5fbe2f1d modsign: print module name along with error message
120589bb0970 ipv6: weaken the v4mapped source check
1225bb45c87b selinux: vsock: Set SID for socket returned by accept()
(From OE-Core rev: 744153aaf90600026e85e5d90ad6d26e33767988)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 199566a40671ac273028cb44d0bb4494be22c4aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4e85f8a712cd Linux 5.4.109
057dd3e6986b xen-blkback: don't leak persistent grants from xen_blkbk_map()
ce934540ff09 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
2638770e793b ext4: add reclaim checks to xattr code
92b9e3deffb6 mac80211: fix double free in ibss_leave
ae23957bd1fb net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
f7a962970001 net: dsa: b53: VLAN filtering is global to all users
f866d1fa48e4 can: dev: Move device back to init netns on owning netns delete
dfd6627c83dd x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
f989059cd22a locking/mutex: Fix non debug version of mutex_lock_io_nested()
1260d8dc2d66 scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
d31747705762 scsi: qedi: Fix error return code of qedi_alloc_global_queues()
063c3cfb264b scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
fdc61af371db block: recalculate segment count for multi-segment discards correctly
8ce9f6efa655 perf auxtrace: Fix auxtrace queue conflict
bc0b1a2036dd ACPI: scan: Use unique number for instance_no
b382f9d61609 ACPI: scan: Rearrange memory allocation in acpi_device_add()
cc578c3e612b Revert "netfilter: x_tables: Update remaining dereference to RCU"
19a5fb4ceada netfilter: x_tables: Use correct memory barriers.
c46cd29b89da Revert "netfilter: x_tables: Switch synchronization to RCU"
e74d46e69a45 bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
01398e024ba6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
78aafa0240bc PM: EM: postpone creating the debugfs dir till fs_initcall
f54b10114d63 net/mlx5e: Fix error path for ethtool set-priv-flag
fa4addf30c2c PM: runtime: Defer suspending suppliers
c82d289fe958 arm64: kdump: update ppos when reading elfcorehdr
8bf90e000c10 drm/msm: fix shutdown hook in case GPU components failed to bind
4fda26d2f7e1 libbpf: Fix BTF dump of pointer-to-array-of-struct
4f71aacd6c92 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
4ecf6d486e45 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
1f103ca31c51 r8152: limit the RX buffer size of RTL8153A for USB 2.0
048d0bf8ad19 net: cdc-phonet: fix data-interface release on probe failure
ecc62c3b1b57 octeontx2-af: fix infinite loop in unmapping NPC counter
7e9a48ceccae octeontx2-af: Fix irq free in rvu teardown
e15823801229 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
7722378c4a0a nfp: flower: fix pre_tun mask id allocation
060deac22f87 mac80211: fix rate mask reset
52cc7bad1275 can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
059c1996017d can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
e484616a9600 can: c_can: move runtime PM enable/disable to c_can_platform
4f71965ee897 can: c_can_pci: c_can_pci_remove(): fix use-after-free
42e49b3aa536 can: kvaser_pciefd: Always disable bus load reporting
e3ca9fbfcdf5 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
fb4a6ac4851a can: peak_usb: add forgotten supported devices
0a8046daba17 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
67319a8df5d3 netfilter: ctnetlink: fix dump of the expect mask attribute
c4dd0b36cce4 selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
9d06cabe3bf4 ftgmac100: Restart MAC HW once
81c591299da3 net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
d00db63edd0a e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
9f02a5658413 e1000e: add rtnl_lock() to e1000_reset_task
71fa8051f2f4 igc: Fix Supported Pause Frame Link Setting
35d8a780fa2b igc: Fix Pause Frame Advertising
da8af444b325 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
267b79a11046 net: sched: validate stab values
76909a298ebb macvlan: macvlan_count_rx() needs to be aware of preemption
c6b6c7a92fe5 ipv6: fix suspecious RCU usage warning
40fa14bbe3fe net/mlx5e: Don't match on Geneve options in case option masks are all zero
e64e327c7fab libbpf: Fix INSTALL flag order
53f1483984bf veth: Store queue_mapping independently of XDP prog presence
f259a7fdeb12 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
e6587d142d02 dm ioctl: fix out of bounds array access when no devices
7b6944f18cec dm verity: fix DM_VERITY_OPTS_MAX value
752589cd4ea8 integrity: double check iint_cache was initialized
f3404a677770 ARM: dts: at91-sama5d27_som1: fix phy address to 7
1815a24b9483 arm64: dts: ls1043a: mark crypto engine dma coherent
7447c05e06c4 arm64: dts: ls1012a: mark crypto engine dma coherent
b6f866bbf7ca arm64: dts: ls1046a: mark crypto engine dma coherent
e980bd1f7f60 ACPI: video: Add missing callback back for Sony VPCEH3U1E
431aaecd24ac gcov: fix clang-11+ support
4748b6d56efe kasan: fix per-page tags for non-page_alloc pages
037ecab65eb6 squashfs: fix xattr id and id lookup sanity checks
79b8814d6765 squashfs: fix inode lookup sanity checks
5b1abfe7d620 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
599cbcda68ee netsec: restore phy power state after controller reset
8aa97ae0f5d9 ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
cb1504b30b6f ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
37732ea82e09 block: Suppress uevent for hidden device when removed
a2d07d077eb3 nfs: we don't support removing system.nfs4_acl
eed4e1abc997 nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
5fc284999c4a nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
526abcb05c61 nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
8cdbee05b83f drm/radeon: fix AGP dependency
5a0e3fcbeb5a drm/amdgpu: fb BO should be ttm_bo_type_device
fc8e4af4c3ef drm/amd/display: Revert dram_clock_change_latency for DCN2.1
6292d84c8af4 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
c45182707277 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
f59604786a48 habanalabs: Call put_pid() when releasing control device
694761bfdd76 sparc64: Fix opcode filtering in handling of no fault loads
11efb0cda655 irqchip/ingenic: Add support for the JZ4760
69423418c5eb cifs: change noisy error message to FYI
981ba9c9a529 atm: idt77252: fix null-ptr-dereference
6b2844ad7b17 atm: uPD98402: fix incorrect allocation
40d0a9297f83 net: davicom: Use platform_get_irq_optional()
b90de232a806 net: wan: fix error return code of uhdlc_init()
0da0f199e767 net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
ab60e4f5eb3a NFS: Correct size calculation for create reply length
785be28d360f nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
d605afb11945 gpiolib: acpi: Add missing IRQF_ONESHOT
f6c1da94ddb3 cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
1d2c9669135f cifs: ask for more credit on async read/write code paths
ec7ce1e337ec gianfar: fix jumbo packets+napi+rx overrun crash
7ef7d296b154 sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
d25f579ec557 net: intel: iavf: fix error return code of iavf_init_get_resources()
d4dd6de6fc90 net: tehuti: fix error return code in bdx_probe()
e224a789d4a6 ixgbe: Fix memleak in ixgbe_configure_clsu32
537653a0698b ALSA: hda: ignore invalid NHLT table
bd272f11a9d4 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
7a12167636bf atm: lanai: dont run lanai_dev_close if not open
fb0067fcda6a atm: eni: dont release is never initialized
614a4ba66854 powerpc/4xx: Fix build errors from mfdcr()
45c1ca3e5784 net: fec: ptp: avoid register access when ipg clock is disabled
d0f5726ab1df hugetlbfs: hugetlb_fault_mutex_hash() cleanup
b90344f7d600 Linux 5.4.108
819eb4d7a85e cifs: Fix preauth hash corruption
cf113ffd620d x86/apic/of: Fix CPU devicetree-node lookups
288be0ed9b36 genirq: Disable interrupts for force threaded handlers
b8ebe853abca firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
31e17169a116 efi: use 32-bit alignment for efi_guid_t literals
886dbe0e338b ext4: fix potential error in ext4_do_update_inode
2f65ae3a7ee3 ext4: do not try to set xattr into ea_inode if value is empty
474aab448436 ext4: find old entry again if failed to rename whiteout
de2e1603c125 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
076b60af926b x86: Move TS_COMPAT back to asm/thread_info.h
27ddd2b59045 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
f546965c3aac x86/ioapic: Ignore IRQ2 again
da326ba3b84a perf/x86/intel: Fix a crash caused by zero PEBS status
51a2b19b554c PCI: rpadlpar: Fix potential drc_name corruption in store functions
796fc331c3cf counter: stm32-timer-cnt: fix ceiling write max value
850ca1c0130a iio: hid-sensor-temperature: Fix issues of timestamp channel
31a2e804ad4a iio: hid-sensor-prox: Fix scale not correct issue
3fa27c8749cf iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
4458ae8d4001 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
a605c095bb46 iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
87163fbba6d2 iio: adis16400: Fix an error code in adis16400_initial_setup()
ed0625334b94 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
08414c498b4b iio:adc:stm32-adc: Add HAS_IOMEM dependency
b0a595269e62 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
4baade6fd6e5 usb: gadget: configfs: Fix KASAN use-after-free
c92aebf2b0f3 USB: replace hardcode maximum usb string length by definition
f89366164693 usbip: Fix incorrect double assignment to udc->ud.tcp_rx
251949ec9d95 usb-storage: Add quirk to defeat Kindle's automatic unload
81b56afc2841 nvme-rdma: fix possible hang when failing to set io queues
b891d41d01f4 counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
86fd6c0d22a5 scsi: myrs: Fix a double free in myrs_cleanup()
eb46392d329a scsi: lpfc: Fix some error codes in debugfs
1f925558e3f1 riscv: Correct SPARSEMEM configuration
7db8f3be034d kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
1dad483b1ebc net/qrtr: fix __netdev_alloc_skb call
f0b09d547713 sunrpc: fix refcount leak for rpc auth modules
3c57ea09365f vfio: IOMMU_API should be selected
b439aac77360 svcrdma: disable timeouts on rdma backchannel
d1ae8f16c223 NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
4c5fab560cb0 nfsd: Don't keep looking up unhashed files in the nfsd file cache
49545a7b8b30 nvmet: don't check iosqes,iocqes for discovery controllers
cf7d7728d8a5 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
36a4f9164cf6 nvme-tcp: fix possible hang when failing to set io queues
81c1dbe1070c nvme: fix Write Zeroes limitations
6712b7fcef9d afs: Stop listxattr() from listing "afs.*" attributes
c71b93323f37 ASoC: simple-card-utils: Do not handle device clock
e029384c1835 ASoC: SOF: intel: fix wrong poll bits in dsp power down
626a484d1ec2 ASoC: SOF: Intel: unregister DMIC device on probe error
db3d39bcd66a ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
24c553371add btrfs: fix slab cache flags for free space tree bitmap
5b3b99525c4f btrfs: fix race when cloning extent buffer during rewind of an old root
a3e438db75fb ARM: 9044/1: vfp: use undef hook for VFP support detection
a47b395d441d ARM: 9030/1: entry: omit FP emulation for UND exceptions taken in kernel mode
34794bc0e768 s390/vtime: fix increased steal time accounting
ba4342094d71 Revert "PM: runtime: Update device status before letting suppliers suspend"
62cf220630a0 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
613fd762d188 ALSA: hda: generic: Fix the micmute led init state
5a5f85603e6e ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
4d35c01a3645 ALSA: dice: fix null pointer dereference when node is disconnected
d0fc0e7bfda2 ASoC: ak5558: Add MODULE_DEVICE_TABLE
a592a4c2889e ASoC: ak4458: Add MODULE_DEVICE_TABLE
(From OE-Core rev: 04e706701e8a499d71635214537def6f7f8d6193)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6aecb7e564f067b786cdec5b2eedd7fc3f2f13d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was
moved to openssl-bin which in itself was a fine change, but dropping
dependency on openssl too should have been kept along, dropping this
meant that openssl binary wont be able to validate secure connections as
the CApath files wont be installed, which infact are required for
openssl bins to work, following call e.g. fails
$ openssl s_client -connect google.com:443
....
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
....
The local issuer certs are not found in default location
/usr/lib/ssh-1.1/certs, this dir and its content is installed by openssl package
therefore re-add the dependency on openssl
(From OE-Core rev: ba2774dc6ba119094861c0723858e4b47e9b7eed)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eaf377315efc73d6ffe361372a873918b3bb3bf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can disable floppy drive by BIOS on a hardware, but an empty floppy
drive is connected by default on qemu-system-x86. Linux usually detect
the device and modprode the matched floppy.ko at the boot stage. Due to
we don't specify a floppy deivce in qemu boot arguments, then the errors
about floppy reading comes out.
It is harmless and normal, so we could ignore this error message on
qemux86.
Seen if kernel-modules is included in the image which pulls in the
relavent kernel module.
https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html
(From OE-Core rev: 982236ed40f7e1fb912d52155495286fa1ca4757)
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3359f23ee9351c70997d5e0a17d17d1e47d59623)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
grap2graph which converts a GRAP diagram into a cropped image fails
to run as below:
$ grap2graph
/usr/bin/grap2graph: line 89: convert: command not found
/usr/bin/grap2graph: warning: falling back to old '-crop 0x0' trim method
/usr/bin/grap2graph: line 104: convert: command not found
/usr/bin/grap2graph: line 103: grap: command not found
Considering we don't often need to convert a GRAP diagram into
a cropped image and the recipe ImageMagick which provides convert
command is in meta-oe layer, so don't ship the related files to
avoid the confusion about the above run time error.
(From OE-Core rev: 5619bc0e98c02cf80601eb399bb205f33f8e4098)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 251be7279a475ee18c0c53fe9795bb37bffc2b45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When use automake to generate Makefile.in from Makefile.am, there
comes below race:
| configure.ac:45: error: required file 'config-h.in' not found
It is because the file config-h.in in updating process by autoheader,
so make automake run after autoheader to avoid the above race.
(From OE-Core rev: 0d5dd68a07707f8b8428fe564414e2f5b7433ed5)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was encountering the following race condition on poky:
- automake-native does do_install.
- automake-native does do_populate_sysroot. This hardlinks config.guess
and config.sub into ${D}.
- kmod-native does do_configure. This runs `autoreconf`, which runs
`automake --add-missing` (symlinks config.guess/config.sub from
recipe-sysroot-native to build dir), then runs `gnu-configize` (copies
_its own_ config.guess/config.sub _on top_ of the already existing
ones). Since the destinations already had symlinks, the copy would
overwrite config.guess/config.sub in recipe-sysroot-native, which
would in turn overwrite the same in ${D} due to being hardlinked.
- automake-native does do_package. The outhash is thus calculated on the
clobbered config.guess/config.sub files.
With hash equivalency enabled, the different outhash produced a
different unihash, which kept me from reusing sstate between my laptop
and my build server. This race condition would happen only on the build
server (BB_NUMBER_THREADS = 32) but never on my laptop
(BB_NUMBER_THREADS = 6).
I didn't see the --install and --symlink flags being used by any other
recipe, so I removed them, and that fixed the issue.
(From OE-Core rev: 38026e5f94228506ea110f725148d335495265e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89d675efd633b495daa4a3a57420b9c309497035)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`tmux new -c` fails on tmux older than 1.9, when that flag was added.
We can omit the flag for older versions of tmux, and the working
directory gets set even without it.
(From OE-Core rev: 290747561ab91fcf38b2c787e13e0eb88eadb389)
Signed-off-by: Peter Budny <pbbudny@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c55c294be6f5119f4c58a4e7a0bc052904126569)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tests to ensure COREBASE/TMPDIR doon't contain ".." as this causes
hard to understand build failures.
Also rework the code to test TMPDIR and COREBASE for all the patterns
since they may be set differently and one may contain problematic
characters.
[YOCTO #14111]
(From OE-Core rev: bfce6e9e3aab025938672731f9daedea24ad1fdb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f22a6e46d003aba516a9a0cc7f94eae678d846b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It has been reported that '%' characters in build paths break with python
exceptions, probably due to confusion with python string escaping. Whilst it
is probably fixable, showing the user a human readable error is better given
it doesn't work.
[YOCTO #14282]
(From OE-Core rev: cce199341ab9a3d6678c57afa803ccd83806de20)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31a3cf78452270131a657be45e76569515cff7ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dnf packages aren't parsed if rpm isn't in PACKAGE_CLASSES which means
the aintainers test failes for OE-Core (where ipk is the default) but not
for poky (where the default is rpm).
Ensure PACKAGE_CLASSES is set so it works in all cases.
[YOCTO #14277]
(From OE-Core rev: 8717bf4f3c875b094ee29b4f3420ff5ad9cad1f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 842b11107363357ed933cfcf619f1cf23f0d841e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting a value of 10 for heartbeat events causes the test to fail. Hardcode
a value to ensure it works correctly even if the default is changed.
(From OE-Core rev: cad75a7aa940efaf6674bfbbeb38d3fc11fab143)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08b2c9a23ce43ed65a16f5f0714b19a571e1b54a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.
The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our source subtree.
[YOCTO #14333]
(From OE-Core rev: d621b7c0ce0a99035de7e503596a3e36dc44b76f)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c18225d3ef94a41fc073ae87c163b68e6d46571)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 4525310d49d115a37705f04ac5c03d639e5e8f8c.
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.
The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our EXTERNALSRC subtree.
If we unpack one git repo inside another, like this:
SRC_URI = "git://${GIT_SERVER}/repo1;name=repo1;destsuffix=repo1 \
git://${GIT_SERVER}/repo2;name=repo2;destsuffix=repo1/repo2 \
"
Git status reports, for repo1:
Untracked files:
(use "git add <file>..." to include in what will be committed)
repo2/
If we run `devtool modify` on this recipe, do_patch runs with:
PATCHTOOL = "git"
PATCH_COMMIT_FUNCTIONS = "1"
The `patch_task_postfunc` (patch.bbclass, line 82) runs a `git add .` on the
top-level repo1, leaving the checkout in an invalid state. The following git
warning does not appear in the log:
$ git add .
warning: adding embedded git repository: repo2
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> repo2
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached repo2
hint:
hint: See "git help submodule" for more information.
$ git submodule status
fatal: no submodule mapping found in .gitmodules for path 'repo2'
No further git submodule commands can be run on the checkout.
We could enhance the `patch_task_postfunc` to look for any embedded git
checkouts and add them as submodules, but this seems unnecessary complexity for
an obscure edge-case. Although the git repo is left in an invalid state with
respect to the submodules, it still serves the purpose required by devtool:
To take further commits, and generate patch files from them.
We are still able to run these commands to examine any submodules,
where git submodule--helper reports paths relative to the top of the checkout:
$ git ls-files --stage | grep ^160000
160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0 repo2
$ git submodule--helper list
160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0 repo2
When a recipe sets EXTERNALSRC to a subdirectory of the git checkout, we test
for the existence of the reported submodule paths within the EXTERNALSRC
directory.
The latest versions of git submodule--helper accept a path to a subdirectory and
correctly report no submodules within that subdirectory. Regrettably, we still
support git versions that don't accept a path to a subdirectory.
[YOCTO #14333]
(From OE-Core rev: 5c374996745816fcbbafbde75f10f4b6e41479b2)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2055718fdd19f925e236d67823017323bbd92a4b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go 1.14 for windows targets does not support -buildmode=pie, disable it and use
the default buildmode instead. Support for -buildmode=pie for windows targets
is added with go 1.15 (https://golang.org/doc/go1.15) which is added to poky in
gatesgarth.
(From OE-Core rev: a1b0631c4723d2a98eb9e80ec85a00bc46276783)
Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mingw32/mingw64 is not a supported value for GOOS, so map from 'mingw*' to
'windows' to enable building for windows targets.
(From OE-Core rev: 099bd78ce80772c42887104a40aa0a92fdaa6965)
Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`ROOTFS` is optional. It can be empty if the live image doesn't require
a rootfs. In such cases, the build doesn't depend on
`do_image_{LIVE_ROOTFS_TYPE}`.
(From OE-Core rev: f1dda70ff8b672b695b44079db69a0563bb6c96c)
Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96f47c39f1d17f073243913d524bde84add41d8f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Take patches from Ubuntu 20.04 7.68.0-1ubuntu2.5, which is close enough
that they apply without conflicts.
(From OE-Core rev: 134a27d05f06791b738bb801e68b6916477add04)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In particular 170 includes rpm header fixes which stop the webpages
for rpm diffs breaking web browsers and are important in the context
of the autobuilder.
(From OE-Core rev: 3b04da3a02b746241196f1fe42a9a345212cfc07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 275738c3f2116de9b812b46e00d80b4de6975d7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to support reproducible build testing on autobuilder
(From OE-Core rev: c9ce8ef2ff29ed87703b9262d661d916595b2c38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes comparisions between lists easier.
(From OE-Core rev: 950e4c5405dfafb8ec4ea1a66b462977be550509)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2c52125d1cdc06c7e08d507ca68f3e4612a4314)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps with trimming down the list, and towards 100% reproducibility :)
(From OE-Core rev: 857a8d8c619277ca0e40aa6c5c99793e6a019d84)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da7a173d7a01524229c8515326465968a845e96f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hopefully over time this list will be reduced to an empty one.
Non-reproducible excluded packages are not given to diffoscope and do not cause a
failure, but still saved side-by-side with non-reproducible failing ones to make
investigation easier.
(From OE-Core rev: 7cd8b42f11e39b473851b6603a5709f95b4dbf74)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 406bd0d48d8f90e2c836f7d3e204f21d5f13c833)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add systemd and pam distro features, and commercial license flag
to include more recipes into the world set.
(From OE-Core rev: 3e87a2bb2ee4db33e80b93a864d1153353fc12ad)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed8f94942c07784f9f6eef5c00b75aa9b398ea5e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting the 'func' flag on the commands variables ensures that they are parsed
as shell, and therefore that the referenced commands contents are included in
checksums. Doing this only in image.bbclass means that this is missing in
recipes that are not images, but which inherit populate_sdk or populate_sdk_base
directly, so move it to the latter.
[YOCTO #13998]
(From OE-Core rev: d044d9c0cb672c499059eb273e399ce4aee17e0d)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edc28907ce19a7298059dd388933c58a9c6c28b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and SDK_POSTPROCESS_COMMAND, the appropriate entries were added to vardepvalueexclude, but we want them in vardepsexclude as well.
(From OE-Core rev: 9d77288cd614c6ced51fbd60b2851f619610e9dd)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 554b17e0bbe5190e4b03121f2ed06f4845012a71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since pyc cache files are really system specific, no real reason to copy or
generate them during the eSDK build process. Also generating them has the
possibility of re-using inodes that pseudo may have been tracking, leading
a build failure.
(From OE-Core rev: e3d027b48bf54fef9420cd1cd4f04a9bedf8d032)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce8eba263647ae63a722122e28f26af46ae083a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
autoconf needs, so there comes a race sometimes as below:
| configure.ac:45: error: required file 'config-h.in' not found
| touch '../libtool-2.4.6/libltdl/config-h.in'
So make sure autoheader run before autoconf to avoid this race.
(From OE-Core rev: ac63b30ac7dce558c9de5be985c153e4617157d5)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8451cbef5906b67756582fdfc44eb01ed3512fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HOSTTOOLS_DIR contains symlinks to host tools, not copies
(From OE-Core rev: 4e17f9806f64301c942600b650b3dd5e34ca1838)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb7692da7faa49b370680decbbaceaeb85b6889d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running on the systems having read-only rootfs backed by overlayfs,
removing the whole directory lead to create a special char device file
on the upperdir to reflect directory's removal. Once it is required to
upgrade the whole read-only image that might contain new postinsts scripts,
it will be impossible to run such scripts with a "deletion mark" file
on the overlayfs -- the whole directory will be marked as deleted regardless
new files in it.
(From OE-Core rev: d913d2fbd431ccc10a6197c4dc8858dfd9a91426)
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a27b62b225ffeecec47c249a0b86cc54d775add)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zc.c:77:8: error: too many arguments to function 'get_user_pages_remote'
| 77 | ret = get_user_pages_remote(task, mm,
| | ^~~~~~~~~~~~~~~~~~~~~
Backported patch to fix it.
(From OE-Core rev: cd247306566313517b69b4ae321476b8ea9ab46f)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following build failure with linux-yocto-dev
zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
61 | down_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
zc.c:77:15: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
77 | up_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
(From OE-Core rev: fe668065ad7ec83aadfa36fe6ba1ced3db2e3cad)
(From OE-Core rev: b132bdbca1980dd2f1e343372ae464f78fb337c2)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream directory layout has changed after update in commit 3c2f8b750a, resulting in some package to pull in linux-firmware base package.
This may cause an image size increase of approximately 700MB.
See log.do_packaging:
DEBUG: linux-firmware-bcm43340 contains dangling link /lib/firmware/cypress/cyfmac43340-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43362 contains dangling link /lib/firmware/cypress/cyfmac43362-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4339 contains dangling link /lib/firmware/cypress/cyfmac4339-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4354 contains dangling link /lib/firmware/cypress/cyfmac4354-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356 contains dangling link /lib/firmware/cypress/cyfmac4356-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43570 contains dangling link /lib/firmware/cypress/cyfmac43570-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4373 contains dangling link /lib/firmware/cypress/cyfmac4373-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw
DEBUG: target found in linux-firmware
(From OE-Core rev: 86367fd896a020de7f3379da57f1ec62895bcf70)
Signed-off-by: Michael Trensch <mtrensch@hilscher.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd273c611b03bd5972da8bf4accaba247f7c9c62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a65e78863443 Linux 5.4.107
5161cc4350de net: dsa: b53: Support setting learning on port
ebeefdc3d8ee net: dsa: tag_mtk: fix 802.1ad VLAN egress
6c3d86e6ffde crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
ae69c97bb76e crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
eeb0899e0073 crypto: x86 - Regularize glue function prototypes
187ae0463653 fuse: fix live lock in fuse_iget()
28e53acd3065 drm/i915/gvt: Fix vfio_edid issue for BXT/APL
5a7c72ffb412 drm/i915/gvt: Fix port number for BDW on EDID region setup
4ab29329668d drm/i915/gvt: Fix virtual display setup for BXT/APL
e46f72e1f27c drm/i915/gvt: Fix mmio handler break on BXT/APL.
8cd68991b836 drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang
50f83ffc58ab btrfs: scrub: Don't check free space before marking a block group RO
591ea83fd2ce bpf, selftests: Fix up some test_verifier cases for unprivileged
4e4c85404a23 bpf: Add sanity check for upper ptr_limit
524471df8fa9 bpf: Simplify alu_limit masking for pointer arithmetic
2da0540739e4 bpf: Fix off-by-one for area size in creating mask to left
ea8fb45eaac1 bpf: Prohibit alu ops for pointer types not defining ptr_limit
010c5bee66bd KVM: arm64: nvhe: Save the SPE context early
0437de26e28d Linux 5.4.106
b802b6ef28d6 xen/events: avoid handling the same event on two cpus at the same time
92aefc62f483 xen/events: don't unmask an event channel when an eoi is pending
43d0b82bb45c xen/events: reset affinity of 2-level event when tearing it down
38563c1ff081 KVM: arm64: Reject VM creation when the default IPA size is unsupported
da2e37b55d4c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
4e2156c0d37b nvme: release namespace head reference on error
eb565f052b3e nvme: unlink head after removing last namespace
4535fb9ec5fd KVM: arm64: Fix exclusive limit for IPA size
e28b19ca2aeb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
c0e0ab60d0b1 binfmt_misc: fix possible deadlock in bm_register_write
106fea9ad246 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
907f7f2cf0ff sched/membarrier: fix missing local execution of ipi_sync_rq_state()
2306580a95b7 zram: fix return value on writeback_store
29e28a134a49 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
99f1960cae4f stop_machine: mark helpers __always_inline
aaf92d0538d2 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
88c79851b82d arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
73aa6f93e1e9 configfs: fix a use-after-free in __configfs_open_file
babd55002dd4 block: rsxx: fix error return code of rsxx_pci_probe()
41deefab452a NFSv4.2: fix return value of _nfs4_get_security_label()
86954a52d829 NFS: Don't gratuitously clear the inode cache when lookup failed
d29f9aa6a8b2 NFS: Don't revalidate the directory permissions on a lookup failure
d5a69ed75931 SUNRPC: Set memalloc_nofs_save() for sync tasks
9c9ea7ac18b2 arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
19bb2a20710d sh_eth: fix TRSCER mask for R7S72100
c3c1defad2dd staging: comedi: pcl818: Fix endian problem for AI command data
c5916897a6e1 staging: comedi: pcl711: Fix endian problem for AI command data
7d8ec7bef320 staging: comedi: me4000: Fix endian problem for AI command data
e70294943c89 staging: comedi: dmm32at: Fix endian problem for AI command data
47a2af64eea3 staging: comedi: das800: Fix endian problem for AI command data
0f2522ec71b6 staging: comedi: das6402: Fix endian problem for AI command data
e91490b9edb9 staging: comedi: adv_pci1710: Fix endian problem for AI command data
4d6505edee5a staging: comedi: addi_apci_1500: Fix endian problem for command sample
f258c1c26f64 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
e644fc4ab7bb staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
8f586a59829b staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
9fe42273b2c6 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
ab42f28d5f34 staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
1a866057e970 staging: rtl8712: unterminated string leads to read overflow
da5abe369b03 staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
a311b6a7f099 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
e4b52c7cbaaf misc: fastrpc: restrict user apps from sending kernel RPC messages
9009b59dfd5f misc/pvpanic: Export module FDT device table
0a58a400a93b usbip: fix vudc usbip_sockfd_store races leading to gpf
8a50dda5243e usbip: fix vhci_hcd attach_store() races leading to gpf
8698133003cf usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
7b76c7a91bf6 usbip: fix vudc to check for stream socket
2e24c093e264 usbip: fix vhci_hcd to check for stream socket
da1be8e07852 usbip: fix stub_dev to check for stream socket
ec7fb77a37af USB: serial: cp210x: add some more GE USB IDs
b05ac5bcf623 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
0b7034401f0c USB: serial: ch341: add new Product ID
5287c3d62e91 USB: serial: io_edgeport: fix memory leak in edge_startup
c1b20c6fac05 xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
3573dea8c17a usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
57ab089c09d5 xhci: Improve detection of device initiated wake signal.
f4f02f9feb4e usb: xhci: do not perform Soft Retry for some xHCI hosts
45bc1c34b54e usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
c9e346234698 USB: usblp: fix a hang in poll() if disconnected
cc495be17466 usb: dwc3: qcom: Honor wakeup enabled/disabled state
f030e3c67791 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
014e4b616313 usb: gadget: f_uac1: stop playback on function disable
117aadfc0616 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
ec7b0ac66539 USB: gadget: u_ether: Fix a configfs return code
0ae3101f5cf0 Goodix Fingerprint device is not a modem
b0ea155fa4f7 mmc: cqhci: Fix random crash when remove mmc module/card
61fadd5f1e4e mmc: core: Fix partition switch time for eMMC
1cb73c82622c software node: Fix node registration
3bc266631a9e s390/dasd: fix hanging IO request during DASD driver unbind
87adc240df30 s390/dasd: fix hanging DASD driver unbind
12002aa2e7af arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
47a5d1b63f21 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
ac85e7d4abb1 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
b1fe755e51df ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
2b7615c97b0e ALSA: hda: Avoid spurious unsol event handling during S3/S4
bb060148e29f ALSA: hda: Flush pending unsolicited events before suspend
09cb42025a46 ALSA: hda: Drop the BATCH workaround for AMD controllers
e1a92ad57b2c ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
ff2152beb22c ALSA: hda/hdmi: Cancel pending works before suspend
dd6d483104bf ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
300fba2b4e11 scsi: target: core: Prevent underflow for service actions
de2cdbcb4f38 scsi: target: core: Add cmd length set before cmd complete
050e1900d617 scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
acf0e7b15f87 sysctl.c: fix underflow value setting risk in vm_table
508d56e2c5c3 s390/smp: __smp_rescan_cpus() - move cpumask away from stack
54fc6a56f72a i40e: Fix memory leak in i40e_probe
f95403013744 PCI: Fix pci_register_io_range() memory leak
e9be5518af2c kbuild: clamp SUBLEVEL to 255
e622e01d44e4 PCI: mediatek: Add missing of_node_put() to fix reference leak
d54c77959ece PCI: xgene-msi: Fix race in installing chained irq handler
395f24b37fe8 Input: applespi - don't wait for responses to commands indefinitely.
ad93777a59c7 sparc64: Use arch_validate_flags() to validate ADI flag
dec0ab3bc3a2 sparc32: Limit memblock allocation to low memory
f8788ee8544c iommu/amd: Fix performance counter initialization
d92afe30a665 powerpc/64: Fix stack trace not displaying final frame
61654b5d079d HID: logitech-dj: add support for the new lightspeed connection iteration
49e38713faaf powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
a54c278fcf8b powerpc: improve handling of unrecoverable system reset
7765b5c2c192 spi: stm32: make spurious and overrun interrupts visible
507b9bce2113 powerpc/pci: Add ppc_md.discover_phbs()
26d60799d99b Platform: OLPC: Fix probe error handling
ccad3c70fcd0 mmc: mediatek: fix race condition between msdc_request_timeout and irq
edf05afc9be3 mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
c44d966e9020 udf: fix silent AED tagLocation corruption
5f04f970d579 i2c: rcar: optimize cacheline to minimize HW race condition
1e1aace4a395 i2c: rcar: faster irq code to minimize HW race condition
2e24fd30c6f0 net: phy: fix save wrong speed and duplex problem if autoneg is on
aea71e92b9a0 net: enetc: initialize RFS/RSS memories for unused ports too
d1f308174a60 net: hns3: fix error mask definition of flow director
cb36bf447a0c media: rc: compile rc-cec.c into rc-core
4c0c31572b67 media: v4l: vsp1: Fix bru null pointer access
f56a82844c1f media: v4l: vsp1: Fix uif null pointer access
8cdc0900fc80 media: usbtv: Fix deadlock on suspend
56b9b2c25905 sh_eth: fix TRSCER mask for R7S9210
bdec0dd95cc8 qxl: Fix uninitialised struct field head.surface_id
d5fc9c5d64ca s390/crypto: return -EFAULT if copy_to_user() fails
72ba965bf10d s390/cio: return -EFAULT if copy_to_user() fails
d2100ef32a8c drm: meson_drv add shutdown function
72c541cc4552 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
0d574fc463c7 drm/shmem-helper: Check for purged buffers in fault handler
3b08ea3a548f drm/compat: Clear bounce structures
cabbd263c8e8 bnxt_en: reliably allocate IRQ table on reset to avoid crash
dfa176f374ba s390/cio: return -EFAULT if copy_to_user() fails again
05d11eb7bd9d net: hns3: fix bug when calculating the TCAM table info
8bbc59bb0556 net: hns3: fix query vlan mask value error for flow director
4d0273ab0a79 perf traceevent: Ensure read cmdlines are null terminated.
ef663d149f8e selftests: forwarding: Fix race condition in mirror installation
fcce3cb62c09 net: stmmac: fix watchdog timeout during suspend/resume stress test
d31ae9ec5a03 net: stmmac: stop each tx channel independently
86ea605518d7 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
e8b6c1d7ced2 net: qrtr: fix error return code of qrtr_sendmsg()
d28e783c2003 net: davicom: Fix regulator not turned off on driver removal
05517de4188b net: davicom: Fix regulator not turned off on failed probe
11a589205119 net: lapbether: Remove netif_start_queue / netif_stop_queue
b4800e7a1c9f cipso,calipso: resolve a number of problems with the DOI refcounts
6d599697e9a8 netdevsim: init u64 stats for 32bit hardware
8e365b61bda7 net: usb: qmi_wwan: allow qmimux add/del with master up
392f34cce2b0 net: sched: avoid duplicates in classes dump
3e66c16388f5 nexthop: Do not flush blackhole nexthops when loopback goes down
7f101d035deb net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
0fbbcf797e9c net/mlx4_en: update moderation when config reset
78cbd0a4749d net: enetc: don't overwrite the RSS indirection table when initializing
6547ec428619 Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
55e6ede3b935 cifs: return proper error code in statfs(2)
a1ff418d3eda mount: fix mounting of detached mounts onto targets that reside on shared mounts
59a057a89155 powerpc/603: Fix protection of user pages mapped with PROT_NONE
da9f2219f66c mt76: dma: do not report truncated frames to mac80211
95b0a3b09094 ibmvnic: always store valid MAC address
3e8ab75f3301 samples, bpf: Add missing munmap in xdpsock
c2c3a85ab01f selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
57b9f13e8aaa selftests/bpf: No need to drop the packet when there is no geneve opt
82e85c0e7f34 netfilter: x_tables: gpf inside xt_find_revision()
f66b8e738140 netfilter: nf_nat: undo erroneous tcp edemux lookup
3bf899438c12 tcp: add sanity tests to TCP_QUEUE_SEQ
b7049b6156ce can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
a7e187a87e8e can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
e0eccdfc5c0e can: flexcan: enable RX FIFO after FRZ/HALT valid
ca483b872d20 can: flexcan: assert FRZ bit in flexcan_chip_freeze()
6676e510d1a9 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
718769eb1bbe sh_eth: fix TRSCER mask for SH771x
8baa52f26b3e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
ca278267d6cd net: check if protocol extracted by virtio_net_hdr_set_proto is correct
f2d78bbbca42 net: Fix gro aggregation for udp encaps with zero csum
9be769161192 ath9k: fix transmitting to stations in dynamic SMPS mode
5555ee33b6cc ethernet: alx: fix order of calls on resume
dcb95790821b powerpc/pseries: Don't enforce MSI affinity with kdump
fd1824bf963a uapi: nfnetlink_cthelper.h: fix userspace compilation error
(From OE-Core rev: ed4db1755fb9d8a86d91039f95482c706778e72f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59ab12f804dda59ecf8954df6ef8024646bcbde7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
checkout: fix bug that makes checkout follow symlinks in leading path
Upstream-Status: Acepted [684dd4c2b4]
CVE: CVE-2021-21300
(From OE-Core rev: 8293d5d1529629bd13028bdde1fa99da30313bac)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit bebef58b21bdff7a3ee1fa2449b7df19144f26fd introduced forcing
parser shutdown as default in case of build abort.
In this case bitbake sometimes hangs after facing error during parsing,
waiting for child processes to finish. Killing it then will spawn zombie
processes.
Thus we force the shutdown after catching an exception.
(Bitbake rev: 017a39ed05d065bf28fd38f91bcde8a098300551)
Signed-off-by: Jan Brzezanski <jan.brzezanski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915330e1dbae1ee8fd9a0358decf2c294f771961)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.
Avoid this by using separate image targets instead.
(From OE-Core rev: d30a90062e29a3069f6e8d9f6d4eadd7a48adf4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 590398080e81fb5e2f81e12b8900858837dfe25f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
some kernel includes kernel-image-image and kernel-devicetree packages.
these patckages are defined in kernel.bbclass
but, when use linux-dummy, these packages are not defined.
so, define them as empty packages for avoiding compile error:
ERROR: Nothing RPROVIDES 'kernel-devicetree'
(From OE-Core rev: 9d166adde55ce8f0ba60c37c0679a99c947b2779)
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8dbae2dd5ac3de629957ca699f823f5438e80163)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you type something into devpyshell, an exception should be triggered,
but that exception isn't printed out because it is not being flushed out
of the buffer. This patch fixes that issue.
[YOCTO #12156]
(From OE-Core rev: 92b2da5824c11063d0bb8e39bc221530137e29b4)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f95e82a3b27bfd5177a855326dcad8a5bdf5b2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.
git submodule status returns a path relative to the cwd for each submodule.
We don't add submodules that are not within our source subtree.
(From OE-Core rev: d1f6fd5817e43e5f002a9430563d6d1b69d77317)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4525310d49d115a37705f04ac5c03d639e5e8f8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We (correctly enough) pass in our AR to cmake via the toolchain file,
but unlike the other cross-compilation tools (CC, CXX, ranlib, etc),
cmake does not then do its own search in the PATH for our AR.
By using cmake's own find_program() to search the PATH,
make works as expected from the commandline, outside of bitbake.
(From OE-Core rev: 0b5d825ccb251bd6015dfcd49ed452b7bd64e6f6)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9180c9575f0723b51915a0da58452511b6b03bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.
also update testcases to cover this changes and set CVE_VERSION_SUFFIX
for sudo.
(From OE-Core rev: d75f95a09e5e85eb759e748f9e0fee1c5fa1b318)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8076815fc2ffc8f632e73527ce2b7d158a29e9ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
some record from NVD can merge or split suffix from version, for
example:
CVE-2017-15906
"cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:5.0:p1:*:*:*:*:*:*"
"cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:4.7p1:*:*:*:*:*:*:*"
in such case include the suffix into version when update local CVE db.
(From OE-Core rev: b8d3e1754faea3ba0b6e07d5a830fbab12b5f53d)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13cc68197f81bb7c76fa1abecc5dd720b8bdb8d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the install script copy only few hard coded item while
setting up target ESP, kernel artifacts, all .efi in EFI/BOOT,
grub & boot cfg and loader.conf.
While ESP can be much complex, eg: contain multiple initrd.
Add a ESP folder to carry any other files to setup onto ESP.
(From OE-Core rev: 3be53035c567c06a09a36d68c41393482bd4789b)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6eaca9cf20c42501fba27dea3a6446bad948e859)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update to match what was merged in master branch (and I have now sent for gatesgarth)
* fixes Upstream-Status (there is a missing 'c' in 'Acepted' and 'Backport' is more accurate)
(From OE-Core rev: 060587ae477d785db017f4d8a2152206c258da42)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
arping in iputils s20190709 has several problems, this backports the
fixes from s20200821.
- -D, duplicate address detection, always returns failure
- -w -f does not behave correctly
- -w option hangs arping
- -U option returns failure
(From OE-Core rev: 77c5792aa5e7cb7760c7042a49c2c0b02109987f)
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In cases where we configure the IP address and more on the kernel
command line with ip= we should not ask for DHCP with systemd-networkd
later on. We have such a setup with our runqemu script.
With this match in place we can also deploy this unit on qemu systems.
(From OE-Core rev: c88bb3db92d0650a560d7cbc1f0f42ae8faf15e1)
Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c4981e740c0e630200dbc77c9e3dfd3e43b790b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing
descriptions or homepage.
(From OE-Core rev: c1d8d25fffc119adcc5f0a49b10b21dcdc1c6572)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f36f176dc0316a79ae288c3b4f6c2eab366810dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pretty sure that trailing quote should be a period; it
appears to work properly.
(From OE-Core rev: f63ae3256cb880564f1b786e4c381ffae5cb58e8)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 579f9ada19bd174bff0002cd6a731d12a1868252)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we delete the .git/ directory, it's impossible to get METADATA_REVISION
inside eSDK. Because of this, we meet the following warning when installing eSDK.
WARNING: The base-files:do_install sig is computed to be 16b9d96148d45de183cc94667aae016ec7d102d48255456381e718cd4bbd0aa0, \
but the sig is locked to 6eb0dcaed504282becee94662481d79264db920dee1f7deda18230133fff8f36 in SIGGEN_LOCKEDSIGS_t-qemux86-64
So we record METADATA_REVISION in eSDK generation time to fix this problem.
(From OE-Core rev: c6793c5c9af2c7d2547e1dc3ef7ab05f6bb41563)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff2ad51b801fd62e2abbc573ba2c9ee8fdc7e012)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_kernel_configme task is no longer part of SRCTREECOVEREDTASKS,
its been removed from the kernel-yocto.bbclass since b72dbb2e4, but
there wasnt a matching patch for devtool for those changes.
This patch enables us to invoke the do_kernel_configme task when
using a devtool workspace, it also prepends a check for an existing
.config file in the source directory and moves it if thats the case,
since when using devtool modify a .config is created and
do_kernel_configme complains about it, this is not the case when
using bitbake since the .config file would be on B instead.
Alowing do_kernel_configme to run also fixes the flow where testing a
new config fragment from devtool workspace isnt added properly
(config queue shows it as ///frg.cfg) and as a side effect it never
gets merged into the final config.
(From OE-Core rev: 5f27d66b5e3a7bffc23c140edf76fc8fd4cd5b23)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08dcc0e68095dcf2a159546a48b29d40c9aabc0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it doesn't listen on http and the redirect sometimes doesn't work
WARNING: iso-codes-4.6.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
The protocol should be changed to https, like all other salsa.debian.org pulls are, so that it doesn't depend on mirrors.bbclass to resolve this.
meta/classes/mirrors.bbclass//salsa.debian.org/.* git://salsa.debian.org/PATH;protocol=https \n \
from log.do_fetch:
DEBUG: Fetcher accessed the network with the command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress http://salsa.debian.org/iso-codes-team/iso-codes.git refs/*:refs/*
fatal: unable to access 'http://salsa.debian.org/iso-codes-team/iso-codes.git/': Couldn't connect to server
WARNING: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
...
warning: redirecting to https://salsa.debian.org/iso-codes-team/iso-codes.git/
(From OE-Core rev: e739b039aebcd1ca839b0460e950d5b8bc2e3cdb)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 749eeb8cfaa8ffcfda29f3f06a77debaf6304288)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Causes breakage in other layers
This reverts commit e0c1db170fdd6c1d78fdfce017feae26c96fac29.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen hard to debug issues where a task ends up in both the
covered and notcovered list. Add a sanity check to ensure if this
happens in future, we see it in the logs.
(Bitbake rev: da306cd4430a6fcf6b62ed0e6e5310432aa4c4c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e001410854792f9bb66a0409a2ac176171b0507)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen occasional issues where linux-yocto:do_compile_kernelmodules would
run without do_shared_workdir running before it. do_shared_workdir is an
setscene task but never has an sstate object generated so it will always
rerun. This should not happen since compile_kernemodules should only
execute if a setscene that depends on it didn't run and that should trigger
do_shared_workdir not to be marked as covered.
The issue is that build-appliance-image:do_package is one of the tasks which
covers linux-yocto:do_compile_kernelmodules but it is also a noexec task
and has a dependecy on pseudo-native:do_populate_sysroot.
In the problem case, pseudo-native:do_populate_sysroot is unavailable but
marked as covered since it is noexec. The "harddeps" code then also marks it
as notcovered. No task should ever be both covered and notcovered and this
is where the problems come from.
The solution is for the harddeps code only to to fail tasks if they've not
already been handled in some way. The code is assuming code couldn't have
handled revdeps at this point but we now have clear evidence they can.
(Bitbake rev: 8a13955d8da86b976bb136ba1e724a02f7953bca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f66556bbb38449789ceea2fd105e9f68df7fb660)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
insane has checks that the compiler isn't printing "CROSS COMPILE
Badness" during configure/compile/install, but this message hasn't been
output by GCC since 2010 (23f522e7).
The current warning is "include location [...] is unsafe for cross-
compilation" and as that is a proper GCC warning, we can make it fatal
in follow-up patches.
(From OE-Core rev: 32c49bc10013ece820c9168b690d14a5a9fd1f13)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a67e9ebfd5b8002fd4a7d8d27ff0d997817f76e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel-devsrc is a dependency of the image so we no longer need the symlink
creation code or the module-base inherit/dependency as it is included in
that recipe. The KERNEL_VERSION usage was broken anyway as the module
usage would have needed a:
do_image[depends] += "build-appliance-image:do_configure"
which wasn't present so it was indeterminate if KERNEL_VERSION was set
correctly.
(From OE-Core rev: b5bcbe1835ad95a65c2c01212a35f9388ac0dffc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a46b43bb67b2f87ec370480e50a2e2d111555b75)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libinput ptests are very sensitive to system load, and will fail
if events from the kernel don't arrive sufficiently fast (from 20ms to
200ms depending on the test).
This is by design as input processing is inherently time-sensitive and
to avoid code bugs the test suite considers timing problems fatal.
As this is causing a large proportion of ptest runs to fail in libinput,
disable the execution of these tests for now.
[ YOCTO #14164 ]
(From OE-Core rev: d4df6cfe5b8d81c53bf5fc2a3b97886739f36a71)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54e2eb809bdfedb64219f37b82589372bbc96905)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The help message for the optional argument of setting
the priority of the new layer was incorrect.
(From OE-Core rev: 4557255a95f9aac8c1e955c078ca05f995c1299c)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d10d928c6030951994bc2404cde78137c86917a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin is not an acceptable format for qemu and will throw an error is set.
The correct format in this case is raw.
(From OE-Core rev: b3cbde17aff693e2d5ba6d61922fca54e75b9f6e)
Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd279aeb986b4676ea8ecb1e7b12c7e29e83460a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Attempt to fix intermittent failure of `drd/tests/std_list`
Locally tested to take around 45 s on qemuarm64
[YOCTO #14228]
(From OE-Core rev: ab87c49321a5511060fea6ebff2ffee847f014c0)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aac00b1c8042e41cd6bb1aea8e3033a1c6dd2b05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met
(From OE-Core rev: 0ac2dee8756573a793af56582565f221ff6b93c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0820aeba74869bf6e85b200f39bc610a43ab9a7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.
ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.
If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.
Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.
(From OE-Core rev: 280bf295a12b49a1d5199d86da6641516df0ce6a)
Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eecbe625558406680121d2a7e84917fea45ea9dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging why a single recipe doesn't reproduce, its a pain
to wait for the world to rebuild from scratch. Update the selftest
to allow this to be configured, for example you could set
targets as ['perf'] and sstate_targets as ['virtual/kernel']
and then it should only be rebuilding perf in the test rather than
things like the toolchain (parts of the kernel may be unavoiable
as they're not in sstate).
Can be run as:
OEQA_DEBUGGING_SAVED_OUTPUT=/tmp/perf-diffoscope oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds
to save diffoscope output.
(From OE-Core rev: 8b38cd1b36f3e227a63c0aa3955f3f5ab172c509)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 132a17d02f29711572e14a2f38a841323fbb6df6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add sorting to the globbing within the Makefile to make the output
reproducible.
(From OE-Core rev: 4ce08e6fa4e72d70badb1892f48d593a37f063ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c43ae151f572786818fe048233b4bbfd6b0ba2cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove hardcoding the build configuration into the help/version output
from swig to make the binaries reproducible.
(From OE-Core rev: 6187dd2b21a9f42877e782810ef96738dbc668c1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed28ae9717ea9dad4e131012186d5f08e8f0bec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add sorting to wildcard expansion in the makefile to make builds
reproducible.
(From OE-Core rev: 7529d0a5fff17e35238c0f005163360f7f903898)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5541ba76ccc0c416f315bc0dc14a20a33059bd5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure was swallowing our cflags meaning the resulting binaries were
not reproducible. Tweak configure not to do that and fix reproducibility.
(From OE-Core rev: d55f1632bbc6f9b7dadc874d68006d4ceb13937c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1395269a6fae5cec01d721e2ad52bd7cb8fc38ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: a6f1da03c9534c3ea1607d479e08d1037688a59f)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7290b773486da3888f848abf0dba747f2d9f42e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 317c817231d343e2707759bf9e3f9e986f4ee27d)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ab087950ceaa960c29b0cad12aa716a50b50c34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 7711fc4e7a1513d54181939707c4a9e7e08c74fc)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab7a945f6e88db5cc2457823e2a6f942f30ab4e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 2f2fb08e0d312d82749bea147306897c00df650e)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 693988ec423341b930e93d604638826cccba9e37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 41b106617387a642338ab2ef3565ea5d48ce5685)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 325db7fea11315e8dd53274853f33b716247d1bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: d2e54108558bcf3a44d65505a643ace5cf365d8a)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc6c7af900ae0196a62b7fa1375c55bbcd8e68b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: 90e24da5fbfafc4c5b31093a5fc9ec65fabd31f5)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89d8f20353bacb089bc18833d3ff032b525613ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: 3bb03e124b956310674845b5e1a4f755a8456ce7)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95a86ac1c12414c1b4983880145aec55bd9a38a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
c4ca4659678e Linux 5.4.103
47478db9ad21 ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
4cf243476463 ALSA: hda/realtek: Add quirk for Intel NUC 10
2254dfa68428 ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
027ddd67f685 media: v4l: ioctl: Fix memory leak in video_usercopy
60fdceaa91ad swap: fix swapfile read/write offset
bebf5e832779 zsmalloc: account the number of compacted pages correctly
f038a22632a4 xen-netback: respect gnttab_map_refs()'s return value
474773c42ffd Xen/gnttab: handle p2m update errors on a per-slot basis
def70c33c478 scsi: iscsi: Verify lengths on passthrough PDUs
567a234a231d scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
5f4243642873 sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
ca3afdd03773 scsi: iscsi: Restrict sessions and handles to admin capabilities
fdaec40526b4 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
68b15ca91add ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
db0e94615263 ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
925ae8148535 ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
99d2926531ac sched/features: Fix hrtick reprogramming
4a3f4feeb622 parisc: Bump 64-bit IRQ stack size to 64 KB
f41ed2164364 perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
2b130871e20a btrfs: fix error handling in commit_fs_roots
9bf519ca55c4 ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
7702b331861b nvme-tcp: add clean action for failed reconnection
a9ea34d2717a nvme-rdma: add clean action for failed reconnection
4bf6c84c9ad3 nvme-core: add cancel tagset helpers
8253cc11abb2 f2fs: fix to set/clear I_LINKABLE under i_lock
77dc257b4feb f2fs: handle unallocated section and zone on pinned/atgc
aa1362606059 media: uvcvideo: Allow entities with no pads
0e9d7902764a drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
f1fef55a3f1a PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
b252cdd9c650 drm/amdgpu: Add check to prevent IH overflow
a8d46a3feb02 crypto: tcrypt - avoid signed overflow in byte count
9f8d3e4b8ad8 drm/hisilicon: Fix use-after-free
e1b9c1c9dbb0 brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
3c099c272eb5 brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
d1f262561993 staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
e3ec4af50642 staging: most: sound: add sanity check for function argument
7d16e7c1615d Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
bba1995325b5 x86/build: Treat R_386_PLT32 relocation as R_386_PC32
e37674e1a48d ath10k: fix wmi mgmt tx queue full due to race condition
46813e4a7caa pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
b074e7e20cc9 Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
5a8bbefd0074 wlcore: Fix command execute failure 19 for wl12xx
48549db10dbe vt/consolemap: do font sum unsigned
de00b8f037ca x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
48f6c1a89487 staging: fwserial: Fix error handling in fwserial_create
ce2b4b9c86b7 rsi: Move card interrupt handling to RX thread
133b0b1aa5c4 rsi: Fix TX EAPOL packet handling against iwlwifi AP
c8c3088a90c3 drm/virtio: use kvmalloc for large allocations
584149c771ec MIPS: Drop 32-bit asm string functions
648c5b1b24d0 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
823e6524e1f3 dt-bindings: ethernet-controller: fix fixed-link specification
176188cff67e net: fix dev_ifsioc_locked() race condition
e4fc812e3577 net: ag71xx: remove unnecessary MTU reservation
ad112654e21d net: bridge: use switchdev for port flags set through sysfs too
2e235c3a9518 mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
4ed3162e92bf nbd: handle device refs for DESTROY_ON_DISCONNECT properly
e6af7cb64b7b net: fix up truesize of cloned skb in skb_prepare_for_shift()
4ceb5ca9e626 smackfs: restrict bytes count in smackfs write functions
5fe244620e74 net/af_iucv: remove WARN_ONCE on malformed RX packets
09e47dc27ed5 xfs: Fix assert failure in xfs_setattr_size()
a72c45f4ee33 media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
edaa0a0aab6e erofs: fix shift-out-of-bounds of blkszbits
706068d0811a media: mceusb: sanity check for prescaler value
64677f10e560 udlfb: Fix memory leak in dlfb_usb_probe
4e3b08cfe619 JFS: more checks for invalid superblock
86d7c693670e MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
9757d5c4fc3f arm64 module: set plt* section addresses to 0x0
69861dcc78c2 nvme-pci: fix error unwind in nvme_map_data
744073c5c79c nvme-pci: refactor nvme_unmap_data
9e4815cf1785 Input: elantech - fix protocol errors for some trackpoints in SMBus mode
a1d010346e48 net: usb: qmi_wwan: support ZTE P685M modem
7f324ea75baa Linux 5.4.102
07c4c2e2bcd3 ARM: dts: aspeed: Add LCLK to lpc-snoop
39be7b978fde net: qrtr: Fix memory leak in qrtr_tun_open
7b518508c685 dm era: Update in-core bitset after committing the metadata
976ee31ea300 net: sched: fix police ext initialization
9875cb3c0968 net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
354fb7244fd0 ipv6: silence compilation warning for non-IPV6 builds
e528edf1e579 ipv6: icmp6: avoid indirect call for icmpv6_send()
c30e93eee3bf xfrm: interface: use icmp_ndo_send helper
e1ec06b833aa sunvnet: use icmp_ndo_send helper
d8d268ce1a5e gtp: use icmp_ndo_send helper
dd28e735df5c icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
2019554f9656 icmp: introduce helper for nat'd source address in network device context
0a35ff986617 drm/i915: Reject 446-480MHz HDMI clock on GLK
467214ddfa7e dm era: only resize metadata in preresume
fb8986363019 dm era: Reinitialize bitset cache before digesting a new writeset
e59b9a8464be dm era: Use correct value size in equality function of writeset tree
fead0c8e5c56 dm era: Fix bitset memory leaks
8ca89085fe72 dm era: Verify the data block size hasn't changed
e8a146ef82a4 dm era: Recover committed writeset after crash
d873884783ed dm writecache: fix writing beyond end of underlying device when shrinking
5233c47c8d46 dm: fix deadlock when swapping to encrypted device
fd3b7e07d3c1 gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
fa0201d3902e gfs2: Don't skip dlm unlock if glock has an lvb
c5abc17d2740 spi: spi-synquacer: fix set_cs handling
3dbe8f1d24de sparc32: fix a user-triggerable oops in clear_user()
7e17044631aa f2fs: fix out-of-repair __setattr_copy()
5b5d76028056 um: mm: check more comprehensively for stub changes
b95baf4efb68 virtio/s390: implement virtio-ccw revision 2 correctly
8e6c8cfa9aee s390/vtime: fix inline assembly clobber list
07332771663b cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
dfbbed769f1b printk: fix deadlock when kernel panic
81c2472bcf33 gpio: pcf857x: Fix missing first interrupt
70dcfb66ef68 spmi: spmi-pmic-arb: Fix hw_irq overflow
d5194f7264e2 powerpc/32s: Add missing call to kuep_lock on syscall entry
6b22c402dff9 mmc: sdhci-esdhc-imx: fix kernel panic when remove module
b6bc5417385d module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
8a3e6c6fe9c6 media: smipcie: fix interrupt handling and IR timeout
2e1df9bfe6fa arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
566209806176 hugetlb: fix copy_huge_page_from_user contig page struct assumption
5dd34ee9abdc hugetlb: fix update_and_free_page contig page struct assumption
b74e3493264f x86: fix seq_file iteration for pat/memtype.c
ebd5a480db0e seq_file: document how per-entry resources are managed.
3e9b85cabea0 fs/affs: release old buffer head on error path
b2b5c3aec866 mtd: spi-nor: hisi-sfc: Put child node np on error path
61dfd4fbbd1e mtd: spi-nor: core: Add erase size check for erase command initialization
3ab134965691 mtd: spi-nor: core: Fix erase type discovery for overlaid region
cc27d5f40680 mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
7852feb3accb mtd: spi-nor: sfdp: Fix last erase region marking
97d079fd2ac1 watchdog: mei_wdt: request stop on unregister
4262c46bfbcf watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
a82ebd5dde7d arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
efca4c991ecf arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
d4a7d6c02261 floppy: reintroduce O_NDELAY fix
337bba09d850 rcu/nocb: Perform deferred wake up before last idle's need_resched() check
3cd9a74bead1 rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
14122331b1c3 powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
84ec5883b4f9 x86/reboot: Force all cpus to exit VMX root if VMX is supported
4fa154124164 x86/virt: Eat faults on VMXOFF in reboot flows
3f5dc4a102a9 media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
de9b5d51b627 staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
bb5bfd51f603 staging: gdm724x: Fix DMA from stack
d69583a2c1b3 staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
eb6f42b101ec dts64: mt7622: fix slow sd card access
f73e98efaa10 pstore: Fix typo in compression option name
c9e529e635b9 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
d82d5a77f0a0 misc: rtsx: init of rts522a add OCP power off when no card is present
aa00c2d60ae1 seccomp: Add missing return in non-void function
0d95bdee02ad crypto: sun4i-ss - initialize need_fallback
903f576f4e66 crypto: sun4i-ss - handle BigEndian for cipher
4fc52e091a2c crypto: sun4i-ss - checking sg length is not sufficient
3b40af844c26 crypto: aesni - prevent misaligned buffers on the stack
46e6d781f87e crypto: arm64/sha - add missing module aliases
dca4f29507e4 btrfs: fix extent buffer leak on failure to copy root
df369c3afb0d btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
dc0780e456ac btrfs: fix reloc root leak with 0 ref reloc roots on recovery
c0baf3aaf4b9 btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
2910038c09f4 KEYS: trusted: Fix migratable=1 failing
2c21eac499f8 tpm_tis: Clean up locality release
f19b98394c0a tpm_tis: Fix check_locality for correct locality acquisition
52f3bdb1078a erofs: initialized fields can only be observed after bit is set
4d09487509ad drm/sched: Cancel and flush all outstanding jobs before finish.
c38fd6afe146 drm/nouveau/kms: handle mDP connectors
7c1a2f91908f drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
ca5a8ad84ba0 drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
5431cb67306d bcache: Move journal work to new flush wq
a339f0998eb1 bcache: Give btree_io_wq correct semantics again
de5510b9825c Revert "bcache: Kill btree_io_wq"
f6992915031e ALSA: hda/realtek: modify EAPD in the ALC886
48d1950dafe9 ALSA: hda: Add another CometLake-H PCI ID
3ed9bd25fd88 USB: serial: mos7720: fix error code in mos7720_write()
e73874b41286 USB: serial: mos7840: fix error code in mos7840_write()
a678d130424a USB: serial: ftdi_sio: fix FTX sub-integer prescaler
d1f773b70ae6 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
1c073b56e765 usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
a5ae281779a5 usb: musb: Fix runtime PM race in musb_queue_resume_work
e3ddfaf3e617 USB: serial: option: update interface mapping for ZTE P685M
32a82e001ead media: mceusb: Fix potential out-of-bounds shift
8812bed7ec74 Input: i8042 - add ASUS Zenbook Flip to noselftest list
80168ba86034 Input: joydev - prevent potential read overflow in ioctl
9fe66416b02e Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
d84f9c28abbe Input: raydium_ts_i2c - do not send zero length
2d954832ba48 HID: wacom: Ignore attempts to overwrite the touch_max value from HID
394f2b794310 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
e690b3f48635 ACPI: configfs: add missing check after configfs_register_default_group()
40b70c98be98 ACPI: property: Fix fwnode string properties matching
371a2218ed33 blk-settings: align max_sectors on "logical_block_size" boundary
4ad2a372e1cd scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
d2aa80c36727 mm/rmap: fix potential pte_unmap on an not mapped pte
8450b1cd7cb3 i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
1a47856548fb arm64: Add missing ISB after invalidating TLB in __primary_switch
94a432151c35 r8169: fix jumbo packet handling on RTL8168e
c70c3b6e62e4 mm/compaction: fix misbehaviors of fast_find_migrateblock()
c200f4959586 mm/hugetlb: fix potential double free in hugetlb_register_node() error path
67a982ee20d2 mm/memory.c: fix potential pte_unmap_unlock pte error
5bf318965485 ocfs2: fix a use after free on error
55b6be947efa vxlan: move debug check after netdev unregister
e9ae8928ddd6 net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
e41bb745fd0f vfio/type1: Use follow_pte()
005ed88685aa i40e: Fix add TC filter for IPv6
1b66e64ce349 i40e: Fix VFs not created
a60ef5efff55 i40e: Fix addition of RX filters after enabling FW LLDP agent
57a7b145d8a1 i40e: Fix overwriting flow control settings during driver loading
55af95c8ce4d i40e: Add zero-initialization of AQ command structures
d7c25783b8c8 i40e: Fix flow for IPv6 next header (extension header)
2efbd63b6e74 regmap: sdw: use _no_pm functions in regmap_read/write
62c4532ebb1d nvmem: core: skip child nodes not matching binding
e40a8924eb3b nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
d8b7689a6240 ext4: fix potential htree index checksum corruption
2df4434766aa vfio/iommu_type1: Fix some sanity checks in detach group
179b83e72c89 drm/msm/mdp5: Fix wait-for-commit for cmd panels
32cf1b5c153d drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
e2d44809c4f4 mei: hbm: call mei_set_devstate() on hbm stop response
c7cac840c2b3 PCI: Align checking of syscall user config accessors
8c23e9f4c7b0 VMCI: Use set_page_dirty_lock() when unregistering guest memory
e8ba75011695 pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
3a9044ea78ea soundwire: cadence: fix ACK/NAK handling
fcfec32c9a01 misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
52fe389c0a99 phy: rockchip-emmc: emmc_phy_init() always return 0
047e029392a5 misc: eeprom_93xx46: Fix module alias to enable module autoprobe
f7fb313affee sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
0a072f01e585 Input: elo - fix an error code in elo_connect()
2062856c441c perf test: Fix unaligned access in sample parsing test
eb191a88be52 perf intel-pt: Fix premature IPC
119f96bb14bc perf intel-pt: Fix missing CYC processing in PSB
ce40b82cfa09 Input: sur40 - fix an error code in sur40_probe()
d5ca5d1190a4 RDMA/hns: Fixes missing error code of CMDQ
8677e99150b0 nfsd: register pernet ops last, unregister first
046615ffd431 clk: aspeed: Fix APLL calculate formula from ast2600-A2
923027302666 regulator: qcom-rpmh: fix pm8009 ldo7
2ebadcea0ef3 spi: pxa2xx: Fix the controller numbering for Wildcat Point
e0c516e72fd5 RDMA/hns: Fix type of sq_signal_bits
d21f6d9a3e49 RDMA/siw: Fix calculation of tx_valid_cpus size
d0005c4ab5e1 RDMA/hns: Fixed wrong judgments in the goto branch
c42d1e8caad5 clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
ecfae933df3a powerpc/8xx: Fix software emulation interrupt
ba5c8a0ee624 powerpc/pseries/dlpar: handle ibm, configure-connector delay status
0c79abee609d mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
046a8158982b spi: stm32: properly handle 0 byte transfer
3cb8510625d5 RDMA/rxe: Correct skb on loopback path
c88fc726d9c0 RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
2e556ba37f13 RDMA/rxe: Fix coding error in rxe_recv.c
d2ee0b2070cd perf vendor events arm64: Fix Ampere eMag event typo
a0ea1f58aeea perf tools: Fix DSO filtering when not finding a map for a sampled address
e59e0ced0763 tracepoint: Do not fail unregistering a probe due to memory failure
4cb8bdaebbd8 IB/cm: Avoid a loop when device has 255 ports
180cd50dd9a8 IB/mlx5: Return appropriate error code instead of ENOMEM
379b5ee283dd amba: Fix resource leak for drivers without .remove
65159b4401fd i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
870ab7ef9799 ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
f201f050a52a mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
2096ca11967c mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
de1e8961db05 mmc: sdhci-sprd: Fix some resource leaks in the remove function
c4c70ac4659e powerpc/47x: Disable 256k page size
8121f35cc657 KVM: PPC: Make the VMX instruction emulation routines static
144422afaa10 IB/umad: Return EPOLLERR in case of when device disassociated
40d9bcab50d0 IB/umad: Return EIO in case of when device disassociated
f337e5947a19 objtool: Fix ".cold" section suffix check for newer versions of GCC
9d20f53167e6 objtool: Fix error handling for STD/CLD warnings
68b6d02b3774 auxdisplay: ht16k33: Fix refresh rate handling
88b6e7267f9e isofs: release buffer head before return
8eaf7e3480ec regulator: core: Avoid debugfs: Directory ... already present! error
486a018932fe regulator: s5m8767: Drop regulators OF node reference
ab669048f97d spi: atmel: Put allocated master before return
bdad2e9c992e regulator: s5m8767: Fix reference count leak
0fec3272abf1 certs: Fix blacklist flag type confusion
8d0c3acd0370 regulator: axp20x: Fix reference cout leak
edf1d9025195 clk: sunxi-ng: h6: Fix clock divider range on some clocks
e68366695807 RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
6a52a17fd0a3 clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
898c96f75616 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
d8a9db6dfa23 rtc: s5m: select REGMAP_I2C
239670e85cbb power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
3cbd3038c915 of/fdt: Make sure no-map does not remove already reserved regions
fb326c6ce0dc fdt: Properly handle "no-map" field in the memory region
5fba43deff93 mfd: bd9571mwv: Use devm_mfd_add_devices()
3b0053360e84 dmaengine: hsu: disable spurious interrupt
fe0a870739ba dmaengine: owl-dma: Fix a resource leak in the remove function
6f4fdb448b4c dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
67be754e0771 dmaengine: fsldma: Fix a resource leak in the remove function
da0f70eadabf RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
1f5fea7616e8 HID: core: detect and skip invalid inputs to snto32()
34d0d61a864d clk: sunxi-ng: h6: Fix CEC clock
2dd73db1b508 spi: cadence-quadspi: Abort read if dummy cycles required are too many
0473358e075c i2c: iproc: handle master read request
128c8431e8b9 i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
d8a5e1780a2b i2c: iproc: handle only slave interrupts which are enabled
8b63c0cbc724 quota: Fix memory leak when handling corrupted quota file
623c86840e8a selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
b070f3b6ee5a clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
f8c601cb3ab4 clk: meson: clk-pll: make "ret" a signed integer
fcba0f6ab1e2 clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
6413d0318ca4 HSI: Fix PM usage counter unbalance in ssi_hw_init
33a2e62473e8 capabilities: Don't allow writing ambiguous v3 file capabilities
b42b04e517cb ubifs: Fix error return code in alloc_wbufs()
5501892826bb ubifs: Fix memleak in ubifs_init_authentication
c4ede7571b4f jffs2: fix use after free in jffs2_sum_write_data()
746ef39b0bd6 fs/jfs: fix potential integer overflow on shift of a int
ff138fd20f17 ASoC: simple-card-utils: Fix device module clock
091b409383ad ima: Free IMA measurement buffer after kexec syscall
e436d3f7bdac ima: Free IMA measurement buffer on error
f04787555f4c crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
cba03a29611c hwrng: timeriomem - Fix cooldown period calculation
6f651ec266ba btrfs: clarify error returns values in __load_free_space_cache
790c0dcbb519 ASoC: SOF: debug: Fix a potential issue on string buffer termination
624d18332e13 Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
76faeef2f45e f2fs: fix a wrong condition in __submit_bio
721c986986d2 drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
c1a421b198bc f2fs: fix to avoid inconsistent quota data
7cb52169ada4 mtd: parsers: afs: Fix freeing the part name memory in failure
35a5d96a4c22 ASoC: cpcap: fix microphone timeslot mask
4168bf93ccc4 ata: ahci_brcm: Add back regulators management
0faef25462f8 drm/nouveau: bail out of nouveau_channel_new if channel init fails
adc2e1dba977 crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
7284c2692aff mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
aae14aed37d5 sched/eas: Don't update misfit status if the task is pinned
ba95955ee1e2 media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
27019b873863 media: pxa_camera: declare variable when DEBUG is defined
0f16925a9e70 media: cx25821: Fix a bug when reallocating some dma memory
c3a2f73a7925 media: qm1d1c0042: fix error return code in qm1d1c0042_init()
96a3bc313aa3 media: lmedm04: Fix misuse of comma
69e859a9d0a4 media: software_node: Fix refcounts in software_node_get_next_child()
1e0f565138db drm/amd/display: Fix HDMI deep color output for DCE 6-11.
7d1fc1e88b36 drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
ed0b50cd4407 bsg: free the request before return error code
de9b26b5133f MIPS: properly stop .eh_frame generation
1169602150d5 drm/sun4i: tcon: fix inverted DCLK polarity
48f2fcd7b928 crypto: bcm - Rename struct device_private to bcm_device_private
3d5afcae9af2 evm: Fix memleak in init_desc
76b7e3a636b4 ASoC: cs42l56: fix up error handling in probe
c7ebd8b358b0 media: aspeed: fix error return code in aspeed_video_setup_video()
438d2cc7b8cc media: tm6000: Fix memleak in tm6000_start_stream
31730cb2461b media: media/pci: Fix memleak in empress_init
57cc424326df media: em28xx: Fix use-after-free in em28xx_alloc_urbs
3e0c29a407da media: vsp1: Fix an error handling path in the probe function
e01fcc71a994 media: camss: missing error code in msm_video_register()
1b26ba73b18f media: imx: Fix csc/scaler unregister
0634c66e6660 media: imx: Unregister csc/scaler only if registered
61f638b3afe9 media: i2c: ov5670: Fix PIXEL_RATE minimum value
7dfe4fed118d MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
ea27c3f0bc1a MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
d9f6d2a54487 drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
0d528f6151c7 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
e056f69dea5a crypto: sun4i-ss - fix kmap usage
a3eeb7fd063f crypto: sun4i-ss - linearize buffers content must be kept
914d61930b89 drm/fb-helper: Add missed unlocks in setcmap_legacy()
200e603d5517 gma500: clean up error handling in init
2e5c94708d3e drm/gma500: Fix error return code in psb_driver_load()
0da21f552344 fbdev: aty: SPARC64 requires FB_ATY_CT
e7b6ac5c46fe net: mvneta: Remove per-cpu queue mapping for Armada 3700
825c82d55197 net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
46121a6f3be5 net: amd-xgbe: Reset link when the link never comes back
70bf58171f19 net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
0496eb6f48cc net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
95672dd57547 ibmvnic: skip send_request_unmap for timeout reset
64a87b0b650c ibmvnic: add memory barrier to protect long term buffer
8022d52a102b b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
9db1f14e7043 cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
399fb9d51ba9 net: axienet: Handle deferred probe on clock properly
774bacf121c3 tcp: fix SO_RCVLOWAT related hangs under mem pressure
88f8f40c901c bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
5af224ab9486 mac80211: fix potential overflow when multiplying to u32 integers
fef6f594ea43 xen/netback: fix spurious event detection for common event case
5c54aaed078d bnxt_en: reverse order of TX disable and carrier off
a1b692506569 ibmvnic: Set to CLOSED state even on error
9de820ae6cc1 ath9k: fix data bus crash when setting nf_override via debugfs
4dcfd936030b bpf_lru_list: Read double-checked variable once without lock
bcda70ed686f soc: aspeed: snoop: Add clock control logic
5350b91a73d7 ARM: s3c: fix fiq for clang IAS
b9634e38ac61 arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
65f9fdb425bc Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
80ace3402885 arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
18ab54cfda05 ARM: dts: armada388-helios4: assign pinctrl to each fan
3d3098c2ddad ARM: dts: armada388-helios4: assign pinctrl to LEDs
6b86cbc97589 staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
c75f541e12f8 usb: dwc2: Make "trimming xfer length" a debug message
6e89da2174f7 usb: dwc2: Abort transaction after errors with unknown reason
c192b2cc4d39 usb: dwc2: Do not update data length if it is 0 on inbound transfers
c7722f664788 ARM: dts: Configure missing thermal interrupt for 4430
75921ff8bdc4 memory: ti-aemif: Drop child node when jumping out loop
725cb22009f7 Bluetooth: Put HCI device if inquiry procedure interrupts
9f2816a99ace Bluetooth: drop HCI device reference before return
a5542b45c729 usb: gadget: u_audio: Free requests only after callback
a17fa9039218 ACPICA: Fix exception code class checks
fb6aa67ab1da cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
279bc604e2e9 cpufreq: brcmstb-avs-cpufreq: Free resources in error path
24932862d9ee arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
f85f6c5572ff arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
06010cf028ce arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
288764e9ac2f arm64: dts: allwinner: H6: properly connect USB PHY to port 0
c4be5762aab9 arm64: dts: allwinner: A64: properly connect USB PHY to port 0
c616257c9db4 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
fa3fc79c7834 bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
ab9de93d12c9 memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
9ab4364ecd99 arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
0fb966b5d10b arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
f0f9e9152375 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
d32a94371fc1 ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
da40c06e41b5 ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
e23124590415 ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
4a0e0208bbb5 ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
6d4c9e525833 ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
36c39c445265 Bluetooth: Fix initializing response id after clearing struct
04792d477215 Bluetooth: hci_uart: Fix a race for write_work scheduling
b624bc27cf82 Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
a48bb93f6fbe ath10k: Fix error handling in case of CE pipe init failure
3a954b0d909c random: fix the RNDRESEEDCRNG ioctl
1be2b1d23529 MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
d3b8fa2e1d03 ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
166f9bc8ca0d bfq: Avoid false bfq queue merging
608ba1f447bc virt: vbox: Do not use wait_event_interruptible when called from kernel context
468bf1861a9c PCI: Decline to resize resources if boot config must be preserved
213c6f635bab PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
c37821e061f0 kdb: Make memory allocations more robust
6f15d498bfe8 debugfs: do not attempt to create a new file before the filesystem is initalized
de5ae4087035 debugfs: be more robust at handling improper input in debugfs_lookup()
d239c08f091a kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host
0a6565762f27 vmlinux.lds.h: add DWARF v5 sections
(From OE-Core rev: 091d6557cb19e4731adc4daee36f35cb48e1f420)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 820b55234191890ece87e858a98089326985e868)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
ef1fcccf6e5f Linux 5.4.101
fe257f47e2c3 scripts/recordmcount.pl: support big endian for ARCH sh
a2c5e4a083a7 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
e6f7bf29e32d cxgb4: Add new T6 PCI device id 0x6092
aaf830ad624a NET: usb: qmi_wwan: Adding support for Cinterion MV31
5f2093be3627 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
3f9fbe703164 mm: provide a saner PTE walking API for modules
32f070ad274d KVM: do not assume PTE is writable after follow_pfn
78c7b242573a mm: simplify follow_pte{,pmd}
8aeef9c9ac7e mm: unexport follow_pte_pmd
8f869895cf9d scripts: set proper OpenSSL include dir also for sign-file
c7ed0a50f20a scripts: use pkg-config to locate libcrypto
c8e3bcc6db7c arm64: tegra: Add power-domain for Tegra210 HDA
74c8a6af692a ntfs: check for valid standard information attribute
54a3c25368d9 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
96ef50ec7266 USB: quirks: sort quirk entries
fce3654c648d HID: make arrays usage and value to be the same
185c2266c1df bpf: Fix truncation handling for mod32 dst reg wrt zero
fc944ddc0b4a Linux 5.4.100
38d777aaf2c3 btrfs: fix backport of 2175bf57dc952 in 5.4.95
c6dd8545fe38 media: pwc: Use correct device for DMA
524a77aa5d69 xen-blkback: fix error handling in xen_blkbk_map()
be05138a9cdd xen-scsiback: don't "handle" error by BUG()
52e8f43af540 xen-netback: don't "handle" error by BUG()
7109f61d25ff xen-blkback: don't "handle" error by BUG()
55ccf71c0985 xen/arm: don't ignore return errors from set_phys_to_machine
feda880969a5 Xen/gntdev: correct error checking in gntdev_map_grant_pages()
0e382682dda4 Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
da92e41f010e Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
104eef952314 Xen/x86: don't bail early from clear_foreign_p2m_mapping()
49de0a17e68f net: bridge: Fix a warning when del bridge sysfs
c35ce3d38caa net: qrtr: Fix port ID for control messages
f49731dfdb20 KVM: SEV: fix double locking due to incorrect backport
(From OE-Core rev: b6bb4c9dfd1455b069eb144b1ed58db5bb654f24)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e813c8d776679fc602b06959dd7e280959ffd1ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
850e6a95deb5 Linux 5.4.99
e8ffaca0fe27 ovl: expand warning in ovl_d_real()
b55528a18e40 net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
99996cd558ba net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
ac79b1d94a88 vsock: fix locking in vsock_shutdown()
c025081b57df vsock/virtio: update credit only if socket is not closed
2545c5bd8316 net: watchdog: hold device global xmit lock during tx disable
a5f0b6f7b1c0 net/vmw_vsock: improve locking in vsock_connect_timeout()
611d93fbea54 net: fix iteration for sctp transport seq_files
2085d886630a net: gro: do not keep too many GRO packets in napi->rx_list
5c53956a8da0 net: dsa: call teardown method on probe failure
0b42ab078369 udp: fix skb_copy_and_csum_datagram with odd segment sizes
73bc75fda669 rxrpc: Fix clearance of Tx/Rx ring when releasing a call
b90e8d5d28d1 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
35834bf0b210 usb: dwc3: ulpi: fix checkpatch warning
0b49b82eeea2 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
1019015a5dca i2c: stm32f7: fix configuration of the digital filter
546d92a43c94 clk: sunxi-ng: mp: fix parent rate change flag check
b02db23d2647 drm/sun4i: dw-hdmi: Fix max. frequency for H6
40db7dba50fe drm/sun4i: Fix H6 HDMI PHY configuration
3063b80b4bdf drm/sun4i: tcon: set sync polarity for tcon1 channel
107cf5eede74 firmware_loader: align .builtin_fw to 8
beb85f4927e8 net: hns3: add a check for queue_id in hclge_reset_vf_queue()
a045956a3b41 x86/build: Disable CET instrumentation in the kernel for 32-bit too
da1a5442ad2c netfilter: conntrack: skip identical origin tuple in same zone only
0142b957866f ibmvnic: Clear failover_pending if unable to schedule
3f8954cc624c net: stmmac: set TxQ mode back to DCB after disabling CBS
c0daa74b8ed7 selftests: txtimestamp: fix compilation issue
6107338c2fa2 net: enetc: initialize the RFS and RSS memories
71d2bd7921db xen/netback: avoid race in xenvif_rx_ring_slots_available()
ff758e8a77f3 netfilter: flowtable: fix tcp and udp header checksum update
b110391d1e80 netfilter: nftables: fix possible UAF over chains from packet path in netns
35c279e02b7e netfilter: xt_recent: Fix attempt to update deleted entry
7e3a6b820535 bpf: Check for integer overflow when using roundup_pow_of_two()
e29126678f65 drm/vc4: hvs: Fix buffer overflow with the dlist handling
69beec4a8b36 mt76: dma: fix a possible memory leak in mt76_add_fragment()
8a5991c8214b lkdtm: don't move ctors to .rodata
4f5416710e13 vmlinux.lds.h: Create section for protection against instrumentation
b7f41a7ad444 ARM: kexec: fix oops after TLB are invalidated
f49bff85b6db ARM: ensure the signal page contains defined contents
06350c7f7923 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
e60577e29deb bfq-iosched: Revert "bfq: Fix computation of shallow depth"
91d604ab2a99 riscv: virt_addr_valid must check the address belongs to linear mapping
0db8d192ee57 drm/amd/display: Decrement refcount of dc_sink before reassignment
5c8f63266255 drm/amd/display: Free atomic state after drm_atomic_commit
f35da70b516f drm/amd/display: Fix dc_sink kref count in emulated_link_detect
76979956a8af drm/amd/display: Add more Clock Sources to DCN2.1
4516a0a2c087 nvme-pci: ignore the subsysem NQN on Phison E16
335a285aa0f0 ovl: skip getxattr of security labels
43e3cf46afb1 cap: fix conversions on getxattr
df094aa0aab0 ovl: perform vfs_getxattr() with mounter creds
cc512646b2e7 platform/x86: hp-wmi: Disable tablet-mode reporting by default
2bb22cd4dae4 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
2cb208ba0fd1 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc
92c40ed0abcb arm64: dts: rockchip: Fix PCIe DT properties on rk3399
2407794f2298 cgroup: fix psi monitor for root cgroup
18d691d837b3 arm/xen: Don't probe xenbus as part of an early initcall
a0997a86f5c0 tracing: Check length before giving out the filter buffer
74c7bafdd303 tracing: Do not count ftrace events in top level enable output
4851d7b340e9 gpio: ep93xx: Fix single irqchip with multi gpiochips
2c5abe0f8e9c gpio: ep93xx: fix BUG_ON port F usage
(From OE-Core rev: 616ec1dd21c54e79c1778ab8f11bd9be4d65eb89)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c300a9e9d414355af783f2adae53cde0c6319d08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is about TOCTOU (time-of-check time-of-use)
race condition when copying and removing directory trees
which had very low severity problem and marked as closed
and won't fix. Therefore whitelisted CVE-2013-4235.
Master, gatesgarth and dunfell all have shadow version 4.81.
Hence, this is applicable for master, gatesgarth and dunfell.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=884658
(From OE-Core rev: 8836a56a9f17f238908b7d0e286a6d386f7be290)
Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1c6cd87bee6b019619dc5728fd6c36bc87ed696)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A vulnerability was discovered in how p2p/p2p_pd.c in wpa_supplicant
before 2.10 processes P2P (Wi-Fi Direct) provision discovery requests.
It could result in denial of service or other impact
(potentially execution of arbitrary code), for an attacker within radio range.
Upstream-Status: Acepted [https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32]
CVE: CVE-2021-27803
(From OE-Core rev: 2877d0d42ffb656a6afa1f99084490ec4d84115b)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the INIT_MANAGER variable has been introduced, there is no need
to append the distro features and set the init manager manually.
Replace the busybox/mdev and systemd examples with the 4 values
currently supported for the INIT_MANAGER variable.
(From meta-yocto rev: 9fa107b017c1619a4a3969d452ae93ffa088f60f)
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2433a0f78a7fdb8450ef9ec64fa044274ac7a9e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the redundant 'of' word in the INITRAMFS_IMAGE comment.
(From meta-yocto rev: 623914eb5b7cb4e0b779bd53f550547164d727e1)
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 200b05182c74f3f4f778907d5ee92831adb3d77e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: cf22f3831488b346195e049ace92e153d18660db)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be8d3d0fa6bbc2924ffbdbaa66e9ffaef2b96de6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: bd3352880322598b0ba6dc439ff08c2e4c592e36)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb05814335e7101bfd8df0a11dc18a044e867bed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: a2658937bcb987b061cd9866d726d9d66623e93c)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ecf8922e6bb12a2facc59bbe794b575101fce1dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: ef228792632585d3e13cdebe7313c945b966354f)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ce7e76551b3b2f4477f780e67cf894f760529e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure inspects the host's /etc/group for these configuration
options, fix this to the correct values by using configure options.
(From OE-Core rev: 66efd3fde270bf24f71a6aab1c4f8cf34a52c3d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16f9c727569414cd52862dcba18d8e423f4e961)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The host may or may not have fc-cache which is used for find provides
information by rpmdeps. This lead to non-deterministic build output.
Disable the font provides code so we have deterministic builds,
we have nothing using/relying on it at this point.
Need to disable this in both the rpmdeps code and in package_rpm
itself although the latter shouldn't be being used.
(From OE-Core rev: ed1fbc5a33ea6e6cdcfd4749153b51338b132619)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c0cd8012a96fd4d9caf33c6de5fd39cea6db55d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure the fallback value if used is written to the SDE file
and hence stored in sstate, reducing any confusion within the
code over '0' values.
Bump the HASHEQUIV_VERSION since we've had a ton of trouble
with ensuring this rolls out correctly on the autobuilder so
others may too, take a clean slate for it.
(From OE-Core rev: 1f218351c2ef702c76b1d1e793a624e1a4f5079b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 53ffffa32b76330835287dfc05d4e4796841af08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A SOURCE_DATE_EPOCH of 0 might be misinterpreted by namely rpm as no SDE.
e.g.:
char *srcdate = getenv(SOURCE_DATE_EPOCH);
if (srcdate && rpmExpandNumeric(%{?clamp_mtime_to_source_date_epoch}))
Solve this by:
- providing a SOURCE_DATE_EPOCH_FALLBACK variable != 0
- changing defaults to use it
- using SOURCE_DATE_EPOCH_FALLBACK also when reading 0 out of sstate-cache
(From OE-Core rev: 72daea3a413ff0a8ded76a494d673c5264535426)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a1dde74e794362399193dc3f81c9685a83d0776)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of just providing local.conf info, add layer names and their
revisions with bitbake version information into error report
makes it easier to understand and reproduce failed build.
[YOCTO #9700]
(From OE-Core rev: b6d941126e92e26ae26cc4550c6849829eb88af9)
Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5afd7b1857c0012ab6e3d8bbafa67a96ff9e9e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to my tests this incorrect symbols resolution at runtime no
longer happens. Ubuntu is still carrying the patch but also probably
doesn't need to, they are also on a much older version. It sounds
like there was once a linkage bug somewhere which has likely been
resolved since.
Drop the patch as it doesn't seem needed anymore. If it were a real
issue it should be submitted upstream too, the status is incorrect.
(From OE-Core rev: 06d9fa9aa2935550f7967f84285b97e6c9a2cea1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02f36ed515afed550dfcd986977ce2106dee556a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch was submitted and merged upstream.
(From OE-Core rev: 5112dc734efbb47cbe278bb8cf75ae97136739a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 871bce0703ca9d14e5c44f6ee0b66fcb13cfb630)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had a lot of concern about the readability of diffs of this
path setting, refactor to avoid long line length.
(From OE-Core rev: eb8985c7192c4f0266297135e47622ab5e885700)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3930cba16ccbc4b76ed14187d5586d6479bc59e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This path is image specific so we can move to the image class
definition of PSEUDO_IGNORE_PATHS.
(From OE-Core rev: 8a6c1c722d7038ef4f3ce318bc3a38348e22ad74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66a8ca0f206434e0b301a8fdc90f062750d6d118)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some paths used in sdk construction shouldn't be tracked under pseudo
so list these.
(From OE-Core rev: c820176245e76e8df384f96c3d4ad5bdf596f5ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21621e09162ff9e8014a1cfba78d0f2c3746202a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some paths used in image construction shouldn't be tracked under pseudo
so list these.
(From OE-Core rev: b04d7a7aed5b05e8561029c5e570206ac9b9fa4e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9463be2292b942a1072eea88881b9644e55aadb9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* not sure if there are some valid use-cases for missing manifest, but
recently I'm seeing increasing number of build failures where something
from native recipe is missing (seen it with pseudo, autoconf, nodejs
recently) and the only indication that something is wrong (before showing
sometimes misleading error like:
recipe-sysroot-native/usr/bin/node: No such file or directory
is this warning:
NOTE: Running task 7844 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_prepare_recipe_sysroot)
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: Running task 7845 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_unpack)
NOTE: recipe nodejs-12.20.2-r0: task do_unpack: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Succeeded
if I rebuild that native dependency, then it gets fixed and I don't
see these failures in clean builds (as without sstate and with empty
TMPDIR), only in incremental builds
* but if there isn't valid reason for missing manifest file, then I think
it would be better to error early (or even bb.fatal())
(From OE-Core rev: e0c1db170fdd6c1d78fdfce017feae26c96fac29)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95607a26854d873399d2b9d7e5fcbffc0cbdba4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
librepo: missing path validation in repomd.xml may lead to directory traversal
Upstream-Status: Acepted [7daea2a242]
CVE: CVE-2020-14352
(From OE-Core rev: f0df1ff1de6ca9a239d7eafd335b753d6a6e6471)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In p2p_copy_client_info of p2p.c, there is a possible out of bounds write
due to a missing bounds check. This could lead to remote code execution
if the target device is performing a Wi-Fi Direct search, with no
additional execution privileges needed. User interaction is not needed
for exploitation.Product: AndroidVersions: Android-10 Android-11
Android-8.1 Android-9 Android ID: A-172937525
References:
https://nvd.nist.gov/vuln/detail/CVE-2021-0326
Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e<links_for_CVE_patches>
(From OE-Core rev: 629a275bbafe7436f73ace59ab06d44e316b6b9d)
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b7940edabe100512e8f558cc37f9da836feae74d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file had a number of new additions for new firmware but no
new licenses that didn't already exist.
(From OE-Core rev: 472fc9846305a656d02c83419d8d768507c64696)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eab46e65feae24311f0ee0cd05b7ebb2e3b07363)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For a while I've been puzzled as to why debug logging from runqueue wouldn't
appear on the console with -DD. The logic in the bbdebug handling is inverted
so fix it and now we see the expected messages from runqueue with -D and -DD.
This should then let us debug other issues using those log messages.
(Bitbake rev: e0dd20a006ce6fdc656e6be6ac581e93e2ed4a95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Calling sync between each file compare is horrible performance wise
as we compare thousands of files. We don't care about IO latency here
so disable.
(From OE-Core rev: dd893279f352e290c23577a0f91df1b8c6232f10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 25f78abd8bbeb201fd9452e7983e015027954948)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to a bug in glibc 2.33, the value of the icache line size is now
reported as unsupported option. This breaks qemu at runtime with:
cacheinfo.c:182: init_cache_info: Assertion `(isize & (isize - 1)) == 0'
failed.
Aborted (core dumped)
We haven't caught this one yet because we were already on qemu 5.2.0
when we started to play with glibc 2.33 so it was only reproducible on
dunfell.
(From OE-Core rev: fdb3ff363c6f8408058f362f3bfdeee4e18150fa)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python 3.9 dropped isAlive() so use the preferred is_alive().
(From OE-Core rev: 48acaa7d53b677f55c96289750aa0dd26345af7f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bb06428cbb2ac0f3d98a1696f050d3393385503)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`devtool` uses `copy_recipe_files` for the upgrade operation when
creating the new, workspace recipe. Before handling the copy operations,
the function checks the entry in `SRC_URI` against `FILE` while in turn
uses absolute paths. When BBLAYERS contains entries that are not
normalised, this check will fail resulting in having the recipe in the
workspace without the initial patches.
Signef-off-by: Robert Drab <robert.drab@huawei.com>
(From OE-Core rev: 7677ba25994ab6807519f3920c8cf6ad414ac415)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 777fc24ab2c332954b56dac28cd9b3032808828c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Problem spotted on dunfell-23.0.4
Normally, unversioned .so is removed from -dev (default) package
however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.
For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")
as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo-1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------
"master" branch contains a bumped-up version of webkitgtk
to which this issue does not apply (the code has changed).
Forcefully keep this .so symlink to resolve the problem in dunfell.
(From OE-Core rev: 341e18ff05bb6758e3e153ed8c27723a6f51621d)
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding --define 'use_source_date_epoch_as_buildtime 1' to rpmbuild
ensure that the rpm header does have a consistent BUILDTIME tag.
This allows the rpms to be built reproducibly.
(From OE-Core rev: 6842791f97546c963ea77215c9f5012dc40ed886)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16721df6b3d0d3e681d9a1b3393417bd62b6275)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the target is using a read-only rootfs, the available space on '/'
will be zero. This will cause the test to incorrectly fail and skipping
seems appropriate in this case.
(From OE-Core rev: 69c8987da199933554a9dd0eda0a045a4534bfab)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af1dbea3c9b9b42a3e6803b231e425423d70e210)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The two duplicate lines are not needed. The existence is confusing.
(From OE-Core rev: 24afa7308cea30ed1b4f40ea8c1c95e485560237)
Signed-off-by: Thomas Viehweger <patchesThomas.Vie@web.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 36bdb4faa90dc18bc020481eba82ee570b968c39)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commercial license flag on libomxil is set because it may include
the Adaptive Multi-Rate audio codec (AMR) using FFmepg, which is patent
encumbered.
It turns out this component is disabled by default in the recipe; add a
PACKAGECONFIG to enable it and trigger the "commercial" LICENSE_FLAGS on
it. This make the default build configuration clean unless a user
specifically asks for AMR support, and prevents them from marking the
recipe with the "commerical" flag unnecessarily which could hide
potential problems later on.
(From OE-Core rev: 42f742452df1258bd0679c115ed90c45a8a893d9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f61e20002c2af93e2d6810574e23606925526ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current recipe unconditionally RDEPENDS on nodejs (the target one).
When building on the "-native recipe" of "BBCLASSEXTEND native" recipe,
the target nodejs is unnecessarily built.
This patch fixes this by only RDEPENDS on nodejs when building for the target.
(From OE-Core rev: 3720c39524df866b570540310edaac973cdad7fb)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92a9a86df9e3bcffb13d2f8b5dcbe7822170f734)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes bison would regenerate source files and sometimes it would not
This is likely related to the patching of generated files by on of the
patches.
Drop those changes and force the files to regenerate in all cases since
we depend on bison-native anyway. This ensures the results are always
consistent.
(From OE-Core rev: 40047178fa31c3503c1f119e5a7e41c4cfb2bcd4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4449fa226e94f7124215c5ead43aadda7967f3af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the host's grep path into xmlto.
(From OE-Core rev: 987562f2ebfa9252a51106bc0198a1604c4e3df0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a7d78971df193c321c309481749fc30cae77788c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
My previous fix wasn't correct as the file timestamps do vary by git checkout
or modification time and aren't correct here. Instead use a specific
date/time for the files to be deterministic.
(From OE-Core rev: 2a50e0e6c226c5f3a4e36be6a80c6880710bc130)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 725a30a30052540a4b7fc2933396fe9eb946eeac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing the font files, preserve their timestamp rather than using
the current time which fixes reproducibility issues.
(From OE-Core rev: 60c515d84d3bff57412e9c4f616f42e529bf0831)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0c4f4b0182a995f0eb2709cc9b3c852527ab936)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some temporary bumps to versions to change the output hash so
the fix applies correctly. Can be dropped next time we update the
recipe and the output changes.
(From OE-Core rev: d99e2a0c4e5d03d7f6958be14cc1e27a7d9ee01c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69205edcdff865048e55a6b7feaf82064ebc10c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was injecting the path of the host's sendmail binary. Set
this deterministically to match OE's path for it.
(From OE-Core rev: a272b6e4c0b16017918d95fad04d05b27186317a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 476328b91ea4417160580d28df4fcc1147d85ae2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LINGUAS file can be written by two different Makefile targets
and if they race, the desktop file contents isn't deterministic.
Fix the makfile to avoid this.
(From OE-Core rev: 670efddd8d009828651cd55aa673e68d2268cef3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 416bc7b697764075fbf73683cd8bddf36d839244)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a couple of configure options to avoid determism issues in the vim build.
This can happen due to the addition of glib-2.0 to the native sysroot through
later task additions to the sysroot through indirect dependencies.
(From OE-Core rev: a7e6887d73e36be47a7b1b187cc6dc8d3e0dd9f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 914f86054f5ea0a115767c1b3d9cdb4c4ef9545b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The makefile injects the current date into the version file. Do this
deterministically with SOURCE_DATE_EPOCH.
(From OE-Core rev: 52658a8df1bf86902a277f4896cf766c8391ad61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test mimic the boot_from_runlevel_3 and boot_from_runlevel_5 test cases from oeqa/manual/bsp-hw.json.
The boot_from_runlevel_3 and boot_from_runlevel_5 manual test cases should be remove from oeqa/manual/bsp-hw.json if this patch get merged.
(From OE-Core rev: 56d4c2867743b4b6bf79a4a9472799038522a331)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6effd30f0e3726bc1f2eb7768c57c6b95eddb079)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reproducible build tests can take a long time, so having more
logging messages at various points in the build can help debug where the
build is taking a long time.
(From OE-Core rev: 60a9e095297b756175e4a414bbee297b74547a7a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b792afe8759d62af8e713b86dad8f6721961a05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SSTATE_MIRRORS variable was misspelled, which allowed the "clean"
test build to pull from the mirror.
(From OE-Core rev: f81fa4cf7ff1e48f7499f2cb5e2c7d7f9ea438be)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e42497bd84d0bb370a9f7b0448bff29f01fd1b0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building vim it tries to rebuild files using iconv. If this fails
the build continues anyway but the output is not determnistic as builds
using a hosttools tarball are different from builds where there isn't a
hosttools tarball. Add the needed gconvs to the tarball when iconv is
present to become determistic and generate vim locales consistently.
(From OE-Core rev: fb8063147c1afc8f2554597a0e40de6659014bb6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b945652a088f430a2adec6b968cd00c5928d4272)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've seen local differences in the quilt output depending on whether the column
binary was available in the sysroot. Fix determinism issues by being specific
about configuration.
(From OE-Core rev: a90e10d66bbfb07a8ce11daa1c52c8b8afe17f61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0cd5fba8634bcc679518f98cc25be66a51081372)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5b9a4104c902 Linux 5.4.98
3654a0ed0bdc squashfs: add more sanity checks in xattr id lookup
d78a70667738 squashfs: add more sanity checks in inode lookup
a814355e7057 squashfs: add more sanity checks in id lookup
848bcb0a1d96 Fix unsynchronized access to sev members through svm_register_enc_region
78e2f71b89b2 bpf: Fix 32 bit src register truncation on div/mod
8589eda99cb1 regulator: Fix lockdep warning resolving supplies
513fee2aee13 blk-cgroup: Use cond_resched() when destroy blkgs
d1eb41833408 i2c: mediatek: Move suspend and resume handling to NOIRQ phase
618b65dbde7a SUNRPC: Handle 0 length opaque XDR object data properly
19b56e8433e7 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
fa758032a546 iwlwifi: mvm: guard against device removal in reprobe
2fa76f19dc15 iwlwifi: mvm: invalidate IDs of internal stations at mvm start
c82793ef4f3b iwlwifi: pcie: fix context info memory leak
b301eaf27f86 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
01742ade9286 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
8f630ed7e98e iwlwifi: mvm: skip power command when unbinding vif during CSA
589cf152fe47 ASoC: ak4458: correct reset polarity
e96d10250227 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
a5c70e57c4c1 chtls: Fix potential resource leak
8b6d5013cd70 ASoC: Intel: Skylake: Zero snd_ctl_elem_value
db272cd2bc9e mac80211: 160MHz with extended NSS BW in CSA
26548561cb92 regulator: core: avoid regulator_resolve_supply() race condition
03d76df5f164 af_key: relax availability checks for skb size calculation
968b1b034136 tracing/kprobe: Fix to support kretprobe events on unloaded modules
5e1942063dc3 Linux 5.4.97
40af962eb1d4 usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
76ab33055fbc net: sched: replaced invalid qdisc tree flush helper in qdisc_replace
e65d331755de net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
5d3007b6cc7b net: ip_tunnel: fix mtu calculation
90d7459d24b8 neighbour: Prevent a dead entry from updating gc_list
271ea7072901 igc: Report speed and duplex as unknown when device is runtime suspended
7018edb19a92 md: Set prev_flush_start and flush_bio in an atomic way
e857e21eb200 iommu/vt-d: Do not use flush-queue when caching-mode is on
5fdf672759e9 Input: xpad - sync supported devices with fork on GitHub
03d56dab56ae iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues
2d5705150707 x86/apic: Add extra serialization for non-serializing MSRs
bc1a3aeeff0f x86/build: Disable CET instrumentation in the kernel
40d0fff29761 mm: thp: fix MADV_REMOVE deadlock on shmem THP
56d61cd652dd mm, compaction: move high_pfn to the for loop scope
90ef21e5806f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
af5508b1e862 mm: hugetlb: fix a race between isolating and freeing page
3264a763174f mm: hugetlb: fix a race between freeing and dissolving the page
108f56ed354f mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
75be4852490f ARM: footbridge: fix dc21285 PCI configuration accessors
b2640b08c43c KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode
6d3201c77be5 KVM: SVM: Treat SVM as unsupported when running as an SEV guest
f9be9445e494 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
f9034fcb27c0 drm/amd/display: Revert "Fix EDID parsing after resume from suspend"
6844143e2198 mmc: core: Limit retries when analyse of SDIO tuples fails
68c825bd2726 smb3: fix crediting for compounding when only one request in flight
eaf2f835b52c smb3: Fix out-of-bounds bug in SMB2_negotiate()
00f581964b66 cifs: report error instead of invalid when revalidating a dentry fails
fd6dc98f66ef xhci: fix bounce buffer usage for non-sg list case
f6a47f2ce090 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
c9654bbe52b5 libnvdimm/dimm: Avoid race between probe and available_slots_show()
d0f36951ead4 kretprobe: Avoid re-registration of the same kretprobe earlier
e80f9021d5be fgraph: Initialize tracing_graph_pause at task creation
efa17285b338 mac80211: fix station rate table updates on assoc
ecdd962c4b9b ovl: fix dentry leak in ovl_get_redirect
6b9a2e5c0c42 usb: host: xhci-plat: add priv quirk for skip PHY initialization
ddc682d33024 usb: xhci-mtk: break loop when find the endpoint to drop
32410786279f usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
f4e4f067f94c usb: xhci-mtk: fix unreleased bandwidth data
1f9e9c1048b8 usb: dwc3: fix clock issue during resume in OTG mode
9d058a06149b usb: dwc2: Fix endpoint direction check in ep_from_windex
2a968ab0d2dd usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
4d1d959348c1 USB: usblp: don't call usb_set_interface if there's a single alt
522567fe540d USB: gadget: legacy: fix an error code in eth_bind()
e57d70c59bb7 memblock: do not start bottom-up allocations with kernel_end
7e6dcaeadc0e nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs
f1c87b4b2c7b ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
d97a821b2e9c r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
c545879e8080 net: mvpp2: TCAM entry enable should be written after SRAM data
bf0507fb2073 net: lapb: Copy the skb before sending a packet
1cef1d46add8 net/mlx5: Fix leak upon failure of rule creation
67b7f73bbe3f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues"
6380ef64b9eb igc: check return value of ret_val in igc_config_fc_after_link_up
ec68581f7479 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
5ce999efcaa7 arm64: dts: ls1046a: fix dcfg address range
68e798fa3c0e rxrpc: Fix deadlock around release of dst cached on udp tunnel
98650c3d0e33 um: virtio: free vu_dev only with the contained struct device
02531b5549eb bpf, cgroup: Fix problematic bounds check
9146fffc5d2a bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
4921f81ce65a arm64: dts: rockchip: fix vopl iommu irq on px30
831132b13f0d arm64: dts: amlogic: meson-g12: Set FL-adj property value
829bf438cb39 Input: i8042 - unbreak Pegatron C15B
0d6e0a192e2e arm64: dts: qcom: c630: keep both touchpad devices enabled
96dcfabef504 USB: serial: option: Adding support for Cinterion MV31
5ad95c521fd5 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
dfa820563c67 USB: serial: cp210x: add pid/vid for WSDA-200-USB
(From OE-Core rev: 91363bc050e920130b8855fe5fe10b674dd3ef55)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98bb6a3cb528abe02b6edc291d05e240985ca80e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d4716ee8751b Linux 5.4.96
b1a1c262e4b0 workqueue: Restrict affinity change to rescuer
5b1e4fc2984e kthread: Extract KTHREAD_IS_PER_CPU
2d7ca4a84b58 objtool: Don't fail on missing symbol table
88240f7ac221 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping
53c10bbf9186 drm/amd/display: Update dram_clock_change_latency for DCN2.1
c6eb3dfdac44 selftests/powerpc: Only test lwm/stmw on big endian
805e9cdb5793 nvme: check the PRINFO bit before deciding the host buffer length
8e59209d53c9 udf: fix the problem that the disc content is not displayed
2d1593543418 ALSA: hda: Add Cometlake-R PCI ID
c03ecc192c8e scsi: ibmvfc: Set default timeout to avoid crash during migration
02cc1ee3e8d1 mac80211: fix fast-rx encryption check
efd061fc77f3 ASoC: SOF: Intel: hda: Resume codec to do jack detection
e0f1ba38f788 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
935fa0d5a5c5 scsi: libfc: Avoid invoking response handler twice if ep is already completed
335bbffdd90c scsi: scsi_transport_srp: Don't block target in failfast state
b1f680ffc25b x86: __always_inline __{rd,wr}msr()
d1aed452c05f platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
c99ac7213638 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
6f705e80fb87 phy: cpcap-usb: Fix warning for missing regulator_disable
fd4c12f31209 net_sched: gen_estimator: support large ewma log
27afc7128345 btrfs: backref, use correct count to resolve normal data refs
66bcf5f6f989 btrfs: backref, only search backref entries from leaves of the same root
c3089b06d6fe btrfs: backref, don't add refs from shared block when resolving normal backref
21a0c97fb27c btrfs: backref, only collect file extent items matching backref offset
1960c3d40b69 tcp: make TCP_USER_TIMEOUT accurate for zero window probes
55cb8e232f9a arm64: Do not pass tagged addresses to __is_lm_address()
b28387cf8f1c arm64: Fix kernel address detection of __is_lm_address()
11084836e5fb ACPI: thermal: Do not call acpi_thermal_check() directly
1410d2b68207 Revert "Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT""
5e8776df14fa ibmvnic: Ensure that CRQ entry read are correctly ordered
bc4e7277cc93 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP
9edebe46010c net: dsa: bcm_sf2: put device node before return
e89428970c23 Linux 5.4.95
e7aeca61cb9b tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
3e93b9efc3bb team: protect features update by RCU to avoid deadlock
489e35c6829a ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
9a4d367b2783 NFC: fix possible resource leak
c929c76e98b0 NFC: fix resource leak when target index is invalid
b2f4a59a2216 rxrpc: Fix memory leak in rxrpc_lookup_local
6d25d788efa4 iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
66f4f98ee363 iommu/vt-d: Gracefully handle DMAR units with no supported address widths
0551a2fd456c selftests: forwarding: Specify interface when invoking mausezahn
e4405451dd6e nvme-multipath: Early exit if no path is available
64a4ec1850f7 can: dev: prevent potential information leak in can_fill_info()
4dc2395d8f14 net/mlx5e: Reduce tc unsupported key print level
a66705277baf net/mlx5e: E-switch, Fix rate calculation for overflow
dbc13deeec6a net/mlx5: Fix memory leak on flow table creation error flow
02ef126a002d igc: fix link speed advertising
873d1a4740d6 i40e: acquire VSI pointer only after VF is initialized
cf9276211563 mac80211: pause TX while changing interface type
46c67a4c1a76 iwlwifi: pcie: reschedule in long-running memory reads
563daf7c0f4a iwlwifi: pcie: use jiffies for memory read spin time limit
f39fce916a7b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
a3c5fec1e09f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
748c2cd57615 RDMA/cxgb4: Fix the reported max_recv_sge value
72797bfc5f77 firmware: imx: select SOC_BUS to fix firmware build
347feca03881 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status
f7c6e6c9b62c arm64: dts: ls1028a: fix the offset of the reset register
78fc9ef35d18 xfrm: Fix wraparound in xfrm_policy_addr_delta()
f5e7db4fcd38 selftests: xfrm: fix test return value override issue in xfrm_policy.sh
dac256de1fe2 xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
a7edea0fe85a xfrm: Fix oops in xfrm_replay_advance_bmp
deb8d5dfeb63 netfilter: nft_dynset: add timeout extension to template
347a1a20b195 ARM: imx: build suspend-imx6.S with arm instruction set
61bdab3d770b xen-blkfront: allow discard-* nodes to be optional
65543408f257 tee: optee: replace might_sleep with cond_resched
ad3d896ef55c drm/i915: Check for all subplatform bits
59546420c51b drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices
37ef9b59f479 mt7601u: fix rx buffer refcounting
77771158182f mt7601u: fix kernel crash unplugging the device
2c4f52b9cddf arm64: dts: broadcom: Fix USB DMA address translation for Stingray
6aceac245059 leds: trigger: fix potential deadlock with libata
2c7b4b25293a xen: Fix XenStore initialisation for XS_LOCAL
632a7728da9b KVM: Forbid the use of tagged userspace addresses for memslots
ba668a507788 KVM: x86: get smi pending status correctly
ff5f6de29faf KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
2fc14cafefb3 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh()
c547d39feb65 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
e1ae9aab8029 btrfs: fix possible free space tree corruption with online conversion
d30cb3d348b8 drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
082dc611fdc8 drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
53fd4e4003a6 PM: hibernate: flush swap writer after marking
7f9a267c67af s390/vfio-ap: No need to disable IRQ after queue reset
9077bc37d2d1 net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
8aba60ebcfc3 wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
720032d3dc84 ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
b24dc0aa7e9b media: rc: ensure that uevent can be read directly after rc device register
5d6fd0357057 ALSA: hda/via: Apply the workaround generically for Clevo machines
f78803928481 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
8de2109f4670 kernel: kexec: remove the lock operation of system_transition_mutex
93603a27fc31 ACPI: sysfs: Prefer "compatible" modalias
587c6b75d7fd nbd: freeze the queue while we're adding connections
b8fcb8f53995 IPv6: reply ICMP error if the first fragment don't include all headers
1f58e378a17e ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition
(From OE-Core rev: 19698ff8e9589177c11b52aff2086d5b12e9e0af)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b39a6de2c1175e4554c688a44c905c24367fa57a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lets include whcih layer a package belongs to and
add it to the cve logs
(From OE-Core rev: 4281c88dd36d93fda5ca5e90722c98c061da25c6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00d965bb42dc427749a4c3985af56ceffff80457)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default behavior is not changed. To suppress patched CVEs, set:
CVE_CHECK_REPORT_PATCHED = ""
(From OE-Core rev: cdbed91b1e23d6373a759e87fcadb85a37fead8d)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05bd9f1f006cf94cf5324f96df29cd5862abaf45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of this variable also makes it possible to change the
output suffix of the check files, e.g. in local.conf:
CVE_CHECK_MANIFEST_append = ".txt"
CVE_CHECK_RECIPE_FILE_append = ".txt"
(From OE-Core rev: 7432d1048f70a36c7e8e7eafb480cd0ad835eb78)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d40f1482c6d87785ae47c46c2305e1df46f459a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull in the changes:
makewrappers: Fix glibc 2.33 fstatat usage issues
ports/linux: Add wrapper for fstatat/fstatat64 in glibc 2.33
(From OE-Core rev: b09b9a28f8ab26b5ce5a21e1f3f1d05eb3540d61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfcb1c5eb2690046f96c2bb6724e091028ddc3ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull in:
ports/rename/renameat: Avoid race when renaming files
ports/unix: Add faccessat and faccessat2
ports/access.c: Use EACCES, not EPERM
which includes a fix for rename race issues causing pseudo aborts.
(From OE-Core rev: 8a21081add7b2a2698f8eafcc9df472188e9a9c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 330c232e4f756296331f9026e91ac26fd45f0315)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to a pseudo version which contains some heqader fixes for
glibc 2.33.
(From OE-Core rev: 3bf3de8159c44c47a39104fdda5d63aab549269d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c897ac317926b132547578b1f6bd347fe5677dfc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been the same as OE-Core for a long time, drop our custom settings.
(From meta-yocto rev: 7972a9b48f61af7ac10d1881dcaaf9c5f48bfb87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c1084f3fd4ca987c3307f4c4c1475b40060ce3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3targetconfig append target python3 to dependencies
unconditionally, and here its inherited unconditionally too but
distutils3-base is inherited in BBCLASSEXTEND'ed recipes and other not-target
recipes as well. Hence the change added via 9c8f666097802cb594a759989edcf01603a22df3
is now bridging the native dependencies with target python3 and thats
resulting all sorts of rebuilds for multimachine builds e.g.
MACHINE=qemuarm bitbake python3-scons-native
MACHINE=qemumips bitbake python3-scons-native
results in rebuilds for python3-scons-native
bitbake-diffsigs shows
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_populate_sysroot changed from 1cdb93193b416477df6faa137e83a967b433c7aa29033146b405153f73f36933 to 3cea1e7cbedd121ecb768fbc291cc4e4d7d3b5c0442897
0e3b97bd058d162065
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_install changed from 8d6018fd03ffc6060a04532dc39a5b7ccca1be026a69d069cb4fb11aef86dd89 to c5f1d173596a8e910f45a2b6e0b4dab96cd0102be4d62bd3156
229cb0f5ebb11
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_compile changed from e3ee4b52a15267e6ae7853ec19a666b2fb62608a597608793336382d1c45f8a0 to 1e582043dfe6b3e00aaa532f363ce6afb37652abe837dac
7cc9769194c43eae1
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_configure changed from 770a4d5a77a96ebd9e1e7368f710bca3f88e3b1266dffa3b2d0360b1e3a81e27 to a366982778b03eee5165c3117ee778f848acdfaa2
b346650fbdf114ac70ab57b
Hash for dependent task python/python3-scons-native_3.1.2.bb:do_prepare_recipe_sysroot changed from 958910037856ff5d5eb2b5162b3cdd02a3a710fc543b933cfeba771ee095cb72 to 474333fb565f908992fd3716
4935aaecf31a79e867826fe634cde4f44171d8e7
Hash for dependent task python/python3_3.9.0.bb:do_populate_sysroot changed from 7ac1c4fcbb2eacf98d2c32d991751bd2f3c7d55e2e32f2c9e485e7f5975fecf8 to 25dcfe74a95af19cce8df7c29311cc5edbbf6ad
08777e46a6fa6e417c0445018
...
Therefore limit effects of this class only for target recipes.
(From OE-Core rev: 48157a1ca663e574fd6c7dd5cbc54524a81155c3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Cc: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c99bb79087e74a967286469e1d8888a546ebec83)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting _PYTHON_SYSCONFIGDATA_NAME in python3native class globally was
problematic as it was leaking into host python environment, which
was causing tracebacks depending on host distro and action
(typically anything involving importing sysconfig module).
The new class sets the variable only in specific tasks where it is needed,
and should be inherited explicitly:
- use python3native to run scripts with native python
- use python3targetconfig to run scripts with native python
if those scripts need to access target config data (such
as correct installation directories). This also adds a dependency
on target python, so should be used carefully to avoid lengthening builds.
(From OE-Core rev: 0bdc6a25c102068de27d98c9b632f222feb991fb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a118d4e7985fa88f04c3611f8db813f0dafce75)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GCCv9 tree vectorization code is faulty and can cause random crashes at
runtime (when using -O3). Add the backported patch to address this
issue.
(From OE-Core rev: 7cb7c5a97d936e35a155faf5b81f8b8545a0c23a)
Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
https://github.com/p11-glue/p11-kit/releases/tag/0.23.22
Release notes:
Fix memory-safety issues that affect the RPC protocol (CVE-2020-29361, CVE-2020-29362, and CVE-2020-29363), discovered and fixed by David Cook
anchor: Prefer persistent format when storing anchor [#329]
common: Fix infloop in p11_path_build [#326, #327]
proxy: C_CloseAllSessions: Make sure that calloc args are non-zero [#325]
common: Check for a NULL locale before freeing it [#321]
Build and test fixes [#313, #315, #317, #318, #319, #323, #330, #333, #334, #335, #338, #339]
c4e75e1002
patch to fix trailing newline using custom_target() caused error
with DISTRO_FEATURES api-documentation due to meson bugs, enable
manpages PACKAGECONFIG should prevent this error.
| warning: failed to load external entity "../version.xml"
| ../p11-kit-docs.xml:11: parser error : Failure to process entity version
| <releaseinfo>for p11-kit &version;</releaseinfo>
| ^
| ../p11-kit-docs.xml:11: parser error : Entity 'version' not defined
| <releaseinfo>for p11-kit &version;</releaseinfo>
| ^
| unable to parse ../p11-kit-docs.xml
(From OE-Core rev: 641c9f6a20672e26e66191e6363b534d5b87abf5)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b112ba291835061640123c13784e2b33cc73f17d)
[0.23.x is an lts release, bug fix only update]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tinfoil doesn't behave well if environment is not initialized, this check ensures a proper error log if environment is not initialized.
[YOCTO #12096]
(From OE-Core rev: dfa4b0e6cabb870a33627ff5a0b5f413f6edb1e2)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e88073e16f1b4cfd0f97c81a988640a84adad674)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original patch contained some text which shouldn't have been there
and used brackets in configure which isn't a great idea. Tweak the patch
to resolve this.
(From OE-Core rev: 0807c033f13e49e2891bbc69858a4cf5221c8f2c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63cbf187fe189c99645fe3afee8a6361a9a32cdc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A build date was leaking into the generated docs and makefile used for
ptests leading to reproducibility issues each time the month changed.
Add a patch to use SOURCE_DATE_EPOCH to derive it if available.
(From OE-Core rev: 61c639fcfdaa0a14e2a6a2bcca3215f99af94634)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a9ca7aec4991eabd425e32fdf85f51bb1686b8b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnu isn't compatible with --xattrs used e.g. here:
d3a832f66e/classes/image_types_ostree.bbclass (L16)
causing do_image_tar failing with:
| tar: --xattrs can be used only on POSIX archives
| Try 'tar --help' or 'tar --usage' for more information.
* https://www.gnu.org/software/tar/manual/html_chapter/tar_8.html
says about posix format:
This is the most flexible and feature-rich format.
It does not impose any restrictions on file sizes or file name lengths.
This format is quite recent, so not all tar implementations are able to handle it properly.
However, this format is designed in such a way that any tar implementation able to read `ustar'
archives will be able to read most `posix' archives as well, with the only exception that any
additional information (such as long file names etc.) will in such case be extracted as plain
text files along with the files it refers to.
This archive format will be the default format for future versions of GNU tar.
and:
The default format for GNU tar is defined at compilation time.
You may check it by running tar --help, and examining the last lines of its output.
Usually, GNU tar is configured to create archives in `gnu' format, however, future version will switch to `posix'.
* I've compared tar on centos7 and ubuntu-18.04:
bash-4.2$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
bash-4.2$ tar --version
tar (GNU tar) 1.26
...
bash-4.2$ tar --help | tail -n 5
*This* tar defaults to:
--format=gnu -f- -b20 --quoting-style=escape --rmt-command=/etc/rmt
--rsh-command=/usr/bin/ssh
...
bitbake@e0ee76f81c2f:/$ grep VERSION /etc/os-release
VERSION="18.04.5 LTS (Bionic Beaver)"
VERSION_ID="18.04"
VERSION_CODENAME=bionic
bitbake@e0ee76f81c2f:/$ tar --version
tar (GNU tar) 1.29
...
bitbake@e0ee76f81c2f:/$ tar --help | tail -n 5
...
*This* tar defaults to:
--format=gnu -f- -b20 --quoting-style=escape --rmt-command=/usr/lib/tar/rmt
--rsh-command=/usr/bin/rsh
Both support posix format (as pax POSIX 1003.1-2001). But centos7 version is
already too old anyway, because it doesn't support --sort=name used since:
https://git.openembedded.org/openembedded-core/commit/?id=4fa68626bbcfd9795577e1426c27d00f4d9d1c17
and
https://git.openembedded.org/openembedded-core/commit/?id=f19e43dec63a86c200e04ba14393583588550380
says that 1.28 is the minium version now and
https://git.openembedded.org/openembedded-core/commit/?id=7a66434cf11b7f051699b774e4fccd6738351368
recommends to use install-buildtools for hosts with tar < 1.28
On the other side latest tumbleweed from:
https://hub.docker.com/r/opensuse/tumbleweed
with tar-1.33 alredy defaults to posix format:
b99dbb3d86dd:/ # head -n 3 /etc/os-release
NAME="openSUSE Tumbleweed"
ID="opensuse-tumbleweed"
b99dbb3d86dd:/ # tar --version
tar (GNU tar) 1.33
...
b99dbb3d86dd:/ # tar --help | tail -n 3
*This* tar defaults to:
--format=posix -f- -b20 --quoting-style=escape --rmt-command=/usr/bin/rmt
--rsh-command=/usr/bin/ssh
I've packaged some sample rootfs directory with both tars and the result is
identical (with --format=gnu as well as --format=posix).
with ubuntu:
tar --sort=name --format=gnu --numeric-owner -cf rootfs.ubuntu.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --sort=name --format=posix --numeric-owner -cf rootfs.ubuntu.posix.tar -C rootfs .
tumbleweed:
tar --sort=name --format=gnu --numeric-owner -cf rootfs.tumbleweed.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --sort=name --format=posix --numeric-owner -cf rootfs.tumbleweed.posix.tar -C rootfs .
centos7 (without --sort=name):
tar --format=gnu --numeric-owner -cf rootfs.centos7.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --format=posix --numeric-owner -cf rootfs.centos7.posix.tar -C rootfs .
size is identical:
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb 5 09:19 rootfs.ubuntu.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb 5 10:17 rootfs.centos7.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb 5 10:26 rootfs.tumbleweed.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb 5 10:15 rootfs.ubuntu.posix.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb 5 10:16 rootfs.centos7.posix.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb 5 10:26 rootfs.tumbleweed.posix.tar
but md5s aren't:
5e3880283379dd773ac054e20562fdea rootfs.centos7.gnu.tar
abeaf992c780aa780a27be01365d26f5 rootfs.centos7.posix.tar
0c6ee59d87ab56583293262de110bca4 rootfs.tumbleweed.gnu.tar
1555bc7276eaba924bf82a13a010fd6d rootfs.tumbleweed.posix.tar
553d802bba351e273191bd5b2a621b66 rootfs.ubuntu.gnu.tar
b6d7b43b30174686f6625ba3c7aefdc6 rootfs.ubuntu.posix.tar
diffoscope shows some differences when using gnu format:
$ diffoscope rootfs.tumbleweed.gnu.tar rootfs.ubuntu.gnu.tar
...
-00239890: 3030 3000 3030 3737 3637 0020 4b00 0000 000.007767. K...
+00239890: 3030 3000 3031 3135 3737 0020 4b00 0000 000.011577. K...
...
-00239900: 0075 7374 6172 2020 0000 0000 0000 0000 .ustar ........
+00239900: 0075 7374 6172 2020 0072 6f6f 7400 0000 .ustar .root...
...
-00239920: 0000 0000 0000 0000 0000 0000 0000 0000 ................
+00239920: 0000 0000 0000 0000 0072 6f6f 7400 0000 .........root...
with posix format there are also some differences shown by diffoscope:
$ diffoscope rootfs.tumbleweed.posix.tar rootfs.ubuntu.posix.tar
016a4c00: 2e2f 7573 722f 6269 6e2f 5061 7848 6561 ./usr/bin/PaxHea
-016a4c10: 6465 7273 2f63 6861 7474 722e 6532 6673 ders/chattr.e2fs
-016a4c20: 7072 6f67 7300 0000 0000 0000 0000 0000 progs...........
+016a4c10: 6465 7273 2e32 322f 6368 6174 7472 2e65 ders.22/chattr.e
+016a4c20: 3266 7370 726f 6773 0000 0000 0000 0000 2fsprogs........
...
03937000: 2e2f 7573 722f 6269 6e2f 5061 7848 6561 ./usr/bin/PaxHea
-03937010: 6465 7273 2f63 6f6e 7461 696e 6572 642d ders/containerd-
-03937020: 6374 7200 0000 0000 0000 0000 0000 0000 ctr.............
+03937010: 6465 7273 2e32 322f 636f 6e74 6169 6e65 ders.22/containe
+03937020: 7264 2d63 7472 0000 0000 0000 0000 0000 rd-ctr..........
so cannot really say which format is better for reproducible tar
archives from different distros, but posix at least supports xattrs
and it's the format for future.
(From OE-Core rev: 07a1771c9b2066c2003f285493d9720008b7412b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ecea58f2a3382d9f4b410d6ad7089111334cb6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tar output seems to vary depending on the version of tar used and distro
configuration. Be explict about the output format to avoid this and be
determinstic.
(From OE-Core rev: 6a474f77424bca84cbbb9226d045fbe4c6590b44)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c56f3c9febc1732aa1302524c6c4da36f16bd1f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With introduction of python3targetconfig class in core this is no longer
needed.
(Bitbake rev: fa94374baea75a94e3a488126ca7d8e241a77acd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47b64cfacd7c498ef9ed5486d117f2d69a39f225)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump the current version to 3.1.6
(From yocto-docs rev: 660684b1a1ece4bdedfd63b9fc65d14f05c226d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
existing test case test_permissions use Wic command as standalone
tools to create wic image and check that wic image for permissions.
add extra steps to the test case to also check against image build
using bitbake do_image_wic.
(From OE-Core rev: 9efabaff73090b08233b4fcef22142b9ac0c11aa)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 551ce73a90757ba43501fe5cf9ac84a7b77de549)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that the permissions and username are respected when using all
the rootfs modifiers.
Add tests for change-directory command
Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 5a3ce870ff54e73543caba5899aabd6c872691b0)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4aad9531df44d1b0637bd559161702ad86861b46)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When IMAGE_FSTYPES contains more types than wic, it can happen than the
pseudo database is not flushed properly.
This can be solved by changing the order of when do_flush_pseudodb is
launched.
Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13898
Fixes: dde90a5dd2b2 ("wic: Fix multi images .wks with bitbake")
(From OE-Core rev: 8f218fbcd1810d677b6b702cdb98a30e30598000)
Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 445b0a9544b55735496bbb23dbff3399b3b9e9a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If path is not owned by any user installed on target it gives
insufficient error "getpwuid(): uid not found" which may be misleading.
This exception occurs if uid/gid of path was not found in PSEUDO_PASSWD
files, which simply means the path is owned by host user and there is
host user contamination.
Add more information to the exception message to make it easier for user
to debug.
[YOCTO #14031]
(From OE-Core rev: 887f0a606dd323de1098e8e8a0d65b8351b4006d)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38540b59ed4ec8632e30a5fd6364b010d9da8470)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "devtool modify" could remove message body before scissors line, so
patches re-generated from git tree were incorrectly modified.
Adding --no-scissors to "git am" invocation to prevent this behaviour.
[YOCTO #12674]
(From OE-Core rev: 22b0bd5ad09a0ac40f1d8043266fa5b68b532802)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13ea33fbd197b9ee3cf913d9995617115f22798f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sanity checker reports following error for the PATH variable,
when bitbake -e <recipe> command is run in an extensible SDK workspace.
PATH contains '.', './' or '' (empty element), which will break the build
In case of extensible SDK, PATH variable is formed with two consecutive ':'
as bb.utils.which(d.getVar('PATH'),'bitbake') call returns an empty string.
This change adds ':' if BITBAKEPATH is a non empty string.
(From OE-Core rev: 0ab58355cc625e43056ae07772222be19e98f5f6)
Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05a87be51b44608ce4f77ac332df90a3cd2445ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The naming convention needs to be help so the CVE is recognized as
fixed by the tooling.
(From OE-Core rev: abfcabb070ef133f9b76c08b044a9fccd474b7ca)
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This looks like it was from before the recipe was split, we'd expect
the system qemu mode for running the images so the dependency should be
updated.
(From OE-Core rev: c88616ffbf4b0965c006f9198f44be96f13fc9b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a4fed4ae0e8a0d1bd62ea5fa1ef12925e1f20f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The externalsrc class deletes do_patch task which results with:
| ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon
| non-existent task do_patch in <PATH>/python3_3.8.2.bb
Use addtask to define correct order to prevent this error, since addtask
mechanism accepts deleted tasks.
[YOCTO #14151]
(From OE-Core rev: 35ca0a401e62a8a8b88c3089929eda401a90f762)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a746d034fa7eaad4f4876fa61c5a8c3c15e211c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python2-native executable is not available in sysroot anymore, which
causes compilation of some nodejs modules to fail. Switch to python3 as a
default python version.
(From OE-Core rev: 1a0ac4d51bdc502ff56a7b57b3a9e72b25ccd7ae)
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d21f50ecf8e8683a92b7d234fa8225c2c1470595)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An exception is fired when a BuildStarted event is sent to buildhistory bbclass
and the variable BUILDHISTORY_FEATURES is not set.
ERROR: Execution of event handler 'buildhistory_eventhandler' failed
Traceback (most recent call last):
File "<...>/meta/classes/buildhistory.bbclass", line 862, in buildhistory_eventhandler(e=<bb.event.BuildStarted object at 0x7f94c3810250>):
python buildhistory_eventhandler() {
> if e.data.getVar('BUILDHISTORY_FEATURES').strip():
reset = e.data.getVar("BUILDHISTORY_RESET")
AttributeError: 'NoneType' object has no attribute 'strip'
This can happen in a multiconfig build where the default configuration use the
buildhistory class but not the configuration in mc. It should be a rare case that
this happens and it was found in a missconfigured build.
(From OE-Core rev: 6b5ff13fcbcfe980b50893a8bfe86ebf7a4ef3bf)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a74e30a4de02c8efd3e7102ba7a4fe06df53cc34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
0fbca6ce4174 Linux 5.4.94
315cd8fc2ad2 fs: fix lazytime expiration handling in __writeback_single_inode()
5f8b8fccdfbc writeback: Drop I_DIRTY_TIME_EXPIRE
2d8848edc96b dm integrity: conditionally disable "recalculate" feature
43546b74ce6c tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
ab85b382dcf7 SMB3.1.1: do not log warning message if server doesn't populate salt
0edc78af73d0 arm64: mm: use single quantity to represent the PA to VA translation
b899d5b2a42a tracing: Fix race in trace_open and buffer resize call
c4a23c852e80 io_uring: Fix current->fs handling in io_sq_wq_submit_work()
336bb7dc5a1c HID: wacom: Correct NULL dereference on AES pen proximity
ecd62d2e9ab4 futex: Handle faults correctly for PI futexes
55ea172ce3eb futex: Simplify fixup_pi_state_owner()
a3155c362ca0 futex: Use pi_state_update_owner() in put_pi_state()
ceb83cf9ed67 rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
015b6a4c2564 futex: Provide and use pi_state_update_owner()
65aad57cac8d futex: Replace pointless printk in fixup_owner()
0dae88a92596 futex: Ensure the correct return value from futex_lock_pi()
c27a2a1ecf69 Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
4afd772371d9 gpio: mvebu: fix pwm .get_state period calculation
131f8d8a889a Linux 5.4.93
f7020c437e13 tcp: fix TCP_USER_TIMEOUT with zero window
945d182a046f tcp: do not mess with cloned skbs in tcp_add_backlog()
ccc248b6444a net: dsa: b53: fix an off by one in checking "vlan->vid"
ff64094dc718 net: Disable NETIF_F_HW_TLS_RX when RXCSUM is disabled
3e5b335a55e9 net: mscc: ocelot: allow offloading of bridge on top of LAG
b47a3c32c4c2 ipv6: set multicast flag on the multicast route
b778940f2ab9 net_sched: reject silly cell_log in qdisc_get_rtab()
4ed347901f08 net_sched: avoid shift-out-of-bounds in tcindex_set_parms()
bc757ba6dc75 ipv6: create multicast route with RTPROT_KERNEL
60fb547a3d5d udp: mask TOS bits in udp_v4_early_demux()
da3711f42c68 kasan: fix incorrect arguments passing in kasan_add_zero_shadow
0d190f53fa2f kasan: fix unaligned address is unhandled in kasan_remove_zero_shadow
5a3890bad3a4 skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too
49aaf012c478 lightnvm: fix memory leak when submit fails
0ff55fc4d6a1 sh_eth: Fix power down vs. is_opened flag ordering
fd2f5130ae98 net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext
4e1d17a1f73b sh: dma: fix kconfig dependency for G2_DMA
8a0b8e26f79f netfilter: rpfilter: mask ecn bits before fib lookup
99328b4b4408 x86/cpu/amd: Set __max_die_per_package on AMD
6f8ba0ada139 pinctrl: ingenic: Fix JZ4760 support
382ffe786647 driver core: Extend device_is_dependent()
4e749a28c909 xhci: tegra: Delay for disabling LFPS detector
a6a5d08170c2 xhci: make sure TRB is fully written before giving it to the controller
7f3cfc7e378d usb: bdc: Make bdc pci driver depend on BROKEN
f764f90b0c77 usb: udc: core: Use lock when write to soft_connect
564f3c532642 usb: gadget: aspeed: fix stop dma register setting.
f89a193fd9d3 USB: ehci: fix an interrupt calltrace error
9a660760299b ehci: fix EHCI host controller initialization sequence
5eda5db39e28 serial: mvebu-uart: fix tx lost characters at power off
a8fade59466c stm class: Fix module init return on allocation failure
5e4bacea58ca intel_th: pci: Add Alder Lake-P support
c5885886c72c x86/mmx: Use KFPU_387 for MMX string operations
d1a9cd1dc53c x86/topology: Make __max_die_per_package available unconditionally
cdb4ce96fdd2 x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state
cd1c4882ab43 irqchip/mips-cpu: Set IPI domain parent chip
9a2f6007a228 cifs: do not fail __smb_send_rqst if non-fatal signals are pending
745229c90301 iio: ad5504: Fix setting power-down state
ddd1416f4413 can: peak_usb: fix use after free bugs
a24476b37167 can: vxcan: vxcan_xmit: fix use after free bug
ac48ef15826e can: dev: can_restart: fix use after free bug
391187744436 selftests: net: fib_tests: remove duplicate log test
237375005739 platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list
57f0f0ddf9e4 i2c: octeon: check correct size of maximum RECV_LEN packet
485e0255c19e powerpc: Fix alignment bug within the init sections
cfea5cddeb71 scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression
da3324ec5497 pinctrl: aspeed: g6: Fix PWMG0 pinctrl setting
5625c3da7167 powerpc: Use the common INIT_DATA_SECTION macro in vmlinux.lds.S
73a229119983 drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
af91a2e7fb5e drm/nouveau/mmu: fix vram heap sizing
ee2c9e58f430 drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields
38f35023fd30 drm/nouveau/privring: ack interrupts the same way as RM
8c3d3b385ed8 drm/nouveau/bios: fix issue shadowing expansion ROMs
f5dc9627ac04 drm/amd/display: Fix to be able to stop crc calculation
9f6d85e20125 drm/amdgpu/psp: fix psp gfx ctrl cmds
5b2266d62b54 riscv: defconfig: enable gpio support for HiFive Unleashed
7eef73685871 dts: phy: fix missing mdio device and probe failure of vsc8541-01 device
5fa6987258a7 x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery
a09d4e7acdbf xen: Fix event channel callback via INTX/GSI
acc402fa5bf5 arm64: make atomic helpers __always_inline
8ab3478335ad clk: tegra30: Add hda clock default rates to clock driver
c074680653e2 HID: Ignore battery for Elan touchscreen on ASUS UX550
9cec63a3aacb HID: logitech-dj: add the G602 receiver
b1b943f5b65e riscv: Fix sifive serial driver
cd0c46821aa5 riscv: Fix kernel time_init()
5a1d7bb7d333 scsi: sd: Suppress spurious errors when WRITE SAME is being disabled
68f99105752d scsi: qedi: Correct max length of CHAP secret
97853a7eae80 scsi: ufs: Correct the LUN used in eh_device_reset_handler() callback
b477f4371045 dm integrity: select CRYPTO_SKCIPHER
8ebe26a1e236 HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device
6af49167440a ASoC: Intel: haswell: Add missing pm_ops
ad1df24b37d9 drm/i915/gt: Prevent use of engine->wa_ctx after error
6b59bd9eea08 drm/syncobj: Fix use-after-free
559c0ffedbe0 drm/atomic: put state on error path
42d855f06d12 dm integrity: fix a crash if "recalculate" used without "internal_hash"
a03ce9cc4bb8 dm: avoid filesystem lookup in dm_get_dev_t()
cd3aa1495d8a mmc: sdhci-xenon: fix 1.8v regulator stabilization
6acdefd0bd34 mmc: core: don't initialize block size from ext_csd if not present
d8a487e673ab btrfs: send: fix invalid clone operations when cloning from the same file and root
4d1cf8eeda5b btrfs: don't clear ret in btrfs_start_dirty_block_groups
e1065331b730 btrfs: fix lockdep splat in btrfs_recover_relocation
68718453159e btrfs: don't get an EINTR during drop_snapshot for reloc
a826af1dea4a ACPI: scan: Make acpi_bus_get_device() clear return pointer on error
08fa4ae93e95 ALSA: hda/via: Add minimum mute flag
1607adf1ac41 ALSA: seq: oss: Fix missing error check in snd_seq_oss_synth_make_info()
9c301133beda platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634
ea8d3c71313f platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes
60066d5181be i2c: bpmp-tegra: Ignore unknown I2C_M flags
09f983f0c7fc Linux 5.4.92
e2d69319b713 spi: cadence: cache reference clock rate during probe
d04c7938d0f8 mac80211: check if atf has been disabled in __ieee80211_schedule_txq
d46996cb4b16 mac80211: do not drop tx nulldata packets on encrypted links
56e8947bcf81 tipc: fix NULL deref in tipc_link_xmit()
55bac51762c3 net, sctp, filter: remap copy_from_user failure error
52e0b20c8c57 rxrpc: Fix handling of an unsupported token type in rxrpc_read()
5c466480d7d4 net: avoid 32 x truesize under-estimation for tiny skbs
f6499a78e581 net: sit: unregister_netdevice on newlink's error path
a3870cf8a7a2 net: stmmac: Fixed mtu channged by cache aligned
c213d85cae39 rxrpc: Call state should be read with READ_ONCE() under some circumstances
6d57b582fb35 net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands
d52f5929d997 net: dcb: Validate netlink message in DCB handler
814e04776211 esp: avoid unneeded kmap_atomic call
0ff06dd1b949 rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request
c897c10e4334 net: mvpp2: Remove Pause and Asym_Pause support
18c29e175e30 mlxsw: core: Increase critical threshold for ASIC thermal zone
7680783452ce mlxsw: core: Add validation of transceiver temperature thresholds
ff6d4e8da7c6 net: ipv6: Validate GSO SKB before finish IPv6 processing
b41352a93c16 net: skbuff: disambiguate argument and member for skb_list_walk_safe helper
aa350dbe3a1e net: introduce skb_list_walk_safe for skb segment walking
760e9fd4f7ab netxen_nic: fix MSI/MSI-x interrupts
982e763ea3c3 udp: Prevent reuseport_select_sock from reading uninitialized socks
bd4793843c85 bpf: Fix helper bpf_map_peek_elem_proto pointing to wrong callback
79ce12cfa56a bpf: Don't leak memory in bpf getsockopt when optlen == 0
4aef760c28e8 nfsd4: readdirplus shouldn't return parent of export
9b72d5ba50f1 spi: npcm-fiu: Disable clock in probe error path
6ef67f59263e spi: npcm-fiu: simplify the return expression of npcm_fiu_probe()
fa6de8d82d9c scsi: lpfc: Make lpfc_defer_acc_rsp static
e82b58aa6471 scsi: lpfc: Make function lpfc_defer_pt2pt_acc static
5e6b88828526 elfcore: fix building with clang
ac29c052654f xen/privcmd: allow fetching resource sizes
dd113b79ee7e compiler.h: Raise minimum version of GCC to 5.1 for arm64
24cea7d70516 usb: ohci: Make distrust_firmware param default to false
d26b3110041a Linux 5.4.91
516bd00e5ac1 netfilter: nft_compat: remove flush counter optimization
935114863364 netfilter: nf_nat: Fix memleak in nf_nat_init
49fc6d92b484 netfilter: conntrack: fix reading nf_conntrack_buckets
548e4168e68d ALSA: firewire-tascam: Fix integer overflow in midi_port_work()
68e67535e26b ALSA: fireface: Fix integer overflow in transmit_midi_msg()
2c3d03cdbd39 dm: eliminate potential source of excessive kernel log noise
a34294774a32 net: sunrpc: interpret the return value of kstrtou32 correctly
8b5107a74db3 iommu/vt-d: Fix unaligned addresses for intel_flush_svm_range_dev()
c2226680343d mm, slub: consider rest of partial list if acquire_slab() fails
cd9e901fe2fc drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence
9269296721b5 IB/mlx5: Fix error unwinding when set_has_smi_cap fails
40a782293545 RDMA/mlx5: Fix wrong free of blue flame register on error
e8c8d2319bd7 bnxt_en: Improve stats context resource accounting with RDMA driver loaded.
3bcf35a7c05f RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
da834a9bdc23 RDMA/restrack: Don't treat as an error allocation ID wrapping
986fdc7685fa ext4: fix superblock checksum failure when setting password salt
38992092b54e NFS: nfs_igrab_and_active must first reference the superblock
6b3ae2030db9 NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
aa2399f55eff pNFS: Stricter ordering of layoutget and layoutreturn
78c2ab7f5265 pNFS: Mark layout for return if return-on-close was not sent
7d1241ae1dce pNFS: We want return-on-close to complete when evicting the inode
69d121ca892c NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock
c70f6e0ac9f9 nvme-tcp: fix possible data corruption with bio merges
55a102004376 ASoC: Intel: fix error code cnl_set_dsp_D0()
2392a54de8ba ASoC: meson: axg-tdmin: fix axg skew offset
973900cd4614 ASoC: meson: axg-tdm-interface: fix loopback
08eb8a735c11 dump_common_audit_data(): fix racy accesses to ->d_name
d443cefd9f73 perf intel-pt: Fix 'CPU too large' error
221dee1d0d4e ARM: picoxcell: fix missing interrupt-parent properties
ba74e0f222c7 drm/msm: Call msm_init_vram before binding the gpu
0251d3eb4480 ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI
bfdd0a3b86c3 usb: typec: Fix copy paste error for NVIDIA alt-mode description
644baa95db2b drm/amdgpu: fix a GPU hang issue when remove device
596b3423fddc nvmet-rdma: Fix list_del corruption on queue establishment failure
4cb77b877fcc nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN
242793c7ef2f selftests: fix the return value for UDP GRO test
5fc06b706432 net: ethernet: fs_enet: Add missing MODULE_LICENSE
15a8491cdcd4 misdn: dsp: select CONFIG_BITREVERSE
635a658de303 arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC
bc68af1fdcac bfq: Fix computation of shallow depth
2abc54579d1b lib/raid6: Let $(UNROLL) rules work with macOS userland
1d05b91ab72e hwmon: (pwm-fan) Ensure that calculation doesn't discard big period values
1229d433960c habanalabs: Fix memleak in hl_device_reset
93aef8e6cc08 habanalabs: register to pci shutdown callback
79df21218d63 ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram
331a6438ebfd regulator: bd718x7: Add enable times
d5f996bea464 btrfs: fix transaction leak and crash after RO remount caused by qgroup rescan
c8dd8af4b35f netfilter: ipset: fixes possible oops in mtype_resize
ca2fc0dc1cec ARC: build: move symlink creation to arch/arc/Makefile to avoid race
6265a0f2410f ARC: build: add boot_targets to PHONY
217d8ba22bce ARC: build: add uImage.lzma to the top-level target
b9128252b9ee ARC: build: remove non-existing bootpImage from KBUILD_IMAGE
5349b17c3df5 dm integrity: fix flush with external metadata device
c553300f1453 cifs: fix interrupted close commands
d17a9571e392 smb3: remove unused flag passed into close functions
55a4dff288af ext4: don't leak old mountpoint samples
2003c669df4c ext4: fix bug for rename with RENAME_WHITEOUT
425faacff213 drm/i915/backlight: fix CPU mode backlight takeover on LPT
72eb9fc82aea btrfs: tree-checker: check if chunk item end overflows
82a948fc67ea r8152: Add Lenovo Powered USB-C Travel Hub
ad5f19c7e9ce dm integrity: fix the maximum number of arguments
5caac6317daf dm snapshot: flush merged data before committing metadata
2017b99ec205 dm raid: fix discard limits for raid1
4335af6c62fc mm/hugetlb: fix potential missing huge page size info
c64366620d91 ACPI: scan: Harden acpi_device_add() against device ID overflows
bc0b70f1d28c RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd()
f7a97dc302be MIPS: relocatable: fix possible boot hangup with KASLR enabled
f5c2f7970683 MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
a650107de374 mips: lib: uncached: fix non-standard usage of variable 'sp'
bda45bbc8e03 mips: fix Section mismatch in reference
aeb64ef1f429 tracing/kprobes: Do the notrace functions check without kprobes on ftrace
984f57e4258c x86/hyperv: check cpu mask after interrupt has been disabled
1a202b9b9d23 ASoC: dapm: remove widget from dirty list on free
82d1a5f6f2e5 btrfs: prevent NULL pointer dereference in extent_io_tree_panic
bb562e6e0358 kbuild: enforce -Werror=return-type
(From OE-Core rev: 4d70a149cee6c4fb3a74514ef6041aaa068cc293)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80d066f627225e9eefba84c799e9b27bc17526fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.4-stable included a backport of:
Author: Eric W. Biederman <ebiederm@xmission.com>
Date: Thu Dec 3 14:11:13 2020 -0600
rwsem: Implement down_read_interruptible
[ Upstream commit 31784cff7ee073b34d6eddabb95e3be2880a425c ]
In preparation for converting exec_update_mutex to a rwsem so that
multiple readers can execute in parallel and not deadlock, add
down_read_interruptible. This is needed for perf_event_open to be
converted (with no semantic changes) from working on a mutex to
wroking on a rwsem.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/87k0tybqfy.fsf@x220.int.ebiederm.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
We implement a -rt variant to fix the build issues.
(From OE-Core rev: 843401ededf7e1246d0a472935776fc3b34bc04f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e610fb7cc22447441f18a9b1bffe58aadb6aaab6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
ceed81a883dc Linux 5.4.90
6f484096196b regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init()
bbb2fee395e9 net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet
bd0051a5cb05 block: fix use-after-free in disk_part_iter_next
c5fe50e18fcb KVM: arm64: Don't access PMCR_EL0 when no PMU is available
f595e44b161a net: mvpp2: disable force link UP during port init procedure
5b8d3c3a9fcb regulator: qcom-rpmh-regulator: correct hfsmps515 definition
3582406b9c04 wan: ds26522: select CONFIG_BITREVERSE
480c5e9c7e4c regmap: debugfs: Fix a memory leak when calling regmap_attach_dev
c3c774886790 net/mlx5e: Fix two double free cases
ce74b5a0689d net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups
a2b2ae3812e5 bpftool: Fix compilation failure for net.o with older glibc
2992e3371a3a iommu/intel: Fix memleak in intel_irq_remapping_alloc
006319327d21 lightnvm: select CONFIG_CRC32
46c15eeb0a8a block: rsxx: select CONFIG_CRC32
4834a984e456 wil6210: select CONFIG_CRC32
b28378bc91d0 qed: select CONFIG_CRC32
cc196d4604c9 dmaengine: xilinx_dma: fix mixed_enum_type coverity warning
d0eaf8a8eff8 dmaengine: xilinx_dma: fix incompatible param warning in _child_probe()
e6f247a5f927 dmaengine: xilinx_dma: check dma_async_device_register return value
c15556cb344a dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function
55503711adff i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated
12e8bcaef61a spi: stm32: FIFO threshold level - fix align packet size
9ff4796e6fd9 cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
4dd15f9bc881 can: kvaser_pciefd: select CONFIG_CRC32
82adac5ad13b can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()
3b68980596fb can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver
b77e0283efdc dmaengine: dw-edma: Fix use after free in dw_edma_alloc_chunk()
f6dd8c259ab8 i2c: sprd: use a specific timeout to avoid system hang up issue
8d0cadc2ea64 ARM: OMAP2+: omap_device: fix idling of devices during probe
003280bd8845 HID: wacom: Fix memory leakage caused by kfifo_alloc
6f367fb1b7ee iio: imu: st_lsm6dsx: fix edge-trigger interrupts
87ea51c90280 vmlinux.lds.h: Add PGO and AutoFDO input sections
099340d3e758 exfat: Month timestamp metadata accidentally incremented
bb039d45ebc5 x86/resctrl: Don't move a task to the same resource group
628af07fc5cd x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR
96fb3d28c885 chtls: Fix chtls resources release sequence
fac9b53cfacb chtls: Added a check to avoid NULL pointer dereference
38768ea1127d chtls: Replace skb_dequeue with skb_peek
dcce456b2843 chtls: Fix panic when route to peer not configured
44bed66b2be9 chtls: Remove invalid set_tcb call
266ee00f402b chtls: Fix hardware tid leak
ed62af62da41 net/mlx5e: ethtool, Fix restriction of autoneg with 56G
cf59803ce4b3 net/mlx5: Use port_num 1 instead of 0 when delete a RoCE address
3008c639c081 net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE
fc1c907da5a1 s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
e6931e3eb084 nexthop: Unlink nexthop group entry in error path
3cecab93f271 nexthop: Fix off-by-one error in error path
f03b81e61ef5 octeontx2-af: fix memory leak of lmac and lmac->name
12e10b12124c net: ip: always refragment ip defragmented packets
41bfd4111257 net: fix pmtu check in nopmtudisc mode
98fc9692ac3d tools: selftests: add test for changing routes with PTMU exceptions
7694654168bb net: ipv6: fib: flush exceptions when purging route
1cba7e270b16 net/sonic: Fix some resource leaks in error handling paths
37e6368a8de6 net: vlan: avoid leaks on register_vlan_dev() failures
4ff0737ebc76 net: stmmac: dwmac-sun8i: Balance internal PHY power
5698f0921c9b net: stmmac: dwmac-sun8i: Balance internal PHY resource references
fa020a28896c net: hns3: fix a phy loopback fail issue
bddaf51d116c net: hns3: fix the number of queues actually used by ARQ
d73f7e757526 net: cdc_ncm: correct overhead in delayed_ndp_size
5597557244d4 vfio iommu: Add dma available capability
335104082c21 x86/asm/32: Add ENDs to some functions and relabel with SYM_CODE_*
a829146c3fdc Linux 5.4.89
485e21729b1e scsi: target: Fix XCOPY NAA identifier lookup
7795afa0d7a9 KVM: x86: fix shift out of bounds reported by UBSAN
a9d49da7edf8 x86/mtrr: Correct the range check before performing MTRR type lookups
a798b367a066 netfilter: nft_dynset: report EOPNOTSUPP on missing set feature
5e401ea71676 netfilter: xt_RATEEST: reject non-null terminated string from userspace
1dd6a790c220 netfilter: ipset: fix shift-out-of-bounds in htable_bits()
e0281bb5a82d netfilter: x_tables: Update remaining dereference to RCU
828f2a20f946 drm/i915: clear the gpu reloc batch
ef8133b1b47e dmabuf: fix use-after-free of dmabuf's file->f_inode
284be2b993ca Revert "device property: Keep secondary firmware node secondary by type"
64d06c7f2fa2 btrfs: send: fix wrong file path when there is an inode with a pending rmdir
0cb0b876f17f ALSA: hda/realtek: Add two "Intel Reference board" SSID in the ALC256.
02e59692a6b1 ALSA: hda/realtek: Enable mute and micmute LED on HP EliteBook 850 G7
d63a96f45c4f ALSA: hda/realtek - Fix speaker volume control on Lenovo C940
30fd9778cf8f ALSA: hda/conexant: add a new hda codec CX11970
121944484cc4 ALSA: hda/via: Fix runtime PM for Clevo W35xSS
a5c7a456680f kvm: check tlbs_dirty directly
10dcb79ec79e x86/mm: Fix leak of pmd ptlock
d3e5db486fd8 USB: serial: keyspan_pda: remove unused variable
bcffe2de9dde usb: gadget: configfs: Fix use-after-free issue with udc_name
276828221852 usb: gadget: configfs: Preserve function ordering after bind failure
b2bd36f54495 usb: gadget: Fix spinlock lockup on usb_function_deactivate
ce507b55db29 USB: gadget: legacy: fix return error code in acm_ms_bind()
7f875ea9883c usb: gadget: u_ether: Fix MTU size mismatch with RX packet size
b89a5f39c2b5 usb: gadget: function: printer: Fix a memory leak for interface descriptor
692ab0726460 usb: gadget: f_uac2: reset wMaxPacketSize
7ac84fa85ba2 usb: gadget: select CONFIG_CRC32
77a804dd6b46 ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks
5c263f16822f USB: usblp: fix DMA to stack
41f15da2abd9 USB: yurex: fix control-URB timeout handling
175f7a5fa7e6 USB: serial: option: add Quectel EM160R-GL
1a59feb52dc4 USB: serial: option: add LongSung M5710 module support
ac48b1dacb07 USB: serial: iuu_phoenix: fix DMA from stack
8a051eaae708 usb: uas: Add PNY USB Portable SSD to unusual_uas
a7b81d0d2e07 usb: usbip: vhci_hcd: protect shift size
f7cc27eb358d USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set
ea472d839133 usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data()
a37a0667e1e0 usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion
5b8e1be9e0c1 USB: cdc-wdm: Fix use after free in service_outstanding_interrupt().
5445502a344b USB: cdc-acm: blacklist another IR Droid device
eeae1d95ce4e usb: gadget: enable super speed plus
70cf59b8ffb4 staging: mt7621-dma: Fix a resource leak in an error handling path
c511f27e130e powerpc: Handle .text.{hot,unlikely}.* in linker script
867c10a03f84 crypto: asym_tpm: correct zero out potential secrets
ff7397add935 crypto: ecdh - avoid buffer overflow in ecdh_set_secret()
9e60056b1f53 video: hyperv_fb: Fix the mmap() regression for v5.4.y and older
84d488719b27 Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close
3417067b3111 kbuild: don't hardcode depmod path
3f2a28930a7e net/sched: sch_taprio: ensure to reset/destroy all child qdiscs
c41ea30c3839 ionic: account for vlan tag len in rx buffer len
5c6eb887e192 vhost_net: fix ubuf refcount incorrectly when sendmsg fails
8f64957fda12 net: usb: qmi_wwan: add Quectel EM160R-GL
12ab7b627d43 CDC-NCM: remove "connected" log message
171a2bce9d6c net: dsa: lantiq_gswip: Fix GSWIP_MII_CFG(p) register access
c0883010d3b3 net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs
07f26fc52b45 r8169: work around power-saving bug on some chip versions
106ca9ca9acc net: hdlc_ppp: Fix issues when mod_timer is called while timer is running
2b8aa896b151 erspan: fix version 1 check in gre_parse_header()
606f5412ad86 net: hns: fix return value check in __lb_other_process()
e40b5fc79110 net: sched: prevent invalid Scell_log shift count
b16f883e71f3 ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst()
a018c071de14 net: mvpp2: fix pkt coalescing int-threshold configuration
443a71031e49 tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS
c076e1198554 net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered
8602c20a9160 net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc
1f6b04a2b282 net-sysfs: take the rtnl lock when storing xps_rxqs
67ed54a63f43 net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc
fb14db9508c0 net-sysfs: take the rtnl lock when storing xps_cpus
e43ec45d45af net: ethernet: Fix memleak in ethoc_probe
56dc7908ed85 net/ncsi: Use real net-device for response handler
dffef999e484 virtio_net: Fix recursive call to cpus_read_lock()
5404192a8721 qede: fix offload for IPIP tunnel packets
8009f6bb13a3 net: ethernet: mvneta: Fix error handling in mvneta_probe
6d003fe7fe87 ibmvnic: continue fatal error reset after passive init
3d16088a9668 net: mvpp2: Fix GoP port 3 Networking Complex Control configurations
8548c9679939 atm: idt77252: call pci_disable_device() on error path
2a006b4fa5cc ethernet: ucc_geth: set dev->max_mtu to 1518
c2ca14cc6f55 ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()
af99cae96fdc net: systemport: set dev->max_mtu to UMAC_MAX_MTU_SIZE
8dd98d5d2ba4 net: mvpp2: prs: fix PPPoE with ipv6 packet parse
73445f29575a net: mvpp2: Add TCAM entry to drop flow control pause frames
a5a6dc4dc293 iavf: fix double-release of rtnl_lock
6aba31a7c72e i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs
9ea03f6890ce proc: fix lookup in /proc/net subdirectories after setns(2)
d2942e958f26 proc: change ->nlink under proc_subdir_lock
59b10c8a59a1 depmod: handle the case of /sbin/depmod without /sbin in PATH
663a0bcb3fa5 lib/genalloc: fix the overflow when size is too big
19e0cf8fc481 scsi: scsi_transport_spi: Set RQF_PM for domain validation commands
eb3e975ac2a3 scsi: ide: Do not set the RQF_PREEMPT flag for sense requests
4ae3573c571e scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff()
5f9c3d640505 scsi: ufs: Fix wrong print message in dev_err()
515dc635eb76 workqueue: Kick a worker based on the actual activation of delayed works
f3a4c8d50145 Linux 5.4.88
0a49aaf4df29 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start
117433236ae2 exec: Transform exec_update_mutex into a rw_semaphore
d390fc97df62 rwsem: Implement down_read_interruptible
1b75a263fbd9 rwsem: Implement down_read_killable_nested
71b8355ba667 perf: Break deadlock involving exec_update_mutex
732251cabeb3 fuse: fix bad inode
06c672dd61b5 iio:imu:bmi160: Fix alignment and data leak issues
7a736f41013e kdev_t: always inline major/minor helper functions
61a0d8e437bb dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate()
20d5ee563bfd dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()
f2a0b7677444 dmaengine: at_hdmac: Substitute kzalloc with kmalloc
4d3ba541bede Revert "mtd: spinand: Fix OOB read"
da5b4cf021b9 Revert "drm/amd/display: Fix memory leaks in S3 resume"
(From OE-Core rev: 48a11c214ff9aa6700ef289b200079c07c41b1b0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dcc8a5977725a9fe11ac13ebd16a7acc1eef37d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_bundle_initramfs() only processes kernel image
types that are found in KERNEL_IMAGETYPE_FOR_MAKE whereas
the build system can generate other types that are not
directly supported by the kernel build system. In which
case when we come to the deploy phase not all the images
mentioned in KERNEL_IMAGETYPES would have a respective
initramfs bundled image. An example is using vmlinux.gz
in KERNEL_IMAGETYPES and enabling initramfs and then we
see
install: cannot stat 'arch/arm64/boot/vmlinux.gz.initramfs': No such file or directory
So we align the deploy phase with bundle initramfs phase
and pick up relevant initramfs bundled images using
KERNEL_IMAGETYPE_FOR_MAKE instead of KERNEL_IMAGETYPES.
(From OE-Core rev: 352cecca98a0a845e1dacd10e399e26cdf8c7a93)
Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 526bdd88ccd758204452579333ba188e29270bde)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In an earlier commit, libprocps was split into a separate package leaving
no shlibs in the main package. A bug was seen where igt-gpu-tools wouldn't
build correctly in some cases as it thought the librbary was still in the
main package, throwing qa errors as a result.
The issue was due to an extra file being left in the sstate output of
the do_packagedata task in the shlibs2/ folder which contained the bad
shlibs information.
The reason for this was that the temporary directory used in this
task wasn't being cleaned so files which were deleted were not handled
correctly. Add a missing cleandirs entry to fix this.
(From OE-Core rev: 4c4775d3e8ab132995ce4b69fab7abef8bff4a4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50f17d0a655a3a2556f9fcad67259101c2814a36)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the PR service is enabled a number of small changes may happen
to variables. In the do_package step a call to package_get_auto_pr
will end up setting PRAUTO and modifying PKGV (if AUTOINC is there).
PRAUTO is then used by EXTENDPRAUTO, which is then used to generate
PKGR.
Since this behavior typically happens BEFORE the BB_UNIHASH is
calculated for do_package, we need a way to defer the expansion
until after we have the unihash value.
Writing out the pkgdata files w/o AUTOPR and PKGV (AUTOINC) expanded
to placeholder values is the easiest way to deal with this. All other
variables are expanded as expected.
In the next task, typically do_packagedata, we will then use the
UNIHASH from the do_package to get the PR (AUTOPR) as well as
generate the AUTOINC replacement value (now PRSERV_PV_AUTOINC).
The do_packagedata then translates the placeholders to the final values
when copying the data from pkgdata to pkgdata-pdata-input.
Also update the prservice test case. With unihash, just changing the
do_package (via a _append) will not change the PR. So write the date
to a specific file that is incorporated into the unihash to ensure it
is always different for the test. Various assert messages were also
updated to make it easier to figure out where/why a problem occured.
(From OE-Core rev: 0c28edf4bf0d2f92bf3a47406041c63acd90bacf)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e32f37b0e4abc438c8f60e673cd18a5cc110768)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add CVE_VERSION_SUFFIX to indicate the version suffix type, currently
works in two value, "alphabetical" if the version string uses single
alphabetical character suffix as incremental release, blank to not
consider the unidentified suffixes. This can be expand when more suffix
pattern identified.
refactor cve_check.Version class to use functools and add parameter to
handle suffix condition.
Also update testcases to cover new changes.
(From OE-Core rev: 37a40c30709bf80c74948f47361b2be2c646c9d8)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dfd5ad5144708b474ef31eaa89a846c57be8ac0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way distutils.version.LooseVersion compare version are tricky, it treat
all these ( "1.0-beta2", "1.0-rc1", "1.0A", "1.0p2" and "1.0pre1") as greater
version than "1.0". This might be right for "1.0A" and "1.0p1" but not for
the rest, also these version could be confusing, the "p" in "1.0p1" can be
"pre" or "patched" version or even other meaning.
Replace Looseversion with custom class, it uses regex to capture common
version format like "1.1.1" or tag format using date like "2020-12-12" as
release section, check for following known string/tags ( beta, rc, pre, dev,
alpha, preview) as pre-release section, any other trailing characters
are difficult to understand/define so ignore them. Compare release
section and pre-release section saperately.
included selftest for the version class.
[YOCTO#14127]
(From OE-Core rev: 294baea424472341d2ec880f13699076315d8274)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6ced85e9ddd3569240f1e8b82130d1ac0fffbc40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-certdata2pem.py-use-python3.patch
removed since it is included in 20210119
(From OE-Core rev: 2a558ee61a2452a209d39cd1528a309c549c0f4e)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afd86357e07f69090eaff4c5db2c517867dd4ccf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a sanity check for when PSEUDO_IGNORE_PATHS and paths under pseudo control overlap to avoid random failures generated.
[YOCTO #14193]
(From OE-Core rev: 89eb75f71b7af278e6cd92f676c1f102367bb42d)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e4bd8cabcdedf4b52345ef5eb421f71d0f19b1d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pulls in:
pseudo_client: Ensure renames update open fd file paths
pseudo_client.c: Rebuild passwd paths after chroot
which should fix issues seen in apt package index creation, new
binutils and other autobuilder race issues in pseudo amongst other
issues.
(From OE-Core rev: a92c60dddc65f316eca5ae8434e2815fefc025af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 44d11b56001f40622c055069b0901cc4ae15c76c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are a variety of files being installed into $datadir which we
don't need. Pick the top "offenders" which amount of thousands of files
and simply don't install them. These include things like test data,
terminfo data, locale data for native tools and so on. This saves
copying these files into native and target sysroots and should improve
performance (smaller sstate, fewer files to copy around).
With this and the python recipe change, alsa-tools went from:
recipe-sysroot: 18357
recipe-sysroot-native: 14129
to
recipe-sysroot: 10809
recipe-sysroot-native: 8079
which is a decent improvement.
(From OE-Core rev: e0cd2e1f9ae956d72b8033ce1c4403d8bd99d3d5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 366c72941fe1c24d0b1d96df46e13cb9eb4e79d6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are several thousand files in the test directory which we don't need.
Adding these for the native and target sysroots is a crazy amount of files
to be throwing around needlessly. Delete the files from the sysroot side
of things to tidy up the sysroots and improve performance.
(From OE-Core rev: f73ac290617e89b80e10dc700c0e90efddc8e1b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6bced03011ad1663d68b0322a2f8aeb4d836646)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recudes the file count from ~2850 to ~100 which is a huge win
for reducing build directory clutter, its unlikely anything uses the
terminfo data or man pages in the sysroot. This is especially helpful
as we usually end up with two copies of these sets of files.
(From OE-Core rev: 7789eb844a1f0033cec7d7d42f1dd42d571cb6c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 443633dfc20177ef88a388d96745675817510c99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The srctree_hash was calculated only from main source directory ignoring
changes in submodules.
[YOCTO #13748]
Use submodule--helper to determine all submodules, and calculate hash
from all git tree objects names combined.
(From OE-Core rev: 8f972c639ef49df132103c0b3f350b91cf1443b9)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50ff9afb3990bcf60b4fa1f937506cb84028c32d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
solve qual_fault-syscall.test and qual_fault.test
failing due to timeout.
Bug 14165
(From OE-Core rev: 09ba626c1e7c0196b17fb2239f3b3caf5c8d84db)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5af9f32d9b12654793289f44366251f978f6378a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release 2021a - 2021-01-24 10:54:57 -0800
Changes to future timestamps
South Sudan changes from +03 to +02 on 2021-02-01 at 00:00.
(Thanks to Steffen Thorsen.)
(From OE-Core rev: 4a219389f166229872c0213a6d31c94cc565269c)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed9114df2086c4ad0544cf99c9c1ff8fb7b830b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If recipe uses only file:// fetcher devtool unpacks sources under
oe-local-files/ and adds symlink in source root directory. We need to
verify if the symlink in subdirectory has correct path.
See [YOCTO #13738] for details.
(From OE-Core rev: d9d8a04c9564b2801a1f613ffb6471de3cabdb03)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 044c90d152bfd1b2a23272df39327ba4cd862dff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image is only buildable for x86-64, so add a COMPATIBLE assignment
to ensure it isn't attempted on others.
(From OE-Core rev: c5059d1226cd86821c5c2b4473c3ee4eef1afb84)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bdd8208675c8a0c0232c678804a8b62cd74f1d48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As this image isn't buildable without ptest (the packages won't exist),
depend on the ptest DISTRO_FEATURE to ensure we don't try and build it.
(From OE-Core rev: cd9b46e7a609b8faa9b670ae0c14f106e4343c55)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0fe856d726c6d9c35533e32e70fbe05ef2b88b17)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Makefile override CFLAGS, so -fmacro/debug-prefix-map
optiions was omitted and binaries contains absolute
patch to sources.
(From OE-Core rev: 9cc6506b228982dc619080a24e70daf0cfaf16ab)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b58e808a087bbc0a5abd78fd34bb6f1c0c93ba25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test would timeout on autobuilders. This patch increases the
timeout to 60s
The test will now also exit as soon as we receive the 2 expected events
Expected runtime is around 1s if successful
Bug 14158
(From OE-Core rev: cbc72203c82e56ebf4a6a685fbeb27679ed9a2e0)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be02aa9283f805de718badd5ea12c4968da8774f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If srcdir is under poky directory (e.g. devtool poky/build/workspace/sources)
and is not a git repository then ${@srctree_hash_files(d)} will run "git
rev-parse --git-dir" and detect poky directory as git-dir and run "'git', 'add',
'-A', '.'], cwd=s_dir" trying to add srcdir but build dir is in .gitignore and
latest git will fail with "The following paths are ignored by one of your
.gitignore files: build" which will end with "ExpansionError during parsing".
In this commit I added a check if git_dir is the same as git-dir from
TOPDIR (which will detect poky directory) and if yes, then treat srcdir
as non-git sources.
(From OE-Core rev: 59f0af647e28fa9579d5376b6ff0c9c0a1656ab3)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95fbac8dcad6c93f4c9737e9fe13e92ab6befa09)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If do_patch task is disabled then prepare do_configure dependencies to
fetch external sources and create symlink to ${S} in devtool workspace.
[YOCTO #13036]
(From OE-Core rev: 1685e470f0dc49c1b857ffd869407f3396c55d31)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9e47319bfe62d289b90f7545a64dbdc1cbde7f1d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Files could contain colons in name and we should not use
colons (':') as field separator. E.g. perl/python man
pages packages.
(From OE-Core rev: a4b72056e76f6c9b206cefacaab89a09b32948f6)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50d2ed0689f1aed6f33b4992d37e2e991c99eb07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Option --noline or -L does not handled properly.
So generated code contains #line directives with
file absolute path and prevents to create
reproducible builds.
(From OE-Core rev: 2c000cb19aa605c1578afc0b5a445163a2387089)
Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0bf2cb7dc2123f220accf1542c2ae4c4b4b8275a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch changes the same file twice which causes issues with some patch
tools (not used in YP by default). Refresh the patch to clean this up
anyway.
RP: Tweak commit message
(From OE-Core rev: 0668fa21b7a5dbf96632b406d28d152c7c53fa3c)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb6e65f8196fd6587c75c3ab2cf060c00a074ec6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf 2.70 is coming soon which has some small behavioural fixes, so
backport a patch from upstream to fix the build with that release.
(From OE-Core rev: 4a977fba25e9fa0a14b49d5f8ac992f14a6ca254)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 946610f2cc8cd42265ee3fab6c73ad4831aaeb4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows spotting ptest regressions without having hard ptest failures
(for that full ptest stability should be achieved).
(From OE-Core rev: 6097b1cbffc048185c1ed658f16f0f90a9d19054)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 79b54d902df2788b0822b6c9cc14705ab00e6a5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 5232c0b480eba4537c8db71c95189950011fb64d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a user executes the environment script instead of sourcing it,
there's an error about an empty element in PATH. This is because
bitbake isn't present in environment variable PATH. Hence, this
patch adds a sanity check to verify if bitbake is present in
PATH and if bitbake isn't present issue a warning message.
[YOCTO #13822]
(From OE-Core rev: 9ed5d67d5d50f97072b6054ce913a3f5d981335e)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e08799913a7f207bc63e085eb98196fd61ed57bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a user builds in a path in PSEUDO_IGNORE_PATHS, random failures
are generated. Hence this patch adds a sanity check in sanity.bbclass
to ensure that a user isn't building in PSEUDO_IGNORE_PATHS.
[YOCTO #14179]
(From OE-Core rev: a20b0f80c2d169115a0336f155a834a5801982f9)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a681525e904914e938de25df5cc64209097d15d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Insert an explicit pass to fetch all blobs needed by Git LFS, during the
fetch() function. This avoids the default behavior of Git LFS to wait
until 'git checkout' to begin downloading the blobs pointed to by LFS records.
Network access is not allowed at that point in the recipe's lifecycle.
[YOCTO #14191]
(Bitbake rev: 2351b496bb63b96920d4ae67bec816f00d510df2)
Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0efac66043662e7a2027192f50e92e982db2ba1c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Function "contains_lfs" was only looking at the master branch when searching for LFS
content. LFS may be configured in specific branches only, so we need to use the
correct branch.
(Bitbake rev: 274f790ac9161187810df3242d3570261e407b11)
Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4fa67c2af830035a1ddedc14592ee25a15ebff22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The message "Repository %s has LFS content but it is not being fetched" was
being printed, even when Git-LFS was available and "lfs=1" was set. In those
situations, we want to fetch LFS content, so that message would not make sense.
(Bitbake rev: 2795c6150c0b3218716195c0d10ff2843b1ef695)
Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45028dfda5a29a34ab408cb3f11d72ae17963340)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Git-LFS objects were being fetched even when lfs=0 was not set.
This patch disables LFS smudging when lfs=0. That way, only the LFS pointers
are downloaded during checkout.
(Bitbake rev: 3d09608cabd404733b95ea92d5b00830ded77834)
Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 646d86df7de774255246a3d7051c308e43eb257d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fix for [Yocto #13994] required the rootfs directory to be copied
(using hardlinks if possible) when modifying the fstab file under wic.
We can optimise this copy away for filesystems where we have the tools
to modify the contents of the partition image after it is created. For
ext2/3/4 filesystems we have the debugfs tool and for msdos/vfat
filesystems we have the mcopy tool. So for any of these filesystems we
skip the modification of the fstab file in the rootfs directory (and
skip the associated copy unless it is otherwise necessary) and update
the contents of fstab directly in the partition image.
(From OE-Core rev: 1988d07b65ad38bdf8fac8615f11fb6536a75806)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5fb8ae0e9159597d7eaa9307a3a8543800bf9405)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, wic updates the /etc/fstab in the rootfs to include details
of additional partitions described in the selected wks file. If this
modification is performed in place, other tasks which create an image
file from the rootfs directory (e.g. do_image_tar and do_image_ext4)
will pick up the modified fstab file which would not be appropriate for
those images as they do not include the additional partitions described
in the wks file. wic does undo modifications to the fstab file once it
has finished creating the filesystem image, however this leaves open a
race condition if one of the other tasks reads the contents of the fstab
file from the rootfs directory between the point where wic modifies the
fstab file and the point where wic restores the files original content.
This could be solved by adding a lockfile for tasks which use the rootfs
directory to ensure that no other such task is reading the rootfs
directory while do_image_wic is running. This would serialize several
do_image_* tasks and result in slower builds, especially for large
images. Another drawback of this solution is that it is hard to
selectively optimise - adding lockfiles to do_image_* tasks would result
in these tasks always being serialized even if no fstab modification
will take place.
An alternative solution is to copy the rootfs directory when fstab needs
to be modified. The code to do this in wic already exists as it is
needed when including or excluding content in the rootfs. This still
results in an impact on build times but the copy uses hardlinks if
possible (so little data is actually copied) and we can make selective
optimisations to improve things. The rootfs copy will only take place if
fstab modification is required (or if it was already needed to include
or exclude rootfs content). We can also follow up with further
optimisations after this commit. So this second solution is chosen.
Fixes [Yocto #13994]
(From OE-Core rev: 9414007dd73ffd41d1e9c68bae152e8cbb3c28a2)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce682a73b7447652f898ce1d1d0416a456df5416)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option allows to specify which part of a rootfs is going to be
included, the same way the -C argument on tar.
Thanks to this option we can make sure the permissions and usernames
on the target partition are respected, and also simplify the creation of
splitted partitons, not neeting to invoke external vars or using .wks.in
files. Eg:
part / --source rootfs --ondisk sda --fstype=ext4 --exclude-path=etc/
part /etc --source rootfs --fstype=ext4 --change-directory=etc
Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: d17b03e49b09f1a2db3642823522ac39e7c3c301)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2265d089a58e1f78f26d623ee667c420cb1c3bd4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To exclude content from the rootfs, wic makes a copy (using hardlinks if
possible) of the rootfs directory and associated pseudo db, then removes
files & directories as needed. However if these files and directories
are removed using the python functions os.remove and shutil.rmtree, the
copied pseudo db will not be updated correctly. For files copied from
the original rootfs, if hardlinks were used successfully when copying
the rootfs this should mean that the relevant inodes can't be reused and
so the risk of pseudo aborts should be avoided. However, this logic
doesn't apply for directories (as they can't be hardlinked) or for files
added via the '--include-path' argument (as they weren't present in the
original rootfs) and so there remains some risk of inodes being reused
and the pseudo db becoming corrupted.
To fix this, use the 'rm' command under pseudo when removing files &
directories from the copied rootfs to ensure that the copied pseudo db
is updated.
(From OE-Core rev: 5bfdebe05a4eed1df29b2ad7c3871d323646cc50)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5db7e268947f0392c2126137571a44acd29ccd6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default the wic working directory is placed under the output
directory. When invoking wic under bitbake, the wic output directory is
added to PSEUDO_PATHS_IGNORE to avoid issues with files being removed
from outside a pseudo environment (see oe-core commit ad8f5532ff).
However, wic will copy the rootfs directory into its working directory
if it needs to add or remove content before creating a filesystem image.
This copy of the rootfs directory must be tracked by pseudo in order to
keep the permissions correct in the resulting image. So we can't have
the wic working directory under a path in PSEUDO_PATHS_IGNORE unless
we like broken permissions.
To fix this the new '-w' argument to wic is used to move the working
directory away from the output directory.
Note that wic deletes the temporary working directory automatically
when it finishes creating an image so users won't normally see the
'tmp-wic' directory under WORKDIR.
Fixes [Yocto #14129]
(From OE-Core rev: 57012ccc911b9a5c901809bc19592cf40c15db8e)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d07169499c47fa9dc759e6f81843416a6dc25c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a path is specified for the internal wic working directory using
the -w/--workdir argument then it must not already exist. Re-using a
previous workdir could easily result in rootfs and intermediate files
from a previous build being added to the current image.
(From OE-Core rev: fb884fb9e5eef1c322ae7c196aa19bd32dcf6897)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e40c8d4109024ff704c5ce40d98050ca7f34dd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 5dcdb76f89c2e5bbc383e2921589482cd1c51491)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows programs from HOSTTOOLS (e.g. 'install', 'rm', 'mv', etc) to
be more easily executed by wic. Without this change only programs from
an actual *-native recipe built by bitbake can be executed by wic.
(From OE-Core rev: 7acb39f02b8160600d1508da114e98dd1c3e76ed)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8eb186acdecfbb3151c9a0ab148358e3fe5cce39)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the path for the temporary workdir used by wic to be set
when running wic from bitbake or directly from the command line.
(From OE-Core rev: 447643eebff00715bd9717ebcb75edb20fc69778)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e7314ac3a3cab89de93c932e8efc75de0feb0a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit a2308800b7eb5215982db7269d74d6292075f19f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New versions of glibc have an lchmod function so we need to wrap it.
Identified through a reproducibility issue in initramfs-base where
/dev/console created by mknod from coreutils changed permissions
depending on the host distro (mknod used the gnulib wrapper on most
hosts but newer ones used the libc call).
[YOCTO #14162]
(From OE-Core rev: 38f0f8cb915a4220a04b73dc3de29749337062d4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20a645664977530e602e1ac97e8dc0962e730e6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds were failing on WSL2 which turns out to be due to accesses to
/run/ on those systems. Add this to PSEUDO_IGNORE_PATHS to fix
builds on WSL2.
[YOCTO #14175]
(From OE-Core rev: f447610ab92eb895887d6d3db4b59332bc1e2516)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d1bf51217e8b4d54af28739d3271484ee5a7974)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* now without ${COREBASE}/meta in PSEUDO_IGNORE_PATHS after:
73d538f207 bitbake.conf: Prevent pyc file generation in pseudo context
the do_package tasks are failing when LICENSE_CREATE_PACKAGE is enabled
pseudo.log shows that it's because of license texts copied from
${COREBASE}/meta:
path mismatch [46 links]: ino 96733640 db '/OE/build/tmp-glibc/work/all-oe-linux/foo/1.0/image/usr/share/licenses/foo/generic_Apache-2.0' req '/OE/build/openembedded-core/meta/files/common-licenses/Apache-2.0'.
(From OE-Core rev: 0351d9936d2b4eb5072e834d2e7e881cd91f36c6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39423a33595e7ade82fc88f55823660f8532cb84)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also effectively reverts commit b6d30c21b0:
bitbake.conf: Extend PSEUDO_IGNORE_PATHS to ${COREBASE}/meta
The contents of ${COREBASE}/meta were ignored as pyc files could be
generated for the contents of the lib subdirectory if python modules
were imported within a pseudo context. However this doesn't protect us
from pyc files being generated in the lib directories for other layers.
It's far better to tell python not to produce pyc files when running
under pseudo (by setting the PYTHONDONTWRITEBYTECODE variable) as this
will cover any location where pyc files could possibly be created. This
variable is set in FAKEROOTBASEENV so that it applies to the
bitbake-worker instance for fakeroot tasks, preventing pyc files from
being generated for imports in python tasks themselves.
Also add a test case to ensure that pyc files are not created in tasks
which are executed under pseudo.
(From OE-Core rev: 109406724d29b289d19f87dfdf6604767157277a)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73d538f20743017a44cea4c20dbe09a0327cfc71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use oe.path.canonicalize() to canonicalize the paths in
PSEUDO_IGNORE_PATHS before passing them to pseudo. This is needed since
pseudo will compare them to paths that are canonicalized.
(From OE-Core rev: 037d601e0b22f191aa5748117f4ca626f64ad46f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f2a497daa09cf3459e27ad6e0e8513938b52c79)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe.path.canonicalize() is used to canonicalize paths (i.e., remove
symbolic links and "..", and make them absolute). It takes a string
with paths separated by commas, and returns the canonicalized path in
the same format.
(From OE-Core rev: 1b557583deb53462e1ed0f3afbe157a795e6c51c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 282b19c0e27488ec119f00fb2542ffdc1af54e2a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes setup.py can be buried deep in a source tree. This has
traditionally been solved with setting S to the subdirectory in
the source. However with the new pseudo changes, some python modules
make changes to files beneath ${S}, for example:
S = "${WORKDIR}/git/python/pythonmodule"
then in setup.py it works with source code in a relative fashion, such
as:
../../src
This causes pseudo to abort as it isn't tracking the paths. Therefore
implement the variable DISTUTILS_SETUP_PATH so that recipes can use:
S = "${WORKDIR}/git"
DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule"
inherit distutils3
This allows the full source tree to be monitored, while distutils
can run setup.py from a location other than ${S}.
(From OE-Core rev: ab15ec860a936c527484435f141ced300b9cb9dc)
Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddcc349cede0c4fe1909df1ded7b0a7c509cd758)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo-native is a bit special. It conditionally compiles in support for
xattr, statx and statvfs amongst other options. If a pseudo-native binary is
used on a system where these functions are present but it wasn't compiled in
we see hard to debug permissions problems.
An example is the devtool.DevtoolExtractTests.test_devtool_deploy_target
oe-selftest which shows a cryptic error:
File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/devtool.py", line 1388, in test_devtool_deploy_target
self.assertEqual(filelist1, filelist2)
File "/usr/lib64/python3.9/unittest/case.py", line 831, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib64/python3.9/unittest/case.py", line 1037, in assertListEqual
self.assertSequenceEqual(list1, list2, msg, seq_type=list)
File "/usr/lib64/python3.9/unittest/case.py", line 1019, in assertSequenceEqual
self.fail(msg)
File "/usr/lib64/python3.9/unittest/case.py", line 670, in fail
raise self.failureException(msg)
AssertionError: Lists differ: ['-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8'] != ['-rwxr-xr-x root root /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8']
First differing element 0:
'-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor'
'-rwxr-xr-x root root /etc/init.d/mdmonitor'
This is due to a version of pseudo without statx being used on a system where
ls uses statx, hence the files are displayed as 6000.6000 instead of root.root.
Avoid this by always building pseudo-native for the specific distro in question rather
than using a universal sstate feed.
This hopefully fixes one of the mysterious AB-INT issues.
(From OE-Core rev: 7c5881cf9baa7ea9fcfed382f24334cf8f96f9c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e3785a3f1f3cf68f5fe101cd6bebe91db165973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When ccache enabled as below:
INHERIT += "ccache"
CCACHE_DIR = "/path/build/ccache"
There comes do_install failure for some recipes randomly, take
linux-libc-headerswhen as example.
$ cat /path/build/tmp/work/corei7-64-wrs-linux/linux-libc-headers/5.8-r0/pseudo/pseudo.log
[snip]
path mismatch [1 link]: ino 243004209 db '/path/build/ccache/6/stats' req '/path/build/ccache/7/stats.lock'.
[snip]
Exclude ${CCACHE_DIR} from pseudo database to fix the potential
do_install failure.
(From OE-Core rev: 3a826c352c9c4f24fd2b3a4e67f60ff3496b4e0f)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b65e5280bf9e7f1f9c8e6acabab79bcf209e5342)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It failed as below when rerun do_install for tcl:
$ bitbake tcl
$ bitbake tcl -f -cinstall
[snip]
| NOTE: make -j 72 DESTDIR=/build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/image install
| abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
| /build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/temp/run.do_install.3490694: line 184: 3499214 Aborted (core dumped) make -j 72 "$@"
By default the S is ${WORKDIR}/${BPN}-${PV}, but after unpack,
the tcl source [1] unpacked to ${WORKDIR}/${BPN}${PV} and all the
files under ${WORKDIR}/${BPN}${PV} are acutally the source files.
But the the main Makefile.in is under ${WORKDIR}/${BPN}${PV}/unix
for tcl, so there is below logic in tcl recipe:
S = "${WORKDIR}/${BPN}${PV}/unix"
To adapt the potential pseudo changes, there is a general logic to
exclude ${S} from pseudo database in base.bbclass in [2]. That's to
say, just the dir ${WORKDIR}/${BPN}${PV}/unix is excluded from the
pseudo database.
But it's not enough for tcl, we need to exclude the actual source dir
${WORKDIR}/${BPN}${PV} from pseudo database specifically to fix the
above do_install failure.
[1] https://downloads.sourceforge.net/tcl/tcl8.6.0-src.tar.gz
[2] https://git.openembedded.org/openembedded-core/tree/meta/classes/base.bbclass#n396
(From OE-Core rev: 761079481f1a2517157f7f1551106ee0daee3a74)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d835f8069a336fd6bab1058d4e605a81c844212)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cannot use os.path.samefile, because S/B might not exist at this time yet
* there is issue with PSEUDO_IGNORE_PATHS when some recipe sets e.g.
S = "${WORKDIR}/"
whole WORKDIR gets added to PSEUDO_IGNORE_PATHS and then the build
can fail with various strange errors, in my case do_package was
failing when do_package calls:
fix_perms(.../1.0-r0/package/etc, 755, 0, 0, /etc)
and fails with "[Errno 1] Operation not permitted:"
(From OE-Core rev: bbc0bdd8e3f839a5f3b398668574fc6b157db381)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50b11a61ab29acb8ec990668353e0b7305114628)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer systems are using this currently unwrapped glibc function,
add it.
[YOCTO #14080]
(From OE-Core rev: 893f6700b21cdd86c05a1eb04f2c4849aca0b6f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cba4f51f0166e2c20e854ee0344be0c58769eaca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the recent path ignore changes, there are invalid entries in exiting
pseudo databases which will trip up users with the new abort() (proving
how common the pseudo potential corrpution is!). Inform them a clean TMPDIR
is needed.
(From OE-Core rev: 0453609c92cb637aadf97b2ea49f64c53f15f2d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 016ee90e210c9b15b80e8370d83f41a14867a413)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unfortunately, .pyc files can be generated in meta/lib/oe which corrupt the pseudo
database so we need to extend the ignore list to cover this as well.
(From OE-Core rev: 92153a9f1a7b7ea4013a2cab10134d3b70a98176)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0cb6dd689a362d8433caa14cc5a9fdd5eb44923)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is magic in the posts where specific variable names have specific
magic. For that magic to work, "path" needs to be used not "pathname" as
is currently there. Fix this, which fixes path issues on systems using
statx (Ubuntu 20.04 in particular).
(From OE-Core rev: 48f464f84e90354aa57ba4b9f10e01d3bd39403e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9ae80aee98a7bb59c83ac9ebf9d317302507cec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust wic to correctly handle the new PSEUDO_IGNORE_PATH variable and avoid
inode corruption issues.
(From OE-Core rev: 16fbe45f2e0e7621139ae26ace59889a91fceda2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13500f5234361385c365c7c35e83f99435500481)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the source of the rootfs is not a bitbake cooked image, or it is not
pointing to the root of one, we call pseudo again, which will produce
a new pseudo folder at rootfs/../pseudo
Eg:
part /etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --fstype=ext4
Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: b4393f56069801c014e736100dcdeab77e549f08)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 799a24ae78655f7a3eda7456b1a0ffaf3e43ec16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to support .wks files with multiple images inside bitbake we
need to explicitly set the pseudo database in use.
Eg: If we try this .mks:
part / --source rootfs --ondisk sda --fstype=ext4
part /export --source rootfs --rootfs=core-image-minimal-mtdutils --fstype=ext4
The username for all the files under /export will be set to the runner
of bitbake (usually UID 1000).
Before we run wic, we need to make sure that the pseudo database will be
flushed, and contains all the data needed.
Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 63bebeaf60757967b47cae1e24aa61ec5bcbd61b)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dde90a5dd2b22a539095d1bac82acc15c6380ac8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parameters include_path or exclude_path are passed to the rootfs
plugin, it will copy the partition content into a folder and make all
the modifications there.
This is done using copyhardlinktree(), which does not take into
consideration the content of the pseudo folder, which contains the
information about the right permissions and ownership of the folders.
This results in a rootfs owned by the user that is running the wic
command (usually UID 1000), which makes some rootfs unbootable.
This bug can be easily triggerd with the following .wks
part / --source rootfs --fstype=ext4 --exclude-path=home
And this sequence:
$ wic create test-permissions -e core-image-minimal -o test/
$ sudo mount test/test-permissions-202004080823-sda.direct.p1 /mnt
$ ls -la /mnt/etc/shadow
To fix this we copy the content of the pseudo folders to the new folder
and modify the pseudo database using the "pseudo -B" command.
If the rootfs is not a rootfs generated by bitbake a warning is shown
making the user aware that the permissions on the target might not match
what he expects.
WARNING: /tmp/test/../pseudo folder does not exist. Usernames and permissions will be invalid
Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 9ea7162e9efc29beacdf1c8f4ec98f4895dd5df6)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fd739c15cdba221d9d497d3402b7d929c0be2ca4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a pretty big change to the way pseudo operates when used in OpenEmbedded.
Normally, pseudo monitors and logs (adds to its database) any file created or
modified whilst in a fakeroot environment. There are large numbers of files
we simply don't care about the permissions of whilst in that fakeroot context,
for example ${S}, ${B}, ${T}, ${SSTATE_DIR}, the central sstate control
directories,
This change uses new functionality in pseudo to ignore these directory trees,
resulting in a cleaner database with less chance of "stray" mismatches if files
are modified outside pseudo context. It also should reduce some overhead from
pseudo as the interprocess round trip to the server is avoided.
There is a possible complication where some existing recipe may break, for
example, we found a recipe which was writing to "${B}/install" for
"make install" in do_install and since we listed ${B} as not to be tracked,
there were errors trying to chown root for files in this location.
This patch fixes a few corner cases in OE-Core when used with this new
ignore list:
* The archiver directory matched a "${WORKDIR}/deploy*" pattern so was renamed
to something else since that directory does need its root permissions
* The ${S} and ${B} ignoring is conditional on them being different to ${WORKDIR}
* package_write_* task output (the debs/rpms/ipks) are now owned by the build
user so we don't want the file ownership information in the hashequiv outhash
calculation even if they are built under pseudo.
* The fontcache postinstall intercept is run under qemu outside of pseudo context
so delete files it may delete up front where pseudo can see this.
* SSTATE_DIR is in PSEUDO_PATHS_IGNORE, which is in FAKEROOTENV which is cached
by bitbake. We therefore need to trigger reparsing if this changes, which means
SSTATE_DIR can be in BB_HASHBASE_WHITELIST but not BB_HASHCONFIG_WHITELIST.
Rework the variables to handle this. This otherwise breaks some of our sstate
tests in oe-selftest.
* Ignore the temp directory wic uses for rebuilding rootfs.
(From OE-Core rev: 61f8cf0940f8b05e9399a062eddb8055ea69bc5e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad8f5532ffaead9a5ad13e1034fe9e5e1b7979f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a path to fix up handling of dirfd being passed as a full file
and with path="".
(From OE-Core rev: 07ca0b87e0fa3f783ecce7f09f8800b1a6eb668e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3006bbe7768e4efe33d3d2d3f5786a561ecbe96f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark files which are unlinked (nlink == 0) but open with fd's as
"may-unlink" to avoid problematic database entries.
(From OE-Core rev: 2856c4f514ddf1c28eb6e59e0ab4f11621fb5856)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1e481f3608c05ab14c61bf45cd0837d7287b6a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a NULL pointer dereference exposed by the path ignore code in
xattr handling.
(From OE-Core rev: 4e698300a602b484bd70e76dfc66fb2e420f7fe4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 929a27bf6cbca94d1141d2094ae0c915d93bd3f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where files are link()'d and one is unlink()'d, pseudo's fd mappings
can become confused. Add a patch to try and improve this for the common
usecases we see.
(From OE-Core rev: 09da51d69e1ead6dc7b41034f1dee05e1c98078b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9ce621fa2099608ca0ccbb8420b31d71cdd7b00e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than doing what turns out to be a rather dangerous "fixup" if
we see a file with a different path but the same inode as another file
we've previously seen, throw and abort. Direct the user to a wiki page
where we can maintain information about what this error means.
(From OE-Core rev: 3e822ccf93746931a49e0bf3671982e0dff910ea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2db491d97da08d44ebd257f98489550a82a7935c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PSEUDO_IGNORE_PATHS, a comma separated list of path prefixes, where
any files underneath are not handled by pseudo. This allows files to
be left out of the pseudo datanase where we know we don't need the
fake root emulation. This is particularly useful if we know these files
can be deleted outside of pseudo context.
(From OE-Core rev: 6166ea35d44accbf39ac67878acbe6447272d227)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8defb687a2c0ffac232c4d0d63a590871c453a2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, where pseudo finds a database entry for an inode but the path
doesn't match, it reuses that database entry metadata. This is causing
real world "corruption" of file attributes.
See [YOCTO #14057] for an example of this.
This can happen when files are deleted outside of pseudo context and the
inode is reused by a new file which pseduo then "sees".
Its possible the opposite could happen, it needs to reuse attributes
but this change would prevent it. As far as I can tell, we don't want
pseuo to reuse these attributes though so this code should be safer
and avoid bugs like the above.
(From OE-Core rev: 064eb959c38ae10dcb99b750c6bf6112de6c29d5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c13149b81e03a1ac48b27a208a139d5493c3ce7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pseudo tests for an item being renamed to itself only after
information about it has been deleted. Move the test to before
we change the database.
Note that pseudo does not support renameat2(), but neither does
glibc.
(From OE-Core rev: 771f8755db3a612c2c438367e8a49f190d4b9d8e)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b3d109f42385ad1cf1f297a6c06ea7eb6509f26)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds in support for the OFC fcntl ioctl lock flags, removing
warnings on some more recent linux kernels.
(From OE-Core rev: 7d35b29add0d0baf786c3f2382492b44f16b4dba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 234168f803bee2e5b0955aabaddb1d967349fb82)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have a significant number of outstanding patches to pseudo. Rather than
queue these up as patches, create a branch in the upstream repo and use that
until such times as we have someone with the time/skills to properly review
these for master in the pseudo repo.
(From OE-Core rev: 1f26db1ffd0ce080d432434137482a71b401f77a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f09088eaa803ce396726368626a35dee70168d91)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
None is a bad choice of return value for functions used in variables
(strings) as a failure results in concatination errors. Use a string
with a clear meaning that can be searched for instead.
(From OE-Core rev: b286258fc2f6974a88ebd90d3c2f9465437cfcfd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The get_hash() function is used to decide if the base configuration has changed
and hence whether a reparse is required. The vardepvalue flag's value was not
expanded but it is often used in contexts like:
METADATA_REVISION = "${@base_detect_revision(d)}"
METADATA_REVISION[vardepvalue] = "${METADATA_REVISION}"
which in it's unexpanded form means reparsing doesn't happen when it should
as the data appears unchanged. Update get_hash to expand the values of
vardepvalue so reparsing works as expected. This avoids basehash mismatch
errors such as the one recently caused by using METADATA_REVISION in poky.conf's
DISTRO_VERSION variable. The issue there could be exposed by a recipe using
DISTRO_VERSION with the sequence:
bitbake os-release
<change the revision of the metadata with a dummy commit>
bitbake os-release -C install
which was caused because METADATA_REVISION changed but the metadata didn't reparse.
(Bitbake rev: 418c00c570a60845556204b4f52de047b284dd8e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE only applies to the load_ppp_generic_if_needed patch applied by
Ubuntu. This patch is not used by OpenEmbedded, so the CVE does not
apply.
(From OE-Core rev: 897822233faef0f8f35dc1d8a39e1c4bc0550f1e)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
backport CVE-2020-8284 fixes from upstream, but drop
binary file tests/data/test1465.
upstream fixes for CVE-2020-8231, CVE-2020-8285 and CVE-2020-8286
does not applies cleanly to 7.69.1, fedora have working patch
hence import patch from Fedora.
https://koji.fedoraproject.org/koji/rpminfo?rpmID=24270817
(From OE-Core rev: 16ec5dea53d24cc1449d173912c1056c873fa98d)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Waf typically uses `python` as the intepretter but inside a task this
does not exist. Typically this is solved by patching waf (see the
glmark2 recipe) but not all versionf of Waf support Python 3 so we can't
assume a specific interpretter.
Instead, create a new variable WAF_PYTHON for the correct interpretter,
and default this to `python3`. If the user has a recipe that needs
Python 2 then this can be changed in the recipe.
(From OE-Core rev: 802e80d35e6374b9b80f89068d00b84fe2d04ca1)
(From OE-Core rev: 3ad272ba25c4eba063f372f3bf8c1d3e94e2a966)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85b6301c61)
[Fixes build issue on Ubuntu 20 with mvp
https://github.com/openembedded/meta-openembedded/issues/304 ]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds variables that can be used to allow a recipe to pass extra
arguments to `waf build` and `waf install`. In most cases, you want to
pass the same arguments to `build` and `install` (since install is a
superset of `build`), so by default setting EXTRA_OEWAF_BUILD also
affects `waf install`, but this can be overridded.
(From OE-Core rev: 493e17a2f5cbbbe3b1e435dadb281b007bca2cbf)
(From OE-Core rev: 84a2778a6c03c942fd61f630d0c82d6ea29717e1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 633652284b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch makes gcc produce broken code. It is unclear why it is there
in the first place. Drop it.
(From OE-Core rev: 5d3354a1f03f17668c393049928375335059d4e5)
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f3cace37496fe1dc4fd045f688f7d441505c437)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In cmake.bbclass we set CMAKE_BUILD_PARALLEL_LEVEL using parallel_make
function and if PARALLEL_MAKE is set to empty string then this variable
is exported as "None" causing cmake to fail with:
"'CMAKE_BUILD_PARALLEL_LEVEL' environment variable
invalid number 'None' given."
(From OE-Core rev: 56638a04899e35278c650da9929541ad7aafd4aa)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f790ded554a52ac18d1c28002142f9c62abec8b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extracting SDK archive may fail if the script is run using a path with
special characters such as space or asterisk. This is because the shell
interprets such characters after expanding the $0 variable.
Added quotes to all uses of the shell variable $0 to fix this.
(From OE-Core rev: 84bdeabd40183006d136f0ae416efa5f71e3557b)
Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0453acbbd45604537090ec7a3295b34309e6eecb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a crash with "find" when running a native tool and *-native
directories do not exist under the binary directory in the sysroot.
This happened because the directory wildcard was passed as part of the
root directory.
The directory wildcard is now passed by "-name", which returns an empty
result if no matching directory.
(From OE-Core rev: d5cb96e3b5501b7349d075c47636902c9ce1c49c)
Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Change-Id: Iba7acd8bbd7e0beb4d25c984f6af7a4fd21486e6
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6c90ed0ad24b7d4f892e22e088b1578824eb1d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Resolve a build bug where image recipes with a do_deploy task will fail.
If the image recipe inheriting license_image.bbclass has a deploy task, then
the function get_deployed_dependencies will add itself to the list of recipes
to get license information for.
However, image recipes don't generally deploy license info so this results in
an error.
File: '/nvme/poky/meta/classes/license_image.bbclass', lineno: 192, function: license_deployed_manifest
...
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/nvme/poky/build/tmp/deploy/licenses/core-image-minimal/recipeinfo'
Add a corner case to exclude the originating image recipe from the list of
dependencies to check.
(From OE-Core rev: 444118a185ff6cdd20ad0a10ffae7edfa9ab18c4)
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13fb39e49e55a0bc7c78b0bfdc372163b3f9e70a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous message was fairly useless without diving into the bbclass.
(From OE-Core rev: 7dfef3de5811002c7cab17c5eb2801e5a55a3a4d)
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef6117b148be65536e89409a83cbfd22049c652e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The toolchain-shar-extract.sh script updates the SDK relocation paths in
post-relocate-setup.sh, so avoid doing this twice. This is generally not
a problem, unless the SDK path is a subset of the SDK relocation path, in
which case the resulting path is substituted twice. To trigger the issue,
$ ./tmp/deploy/sdk/poky-glibc-x86_64-core-image-base-core2-64-qemux86-64-toolchain-3.2+snapshot.sh -y -d /home/oe/.local/opt/poky/3.2+snapshot
which generates relocation path
/home/oe/.local/home/oe/.local/opt/poky/3.2+snapshot
instead of
/home/oe/.local/opt/poky/3.2+snapshot
Fixes: 93ec145f42 ("toolchain-shar-extract: Add post-relocate scripts")
(From OE-Core rev: 6c3c6d9c3addaaf942e8f029b44dc17fb3aa19fd)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Krzysztof Zawadzki <krzysztof.zawadzki@nokia.com>
Cc: Randy Witt <randy.e.witt@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5000aabe6ac336e7b424dafa1bf76271dee6a6f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The $target_sdk_dir path might contain special characters, for example if
the path is /opt/poky/3.2+snapshot . Prevent grep from interpreting those
as part of the regex by using the -F parameter and multiple -e parameters
to specify which strings to filter out. Also note that the previous regex
was using asterisk as wildcard (e.g. environment-setup-*), but that should
have been regex (e.g. environment-setup-.*, with dot) to match correctly,
this is also fixed by this change.
Fixes: 9721378688 ("toolchain-shar-template.sh: Make relocation optional.")
(From OE-Core rev: cf21f0c99676793c7adf95b3dc72c42ab24e13a2)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Krzysztof Zawadzki <krzysztof.zawadzki@nokia.com>
Cc: Randy Witt <randy.e.witt@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 19d9fa7ab6c851000bc5d24281739e1b2bb8f057)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As for the sources the dependencies contain test data, ELF files and other
binaries which aren't necessary for building and which lead to unnecessary QA
warnings.
(From OE-Core rev: ea5bd7d3eac87dfb145f98c697f356eb84c9b0ec)
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7faea9766127fe4e1023c89b140cc98020655155)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump the current version to 3.1.5
(From yocto-docs rev: b367b2ece436cdd86f8408fbec1b263e03ed4267)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The oe-selftest code already keeps the selftest build directory in place
if any tests failed. By default the build directory is deleted if all
tests pass but there may be cases where it's desirable to keep this
directory around, for example to compare intermediate files between
passing and failing test runs.
(From OE-Core rev: 51fa76c699517ad63f8d6c4db4b6938d894f5c6c)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67aa7069dbe8f5f5f186eb67708ece5c4bd42976)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The integrated Tcl/Tk module was removed in Ruby 2.4[1] back in 2016, so this
build dependency can be removed.
[1] 303dc3c591
(From OE-Core rev: 832e9e6bac91755f6a6a8ab9af0e48c189d3e493)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f4e181924a83d7b26b11de765c202a9bd036f64)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To quote Zhuang <qiuguang.zqg@alibaba-inc.com>:
"""
A few days ago, I tried to compile a gcc plugin with the toolchain from poky sdk.
It failed with errors about missing header files such as backend.h etc.
After investigation, I found that the problem was brought by a gcc patch:
0012-gcc-Fix-argument-list-too-long-error.patch (which is considered derived from the original patch)
- headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \
+ headers="$(sort $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def))"; \
It changes the commands of install-plugin, making the sorting taken effect before the shell globs.
Thus results in the header files under gcc $(srcdir) being not installed.
By checking log.do_install, we can find that the `headers=' statement to run is incorrect and will not work as expected:
headers="$(cd *.def) *.h ../../../../../../../work-shared/gcc-10.1.0-r0/gcc-10.1.0/gcc/../include/ansidecl.h ...
As the patch says,
"The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, ..."
my suggestion is that we can simply take care of PLUGIN_HEADERS
using the original proposed sort.
"""
This fixes the gcc patch as proposed as it does appear its been
broken over time.
(From OE-Core rev: dce28d8ac7fbae487cb6674b91fe2b574036b26d)
(From OE-Core rev: cfa92a4d57f49188ca7b568e2003e4a11526fc95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 94eb5724b1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Brings in a number of fixes from upstream stable tree:
$ git log --format="%h %s" v244.3..v244.5
3ceaa81c61 kernel-install/90-loaderentry: fix when /boot is not mountpoint
ecbb5a4f67 nspawn: fix fd leak on failure path
a09947ddd4 nspawn: check return of setsid()
334f8e2e8f dissect: is_loop_device() returns negative on error, don't mistake that is true
b6efbbfb00 dissect: always invalidate secondary arch partitions if we found primary arch
dc5c5cd5c8 util: wireguard is merged into upstream kernel
6349956dda fstab-generator: add 'nofail' when NFS 'bg' option is used
f4777883f9 busctl: add missing shortopt -l
9f6249eb7f bootctl: handle if LoaderSystemToken is invalid for some reason
bda316cc0a hashmap: make sure to initialize shared hash key atomically
b80ea9e3da backlight: do not claim that ID_BACKLIGHT_CLAMP= property is not set
c829f6e7ca coredump: don't convert s → µs twice
bb9d872398 firstboot: fill empty color if ansi_color unavailable from os-release
156570cc77 resolved: make sure we initialize t->answer_errno before completing the transaction
02bba02fa6 src/shared/dissect-image.c: fix build without blkdid (#16901)
13cb598631 analyze: fix error handling in one case
6ab20e9f3b units: add missing usb-gadget.target
9ef259dd4d login/logind: Include sys/stat.h for struct stat usage
7762e59fd4 partition/makefs: Include missing sys/file.h header
3528ace8fb networkctl: label command does not take any argument
34b4dc64c6 missing: Add new Linux capability
ba28e6fc45 tty-ask-pw-agent: properly propagate error
7b6e0f74f2 tty-ask-pw-agent: the message string might not be set
0bfe4bd39b tty-ask-pw-agent: make sure "--list" works correctly
0783b4f8ce path: Improve $PATH search directory case
d0735d81d4 path: Skip directories when finalising $PATH search
436872f995 rules: don't install 80-drivers.rules when kmod is disabled
342dc4c15f zsh: correct journalctl command completion parsing
fec0bb6df4 basic/missing_syscall: fix syscall numbers for arm64 :(
bea900bb31 shared/install: fix preset operations for non-service instantiated units
677fb2b663 user-runtime-dir: deal gracefully with missing logind properties
11a97bc230 shared/seccomp: do not use ifdef guards around textual syscall names
d411a4d6a6 machine-id-setup: don't use KVM or container manager supplied uuid if in chroot env
9b078df0ba analyze-security: do not assign badness to filtered-out syscalls
da0cc77b52 load-fragment: fix grammar in error messages
74d7c53e5f test: accept that char device 0/0 can now be created witout privileges
5c35bcf329 tools/make-man-index: fix purpose text that contains tags
da1eb548fb Newer Glibc use faccessat2 to implement faccessat
b44e86ef76 bless-boot: add missing verb to --help
88b6379bcd fix typo in systemctl help
d091e19bbd _sd-common.h: avoid parsing errors with Coverity
d56055f47f nspawn: Fix incorrect usage of putenv
674a2beff0 udev: fix codesonar warnings
16477684d2 sd-boot: fix -Wpointer-sign warning
cc8aeb9916 network: fix static assertion on IPPROTO_MAX range
f047b0706c sd-boot: fix menu ordering with boot counting
896de33984 tests: add a testcase for https://github.com/systemd/systemd/issues/15885
bbc6ff960a network: Fix crash when SendOption= is invalid
1599741b55 kernel-install: strip BOOT_IMAGE= from kernel options
1d1f5006cb basic/user-util: always use base 10 for user/group numbers
b07d782047 parse-util: backport safe_atou32_full()
7bc54463ce Fix build with µhttpd 0.9.71
b074499894 random-seed: add missing header for GRND_NONBLOCK (#14988)
ec9fd71358 makefs: strdup arguments to mkfs
efd5b1d443 network-generator: allow empty hostname
c188248371 network: DHCP lease load SIP copy paste error
cd7d8bb962 davfs is a network file system
6aae7f596a logind: log a more accurate error when we failed at session creation
f4d5928122 docs: Add syntax for templated units to systemd.preset man page
148f7b147a man: add a tiny bit of markup
dbe16df9cd test: wait a bit after starting the test service
a713f52ddb fix journalctl regression (#15099)
49e7c3b617 core: transition to FINAL_SIGTERM state after ExecStopPost=
d25598854d journalctl: show duplicate entries if they are from the same file (#14898)
037a0fa5d0 udev: fix SECLABEL{selinux} issue (#15064)
9de06cd65a dissect-image: avoid scanning partitions
fa65938017 test: ignore IAB capabilities in `test-execute`
16cac70094 Support compiling with clang and gnu11 standard
1ea52d91c8 Typo fix
869614a551 boot: Ensure ARM UEFI binary does not contain FP/SIMD instructions
Patches CVE-2020-13776.patch and systemd-udev-seclabel-options-crash-fix.patch
can be dropped as they are already applied in 244.5 upstream release.
Not needed on master branch or gatesgarth as they run newer systemd version 246.
Tested on an ARM64 target with automatic tests which are passing on our side.
(From OE-Core rev: 0c5151a7ec6ac0aaed1bc56ebb89f17442683072)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously install-sh was used, which is installed by autoconf so isn't
a relevant license.
Also remove S assignment, as that's the default.
(From OE-Core rev: 017d9626a7b7f2cb72d3215be8242aea52f1e4c5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23cb39a5fa2a55681e7bc2605f435135cec9173b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A test is implemented on poky/meta/lib/oeqa/selftest/pkgdata.py to test
the scenario when oe-pkgdata-util is executed without parameters and
help is displayed.
See [YOCTO #10726] for detailed bug information.
(From OE-Core rev: 59272d46d61b3328ebd5c72d702d7e5b368afeb4)
Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b4e2eafa6eb71ca94ccc8a18d05b473b352367c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
19d1c763e849 Linux 5.4.85
484ac6279ad2 x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled
eb3f42cf5e67 x86/resctrl: Remove unused struct mbm_state::chunks_bw
c4f909407015 membarrier: Explicitly sync remote cores when SYNC_CORE is requested
a840e37ef800 Revert "selftests/ftrace: check for do_sys_openat2 in user-memory test"
aa17a20d640d KVM: mmu: Fix SPTE encoding of MMIO generation upper half
bb07f4c93e62 serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access
14482dc42c28 ALSA: pcm: oss: Fix potential out-of-bounds shift
c94a31c19225 USB: sisusbvga: Make console support depend on BROKEN
4ad8fc6cce01 USB: UAS: introduce a quirk to set no_write_same
397d0ae4cb90 xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP
32c820e016b4 xhci: Give USB2 ports time to enter U3 in bus suspend
5828ae0c1920 ALSA: usb-audio: Fix control 'access overflow' errors from chmap
e72a55ea7168 ALSA: usb-audio: Fix potential out-of-bounds shift
56339afa39e5 USB: add RESET_RESUME quirk for Snapscan 1212
52c2ada6fe5e USB: dummy-hcd: Fix uninitialized array use in init()
497993377bca ktest.pl: If size of log is too big to email, email error message
a8d28a541500 net: stmmac: delete the eee_ctrl_timer after napi disabled
ee08543f4598 net: stmmac: dwmac-meson8b: fix mask definition of the m250_sel mux
5ae78c6926cc net: ll_temac: Fix potential NULL dereference in temac_probe()
717a140a3635 net/mlx4_en: Handle TX error CQE
d0363dcabbd1 lan743x: fix for potential NULL pointer dereference with bare card
d4107a0f8802 net/mlx4_en: Avoid scheduling restart task if it is already running
add880d788f0 tcp: fix cwnd-limited bug for TSO deferral where we send nothing
5189c070a0d7 tcp: select sane initial rcvq_space.space for big MSS
318d90218b21 net: stmmac: free tx skb buffer in stmmac_resume()
d8d39e13668a bridge: Fix a deadlock when enabling multicast snooping
cb327f83cf5e enetc: Fix reporting of h/w packet counters
408c8213ee97 udp: fix the proto value passed to ip_protocol_deliver_rcu for the segments
f7a756fc7cb9 net: hns3: remove a misused pragma packed
2ef23e860e76 vrf: packets with lladdr src needs dst at input with orig_iif when needs strict
cae90bd22cff net: bridge: vlan: fix error return code in __vlan_add()
2e6a15b0b3d4 mac80211: mesh: fix mesh_pathtbl_init() error path
1fe6b822b335 ipv4: fix error return code in rtm_to_fib_config()
8b4f08f28015 ptrace: Prevent kernel-infoleak in ptrace_get_syscall_info()
8a866bdbbac2 Linux 5.4.84
c2c5dc84ac51 compiler.h: fix barrier_data() on clang
69dc72f058c9 mm/zsmalloc.c: drop ZSMALLOC_PGTABLE_MAPPING
3349f1e4cf6d x86/apic/vector: Fix ordering in vector assignment
e3c1d51868f3 x86/membarrier: Get rid of a dubious optimization
6346ed69bc7c x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP
258d646f006b scsi: be2iscsi: Revert "Fix a theoretical leak in beiscsi_create_eqs()"
7d5fc53439a1 proc: use untagged_addr() for pagemap_read addresses
6472d3ae6ef5 kbuild: avoid static_assert for genksyms
0cd7084a2a03 drm/i915/display/dp: Compute the correct slice count for VDSC on DP
60c1c68fae5e mmc: block: Fixup condition for CMD13 polling for RPMB requests
974aa59837ed pinctrl: amd: remove debounce filter setting in IRQ type setting
457f5289b7e7 Input: i8042 - add Acer laptops to the i8042 reset list
cf596f3906e9 Input: cm109 - do not stomp on control URB
d2d113aca34f ktest.pl: Fix incorrect reboot for grub2bls
181088e37b1d can: m_can: m_can_dev_setup(): add support for bosch mcan version 3.3.0
38b1dbc1229c platform/x86: touchscreen_dmi: Add info for the Irbis TW118 tablet
2fa99f6f8f60 platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC
21aa2d1f2bfb platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE
010e6e816f54 platform/x86: thinkpad_acpi: Add BAT1 is primary battery quirk for Thinkpad Yoga 11e 4th gen
4778a11e0500 platform/x86: thinkpad_acpi: Do not report SW_TABLET_MODE on Yoga 11e
eb5e28ffe39a arm64: tegra: Disable the ACONNECT for Jetson TX2
c7e271337402 soc: fsl: dpio: Get the cpumask through cpumask_of(cpu)
37aa8318ed43 spi: spi-nxp-fspi: fix fspi panic by unexpected interrupts
864fbeab8c99 irqchip/gic-v3-its: Unconditionally save/restore the ITS state on suspend
47fac0ccf775 ibmvnic: skip tx timeout reset while in resetting
c0450df6d0f7 interconnect: qcom: qcs404: Remove GPU and display RPM IDs
adad2bc9f303 scsi: ufs: Make sure clk scaling happens only when HBA is runtime ACTIVE
b184e9800867 ARC: stack unwinding: don't assume non-current task is sleeping
8ed74a012206 arm64: dts: broadcom: clear the warnings caused by empty dma-ranges
acac3f7d7d22 powerpc: Drop -me200 addition to build flags
8012a30b9e16 iwlwifi: mvm: fix kernel panic in case of assert during CSA
c90527770b88 iwlwifi: pcie: set LTR to avoid completion timeout
d411a07d6c04 arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
0e6cae4e8181 iwlwifi: pcie: limit memory read spin time
591afbc97c18 x86/lib: Change .weak to SYM_FUNC_START_WEAK for arch/x86/lib/mem*_64.S
018b05e0f05b Kbuild: do not emit debug info for assembly with LLVM_IAS=1
(From OE-Core rev: c9908ddd3c0600376897de588f635c19535a8d22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 3dd19af60e5e4059ce7c7a67ff16fba1cb00de80)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "CVE:" line in the patch for CVEs 2020-14309, CVE-2020-14310, and
CVE-2020-14311 had commas between the CVE numbers, which resulted in
CVE-2020-14310 not being picked up as patched by cve-check.bbclass's
parsing. Remove the commas to match cve-check.bbclass's expectations.
(From OE-Core rev: d686a3eb928d316a4e53979fda48b205ba9104bc)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 396d5c0f9cffa4b54ae94738b1ef2b6fb545f082)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch from
bdd3acbd48
image file in upstream patch is for test purpose only, it cause error during
do_patch so drop it:
File tests/test-images/fail/hang_114.gif: git binary diffs are not supported.
(From OE-Core rev: 710aa67534d569a19fbe371e87e758bb08499ecc)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7cd401b7c60dba91f6fb10395ab4a10a267cf23d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Executing a sequence like:
bitbake man-db
bitbake man-db -c clean
bitbake man-db -c package_write_deb -f
results in the ownership of files in the man-db package changing from "man/man"
to "6/12". This is due to base-passwd not being installed in the recipe
sysroot.
Add the missing dependency so even if a recipe "re-packages", the name
of the user/group is found and the packages are reproducible.
[YOCTO #14172]
(From OE-Core rev: b8c71ab1bd8519dde77b38955473bc3b45976d48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 769f8be29a192fd4fa0c4752f851fa3728d71179)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vfat/msdos filesystem should have fsuuid in format 0xYYYYYYYY where "0x"
in front follow with 8 hexadecimal number in uppercase. In wic, when using
custom fsuuid for vfat/msdos partition in wks, it is able to set the value
in any length, with or without leading "0x". This can cause fsuuid
missaligned when fstab updates, fstab expect exactly 10 character
fsuuid for vfat/msdos partition and all in uppercase.
if custom fsuuid for vfat/msdos is set, check the length and format,
error if it exceed the format size. Amend it so it is align with format
0xYYYYYYYY. This is done before image create and fstab update to ensure the
fsuuid are same in all followup process. if custom fsuuid length less than
expected, fill in "0".
[YOCTO #14161]
(From OE-Core rev: 974e09f3460a27c85a599d8269e3dea66df5ddd2)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9686ae511ef10a504becfd81bfe296b788e1456)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
Volgograd switches to Moscow time on 2020-12-27 at 02:00.
Changes to future timestamps
Volgograd changes time zone from +04 to +03 on 2020-12-27 at 02:00.
(Thanks to Alexander Krivenyshev and Stepan Golosunov.)
Changes to past timestamps
Correct many pre-1986 transitions, fixing entries originally
derived from Shanks. The fixes include:
- Australia: several 1917 through 1971 transitions
- Bahamas: several 1941 through 1945 transitions
- Bermuda: several 1917 through 1956 transitions
- Belize: several 1942 through 1968 transitions
- Ghana: several 1915 through 1956 transitions
- Israel and Palestine: several 1940 through 1985 transitions
- Kenya and adjacent: several 1908 through 1960 transitions
- Nigeria and adjacent: correcting LMT in Lagos, and several 1905
through 1919 transitions
- Seychelles: the introduction of standard time in 1907, not 1906
- Vanuatu: DST in 1973-1974, and a corrected 1984 transition
(Thanks to P Chan.)
Because of the Australia change, Australia/Currie (King Island) is
no longer needed, as it is identical to Australia/Hobart for all
timestamps since 1970 and was therefore created by mistake.
Australia/Currie has been moved to the 'backward' file and its
corrected data moved to the 'backzone' file.
Changes to past time zone abbreviations and DST flags
To better match legislation in Turks and Caicos, the 2015 shift to
year-round observance of -04 is now modeled as AST throughout before
returning to Eastern Time with US DST in 2018, rather than as
maintaining EDT until 2015-11-01. (Thanks to P Chan.)
Changes to documentation
The zic man page now documents zic's coalescing of transitions
when a zone falls back just before DST springs forward.
(From OE-Core rev: a787dc37d47e1ccab11c7d867721d832ee57d73a)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9d7643339b4db6609b2bad1f76599a54da9d17f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the ordering in the generated unidata.c file to aid reproducibility.
[YOCTO #14167]
(From OE-Core rev: 0071fbd646208357e4f9117a6ce7653a8f30f301)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9c9f7604fd32ef926726a46ae053bbab6ccb4f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If variable is set to empty string the comparison is "if [ -eq 1 ]"
which fails with "[: -eq: unary operator expected".
(From OE-Core rev: 5bbafa99ec76a197e433ae3fb1ee44da7be398a5)
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 36a2dc83fd0e1d6e2b8441e24a4cbc48a6c4fc19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Support for gdbm was made optional in 3260ad9e, but it was still being
used unconditionally.
(From OE-Core rev: d4efeada4b8011f18a1ba9464c70e1a2ebe33d3b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09d303ca295dc27874c72b30c37a64d1fdf4c5c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid command not found errors shown in selftest logs due to changes to PATH
settings which also risks intermittent problems due to IO load.
(From OE-Core rev: e2814ca1105e6ed9b688f2e8e6a48dff0c7d402f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40bcae01b0be2f293dea9ab42c6b7f8f47827cf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I don't know what these variables were supposed to do, but there doesn't
seem to be anything that would use these variables, so removing them
should be safe. The PulseAudio recipe is the only place where these
appear in the repository.
These lines were included already in the original PulseAudio recipe that
was added in commit d9a4c588ef in 2007,
and already at that time there didn't seem to be anything using these
variables.
(From OE-Core rev: 0e0b43bf902963677c03b8e3ce7b976ae81158ae)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a0b9209a366de7a2aed9b23a337b4ffdba61abe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using coreutils nativesdk (e.g. with buildtools-tarball) for
running oe-core builds, a number of recipes/classes/etc. expect xattr
support. This requirement is also expressed by the existing
PACKAGECONFIG_class-native default including xattrs.
(From OE-Core rev: 93856de6814a013eccbfac6b3b9bb75cf0655964)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80d7debffdeed165006b26dcb89cffafaaecca06)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Following other examples, only depend on syslinux when targetting x86.
(From OE-Core rev: 4d4b907554ab964e6b68f3d588d398174b5d5459)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c58fcc1379ca5755a5b670f79b75e94370d4943c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is primarily *appending* configuration entries to the
overrides, it only gets it to ensure it's set at all, so doesn't belong
in the vardeps. Having a dependency on OVERRIDES means you cannot use a
bbclass like distrooverrides without changing the signatures of recipes
using this class.
(From OE-Core rev: 4e95f91f4a65cb97b37529e49d18279772858308)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fef74d3651d432977caef8fea54fc54bf2784a74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function is primarily *appending* configuration entries to the
overrides, it only gets it to ensure it's set at all, so doesn't belong
in the vardeps. Having a dependency on OVERRIDES means you cannot use a
bbclass like distrooverrides without changing the signatures of recipes
using this class.
(From OE-Core rev: 938dc131956bbc508c813c0a4fa0ff4791dc6cc6)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fad5db8c3275a0dc9fdb37761f2e9381e1413da)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On one of my buildservers I noticed perl do_install failing with the
following message:
| rm: cannot remove '<OEROOT>/tmp-rpb-glibc/work/armv8-2a-linaro-linux/perl/5.32.0-r0/image//usr/lib/perl5/5.32.0/*/CORE/libperl.so': No such file or directory
I tracked this down to shell being dash rather than bash not being able
to expand this glob in the middle of the filename. So replace the glob
expansion with the simpler one which works in all cases.
(From OE-Core rev: 92cd97616f68dfd2fea2ad039c892d3faf1a0f32)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1ea1b5c12120abdd085dc4eb69120af9258a99b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default ncurses includes the values of LDFLAGS in its output
pkgconfig .pc files. This causes issues because OE includes options that
are specific to either the build host, or build configuration. These
options are not expected to be embedded in the pkgconfig output that is
installed.
Specifically this change resolves issues with uninative, where uninative
includes '-Wl,--dynamic-linker=' in LDFLAGS in order to force the
building and execution of native binaries against the dynamic linker
provided by uninative. This path is specific to TMPDIR at the time of
build, such that the installed files (and the associated sstate) have
this path. This prevents the sstate from being portable across build
directories/hosts.
(From OE-Core rev: 7b84c9ea009b5452a21233483516de5e070fbe82)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef960d14bd9cecb9a3b50994636fbd455f06104a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of having a config.cache that overrides the system site files,
simply set the values in CACHED_CONFIGUREVARS. We can also drop the
mkstemp check as the configure.ac assumes it works, leaving just
nanosleep.
(From OE-Core rev: d095c3f88e8a3c64e4db07c010d6cf2de373ce7f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c30c90e3adfa91407c37838c971e251f8482e2b8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when ncurses-terminfo-base is not installed:
$ minicom
No termcap database present!
(From OE-Core rev: ff5c13bb0b8d7e792b0db829d34ee58b332183e5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15198ebe8a0fc58c2d1122b956fca092c66a0d41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when ncurses-terminfo-base is not installed:
$ infocmp
infocmp: couldn't open terminfo file linux.
The required file is in ncurses-terminfo-base
(From OE-Core rev: c172e9c27c4504c7b1c941693ab9af5e86dea64f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3e0a6bf1b7d9009c253e3f97df8736ecf3aa79b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only added ${SDKPATHNATIVE}/usr/bin to PATH which didn't work when files
were installed to other bin dirs such as /bin or /sbin, for example,
nativesdk-pigz installs the files to /bin, now fix it to keep align with sdk's
PATH.
(From OE-Core rev: f3c6fd8bbdc8883f86c1472c951aa0725cdd3eac)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67cac575a5696af5bad1aab888b65ea2686adff7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To correctly create the modules.dep when it is empty, we need to call depmod
with '-a' instead of '-Ae' since the quick option uses the mtime to decide
whether or not it needs to update. This way we can guarantee that it will be
recreated completely and not only when adding new modules.
(From OE-Core rev: 37c9cb2ed8920bd51f176d78cb505642afa9b472)
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9292e9050fd95be4b556909e2775a45bce1ca79a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From sphinx-build man page:
-j N build in parallel with N processes where possible
(special value "auto" will set N to cpu-count)
(From yocto-docs rev: f83b7921f99a1e1f448c2694184dd72e8f09c2d2)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1847aeea8b88c84f821610803264955e51e31d2f)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default PDF output shows only chapter headings in the table of
contents and in the outline (aka PDF bookmarks). We should override
these defaults to set something more suitable.
With a depth of 2 for the TOC we see both section and subsection
headings which is enough to get the list of classes in the reference
manual and the list of topics under "Common Tasks" in the development
manual. Going to a deeper level would make the TOC unwieldy but we do
want to make sure we can navigate more precisely using the outline
(commonly shown in a left tab in PDF viewers) so we set the depth to 5
for the outline.
(From yocto-docs rev: f74238d08163f6fc45939422ae96a3d69c0e4449)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5db16d3b01da0a138b6413347fcf2321a1bfae08)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are plenty of variables in poky.yaml which are not used anywhere
in the docs. So let's remove them. We can always add the one we need
later.
Note ORGEMAIL could be used in boilerplate.rst, however this file is
not parsed but included, and somehow the yocto-vars.py exenstion does
not process this file, so we cannot use a variable there.
(From yocto-docs rev: 4c72a3b1a8e7b0d3164ef23cf47898834837b9d3)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1164d2e6401d93e0b4e484b090abbe0f72a6ac7)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a Pipfile so that Pipenv can be used to automatically install all
the dependencies required to build the documentation
(From yocto-docs rev: 5fc0a3011c47388d9c6447c3be00fefcbaf00f5c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31658ad30827d38dcd4ea83bcfb828441c7c3eca)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the ADT manual has long been superseded by the SDK manual,
remove the entire adt-manual directory, and the references to it in
the two top-level files "conf.py" and "poky.yaml".
(From yocto-docs rev: bdf601bfa07e05e3f834581d87105d0ebb4034d0)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(cherry picked from commit 64b2e83bddf6af0439ac7089ac95e60faa696cfc)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Directory has been renamed, so fix README and add a bit more white
space to keep everything lined up.
(From yocto-docs rev: 98da73f772f5ad8edb47f7c6d1e1c55133d51fdd)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cdd4c705f7271e31e44a94c79b050eda1fba5945)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an entry to the variable glossary for IMAGE_VERSION_SUFFIX (which
was added in thud) and update the IMAGE_NAME and KERNEL_ARTIFACT_NAME
entries whose defaults use this variable.
(From yocto-docs rev: 0bf966138d4f042de4d5a2fea3b604165f596efe)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a02c4be8e348687d4f7e09aefc408aaed5f1be5)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
distro_features_check was renamed to features_check and extended to
support MACHINE_FEATURES, COMBINED_FEATURES and ANY_OF_*_FEATURES in
dunfell, but the documentation still needed to be updated.
(From yocto-docs rev: 3d565c61086c235f77d967acf7599e64f5944cb4)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 274eb596582a22883e8b386a07cf32ed45a77d79)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 2.5 (sumo), RDEPENDS_kernel-base has been replaced by
RDEPENDS_${KERNEL_PACKAGE_NAME}-base, so let's use this one instead.
(From yocto-docs rev: 1eb4922610c8469af75a6efd9d4b505968d6e6a2)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0639160185969a6761e9911a166b897a015f4d59)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches provided in SRC_URI are only applied if their extension is .diff or
.patch. The examples do not use those extensions and would probably result
in user confusion as to why the patches aren't being applied to the
sources.
Let's fix this by giving them a .patch file extension.
(From yocto-docs rev: 80a01f141b3f09f42b53f3ef4d380fba6551fe90)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0858e86ed8e3e3005207980041fe4f2117750663)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds documentation that describes how to use the --offset argument in a
kickstart file
(From yocto-docs rev: d993d9353fd27a9c9beebdef180a2adf36099514)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0fbb2d71fe866b4ae7721f2f70d5b50dbc019030)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Everything declared in a glossary has a "term-" link that is usable as an
HTML anchor. The link already works, one just cannot get a link from
within the ref-terms page.
Let's make this possible.
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: b56c2d5bbf05e813656f2472f92f1f9b4db9bba2)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcbb267fba968834d4d9d011fc71cc371f910447)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an example to SRC_URI that explains how to name sources in SRC_URI
and how to associate SRCREVs and checksums with the names
(From yocto-docs rev: 15d16cced2cccfc120975e5687c45b5aab3dd6eb)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 900af0addab7d6ea465922957f881a13012429ed)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SimpleHTTPServer is python2 only, the module in python3 is http.server.
Let's use this one since everything in Yocto Project is using python3
nowadays.
(From yocto-docs rev: a5922b045eca9aa96672f8d75a2f98e17d2280f7)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 75338f17b116afadb7360181d071875a68272708)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing DEPENDS were an issue before rocko (2.4) because of a shared global
sysroot. Since then, every recipe has its own sysroot, it is not possible
to build successfully a recipe without all DEPENDS. Therefore, races in
tasks possibly triggered by missing DEPENDS are a thing of the past.
This paragraph is misleading and can be safely removed.
(From yocto-docs rev: 8547d2623b32d33758b326e735509dc0a13625fc)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aec42794846a4bca37b49a9f920fa2887974ddf)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current HTML output is bogus, because we have a fix of * and \.
Sphinx has built-in footnotes that can be used in this specific
example. let's use that instead.
(From yocto-docs rev: ebac4486e711152962bb8cd22b55ddce332b07f6)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5be36103ca1102c995915a20bf881e43920595e3)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This unfortunately makes the variables probably unusable for proper
replacement in other indentation blocks.
(From yocto-docs rev: 2f66f0bd7d9167fc49779d7b9ab1e4388bca4428)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit adf240b8db9597328324bbfb0095f573bea217f9)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
poky.yaml changes aren't detected by Sphinx by default.
In order to detect changes in poky.yaml, its md5sum is stored in the
app.outdir (BUILDDIR/html when building html) and checked against the
md5sum of the poky.yaml under use.
If the md5sum has changed, find all rst files in app.srcdir that have at
least an occurence of `&.*;` and mark them as requiring a rebuild.
(From yocto-docs rev: 3816a23462ad9eafbf49d455d06e64638de8ea26)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59537c7fa49e3ea6918f45b3201ad16d56988b9b)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested with containers on all supported distributions.
Debian 8 (Jessie) still has Python3.4 and an old pip3, which makes it
impossible to build typing module which is a requirement of "new" Sphinx
python module.
One cannot update to latest pip3 from within pip in Jessie's version.
One cannot get a newer pip from upstream because newer pip don't support
Python3.4 anymore.
One cannot build with python3-sphinx package from Jessie because the
package is too old (1.2.3) and does not have sphinx.ext.autosectionlabel
module which appeared in 1.4 version.
(From yocto-docs rev: db2e97515636674a0b04d2fe3f35b433b49b6c0f)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 14da565986a573ac7e0b5c5943e55b7b74f99dd5)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's probably no need for such a variable (the name of the script is
unlikely to change any time soon) and not all instances of
oe-init-build-env were actually using this variable.
For consistency sake, let's just remove the OE_INIT_FILE variable.
Suggested-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: 322b9a676b8897d93fe046b4c37a745d472cd4c6)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6fd4421283005b0ecc980e9ef25770d383b93937)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the license identifier tags were added, an incorrect string was used
and the Share-Alike clause was lost. Fix this to match the license
description in the files and add back the lost piece (its clear from
the history it should be there)
(From yocto-docs rev: ac9eede80f19c6e2138406209ab5700e89a244a0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d30c3d792755a7bfdb74b331dad98f51d3516af)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the DocBook files are removed, we can rename the top level
Makefile.
(From yocto-docs rev: eb412a93ec93b3413e23f028f33bda88f82ac688)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(cherry picked from commit 25fefa9a91ba5d7b398443f543e2c46165e8a3f4)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Yocto Project documentation was migrated to Sphinx. Let's remove
the deprecated DocBook files.
(From yocto-docs rev: abdb6b6bdfef3dc8e8cc13779e44a8d6df903469)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(cherry picked from commit 28fb0e63b2fbfd6426b00498bf2682bb53fdd862)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before the move to Sphinx, it used to be possible to get a direct link to a
variable from the term glossary. It is very useful when pointing people to
a specific variable when manually looking for it in the glossary.
Let's add this "feature" back.
(From yocto-docs rev: ee811e9f351eb79987dcdc2c2dbbd14ac52d92ca)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9e468274eaad270efd5f50e58a523798fcb8097e)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the move to sphinx, variables aren't linked with var- anchors but
term-.
Let's fix that so clicking on a letter will bring to the correct variable
in the page.
(From yocto-docs rev: 731d8b62ba588200d7d57cee0fd56256f32bd9a2)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07718faa04a8b121be004afbc23b4c338f669413)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following changes were required after a review of trademark and
branding guidelines:
1. add (R) to 'Yocto Project' on the top left (above the logo)
2. Fix up the capitalization of the main page title
3. Add the copyright/legal blurb at the bottom of the page
For 3. it turned out to be simpler to override the whole footer.html
template, and maintain our own version. Also I took the liberty to
remove the 'next' and 'previous' buttons since I believe they are not
especially useful, given the navigation bar on the left side.
Reported-by: Tracey Erway <tracey.m.erway@intel.com>
(From yocto-docs rev: a29ee99f81aa5b3cc66493e79712a3b5dc31e23f)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6bae1372218e0b10258e4fa6fef72fc1708a329c)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new manual in YP 3.2, let's remove it from the 3.1 Sphinx backport.
(From yocto-docs rev: baf4410abad44b7f1fc6e4f1c445060b87c21c32)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following changes were undo'd when the Sphinx docs were backported
in dunfell:
069c27574 Documenation: Prepared for the 3.1.1 release
bd140f0f9 Documentation: Add 3.1.1 version updates missing from previous commit
17cc71a8f Documenation: Prepared for the 3.1.2 release
1a69e2c02 Documenation: Prepared for the 3.1.3 release
8910ac1c7 Documenation: Prepared for the 3.1.4 release
In this commit, we reintroduce the content related to these patches,
but in the .rst files.
(From yocto-docs rev: a6a1b8e9df26b4b4ccf5c5c9cc3c02fa156cf81f)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change was made in Sphinx/master, but does not apply to
dunfell. Since we inherited it from the Sphinx migration, we need to
undo it.
(From yocto-docs rev: f5132957398af9644188cf010acec55bca6e8a8e)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Yocto Project docs was migrated from Docbook to Sphinx in YP
3.2. This 3.1 is an LTS release, and since 3.1 docs are 'close to'
the docs in 3.2, we agreed to backport sphinx docs onto 3.1.
This first patch brings all changes done in 3.2 until:
7f64574f7 README: include detailed information about sphinx
There are other changes after this commit, but they will be
selectively backported in individual patches.
This patch was generated with the following command:
git cherry-pick -n \
$(git log --reverse --oneline \
ac352ad7f95db7eeacb53c2778caa31800bd7c26..7f64574f7 \
| cut -f1 -d' ')
The following commits were applies in the dunfell docs, but not in
master, so they were first reverted (and squashed into this change). A
commit will reintroduce the content from these patches in the Sphinx
files in a followup patch.
069c27574 Documenation: Prepared for the 3.1.1 release
bd140f0f9 Documentation: Add 3.1.1 version updates missing from previous commit
17cc71a8f Documenation: Prepared for the 3.1.2 release
1a69e2c02 Documenation: Prepared for the 3.1.3 release
8910ac1c7 Documenation: Prepared for the 3.1.4 release
(From yocto-docs rev: c25fe058b88b893b0d146f3ed27320b47cdec236)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the calls to sys.stderr.write() and sys.exit() in exception
handling in case of sphinx_rtd_theme not being installed, the
following exception is raised by Python due to the fact that sys
module not being imported.
(Bitbake rev: a394eeec6aeb98c6395cb5da2036ce936bdaa0a0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ddf0e5bee0de59d07295fc5693e20b1a0380fde)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change is not applicable to 1.46/dunfell branch, and was brought
by the automatic backport of Sphinx docs, so let's undo it. Note that
this patch also included a general statement which applies to 1.46, so
this snippet was not removed.
(Bitbake rev: b164cf6790e47271a0848104a6c9507dd35c7f8f)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change is not applicable to 1.46/dunfell branch, and was brought
by the automatic backport of Sphinx docs, so let's undo it.
(Bitbake rev: 07bc934fab62c0a238ec62a8516396191095a231)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Bitbake manual was migrated to Sphinx in Yocto Project 3.2. Since
the docs between 3.2 and 3.1 are "similar", and since 3.1 is an LTS
release, we agreed to backport the documentation onto 3.1.
If we look at all docs changes in 3.1 and 3.2, we have the following:
=== Changes in 3.1
git log --oneline b94dec477a8d48ebceec91952ba290798c56c1f5..origin/1.46 -- doc/
====
324aaa7f bitbake-user-manual-metadata.xml: fix a minor error
f92e19a3 doc: More explanation to tasks that recursively depend on themselves
e4695176 doc: Clarify how task dependencies relate to RDEPENDS
25c5c79b user manual: properly tag content as <replaceable>
be367887 docs: delete reference to obsolete recipe-depends.dot
=== Changes in 3.2/master
git log --oneline b94dec477a8d48ebceec91952ba290798c56c1f5..origin/master -- doc/
====
a7c47f1e sphinx: rename Makefile.sphinx
427721d8 sphinx: remove DocBook files
d52190ea docs: static: theme_overrides.css: fix responsive design on <640px screens
9ae5cce7 docs: sphinx: report errors when dependencies are not met
ec4c481a docs: update README file after migrationg to Sphinx
c87cc35a docs: sphinx: replace special quotes with double quotes
ebdeef2c docs: ref-variables: add links to terms in glossary
29081375 bitbake-user-manual: fix bad links
a0f37789 sphinx: theme_override: Use bold for emphasis text
cbc5ca48 sphinx: theme_override: properly set font for verbatim text
08b1ae23 sphinx: remove leading '/'
99ba6fe9 sphinx: update style for important, caution and warnings
d99760cc sphinx: last manual round of fixes/improvements
4f94633a sphinx: bitbake-user-manual: insert additional blank line after title
63adcaa5 sphinx: add releases page
3e940d93 sphinx: conf: enable extlinks extension
9921c652 sphinx: index: move the boilerplate at the end of the page
4e461224 sphinx: add SPDX headers
cb19159c sphinx: Enhance the sphinx experience/nagivation with:
10a54678 sphinx: tweak html output a bit
219b2348 sphinx: Makefile.sphinx: add clean and publish targets
35fdc185 sphinx: fixes all remaining warnings
e11d2dd1 sphinx: fix links inside notes
57300955 sphinx: fixup for links
fa304c01 sphinx: override theme CSS
29af1cd2 sphinx: switch to readthedocs theme
e8359fd8 sphinx: bitbake-user-manual: use builtin sphinx glossary
6bf6c8d6 sphinx: initial sphinx support
84ccba0f sphinx: add initial build infrastructure
44b57216 bitbake-user-manual: update perforce fetcher docs
9186ca47 bitbake-user-manual: Add BBFILES_DYNAMIC
7689fa78 bitbake-user-manual: Remove TERM from BB_HASHBASE_WHITELIST example
06b5cf0a bitbake-user-manual-metadata.xml: fix a minor error
c92a266c doc: More explanation to tasks that recursively depend on themselves
caf42243 doc: Clarify how task dependencies relate to RDEPENDS
647c13d4 user manual: properly tag content as <replaceable>
2effbb6e docs: delete reference to obsolete recipe-depends.dot
We can conclude the following commits exist in 3.2 and not in 3.1 (if
we filter out sphinx changes)
44b57216 bitbake-user-manual: update perforce fetcher docs
9186ca47 bitbake-user-manual: Add BBFILES_DYNAMIC
7689fa78 bitbake-user-manual: Remove TERM from BB_HASHBASE_WHITELIST example
Out of these 3 changes, the following patches are for 3.2 only:
44b57216 bitbake-user-manual: update perforce fetcher docs
7689fa78 bitbake-user-manual: Remove TERM from BB_HASHBASE_WHITELIST example
To backport the Sphinx docs, we then need to cherry-pick all docs
patches from 3.2/1.48 and 'undo' the two patches above.
This first patch is the first step that imports all Sphinx files, and
remove Docbook files. It was done with the following command:
git cherry-pick -n \
$(git log --reverse --oneline \
b94dec477a8d48ebceec91952ba290798c56c1f5..origin/master -- doc/ \
| cut -f1 -d' ')
(Bitbake rev: cd68f14031eb45006b44d10b348e35c69ac21ad0)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a NULL pointer dereference in GENERAL_NAME_cmp function.
CVE: CVE-2020-1971
(From OE-Core rev: fcd335e2a721d8db6e2fdac483798ced0ff3e1ad)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE was against a cups plugin which is obsolete and we don't include.
(From OE-Core rev: 7a5123aa30fe4f19bf6daa7278e29283be05dab1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f7cb9f6ec4b14f992d265b8c67a9f5589f9b842)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This an Ububtu specific issue:
The CUPS AppArmor profile incorrectly confined the dnssd backend
due to use of hard links. A local attacker could possibly use this
issue to escape confinement. This flaw affects versions prior to
2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1
in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS,
and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS
(From OE-Core rev: e30fd2421da579b7d1e799c7d267395026a780dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22e89983a8f83a369d83bc67e4f3492bc50db648)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because the name of CVE patch is wrong, cve-check-tool cannot get the correct CVE result. Rename the patch name.
(From OE-Core rev: 33beb4fc5f23206ccb2f8d81e0135bbc575e238d)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 422f9af7d0f7de7a2e933154853e7a281f98ab93)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Causes intermittent autobuilder errors:
2020-12-21 19:34:23,035 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 68, in setUpModule
bb.utils.edit_bblayers_conf(bblayers_conf, None, None, bblayers_edit_cb)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1460, in edit_bblayers_conf
(updated, newlines) = edit_metadata(newlines, ['BBLAYERS'], handle_bblayers)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1290, in edit_metadata
if handle_var_end():
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1215, in handle_var_end
(newvalue, newop, indent, minbreak) = varfunc(in_var, full_value, op, newlines)
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1425, in handle_bblayers
res = edit_cb(layer, canonicalise_path(layer))
File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 60, in bblayers_edit_cb
shutil.copytree(pth, destdir, ignore=ignore_patterns('*.pyc', '__pycache__'))
NameError: name 'ignore_patterns' is not defined
(From OE-Core rev: 8bfc666b7cddf37b7681e45dd0f87365014ac5a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2d9612279fce9cbcb738913b2042949f692c4a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The target system triple contains whether the target is Linux or not,
so use it to avoid situations where you can attempt to build a kernel
for systems which don't support Linux.
(From OE-Core rev: 3f08f5b7068ecd3a59fc30dd90515df314a94f84)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1eeeab21a81990321468ddbdd1745ea24d1828d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Package firmware for Lontium lt9611uxc DSI to HDMI bridge, found e.g. on
Qualcomm RB5 platform.
(From OE-Core rev: 474cd61f0125c6df11229302fbdc60fc1851846e)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d16922943ffa6003d611c367b934d199c549c4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s):
a1b2d188bdf config: set firmware loader to 'y'
The updated kern-tools are showing us warnings that were previously
hidden. To silence the fw_loader warning, we need to set the value
to 'y' (since it is 'y' selected by other options and we can't
override that).
(From OE-Core rev: 4081c8f33f5c3b4e6991a014d78de8ea181b2ca4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 491665d42f3a7b139ab0f220e8e18dcd29f1e2e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to fixup warnings when -tiny is
build with the latest kern-tools:
b721178c41a drm: change CONFIG_DRM_KMS_HELPER to =m
d9ac6174eaf tiny: enable CONFIG_FW_LOADER on a per-BSP basis
a135c720bc7 i915: adust helper to 'm'
(From OE-Core rev: fae6231a47af6c56ad9ea1caa6f756c4713db4c1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9227facf178e7bc56cce2522cd63ffd18dd900aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
2bff021f53b2 Linux 5.4.83
66a08d1d3bd8 Revert "geneve: pull IP header before ECN decapsulation"
ed58971beb47 x86/insn-eval: Use new for_each_insn_prefix() macro to loop over prefixes bytes
423e1b08ce5c netfilter: nftables_offload: set address type in control dissector
13995410b616 netfilter: nf_tables: avoid false-postive lockdep splat
f25fa580f99e Input: i8042 - fix error return code in i8042_setup_aux()
b9df537e5fcd dm writecache: remove BUG() and fail gracefully instead
8e2c50315f00 i2c: qup: Fix error return code in qup_i2c_bam_schedule_desc()
1015eefe10e2 rtw88: debug: Fix uninitialized memory in debugfs code
af699e99efdc ASoC: wm_adsp: fix error return code in wm_adsp_load()
fdc1416c2199 tipc: fix a deadlock when flushing scheduled work
6410c7f53698 netfilter: ipset: prevent uninit-value in hash_ip6_add
cd928d387b0b gfs2: check for empty rgrp tree in gfs2_ri_update
c358e7e99dda can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check
867fbf2bb739 lib/syscall: fix syscall registers retrieval on 32-bit platforms
f68f5bdfefd9 tracing: Fix userstacktrace option for instances
dbbf6cdab503 iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs
d863a4ad3cc5 spi: bcm2835: Release the DMA channel if probe fails after dma_init
83d5121c3b0f i2c: imx: Check for I2SR_IAL after every byte
83366a7b2d34 i2c: imx: Fix reset of I2SR_IAL flag
b0d4fa10bfcc speakup: Reject setting the speakup line discipline outside of speakup
a2a163f70bdf mm/swapfile: do not sleep with a spin lock held
4870004d30e3 mm: list_lru: set shrinker map bit when child nr_items is not zero
42ccf9d14ede coredump: fix core_pattern parse error
579c977253b6 x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes
002d2c4a3f66 dm: remove invalid sparse __acquires and __releases annotations
3b02d67064ff dm: fix bug with RCU locking in dm_blk_report_zones
7eb514087cdd powerpc/pseries: Pass MSI affinity to irq_create_mapping()
1f72986fc9df genirq/irqdomain: Add an irq_create_mapping_affinity() function
6466119452a8 powerpc/64s/powernv: Fix memory corruption when saving SLB entries on MCE
8a758e97b707 dm writecache: fix the maximum number of arguments
3f680c5996f9 scsi: mpt3sas: Fix ioctl timeout
812dff6a5250 drm/i915/gt: Program mocs:63 for cache eviction on gen9
b92738c4f9d3 thunderbolt: Fix use-after-free in remove_unplugged_switch()
ed201cb54d6f i2c: imx: Don't generate STOP condition if arbitration has been lost
73948ab9f2df cifs: fix potential use-after-free in cifs_echo_request()
a0ca8cb2f707 cifs: allow syscalls to be restarted in __smb_send_rqst()
205740ca4a4d ftrace: Fix updating FTRACE_FL_TRAMP
d18379bbb856 ALSA: hda/generic: Add option to enforce preferred_dacs pairs
f28666e00a44 ALSA: hda/realtek - Add new codec supported for ALC897
c57556f1798b ALSA: hda/realtek: Enable headset of ASUS UX482EG & B9400CEA with ALC294
f3fc36614438 ALSA: hda/realtek: Add mute LED quirk to yet another HP x360 model
de41002d2e0e ALSA: hda/realtek: Fix bass speaker DAC assignment on Asus Zephyrus G14
35ee9ac51328 tty: Fix ->session locking
c536ecd48560 tty: Fix ->pgrp locking in tiocspgrp()
013d2d046532 USB: serial: option: fix Quectel BG96 matching
3cf949422734 USB: serial: option: add support for Thales Cinterion EXS82
0f8af69bec41 USB: serial: option: add Fibocom NL668 variants
250930f60c33 USB: serial: ch341: sort device-id entries
25b90f887dd4 USB: serial: ch341: add new Product ID for CH341A
f0990c21af7d USB: serial: kl5kusb105: fix memleak on open
8954745718e7 usb: gadget: f_fs: Use local copy of descriptors for userspace copy
4a77729b25d6 Partially revert bpf: Zero-fill re-used per-cpu map element
512b18eec5c2 pinctrl: baytrail: Fix pin being driven low for a while on gpiod_get(..., GPIOD_OUT_HIGH)
e90d11d0be10 pinctrl: baytrail: Replace WARN with dev_info_once when setting direct-irq pin to output
(From OE-Core rev: 197ae64ef68cdde860502aac1249c64bb613c664)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87c3841a7b4b9a440bd9aea91dea2a7161ab22be)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration commit(s):
72a1fe336d7 qemuppc: configure the CONFIG_SCSI to '=y'
(From OE-Core rev: 9f01e4777f043330e341b5827aa862ad4c2a9b78)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d21c81b04142a48539b3262318860f2719c11ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s):
375e7ee20260 Linux 5.4.78-rt44
c948a34d2755 Linux 5.4.77-rt43
8189406f8f2b Linux 5.4.74-rt42
0856261877e2 timers: Don't block on ->expiry_lock for TIMER_IRQSAFE
416edb155e5d ptrace: fix ptrace_unfreeze_traced() race with rt-lock
6bd85935ab11 mm/memcontrol: Disable preemption in __mod_memcg_lruvec_state()
57ada856a2a8 net: Properly annotate the try-lock for the seqlock
1c80ecf69d2d Linux 5.4.74-rt41
d4318c110dc6 Linux 5.4.70-rt40
bdfc6168388d Linux 5.4.69-rt39
b6e0ef250594 Linux 5.4.66-rt38
151876f794fc Linux 5.4.61-rt37
4bdac3f47b53 Linux 5.4.59-rt36
cf9b41798238 Linux 5.4.58-rt35
631b98ae597b Linux 5.4.55-rt34
77d701a69ebb Linux 5.4.54-rt33
130cf1b82691 rwsem: Provide down_read_non_owner() and up_read_non_owner() for -RT
6ab4141069fc net: phy: fixed_phy: Remove unused seqcount
291d163db65a Bluetooth: Acquire sk_lock.slock without disabling interrupts
4c9f5d78fed4 workqueue: Sync with upstream
(From OE-Core rev: df412ca963b48471b4317036432b5b81fade0846)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfae903dd2538d57cc75e3b8b731515deb7f5526)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some temporary bumps to versions to change the output hash so we
really can take advantage of the groff-native reproducibility fix.
(From OE-Core rev: 4e41a22f704e22bef0d207c9c511168bca92cc82)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af9bd5a03ecf45e92868bc49b1de5c27d94eff6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
groff chooses a default papersize depending on the value from /etc/papersize
and failing that, the search domain in /etc/resolv.conf based on the comment
in configure:
"""
If the top-level domain is two letters and it's not 'us' or 'ca'
then they probably use A4 paper.
"""
Oddly, my system sets to "a4" in /etc/papersize which means it defaults to
"letter" since its != "A4".
These defaults ripple through to cause the output of man-db to change depending
on which default value was selected.
To resolve this, set a default of "A4" since that covers the larger population
of the two default values.
(From OE-Core rev: 5bbd7b1f6e1dccffc7bf3f0b37fbc74b6e755e81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb511bfbd18258c782ee18f054a2590e4daaddc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you build on a system with git < 2.14 from scratch (e.g. debian9), the
tree will be marked as "dirty" and the version will include "-dirty", leading
to a reproducibility problem. The issue is the inode count for Licnses/README
changing due to do_populate_lic hardlinking a copy of the file. We avoid
this by ensuring the index is updated with a "git diff" before the
u-boot machinery tries to determine the version.
build$ ../git/scripts/setlocalversion ../git
""
build$ ln ../git/
build$ ln ../git/README ../foo
build$ ../git/scripts/setlocalversion ../git
""-dirty
(i.e. creating a hardlink dirties the index)
(From OE-Core rev: d39587d65bd57148c2c76b23e7a6ec78de855909)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a4de915af9e2c4d365527ad09286483b2ee904fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a second list sorting problem in a generator script within grub,
add a sort() of a list to resolve this.
(From OE-Core rev: fcb5fbb2e326e48236e03cc0d0540b6b0e7a287e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb5e96e05930eaff4d679166416d6c84d6e3236b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing reproducibility issue on the autobuilder due to changing
module dependency ordering. Add some sorting to an awk script to fix this.
(From OE-Core rev: 351651925d854a130cfa2d04d4d3f18caa08c873)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 925ddd5edccbfec52ff45c1b54ab2ae1bfe0d57c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix CVE-2020-16592 & CVE-2020-16598
removed changes to Changelog in patch file
(From OE-Core rev: 02870c7fbaaa1c3869ecb439f5c58fcf40a533be)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're not interested in the dependencies of these functions and what
those functions look like, we're interested in the value the variable has.
Force the hashed value to be the actual value from the function. This
means using METADATA_REVISION in DISTRO_VERSION for example now
correctly rebuilds when it changes value.
(From OE-Core rev: edbe823ddf53aecc58d28fbcf7de1a1dc2dc79c8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 005651dc782859c01f170fb974811b2a13cb2cef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
wic ls ./core-image-minimal-intel-x86-64.wic
ERROR: Can't find executable parted
wic depend on some tools like parted/mtools/..., and we have those
tools in native_sysroot. so above problem can be avoided by
run command like wic ls imagename.wic --native-sysroot <path>
but this cannot cover condition that usr don't have build the
image, the image just copy from somewhere.
(From OE-Core rev: 0dc25d88658461b71bd62a14a809cedf16e072bc)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c0eda6ec09395f3a04cb80107a3ca33a063b21f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to make wic tool work in sdk which is out of an
existed Yocto build, it needs to port wic tool as a nativesdk
recipe.
First, make these runtime depends recipes to support nativesdk
(From OE-Core rev: caf6dac96888d983ead4e75896b78f96777c40d6)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb4f7f078e1d3b1afbf93ca4dc5e690f60c59412)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scons is using host ar to create it, which may or may not
be built with reproducible option by default. Rather than
patch scons for the benefit of a single recipe, let's
just not install the .a, which is unused anyway.
(From OE-Core rev: 2d44aee1424d50949a8f38bc5b020d93804d5279)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e44275f4d286f005b2f19e3dcc9c6d390b98f30)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This in particular addresses vulkan-samples reproducibility which made me scratch my
head for a while.
(From OE-Core rev: 156482c0c5addba78eacb79b7464a5b463b3757f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a2936126f12eeacecced051fa339c32c1f16576)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yi pointed out that commit 1a70a92d1f10 ("kernel-module-split.bbclass:
identify kernel modconf files as configuration files") is
unintentionally adding the actual kernel /lib/modules .ko files to the
CONFFILES variable.
The root cause is the re-use of the 'files' variable in that commit.
Fix it by using a separate variable to keep track of the generated
module .conf files that need to be marked as configuration files.
Fixes: 1a70a92d1f10 ("kernel-module-split.bbclass: identify kernel modconf files as configuration files")
Reported-by: Yi Zhao <yi.zhao@windriver.com>
(From OE-Core rev: f1f904ebf2aef54c4c867d5d2c842ec5d53d3c78)
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db5f2ca532db4f0d2e05b7cb5f9d146e1dd76ab3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch is added to address an issue preventing libffi
from compiling under clang.
Change-Id: I55e36d252ec8e84de9b35fea18044c2c0e8c5aab
(From OE-Core rev: a4944e9b553ddf55da9d9a1243fadc93a620b003)
Signed-off-by: Brett Warren <brett.warren@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01e8c53488dd5ebb206bef2415549e8ac1ac7601)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2013-0221 through -223 are all SUSE-specific, so add them to the
whitelist.
(From OE-Core rev: 886a8c4e9a749216c0427dffe552c7b2ad087593)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59f2120de3b6d53bbfb9db858ffb8b7b20c8d1ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a CPE version field is just *:*:*:* it should be handled the same as
-:*:*:*, that is 'all versions'. To ease handling, transform this case
to use -.
(From OE-Core rev: ff17ef98ff7ff0bfac9f647c0833f5b7b6d6fdd6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 04a9bc4ca5294fe6834513669c7746a824d12b04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update command used for cross compilation to include ${CONFIGUREOPTS}
to ensure right arguments are passed for cross compiling on any host.
(From OE-Core rev: e902026496ea026c4316d1a74265c633db9431b8)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e995e67bc7a3d30adf9f8d0d2f4df92a941baeae)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Help rootfs tarballs be reproducible by sorting the file listing.
(From OE-Core rev: 568afcef83ece5f8cb988dd0ad642feeec5c9656)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4fa68626bbcfd9795577e1426c27d00f4d9d1c17)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the selftests failed over the weekend with "access denied" errors
fetching this tarball. Instead of relying on upstream when fetching the
tarball, use the Yocto source mirrors instead.
(From OE-Core rev: ab3a9bd56d86ed22515906b2d23e6a83053fcd37)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 988e0ff4131f46dfed14516ff5f61d72b9fb6941)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- correctly save files into sstate
- fix: ERROR: Task linux-dummy.do_fetch attempted to execute unexpectedly
(From OE-Core rev: 09418489c550dc47c045c220e650afb198986676)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 16f6833ccd732de9f3db82ac5b0a18eea5298ceb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PACKAGECONFIG[directfb] already adds directfb to the build
dependencies. But the automatically generated runtime
dependencies do not add the directfb package to the runtime
dependencies. Most likely this happens because libsdl2 does not link
against directfb but uses dlopen() or similar. Thus, the runtime
dependency to directfb needs to be declared explicitly.
(From OE-Core rev: 5738bec0e5f06037015fa431f74ff66da66b70b1)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62d3cbe7c8261c1c875ff6da11572409262aaf02)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
update minor version to 1.14.12
go1.14.8 includes security fixes to the net/http/cgi and net/http/fcgi packages.
go1.14.9 includes fixes to the compiler, linker, runtime, documentation, and the net/http and testing packages.
go1.14.10 includes fixes to the compiler, runtime, and the plugin and testing packages.
go1.14.11 includes fixes to the runtime, and the net/http and time packages.
go1.14.12 includes security fixes to the cmd/go and math/big packages.
Release notes:
https://golang.org/doc/devel/release.html#go1.14.minor
updates include fix for
CVE-2020-24553
CVE-2020-28362
CVE-2020-28366
CVE-2020-28367
Also backport patch to fix below CGO_LDFLAGS error
| Building std for target, linux/amd64.
| go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1
(From OE-Core rev: e216b2223cbe8c459348262f98b3cfbe79d12023)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To fix building against the latest 5.4.x kernels (and other versions
as well), we import the lttng patches that have been added since the
2.11.6 release.
When 2.11.7 is released, we can drop these patches and go with the
release tarball.
(From OE-Core rev: ea7e3c47af4191e69d54fc519865d125ed61d8eb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
315443293a2d Linux 5.4.78
9fda2e762498 Convert trailing spaces and periods in path components
ebc24aeb8694 net: sch_generic: fix the missing new qdisc assignment bug
c5cf5c7b585c perf/core: Fix race in the perf_mmap_close() function
c6b1616f5472 perf scripting python: Avoid declaring function pointers with a visibility attribute
b74fe3186471 x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP
6958fbd52e79 powerpc/603: Always fault when _PAGE_ACCESSED is not set
5af9d48acbee drm/i915: Correctly set SFC capability for video engines
6fcf4141b9a2 r8169: fix potential skb double free in an error path
78f6fac0814e tipc: fix memory leak in tipc_topsrv_start()
c59039a088bd net/x25: Fix null-ptr-deref in x25_connect
7e332a5c0e2c net: Update window_clamp if SOCK_RCVBUF is set
25786fb512f7 net: udp: fix UDP header access on Fast/frag0 UDP GRO
016e70d176ff net/af_iucv: fix null pointer dereference on shutdown
22ee23fe1cc9 IPv6: Set SIT tunnel hard_header_len to zero
98901bff58d9 swiotlb: fix "x86: Don't panic if can not alloc buffer for swiotlb"
2cd21fe5bcc4 pinctrl: amd: fix incorrect way to disable debounce filter
fa76dd3c1df3 pinctrl: amd: use higher precision for 512 RtcClk
c6a6168a31e1 drm/gma500: Fix out-of-bounds access to struct drm_device.vblank[]
974e3a7002a0 don't dump the threads that had been already exiting when zapped.
039c8dcd2b15 mmc: renesas_sdhi_core: Add missing tmio_mmc_host_free() at remove
e1d706eeeaf7 mmc: sdhci-of-esdhc: Handle pulse width detection erratum for more SoCs
2a6cba6d3d72 gpio: pcie-idio-24: Enable PEX8311 interrupts
7b6790ae3a94 gpio: pcie-idio-24: Fix IRQ Enable Register value
819bf3b0d969 gpio: pcie-idio-24: Fix irq mask when masking
68dae71b7cde selinux: Fix error return code in sel_ib_pkey_sid_slow()
33e53f2cac19 btrfs: fix potential overflow in cluster_pages_for_defrag on 32bit arch
9de4ffb70150 ocfs2: initialize ip_next_orphan
ac18b128cfd6 reboot: fix overflow parsing reboot cpu number
fa6265f8fb9e Revert "kernel/reboot.c: convert simple_strtoul to kstrtoint"
bd4d106f3122 mm/slub: fix panic in slab_alloc_node()
84778a43ae59 jbd2: fix up sparse warnings in checkpoint code
2192d905df0d futex: Don't enable IRQs unconditionally in put_pi_state()
761fb6829238 mei: protect mei_cl_mtu from null dereference
e2b2c390ec9e virtio: virtio_console: fix DMA memory allocation for rproc serial
57626d77ef1e xhci: hisilicon: fix refercence leak in xhci_histb_probe
cbad9668929c usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode
f988e9c85cfb uio: Fix use-after-free in uio_unregister_device()
1654bf2d9f0e thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()
06c1895fe71b thunderbolt: Fix memory leak if ida_simple_get() fails in enumerate_services()
11c14da8d005 KVM: arm64: Don't hide ID registers from userspace
2033dd885297 btrfs: dev-replace: fail mount if we don't have replace item with target device
5af9630036ef btrfs: fix min reserved size calculation in merge_reloc_root
8266c23124c1 btrfs: ref-verify: fix memory leak in btrfs_ref_tree_mod
062c9b04f6eb ext4: unlock xattr_sem properly in ext4_inline_data_truncate()
a6ca4c7ec44c ext4: correctly report "not supported" for {usr,grp}jquota when !CONFIG_QUOTA
52e3a55bc253 erofs: derive atime instead of leaving it empty
09b0d47b7952 perf: Fix get_recursion_context()
70867a9dbf57 vrf: Fix fast path output packet handling with async Netfilter rules
2ab9c76986e4 cosa: Add missing kfree in error path of cosa_write
c0a6cc9e11f4 of/address: Fix of_node memory leak in of_dma_is_coherent
f10d238aad93 xfs: fix a missing unlock on error in xfs_fs_map_blocks
0e2ad69bd4b5 lan743x: fix "BUG: invalid wait context" when setting rx mode
b45f52a20879 xfs: fix brainos in the refcount scrubber's rmap fragment processor
7cbf708b1b9a xfs: fix rmap key and record comparison functions
3bd97b33be41 xfs: set the unwritten bit in rmap lookup flags in xchk_bmap_get_rmapextents
08e213bef291 xfs: fix flags argument to rmap lookup when converting shared file rmaps
a8ee686597fb igc: Fix returning wrong statistics
81dcfdb9a015 nbd: fix a block_device refcount leak in nbd_release
c602ad2b52dc bpf: Zero-fill re-used per-cpu map element
dfcb33773877 SUNRPC: Fix general protection fault in trace_rpc_xdr_overflow()
b9e8f9d139bd net/mlx5: Fix deletion of duplicate rules
e74e514c8cca pinctrl: aspeed: Fix GPI only function problem.
d2e61c5202e6 bpf: Don't rely on GCC __attribute__((optimize)) to disable GCSE
443ae3655f8c ARM: 9019/1: kprobes: Avoid fortify_panic() when copying optprobe template
c0be7a34c889 pinctrl: intel: Set default bias in case no particular value given
88ccabbd2066 mfd: sprd: Add wakeup capability for PMIC IRQ
58953e87343d tick/common: Touch watchdog in tick_unfreeze() on all CPUs
3322f7289e50 spi: bcm2835: remove use of uninitialized gpio flags variable
572e545d80ea tpm_tis: Disable interrupts on ThinkPad T490s
713a3a94bee0 i2c: sh_mobile: implement atomic transfers
37a048d790c3 riscv: Set text_offset correctly for M-Mode
6d8b43376990 selftests: proc: fix warning: _GNU_SOURCE redefined
ab10b7def421 amd/amdgpu: Disable VCN DPG mode for Picasso
4faa1fabc645 i2c: mediatek: move dma reset before i2c reset
b66c7cdedd1e vfio/pci: Bypass IGD init in case of -ENODEV
c6be53caf1c8 vfio: platform: fix reference leak in vfio_platform_open
4d6f536e34d6 s390/smp: move rcu_cpu_starting() earlier
984d77507439 iommu/amd: Increase interrupt remapping table limit to 512 entries
a889cd3d350d nvme-tcp: avoid repeated request completion
9d14f5225dbb nvme-rdma: avoid repeated request completion
531b55cce9cd nvme-tcp: avoid race between time out and tear down
d0e888a20dfd nvme-rdma: avoid race between time out and tear down
0ca279c859d7 nvme: introduce nvme_sync_io_queues
c473b3e56c1d scsi: mpt3sas: Fix timeouts observed while reenabling IRQ
b61e157d9f64 scsi: scsi_dh_alua: Avoid crash during alua_bus_detach()
bf1cedc12f58 tracing: Fix the checking of stackidx in __ftrace_trace_stack
e57c04697030 cfg80211: regulatory: Fix inconsistent format argument
a3f0db0d2320 cfg80211: initialize wdev data earlier
67bb2e4d41de mac80211: fix use of skb payload instead of header
c1cbb64c100d drm/amd/pm: do not use ixFEATURE_STATUS for checking smc running
48083640a47b drm/amd/pm: perform SMC reset on suspend/hibernation
f449b902badb drm/amdgpu: perform srbm soft reset always on SDMA resume
7f6df0b085ce scsi: hpsa: Fix memory leak in hpsa_init_one()
325455358e54 gfs2: check for live vs. read-only file system in gfs2_fitrim
edeff05a1f10 gfs2: Add missing truncate_inode_pages_final for sd_aspace
99dcfc517d17 gfs2: Free rd_bits later in gfs2_clear_rgrpd to fix use-after-free
42eaa22aaf2e ALSA: hda: Reinstate runtime_allow() for all hda controllers
0a4c091673ca ALSA: hda: Separate runtime and system suspend
9b7e6b670df7 selftests: pidfd: fix compilation errors due to wait.h
9110e2f2633d selftests/ftrace: check for do_sys_openat2 in user-memory test
1737ea0c5775 usb: gadget: goku_udc: fix potential crashes in probe
e60490354191 opp: Reduce the size of critical section in _opp_table_kref_release()
fe2dc1093c61 usb: dwc3: pci: add support for the Intel Alder Lake-S
e22142a9a2a9 ASoC: cs42l51: manage mclk shutdown delay
0fc0befe0bfa ASoC: qcom: sdm845: set driver name correctly
b668352c4aad ath9k_htc: Use appropriate rs_datalen type
42501604363f KVM: x86: don't expose MSR_IA32_UMWAIT_CONTROL unconditionally
d2cef3bae14b KVM: arm64: ARM_SMCCC_ARCH_WORKAROUND_1 doesn't return SMCCC_RET_NOT_REQUIRED
213e1238cacc random32: make prandom_u32() output unpredictable
327af342ca9b tpm: efi: Don't create binary_bios_measurements file for an empty log
0685eb84ad56 xfs: fix scrub flagging rtinherit even if there is no rt device
2f6cbef32718 xfs: flush new eof page on truncate to avoid post-eof corruption
66ce8bfad6f6 can: flexcan: flexcan_remove(): disable wakeup completely
0b657367309e can: flexcan: remove FLEXCAN_QUIRK_DISABLE_MECR quirk for LS1021A
56c56af0a3a1 can: peak_canfd: pucan_handle_can_rx(): fix echo management when loopback is on
a23ee9956612 can: peak_usb: peak_usb_get_ts_time(): fix timestamp wrapping
44b2c4beff8a can: peak_usb: add range checking in decode operations
d6c34afab0ed can: xilinx_can: handle failure cases of pm_runtime_get_sync
51920ca7519c can: ti_hecc: ti_hecc_probe(): add missed clk_disable_unprepare() in error path
b9c4a9a07c4a can: j1939: j1939_sk_bind(): return failure if netdev is down
0ab4c839409a can: j1939: swap addr and pgn in the send example
5bde65abe166 can: can_create_echo_skb(): fix echo skb generation: always use skb_clone()
183f1af506fe can: dev: __can_get_echo_skb(): fix real payload length return value for RTR frames
ab46748bf988 can: dev: can_get_echo_skb(): prevent call to kfree_skb() in hard IRQ context
3d0954767918 can: rx-offload: don't call kfree_skb() from IRQ context
e201588fad54 afs: Fix warning due to unadvanced marshalling pointer
9946509a027b iommu/vt-d: Fix a bug for PDP check in prq_event_thread
2825a5bf3ca5 ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link()
22901751d269 perf tools: Add missing swap for ino_generation
b36f78fd48e9 perf trace: Fix segfault when trying to trace events by cgroup
d261d0bd9066 powerpc/eeh_cache: Fix a possible debugfs deadlock
1c8fe343a79d netfilter: ipset: Update byte and packet counters regardless of whether they match
ad017cf5dace netfilter: nf_tables: missing validation from the abort path
56907fa27b94 netfilter: use actual socket sk rather than skb sk when routing harder
6234710dc634 xfs: set xefi_discard when creating a deferred agfl free log intent item
933f911136e2 ASoC: codecs: wcd9335: Set digital gain range correctly
5cb904da85ed net: xfrm: fix a race condition during allocing spi
4e438ca1b629 hv_balloon: disable warning when floor reached
bb2b60242c8e genirq: Let GENERIC_IRQ_IPI select IRQ_DOMAIN_HIERARCHY
bb8c6bd53cc0 ASoC: Intel: kbl_rt5663_max98927: Fix kabylake_ssp_fixup function
a8ec66026dd8 btrfs: reschedule when cloning lots of extents
0ee771e96954 btrfs: sysfs: init devices outside of the chunk_mutex
c58fa93b1409 btrfs: tracepoints: output proper root owner for trace_find_free_extent()
e24516cf62f9 usb: dwc3: gadget: Reclaim extra TRBs after request completion
ab031673e2ab usb: dwc3: gadget: Continue to process pending requests
504cfb5e3bca PCI: qcom: Make sure PCIe is reset before init for rev 2.1.0
9dfbc2f82ac8 KVM: arm64: Force PTE mapping on fault resulting in a device mapping
95fda70d3955 nbd: don't update block size after device is started
160777b19b86 time: Prevent undefined behaviour in timespec64_to_ns()
5a39fb2f22fd drm/i915/gem: Flush coherency domains on first set-domain-ioctl
2544d06afd8d Linux 5.4.77
19f6d91bdad4 powercap: restrict energy meter to root access
ec9c6b417e27 Linux 5.4.76
c3d60c695712 arm64: dts: marvell: espressobin: Add ethernet switch aliases
b7f7474b3921 perf/core: Fix a memory leak in perf_event_parse_addr_filter()
21ab13af8c50 xfs: flush for older, xfs specific ioctls
258d01b1577e PM: runtime: Resume the device earlier in __device_release_driver()
37f75c6aa8dd PM: runtime: Drop pm_runtime_clean_up_links()
874dfb5c6aa3 PM: runtime: Drop runtime PM references to supplier on link removal
fbfca92c7840 ARC: stack unwinding: avoid indefinite looping
d61edc06002f drm/panfrost: Fix a deadlock between the shrinker and madvise path
b9d91fa92164 usb: mtu3: fix panic in mtu3_gadget_stop()
b0d03a1bdb3c USB: Add NO_LPM quirk for Kingston flash drive
290fcf3e0c0c usb: dwc3: ep0: Fix delay status handling
86875e1d6426 tty: serial: fsl_lpuart: LS1021A has a FIFO size of 16 words, like LS1028A
8febdfb5973d tty: serial: fsl_lpuart: add LS1028A support
d5d3cca9d61f USB: serial: option: add Telit FN980 composition 0x1055
7f7be9341b86 USB: serial: option: add LE910Cx compositions 0x1203, 0x1230, 0x1231
b7f74775c2bb USB: serial: option: add Quectel EC200T module support
9d34dbab6ef4 USB: serial: cyberjack: fix write-URB completion race
62c4b2b21e3b serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init
085fc4784e4b serial: 8250_mtk: Fix uart_get_baud_rate warning
b33a1039564c s390/pkey: fix paes selftest failure with paes and pkey static build
beeb658cfd35 fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent
642181fe3567 vt: Disable KD_FONT_OP_COPY
cfd9d7137759 Revert "coresight: Make sysfs functional on topologies with per core sink"
8ee6a0f25457 arm64/smp: Move rcu_cpu_starting() earlier
eceb94287dbf drm/nouveau/gem: fix "refcount_t: underflow; use-after-free"
7d0de6f87257 drm/nouveau/nouveau: fix the start/end range for migration
4dab0fd40323 usb: cdns3: gadget: suspicious implicit sign extension
937753df482c ACPI: NFIT: Fix comparison to '-ENXIO'
16476c2b26ca drm/vc4: drv: Add error handding for bind
a04cec1dd293 nvmet: fix a NULL pointer dereference when tracing the flush command
8c9c03432500 nvme-rdma: handle unexpected nvme completion data length
2fd9e60760ef vsock: use ns_capable_noaudit() on socket create
2149aa583068 scsi: ibmvscsi: Fix potential race after loss of transport
1247f4e29188 drm/amdgpu: add DID for navi10 blockchain SKU
fd4fb5080725 scsi: core: Don't start concurrent async scan on same host
3c52715ceaae blk-cgroup: Pre-allocate tree node on blkg_conf_prep
f77756ea6641 blk-cgroup: Fix memleak on error path
914fc5524261 drm/sun4i: frontend: Fix the scaler phase on A33
f743f73f42a7 drm/sun4i: frontend: Reuse the ch0 phase for RGB formats
6d7b41a67687 drm/sun4i: frontend: Rework a bit the phase data
147e3743cf7a of: Fix reserved-memory overlap detection
6e02c29e4ac4 x86/kexec: Use up-to-dated screen_info copy to fill boot params
3283d4d78412 arm64: dts: meson: add missing g12 rng clock
69e0e917c7c8 ARM: dts: sun4i-a10: fix cpu_alert temperature
2716e78a6486 futex: Handle transient "ownerless" rtmutex state correctly
ec5f524e0293 tracing: Fix out of bounds write in get_trace_buf
9f6883fce694 spi: bcm2835: fix gpio cs level inversion
f352cca84625 regulator: defer probe when trying to get voltage from unresolved supply
a69af5baed80 ftrace: Handle tracing when switching between context
3058420f40fb ftrace: Fix recursion check for NMI test
cfaf010cf345 mtd: spi-nor: Don't copy self-pointing struct around
aef59b5e5bdf ring-buffer: Fix recursion protection transitions between interrupt context
2cd71743e7ff gfs2: Wake up when sd_glock_disposal becomes zero
d2286457bd83 mm: always have io_remap_pfn_range() set pgprot_decrypted()
1b8490d6b809 kthread_worker: prevent queuing delayed work from timer_fn when it is being canceled
b1d16be4f2f4 lib/crc32test: remove extra local_irq_disable/enable
c1f729c7dec0 mm: mempolicy: fix potential pte_unmap_unlock pte error
f7c2913d606b ALSA: usb-audio: Add implicit feedback quirk for MODX
26a871cf86cb ALSA: usb-audio: Add implicit feedback quirk for Qu-16
a46e830d017e ALSA: usb-audio: add usb vendor id as DSD-capable for Khadas devices
65457e345f3c ALSA: usb-audio: Add implicit feedback quirk for Zoom UAC-2
72ce616ed55a ALSA: hda/realtek - Enable headphone for ASUS TM420
f7d0f7242405 ALSA: hda/realtek - Fixed HP headset Mic can't be detected
61402d61a2af Fonts: Replace discarded const qualifier
e5ea79bb19f8 sfp: Fix error handing in sfp_probe()
9b5458effeee sctp: Fix COMM_LOST/CANT_STR_ASSOC err reporting on big-endian platforms
26ffb8916059 powerpc/vnic: Extend "failover pending" window
92e65059beda net: usb: qmi_wwan: add Telit LE910Cx 0x1230 composition
8e3c047f814b ip_tunnel: fix over-mtu packet send fail without TUNNEL_DONT_FRAGMENT flags
ac343efb572c ionic: check port ptr before use
6ef3bcc25a3e gianfar: Account for Tx PTP timestamp in the skb headroom
5b66a5b6a9e2 gianfar: Replace skb_realloc_headroom with skb_cow_head for PTP
7bf7b7c385a1 chelsio/chtls: fix always leaking ctrl_skb
14d755a4815e chelsio/chtls: fix memory leaks caused by a race
57bb59f9d8fb cadence: force nonlinear buffers to be cloned
1695fca8a923 ptrace: fix task_join_group_stop() for the case when current is traced
76e5bba75a63 tipc: fix use-after-free in tipc_bcast_get_mode
ca16a42f5f0d arm64: Change .weak to SYM_FUNC_START_WEAK_PI for arch/arm64/lib/mem*.S
d94589900d98 arm64: lib: Use modern annotations for assembly functions
3e7050661d95 arm64: asm: Add new-style position independent function annotations
840d8c9b3e5f linkage: Introduce new macros for assembler symbols
1ca84322ab5b ASoC: Intel: Skylake: Add alternative topology binary name
e05dfcff26e9 drm/i915: Drop runtime-pm assert from vgpu io accessors
d321f127eb51 drm/i915/gt: Delay execlist processing for tgl
5bcd18bf8082 drm/i915: Break up error capture compression loops with cond_resched()
(From OE-Core rev: c34d8060452a3866cda24a77f71f546f0ef45d03)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6063baedd741e1ae86a2c42cd2dc41899718a2d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
356914747645 perf: Alias SYS_futex with SYS_futex_time64 on 32-bit arches with 64bit time_t
(From OE-Core rev: f1a7e3f166a2d55b2706f53acb4820a1f8ce221f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73ee256e5c1194ec5d0843dee274d29cc0efe993)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6e97ed6efa70 Linux 5.4.75
6ce4da84e5f4 staging: octeon: Drop on uncorrectable alignment or FCS error
b869f6b67274 staging: octeon: repair "fixed-link" support
15506ee68893 staging: comedi: cb_pcidas: Allow 2-channel commands for AO subdevice
4d934fe936fd staging: fieldbus: anybuss: jump to correct label in an error path
8fd792948e76 KVM: arm64: Fix AArch32 handling of DBGD{CCINT,SCRext} and DBGVCR
4cb29cdd5043 device property: Don't clear secondary pointer for shared primary firmware node
26086875476f device property: Keep secondary firmware node secondary by type
e793fc391351 ARM: s3c24xx: fix missing system reset
2937774ef43a ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
0808ca98e67e arm: dts: mt7623: add missing pause for switchport
f3d8023e0647 hil/parisc: Disable HIL driver when it gets stuck
81190a9efde0 cachefiles: Handle readpage error correctly
4bf2a744a4e7 arm64: berlin: Select DW_APB_TIMER_OF
c2313d7818b9 tty: make FONTX ioctl use the tty pointer they were actually passed
beb5d0dfc154 drm/amd/pm: increase mclk switch threshold to 200 us
071b3300c951 mmc: sdhci: Use Auto CMD Auto Select only when v4_mode is true
fb4e2a67e193 mmc: sdhci-of-esdhc: set timeout to max before tuning
b7e1a637eae9 drm/ttm: fix eviction valuable range check.
b60edf37d5d3 ext4: fix invalid inode checksum
ae05fdc6d60a ext4: fix error handling code in add_new_gdb
c0de3cf2f286 ext4: fix leaking sysfs kobject after failed mount
b11e9dd66e3a vringh: fix __vringh_iov() when riov and wiov are different
3cfbc13ab3f0 ring-buffer: Return 0 on success from ring_buffer_resize()
0db6e7161e33 9P: Cast to loff_t before multiplying
51135ffbb54d libceph: clear con->out_msg on Policy::stateful_server faults
d4fdbedef767 ceph: promote to unsigned long long before shifting
9cdccb4761e5 drm/amd/display: Fix kernel panic by dal_gpio_open() error
d7e22dbc662d drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally
d1628cdacfb0 drm/amdgpu: increase the reserved VM size to 2MB
adff3a805c97 drm/amd/display: Avoid MST manager resource leak.
1e460aa7353d drm/amdkfd: Use same SQ prefetch setting as amdgpu
d417026c4081 drm/amdgpu: correct the gpu reset handling for job != NULL case
9887a48d49f0 drm/amd/display: Increase timeout for DP Disable
987d3814c92c drm/amdgpu: don't map BO in reserved region
2c58d5e0c754 i2c: imx: Fix external abort on interrupt in exit paths
da3ccf5b2045 rtc: rx8010: don't modify the global rtc ops
e17afa6d1de3 ia64: fix build error with !COREDUMP
da3bb6fa23f1 ubi: check kthread_should_stop() after the setting of task state
6d0beeebd15d ARC: perf: redo the pct irq missing in device-tree handling
468811595833 perf python scripting: Fix printable strings in python3 scripts
a99cbd20a5c5 ubifs: mount_ubifs: Release authentication resource in error handling path
9ba6324ca9c4 ubifs: Don't parse authentication mount options in remount process
748057df47b9 ubifs: Fix a memleak after dumping authentication mount options
bc202c839b5d ubifs: journal: Make sure to not dirty twice for auth nodes
a77927469760 ubifs: xattr: Fix some potential memory leaks while iterating entries
213c836b2396 ubifs: dent: Fix some potential memory leaks while iterating entries
c1ea3c4a4302 NFSD: Add missing NFSv2 .pc_func methods
da86bb4c214f NFSv4.2: support EXCHGID4_FLAG_SUPP_FENCE_OPS 4.2 EXCHANGE_ID flag
c342001cab7f NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE
415043c3ec0d powerpc: Fix undetected data corruption with P9N DD2.1 VSX CI load emulation
94e27f13694c powerpc/powermac: Fix low_sleep_handler with KUAP and KUEP
61ed8c1b940d powerpc/powernv/elog: Fix race while processing OPAL error log event.
7850dd0851a3 powerpc/memhotplug: Make lmb size 64bit
3fa03b7f21a3 powerpc: Warn about use of smt_snooze_delay
240baebeda09 powerpc/rtas: Restrict RTAS requests from userspace
551bf7c4bc24 s390/stp: add locking to sysfs functions
58a7dc5f521a MIPS: DEC: Restore bootmem reservation for firmware working memory area
73597ab2a9b9 powerpc/drmem: Make lmb_size 64 bit
829c0a9634b9 iio:gyro:itg3200: Fix timestamp alignment and prevent data leak.
9f4f75df4b47 iio:adc:ti-adc12138 Fix alignment issue with timestamp
96a5134423ae iio:adc:ti-adc0832 Fix alignment issue with timestamp
a8c59abdbc6b iio: adc: gyroadc: fix leak of device node iterator
ad877be5b983 iio:light:si1145: Fix timestamp alignment and prevent data leak.
a4f02a81c7e6 dmaengine: dma-jz4780: Fix race in jz4780_dma_tx_status
f707ccb2f10c udf: Fix memory leak when mounting
93da9dcee2d2 HID: wacom: Avoid entering wacom_wac_pen_report for pad / battery
87d398f348b8 vt: keyboard, extend func_buf_lock to readers
eb4c460e2e06 vt: keyboard, simplify vt_kdgkbsent
8c16ca600657 drm/i915: Force VT'd workarounds when running as a guest OS
94478c1dc57d usb: host: fsl-mph-dr-of: check return of dma_set_mask()
75d0d4ff5970 usb: typec: tcpm: reset hard_reset_count for any disconnect
543432d078c0 usb: cdc-acm: fix cooldown mechanism
2850f148cd7f usb: dwc3: gadget: END_TRANSFER before CLEAR_STALL command
206dcd6ce82f usb: dwc3: gadget: Resume pending requests after CLEAR_STALL
97224cdc0440 usb: dwc3: core: don't trigger runtime pm when remove driver
726f638e7cd1 usb: dwc3: core: add phy cleanup for probe error handling
f935b70cf724 usb: dwc3: gadget: Check MPS of the request length
1c9e86c933ea usb: dwc3: ep0: Fix ZLP for OUT ep0 requests
3468cbceb563 usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality
2600a131e1f6 usb: xhci: Workaround for S3 issue on AMD SNPS 3.0 xHC
c964d386e849 btrfs: fix readahead hang and use-after-free after removing a device
dfda50e882f5 btrfs: fix use-after-free on readahead extent after failure to create it
834a61b2123b btrfs: tree-checker: validate number of chunk stripes and parity
1cedc54ad3d4 btrfs: cleanup cow block on error
d3ce2d0fb8b2 btrfs: tree-checker: fix false alert caused by legacy btrfs root item
4b82b8aba08d btrfs: use kvzalloc() to allocate clone_roots in btrfs_ioctl_send()
6ec4b82fc322 btrfs: send, recompute reference path after orphanization of a directory
c2dcc9b03b7f btrfs: send, orphanize first all conflicting inodes when processing references
e1cf034899b6 btrfs: reschedule if necessary when logging directory items
223b462744b3 btrfs: improve device scanning messages
c5f2a5091263 btrfs: qgroup: fix wrong qgroup metadata reserve for delayed inode
1e2f16dd611b PM: runtime: Remove link state checks in rpm_get/put_supplier()
a0bdb5b16392 scsi: qla2xxx: Fix crash on session cleanup with unload
f0ef0e2299f5 scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove()
3fc2cbba4069 w1: mxc_w1: Fix timeout resolution problem leading to bus error
a034ea12bdd4 acpi-cpufreq: Honor _PSD table setting on new AMD CPUs
7f9d9a007e59 ACPI: EC: PM: Drop ec_no_wakeup check from acpi_ec_dispatch_gpe()
0adf4dbae9c0 ACPI: EC: PM: Flush EC work unconditionally after wakeup
e7f52fd6e0ef PCI/ACPI: Whitelist hotplug ports for D3 if power managed by ACPI
6341984bef17 ACPI: debug: don't allow debugging when ACPI is disabled
1a5f62a3c694 ACPI: video: use ACPI backlight for HP 635 Notebook
9578d7381432 ACPI / extlog: Check for RDMSR failure
5e25b44cc2eb ACPI: button: fix handling lid state changes when input device closed
c75b77cb9f01 NFS: fix nfs_path in case of a rename retry
f8a6a2ed4b7d fs: Don't invalidate page buffers in block_write_full_page()
2f3cb993a6f2 media: uvcvideo: Fix uvc_ctrl_fixup_xu_info() not having any effect
8ac92a5e5fd7 leds: bcm6328, bcm6358: use devres LED registering function
a908e29705ee extcon: ptn5150: Fix usage of atomic GPIO with sleeping GPIO chips
004fb028f22c spi: sprd: Release DMA channel also on probe deferral
d789e1c5b1ce perf/x86/amd/ibs: Fix raw sample data accumulation
2e2a324641f9 perf/x86/amd/ibs: Don't include randomized bits in get_ibs_op_count()
f9a48ff99961 perf/x86/intel: Fix Ice Lake event constraint table
3674b0445b70 selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS
2d1c48227780 seccomp: Make duplicate listener detection non-racy
470c8c409e1c mmc: sdhci-acpi: AMDI0040: Set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
3f56e94b6f7c mmc: sdhci: Add LTR support for some Intel BYT based controllers
b91d4797b3da md/raid5: fix oops during stripe resizing
a7aa5d578fed nvme-rdma: fix crash when connect rejected
c421c082088e sgl_alloc_order: fix memory leak
742fd49cf811 nbd: make the config put is called before the notifying the waiter
b71dbaf08f9f ARM: dts: s5pv210: remove dedicated 'audio-subsystem' node
3ad1464467e7 ARM: dts: s5pv210: move PMU node out of clock controller
8a9024f6e29f ARM: dts: s5pv210: move fixed clocks under root node
8c1b47e8aa43 ARM: dts: s5pv210: remove DMA controller bus node name to fix dtschema warnings
c6029d9bc68d memory: emif: Remove bogus debugfs error handling
2f98e2843b69 ARM: dts: omap4: Fix sgx clock rate for 4430
c70f909e7ad6 arm64: dts: renesas: ulcb: add full-pwr-cycle-in-suspend into eMMC nodes
e2dca8845c37 cifs: handle -EINTR in cifs_setattr
3c78eb161c26 gfs2: add validation checks for size of superblock
9f7e4bfadfe9 gfs2: use-after-free in sysfs deregistration
9b58c55ba81c KVM: PPC: Book3S HV: Do not allocate HPT for a nested guest
d7d7920a7f66 ext4: Detect already used quota file early
d01b63320799 drivers: watchdog: rdc321x_wdt: Fix race condition bugs
229bdf0b1319 net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid
660e2d9d1417 clk: ti: clockdomain: fix static checker warning
f66125e1c4df rpmsg: glink: Use complete_all for open states
dfcfccd05075 bnxt_en: Log unknown link speed appropriately.
78452408bb3e md/bitmap: md_bitmap_get_counter returns wrong blocks
4ebdad05129e btrfs: fix replace of seed device
1f145a1193ea ARC: [dts] fix the errors detected by dtbs_check
5759f38a63db drm/amd/display: HDMI remote sink need mode validation for Linux
3ef6095d6587 power: supply: test_power: add missing newlines when printing parameters by sysfs
cf5a6124f237 ACPI: HMAT: Fix handling of changes from ACPI 6.2 to ACPI 6.3
37464a8a7f68 bus/fsl_mc: Do not rely on caller to provide non NULL mc_io
0606a8df86fe drivers/net/wan/hdlc_fr: Correctly handle special skb->protocol values
592cbc0a6a83 brcmfmac: Fix warning message after dongle setup failed
cf9cc49cd881 ACPI: Add out of bounds and numa_off protections to pxm_to_node()
5880a0d1c835 xfs: don't free rt blocks when we're doing a REMAP bunmapi call
7551e2f4fddd can: flexcan: disable clocks during stop mode
64129ad98b74 arm64/mm: return cpu_all_mask when node is NUMA_NO_NODE
ea888a14ac6e SUNRPC: Mitigate cond_resched() in xprt_transmit()
7f7f437277ac usb: xhci: omit duplicate actions when suspending a runtime suspended host.
8fd52a21ab57 coresight: Make sysfs functional on topologies with per core sink
2502107a9ccd uio: free uio id after uio file node is freed
16b9e40d2989 USB: adutux: fix debugging
65052761eeb9 cpufreq: sti-cpufreq: add stih418 support
2eab702ee945 riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
7762afa04fd4 samples/bpf: Fix possible deadlock in xdpsock
58c80462e467 selftests/bpf: Define string const as global for test_sysctl_prog.c
8f71fb76a312 media: uvcvideo: Fix dereference of out-of-bound list iterator
4801ffdd6962 bpf: Permit map_ptr arithmetic with opcode add and offset 0
f7f7b77ee507 kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"
77fa5e15c933 ia64: kprobes: Use generic kretprobe trampoline handler
b3142fe7ff63 printk: reduce LOG_BUF_SHIFT range for H8300
80685a94f7c4 arm64: topology: Stop using MPIDR for topology information
7975367a005f drm/bridge/synopsys: dsi: add support for non-continuous HS clock
d3fb88a51c04 mmc: via-sdmmc: Fix data race bug
67e18c92e081 media: imx274: fix frame interval handling
448e5004ad85 media: tw5864: check status of tw5864_frameinterval_get
47ab020f3290 usb: typec: tcpm: During PR_SWAP, source caps should be sent only after tSwapSourceStart
5472c5d1d505 media: platform: Improve queue set up flow for bug fixing
3a8568806285 media: videodev2.h: RGB BT2020 and HSV are always full range
ac437801e3c2 selftests/x86/fsgsbase: Reap a forgotten child
581940d9b9c8 drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly
ed0bd7b12939 ath10k: fix VHT NSS calculation when STBC is enabled
b30a5c8d9def ath10k: start recovery process when payload length exceeds max htc length for sdio
759721fb5886 video: fbdev: pvr2fb: initialize variables
b2844ba3d37c xfs: fix realtime bitmap/summary file truncation when growing rt volume
a10ed3b55fed power: supply: bq27xxx: report "not charging" on all types
036b0f4d7671 NFS4: Fix oops when copy_file_range is attempted with NFS4.0 source
13081d5ddb58 ARM: 8997/2: hw_breakpoint: Handle inexact watchpoint addresses
df5b07f2172a f2fs: handle errors of f2fs_get_meta_page_nofail
15c7ec03ddb8 um: change sigio_spinlock to a mutex
fb9b18150e3f s390/startup: avoid save_area_sync overflow
9804eda4a975 f2fs: fix to check segment boundary during SIT page readahead
1544dcb514ad f2fs: fix uninit-value in f2fs_lookup
40b357f7436d f2fs: add trace exit in exception path
2eab8974aea8 sparc64: remove mm_cpumask clearing to fix kthread_use_mm race
7d59323cff67 powerpc: select ARCH_WANT_IRQS_OFF_ACTIVATE_MM
82e93f94ac65 mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
dc17b990ee90 powerpc/powernv/smp: Fix spurious DBG() warning
2db759037152 futex: Fix incorrect should_fail_futex() handling
87d9ac94c7e7 ata: sata_nv: Fix retrieving of active qcs
da8e2fbe458c RDMA/qedr: Fix memory leak in iWARP CM
d90dd1599cf3 mlxsw: core: Fix use-after-free in mlxsw_emad_trans_finish()
f7e7de28d106 x86/unwind/orc: Fix inactive tasks with stack pointer in %sp on GCC 10 compiled kernels
6937c143e3d3 firmware: arm_scmi: Add missing Rx size re-initialisation
aedcfe9a02f8 firmware: arm_scmi: Fix ARCH_COLD_RESET
85d9d02a49e2 xen/events: block rogue events for some time
1d628c330fa6 xen/events: defer eoi in case of excessive number of events
25c23f033457 xen/events: use a common cpu hotplug hook for event channels
b7d6a66e2172 xen/events: switch user event channels to lateeoi model
48b533aa838d xen/pciback: use lateeoi irq binding
9396de462aa6 xen/pvcallsback: use lateeoi irq binding
5441639a38df xen/scsiback: use lateeoi irq binding
e6ea898e5602 xen/netback: use lateeoi irq binding
ade6bd5af7f9 xen/blkback: use lateeoi irq binding
df54eca9ae8a xen/events: add a new "late EOI" evtchn framework
44a455e06d87 xen/events: fix race in evtchn_fifo_unmask()
4bea575a1069 xen/events: add a proper barrier to 2-level uevent unmasking
a01379671d67 xen/events: avoid removing an event channel while handling it
b300b28b7814 Linux 5.4.74
847c86d7f1d5 phy: marvell: comphy: Convert internal SMCC firmware return codes to errno
aa3410cc232c misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()
a6db3aab9c40 openrisc: Fix issue with get_user for 64-bit values
f73328c3192e crypto: x86/crc32c - fix building with clang ias
29bbc9cb0b27 xen/gntdev.c: Mark pages as dirty
8f640cd8ee60 ata: sata_rcar: Fix DMA boundary mask
9f531583c1f0 PM: runtime: Fix timer_expires data type on 32-bit arches
870d910e1afb serial: pl011: Fix lockdep splat when handling magic-sysrq interrupt
44ef3b63c788 serial: qcom_geni_serial: To correct QUP Version detection logic
c274d1f8baaf mtd: lpddr: Fix bad logic in print_drs_error
bc67eeb9781b RDMA/addr: Fix race with netevent_callback()/rdma_addr_cancel()
ebb0adcfbb1f cxl: Rework error message for incompatible slots
125a229e52e7 p54: avoid accessing the data mapped to streaming DMA
801863f634c4 evm: Check size of security.evm before using it
dd2f800e9074 bpf: Fix comment for helper bpf_current_task_under_cgroup()
860448e73ba2 fuse: fix page dereference after free
4e1a23779bde ata: ahci: mvebu: Make SATA PHY optional for Armada 3720
7aae7466f5db x86/xen: disable Firmware First mode for correctable memory errors
47a4d5406389 arch/x86/amd/ibs: Fix re-arming IBS Fetch
95daf621291c erofs: avoid duplicated permission check for "trusted." xattrs
b8321829036f bnxt_en: Invoke cancel_delayed_work_sync() for PFs also.
b1b5efe574cd bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one().
aa4dba4e2226 bnxt_en: Re-write PCI BARs after PCI fatal error.
5c86cda6a529 net: hns3: Clear the CMDQ registers before unmapping BAR region
30d628ede582 tipc: fix memory leak caused by tipc_buf_append()
8cc351a3d444 tcp: Prevent low rmem stalls with SO_RCVLOWAT.
7740774940fc ravb: Fix bit fields checking in ravb_hwtstamp_get()
4939183bb28c r8169: fix issue with forced threading in combination with shared interrupts
f1493ab33679 net/sched: act_mpls: Add softdep on mpls_gso.ko
4bffc9618caf netem: fix zero division in tabledist
13a4843d3938 mlxsw: core: Fix memory leak on module removal
c90459593f55 ibmvnic: fix ibmvnic_set_mac
e781c67629ed gtp: fix an use-before-init in gtp_newlink()
0ea202010b40 cxgb4: set up filter action after rewrites
3a0d5b5358d1 chelsio/chtls: fix tls record info to user
c5db8069776f chelsio/chtls: fix memory leaks in CPL handlers
a5b9b28b22ba chelsio/chtls: fix deadlock issue
c17d5aea3395 bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally.
72c17fadf3f8 bnxt_en: Check abort error state in bnxt_open_nic().
8e1b40e57dca efivarfs: Replace invalid slashes with exclamation marks in dentries.
c3019695f1d8 x86/PCI: Fix intel_mid_pci.c build error when ACPI is not enabled
57a88e44b512 arm64: link with -z norelro regardless of CONFIG_RELOCATABLE
7736c61080f1 arm64: Run ARCH_WORKAROUND_2 enabling code on all CPUs
114c6930b351 arm64: Run ARCH_WORKAROUND_1 enabling code on all CPUs
2dcb0c6c3818 scripts/setlocalversion: make git describe output more reliable
c8a5496bc747 objtool: Support Clang non-section symbols in ORC generation
a45c8c0a31a7 socket: don't clear SOCK_TSTAMP_NEW when SO_TIMESTAMPNS is disabled
bded4de4a5e1 netfilter: nftables_offload: KASAN slab-out-of-bounds Read in nft_flow_rule_create
(From OE-Core rev: 9b96fa72f349425fbf3bdff119ebd9161a30a760)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 16dc22108fcf7e53750424b90c0aeb8dba2dc5e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s):
eadca496e9f bsp/mti-malta64: fix warning of CONFIG_SCSI_VIRTIO on qemumips64
203911bc035 net/l2tp.cfg: fix CONFIG_PPPOL2TP mismatched warnings
(From OE-Core rev: bffc59b566368b5435381c460f692a07c36db567)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8df0a1f9607417f3f308b9ff852e287837b6cdf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
bde3f94035b0 Linux 5.4.73
3c7ccd7d4ace usb: gadget: f_ncm: allow using NCM in SuperSpeed Plus gadgets.
efb893a56cea eeprom: at25: set minimum read/write access stride to 1
8011f45598cd usb: cdns3: gadget: free interrupt after gadget has deleted
ed134662a62b USB: cdc-wdm: Make wdm_flush() interruptible and add wdm_fsync().
2cc661ab2bde usb: cdc-acm: add quirk to blacklist ETAS ES58X devices
1d2ce4350a01 tty: serial: fsl_lpuart: fix lpuart32_poll_get_char
231146202650 tty: serial: lpuart: fix lpuart32_write usage
a8a4b17bcc9d s390/qeth: don't let HW override the configured port role
905f0d17a07f net: korina: cast KSEG0 address to pointer in kfree
9bca56ad2f0a ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n()
18ec92b1ce29 dmaengine: dw: Activate FIFO-mode for memory peripherals only
190bce292b73 dmaengine: dw: Add DMA-channels mask cell support
bc94a025cfd2 scsi: ufs: ufs-qcom: Fix race conditions caused by ufs_qcom_testbus_config()
e13f0d325a04 usb: core: Solve race condition in anchor cleanup functions
5912b09c97cd brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach
36df67bd0097 scsi: smartpqi: Avoid crashing kernel for controller issues
d00555d2255f ALSA: hda/ca0132 - Add new quirk ID for SoundBlaster AE-7.
4529f9e5067c ALSA: hda/ca0132 - Add AE-7 microphone selection commands.
752df39ed6e1 mwifiex: don't call del_timer_sync() on uninitialized timer
045f29c16fcf reiserfs: Fix memory leak in reiserfs_parse_options()
109f5845a60f ipvs: Fix uninit-value in do_ip_vs_set_ctl()
8f8df766f75c Bluetooth: btusb: Fix memleak in btusb_mtk_submit_wmt_recv_urb
4886c2cf3d91 tty: ipwireless: fix error handling
e80b7ebcfda7 fbmem: add margin check to fb_check_caps()
f14811c617b4 scsi: qedi: Fix list_del corruption while removing active I/O
56b2fd0cbfb0 scsi: qedi: Protect active command list to avoid list corruption
f8bf0bbee1cc scsi: qedf: Return SUCCESS if stale rport is encountered
09e4f2271178 HID: ite: Add USB id match for Acer One S1003 keyboard dock
f3c23dcff8fb Fix use after free in get_capset_info callback.
a4638768b03d rtl8xxxu: prevent potential memory leak
d5eb55b5f96f brcmsmac: fix memory leak in wlc_phy_attach_lcnphy
061d2f3fce45 selftests/bpf: Fix test_sysctl_loop{1, 2} failure due to clang change
d399015f191b scsi: qla2xxx: Warn if done() or free() are called on an already freed srb
0bb4a0b5a0ec scsi: ibmvfc: Fix error return in ibmvfc_probe()
ff9c607f0355 iomap: fix WARN_ON_ONCE() from unprivileged users
6458e8e8689b drm/msm/a6xx: fix a potential overflow issue
bab673eef853 Bluetooth: Only mark socket zapped after unlocking
78a47ef68262 usb: ohci: Default to per-port over-current protection
df01087859fa xfs: make sure the rt allocator doesn't run off the end
09b63105d089 opp: Prevent memory leak in dev_pm_opp_attach_genpd()
6ff3df752c06 reiserfs: only call unlock_new_inode() if I_NEW
0e3f41b6bec0 misc: rtsx: Fix memory leak in rtsx_pci_probe
3a8d86d8da1b bpf: Limit caller's stack depth 256 for subprogs with tailcalls
6c3a1aabfcff drm/panfrost: add amlogic reset quirk callback
a9990ed2d7ca ath9k: hif_usb: fix race condition between usb_get_urb() and usb_kill_anchored_urbs()
85b757ca3005 can: flexcan: flexcan_chip_stop(): add error handling and propagate error value
42e781da7b37 usb: dwc3: simple: add support for Hikey 970
0e1fb72e27d7 USB: cdc-acm: handle broken union descriptors
ca4261a249dd rtw88: increse the size of rx buffer size
41ce99a3ef1a udf: Avoid accessing uninitialized data on failed inode read
01d886b89eb8 udf: Limit sparing table size
e9e791f5c39a usb: gadget: function: printer: fix use-after-free in __lock_acquire
08045050c6bd usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc
821dcabafded misc: vop: add round_up(x,4) for vring_size to avoid kernel panic
85efddd97b72 mic: vop: copy data to kernel space then write to io memory
e93b629d347e scsi: target: core: Add CONTROL field for trace events
7cb5830b775a scsi: mvumi: Fix error return in mvumi_io_attach()
267edd6478f9 PM: hibernate: remove the bogus call to get_gendisk() in software_resume()
9ff197703e25 mac80211: handle lack of sband->bitrates in rates
c8b6ad0a8afb ip_gre: set dev->hard_header_len and dev->needed_headroom properly
16281bdd202f ntfs: add check for mft record size in superblock
05f9cc28a954 media: venus: core: Fix runtime PM imbalance in venus_probe
0ce7ba162b35 fs: dlm: fix configfs memory leak
ed99b3e5117d media: venus: fixes for list corruption
4f6af5a3c0f4 media: saa7134: avoid a shift overflow
cb475ba4400f mmc: sdio: Check for CISTPL_VERS_1 buffer size
67806a68d52c media: uvcvideo: Ensure all probed info is returned to v4l2
6827d62a86de x86/mce: Make mce_rdmsrl() panic on an inaccessible MSR
7aa3f954cd91 media: media/pci: prevent memory leak in bttv_probe
ad3825eedb16 media: bdisp: Fix runtime PM imbalance on error
e1285a73c5fa media: platform: sti: hva: Fix runtime PM imbalance on error
8d727e1d261a media: platform: s3c-camif: Fix runtime PM imbalance on error
6b3f0742f531 media: vsp1: Fix runtime PM imbalance on error
7db4c3dfee01 media: exynos4-is: Fix a reference count leak
f36a80bc7512 media: exynos4-is: Fix a reference count leak due to pm_runtime_get_sync
8babe11e46ba media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_sync
62f3bc07008d media: sti: Fix reference count leaks
e4d4abe6e86f media: st-delta: Fix reference count leak in delta_run_work
d310c7437cb8 media: ati_remote: sanity check for both endpoints
b4325c738f8f media: firewire: fix memory leak
d06ea207e90b x86/mce: Add Skylake quirk for patrol scrub reported errors
624c2782b49d x86/asm: Replace __force_order with a memory clobber
fce2779e1c6e crypto: ccp - fix error handling
b3a0ed411008 block: ratelimit handle_bad_sector() message
a47cecbd2816 md/bitmap: fix memory leak of temporary bitmap
44e2bc80a6ec i2c: core: Restore acpi_walk_dep_device_list() getting called after registering the ACPI i2c devs
f224b8be9e31 perf: correct SNOOPX field offset
78e27678db4e sched/features: Fix !CONFIG_JUMP_LABEL case
13153509d8f3 NTB: hw: amd: fix an issue about leak system resources
abd19984441c nvmet: fix uninitialized work for zero kato
5ef1279abc74 powerpc/pseries: Avoid using addr_to_pfn in real mode
72ccbd1481cb powerpc/powernv/dump: Fix race while processing OPAL dump
d21b8c8fbf89 lightnvm: fix out-of-bounds write to array devices->info[]
b0b10fa454ea ARM: dts: meson8: remove two invalid interrupt lines from the GPU node
7de30421d646 arm64: dts: zynqmp: Remove additional compatible string for i2c IPs
64b8f8fbe939 ARM: OMAP2+: Restore MPU power domain if cpu_cluster_pm_enter() fails
55a7acbc0495 soc: fsl: qbman: Fix return value on success
c7ffa707e657 ARM: dts: owl-s500: Fix incorrect PPI interrupt specifiers
d725df0e2bbb arm64: dts: actions: limit address range for pinctrl node
449ad29d76f7 arm64: dts: renesas: r8a774c0: Fix MSIOF1 DMA channels
845e4eefd3c4 arm64: dts: renesas: r8a77990: Fix MSIOF1 DMA channels
b78cdf1b51fc arm64: dts: qcom: msm8916: Fix MDP/DSI interrupts
1e61c8fda1bb arm64: dts: qcom: pm8916: Remove invalid reg size from wcd_codec
975dafc038f0 arm64: dts: qcom: msm8916: Remove one more thermal trip point unit name
08ece4ba2a6e arm64: dts: imx8mq: Add missing interrupts to GPC
93c3898ee8df memory: fsl-corenet-cf: Fix handling of platform_get_irq() error
c072b76699a4 memory: omap-gpmc: Fix build error without CONFIG_OF
afb15453ca4c memory: omap-gpmc: Fix a couple off by ones
8426055fc960 arm64: dts: allwinner: h5: remove Mali GPU PMU module
ec65c6a90621 ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix dcdc1 regulator
46ac92161144 ARM: s3c24xx: fix mmc gpio lookup tables
e118c1527ffe ARM: at91: pm: of_node_put() after its usage
5c4c2f437cea ARM: dts: imx6sl: fix rng node
c1430c876984 arm64: dts: meson: vim3: correct led polarity
6dbdc81b2625 netfilter: nf_fwd_netdev: clear timestamp in forwarding path
2f3839075a5f netfilter: ebtables: Fixes dropping of small packets in bridge nat
4d1eec59628c netfilter: conntrack: connection timeout after re-register
e6b7b40aced7 scsi: bfa: Fix error return in bfad_pci_init()
48df327e4b04 KVM: x86: emulating RDPID failure shall return #UD rather than #GP
ad87f31648ab Input: sun4i-ps2 - fix handling of platform_get_irq() error
cb3b77359a26 Input: twl4030_keypad - fix handling of platform_get_irq() error
2f967303cbdd Input: omap4-keypad - fix handling of platform_get_irq() error
2106d1cbe1c2 Input: ep93xx_keypad - fix handling of platform_get_irq() error
b205eef76388 Input: stmfts - fix a & vs && typo
81e5e2c268e9 Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume()
6498597aeb4c SUNRPC: fix copying of multiple pages in gss_read_proxy_verf()
e412625f38a4 clk: imx8mq: Fix usdhc parents order
b4035b3d64b6 vfio iommu type1: Fix memory leak in vfio_iommu_type1_pin_pages
f54d8a9e37b0 vfio/pci: Clear token on bypass registration failure
f2f616f3e333 ext4: limit entries returned when counting fsmap records
9c27185e12e8 svcrdma: fix bounce buffers for unaligned offsets and multiple pages
120222811b2e watchdog: sp5100: Fix definition of EFCH_PM_DECODEEN3
dbb9ef17777e watchdog: Use put_device on error
a8bbb47d94af watchdog: Fix memleak in watchdog_cdev_register
9a3ee7177f72 clk: bcm2835: add missing release if devm_clk_hw_register fails
c10e3c919a69 clk: at91: clk-main: update key before writing AT91_CKGR_MOR
1ed7508e684e module: statically initialize init section freeing data
b213999028e6 clk: mediatek: add UART0 clock support
56e68e2cd8fe clk: rockchip: Initialize hw to error to avoid undefined behavior
72407e5aa058 pwm: img: Fix null pointer access in probe
7e5155fdd061 clk: keystone: sci-clk: fix parsing assigned-clock data during probe
5b8882b53b0c clk: qcom: gcc-sdm660: Fix wrong parent_map
fddcf515454e vfio/pci: Decouple PCI_COMMAND_MEMORY bit checks from is_virtfn
42f16b3add6c PCI/IOV: Mark VFs as not implementing PCI_COMMAND_MEMORY
aafa4b4c38e8 rpmsg: smd: Fix a kobj leak in in qcom_smd_parse_edge()
833f3c362f63 PCI: iproc: Set affinity mask on MSI interrupts
bcb9394accb6 PCI: aardvark: Check for errors from pci_bridge_emul_init() call
bf65e6c51ac4 clk: meson: g12a: mark fclk_div2 as critical
423e65dcd594 i2c: rcar: Auto select RESET_CONTROLLER
63bd88ba8865 mailbox: avoid timer start from callback
fe1936208e3f rapidio: fix the missed put_device() for rio_mport_add_riodev
bfab0711eb27 rapidio: fix error handling path
c5df8ff043c3 ramfs: fix nommu mmap with gaps in the page cache
410f50b41c14 lib/crc32.c: fix trivial typo in preprocessor condition
a3a45516c70e mm/page_owner: change split_page_owner to take a count
06727f797f45 RDMA/rxe: Handle skb_clone() failure in rxe_recv.c
6fa4d484bada f2fs: wait for sysfs kobject removal before freeing f2fs_sb_info
f08ae0c46198 selftests/powerpc: Fix eeh-basic.sh exit codes
180cf2e5f722 maiblox: mediatek: Fix handling of platform_get_irq() error
e7f0b9ab8b7d RDMA/rxe: Fix skb lifetime in rxe_rcv_mcast_pkt()
7efb373881f7 IB/rdmavt: Fix sizeof mismatch
bc2cba6b2d5a cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_reboot_notifier
56c30ffe5fcd i3c: master: Fix error return in cdns_i3c_master_probe()
ebe1a014d7ed powerpc/perf/hv-gpci: Fix starting index value
271e53005a26 powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraints
dc1d4c658b9c RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces
c3a1c7b426b9 overflow: Include header file with SIZE_MAX declaration
de47278648aa kdb: Fix pager search for multi-line strings
626e2200f80b mtd: spinand: gigadevice: Add QE Bit
8999f59944e3 mtd: spinand: gigadevice: Only one dummy byte in QUADIO
2bb74bc921e0 mtd: rawnand: vf610: disable clk on error handling path in probe
5e3782b1fae1 RDMA/hns: Fix missing sq_sig_type when querying QP
eff57fbc2377 RDMA/hns: Fix the wrong value of rnr_retry when querying qp
1e583b2948ae perf stat: Skip duration_time in setup_system_wide
b79dd191680f i40iw: Add support to make destroy QP synchronous
61ad14e24eba RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't work
4b1d559cc5c6 RDMA/hns: Set the unsupported wr opcode
0ff75bfed10d perf intel-pt: Fix "context_switch event has no tid" error
cee5080a0776 RDMA/cma: Consolidate the destruction of a cma_multicast in one place
7c4fec28980d RDMA/cma: Remove dead code for kernel rdmacm multicast
557c184df3c5 powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm
148d4f4dc75e powerpc/tau: Disable TAU between measurements
72407b8d08b3 powerpc/tau: Check processor type before enabling TAU interrupt
68a8ec0b022f powerpc/tau: Remove duplicated set_thresholds() call
c0578b423b5e powerpc/tau: Convert from timer to workqueue
0305488040dc powerpc/tau: Use appropriate temperature sample interval
a2087c04a2ac powerpc/book3s64/hash/4k: Support large linear mapping range with 4K
8fd3154eb0ee RDMA/qedr: Fix inline size returned for iWARP
97336c8296b5 RDMA/qedr: Fix return code if accept is called on a destroyed qp
4c5f385ab49e RDMA/qedr: Fix use of uninitialized field
e0a970d8f627 RDMA/qedr: Fix qp structure memory leak
1738b03e34ad RDMA/umem: Prevent small pages from being returned by ib_umem_find_best_pgsz()
85e40ba1c4a5 RDMA/umem: Fix ib_umem_find_best_pgsz() for mappings that cross a page boundary
b1712ec30dfb xfs: fix high key handling in the rt allocator's query_range function
b005b448daf2 xfs: fix deadlock and streamline xfs_getfsmap performance
adc3e2698637 xfs: limit entries returned when counting fsmap records
2577720d35e2 ida: Free allocated bitmap in error path
3789f5cfd600 arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER
67c2e58b684e ARM: 9007/1: l2c: fix prefetch bits init in L2X0_AUX_CTRL using DT values
baa7ea082f8e mtd: mtdoops: Don't write panic data twice
b8d4f65c6ae2 RDMA/mlx5: Fix potential race between destroy and CQE poll
935950e3190d pseries/drmem: don't cache node id in drmem_lmb struct
eb327e98631e powerpc/pseries: explicitly reschedule during drmem_lmb list traversal
937cdcc45aaa RDMA/umem: Fix signature of stub ib_umem_find_best_pgsz()
a43f936da88f RDMA/hns: Add a check for current state before modifying QP
4a5aaa1747a3 mtd: lpddr: fix excessive stack usage with clang
1564884a4176 RDMA/ucma: Add missing locking around rdma_leave_multicast()
cc8ebd76b10a RDMA/ucma: Fix locking for ctx->events_reported
22d8bebf634a powerpc/icp-hv: Fix missing of_node_put() in success path
d2575bf27279 powerpc/pseries: Fix missing of_node_put() in rng_init()
4f74f179a335 IB/mlx4: Adjust delayed work when a dup is observed
1fe669e9ad19 IB/mlx4: Fix starvation in paravirt mux/demux
8d44d75812cf i3c: master add i3c_master_attach_boardinfo to preserve boardinfo
e7f826cd20a6 selftests/ftrace: Change synthetic event name for inter-event-combined test
17ed6448b00c fs: fix NULL dereference due to data race in prepend_path()
91e4c12a3bf4 mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary
9a1656f1d19b mm/memcg: fix device private memcg accounting
04fabdfcbf5d mm/swapfile.c: fix potential memory leak in sys_swapon
8194371c4d60 netfilter: nf_log: missing vlan offload tag and proto
a6aaab712d6a net: korina: fix kfree of rx/tx descriptor array
76c0e4b2a50f ipvs: clear skb->tstamp in forwarding path
7c83fe15ecb1 mwifiex: fix double free
91962ac35b48 platform/x86: mlx-platform: Remove PSU EEPROM configuration
dddb49f4152a ipmi_si: Fix wrong return value in try_smi_init()
b2a98fec2d1e scsi: be2iscsi: Fix a theoretical leak in beiscsi_create_eqs()
9899e57bd714 scsi: target: tcmu: Fix warning: 'page' may be used uninitialized
2fb431e69ad6 usb: dwc2: Fix INTR OUT transfers in DDMA mode.
3fed2b5657e4 nl80211: fix non-split wiphy information
6aa25d03dfb5 usb: gadget: u_ether: enable qmult on SuperSpeed Plus as well
9af716ed41e4 usb: gadget: f_ncm: fix ncm_bitrate for SuperSpeed and above.
2f002b5172b2 iwlwifi: mvm: split a print to avoid a WARNING in ROC
1dbf9d994b12 mfd: sm501: Fix leaks in probe()
df63949a2750 net: enic: Cure the enic api locking trainwreck
7c48d6e80e70 iio: adc: stm32-adc: fix runtime autosuspend delay when slow polling
cbe5109aa47b qtnfmac: fix resource leaks on unsupported iftype error return path
1d3188378d9b ibmvnic: set up 200GBPS speed
da012618c502 coresight: etm: perf: Fix warning caused by etm_setup_aux failure
56365dbb3ec2 nl80211: fix OBSS PD min and max offset validation
99e8886339fa nvmem: core: fix possibly memleak when use nvmem_cell_info_to_nvmem_cell()
903bee2ebff1 HID: hid-input: fix stylus battery reporting
1ad7f52fe668 ASoC: fsl_sai: Instantiate snd_soc_dai_driver
56c1c45bb82d slimbus: qcom-ngd-ctrl: disable ngd in qmi server down callback
5bfd32bb16dc slimbus: core: do not enter to clock pause mode in core
9da3ff3368b7 slimbus: core: check get_addr before removing laddr ida
b7e2b1fe04bf quota: clear padding in v2r1_mem2diskdqb()
3fcd75ae29b5 usb: dwc2: Fix parameter type in function pointer prototype
f70650083b9e ALSA: seq: oss: Avoid mutex lock for a long-time ioctl
6f04266d084d misc: mic: scif: Fix error handling path
a7bf4cf31f57 dmaengine: dmatest: Check list for emptiness before access its last entry
4ca39ef88adc ath6kl: wmi: prevent a shift wrapping bug in ath6kl_wmi_delete_pstream_cmd()
572a7d15f2d1 spi: omap2-mcspi: Improve performance waiting for CHSTAT
98d0b2742fe0 net: dsa: rtl8366rb: Support all 4096 VLANs
06ba92787790 ASoC: tlv320aic32x4: Fix bdiv clock rate derivation
0f5203a88ca4 net: wilc1000: clean up resource in error path of init mon interface
26751638ff09 net: dsa: rtl8366: Skip PVID setting if not requested
11064fef1bb1 net: dsa: rtl8366: Refactor VLAN/PVID init
09cb271bcbde net: dsa: rtl8366: Check validity of passed VLANs
714ca2d03282 xhci: don't create endpoint debugfs entry before ring buffer is set.
1a31fa71d979 coresight: etm4x: Handle unreachable sink in perf mode
ed8b90d303cf drm: mxsfb: check framebuffer pitch
c8bc46fc01e4 cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE
1122f2a7833c net: stmmac: use netif_tx_start|stop_all_queues() function
148b49be7277 scsi: mpt3sas: Fix sync irqs
e757a39c2d84 net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow
50185a14fe8e pinctrl: mcp23s08: Fix mcp23x17 precious range
5e829cdd6d62 pinctrl: mcp23s08: Fix mcp23x17_regmap initialiser
44a83bd3243b iomap: Clear page error before beginning a write
82ef2b6a9b6c drm/panfrost: Ensure GPU quirks are always initialised
a74f0f0a6265 drm/msm: Avoid div-by-zero in dpu_crtc_atomic_check()
02bf8fbfb445 HID: roccat: add bounds checking in kone_sysfs_write_settings()
4d861784f0eb ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe()
23159b4375a4 video: fbdev: radeon: Fix memleak in radeonfb_pci_register
2370d94aed41 video: fbdev: sis: fix null ptr dereference
67e65396cd56 video: fbdev: vga16fb: fix setting of pixclock because a pass-by-value error
be700c52ae00 drivers/virt/fsl_hypervisor: Fix error handling path
bf12e769ff2a pwm: lpss: Add range limit check for the base_unit register value
34f326e702fd pwm: lpss: Fix off by one error in base_unit math in pwm_lpss_prepare()
2b6fb30cb49d pty: do tty_flip_buffer_push without port->lock in pty_write
bf94a8754f2a tty: hvcs: Don't NULL tty->driver_data until hvcs_cleanup()
f3f79d92ca71 tty: serial: earlycon dependency
2b150aa2e3ef binder: Remove bogus warning on failed same-process transaction
48c121a74fb6 drm/crc-debugfs: Fix memleak in crc_control_write
751c4cf0ee62 drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel
d911c0e9fcf0 mm/error_inject: Fix allow_error_inject function signatures.
ebc1d548a729 VMCI: check return value of get_user_pages_fast() for errors
659da2df0c5d staging: emxx_udc: Fix passing of NULL to dma_alloc_coherent()
f87f0236bdbb backlight: sky81452-backlight: Fix refcount imbalance on error
517f0785cef9 scsi: csiostor: Fix wrong return value in csio_hw_prep_fw()
a28b846431c6 scsi: qla2xxx: Fix wrong return value in qla_nvme_register_hba()
835e3a595aa3 scsi: qla2xxx: Fix wrong return value in qlt_chk_unresolv_exchg()
49fc81280f83 scsi: qla4xxx: Fix an error handling path in 'qla4xxx_get_host_stats()'
58826ecb7385 drm/gma500: fix error check
84b79c485356 staging: rtl8192u: Do not use GFP_KERNEL in atomic context
dc432c231f4a mwifiex: Do not use GFP_KERNEL in atomic context
7bf50ff5a32c brcmfmac: check ndev pointer
eb4bb7e520a7 ASoC: qcom: lpass-cpu: fix concurrency issue
cab19b7f827b ASoC: qcom: lpass-platform: fix memory leak
0627ae9be941 wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680
a3cf5b3ad12d ath10k: Fix the size used in a 'dma_free_coherent()' call in an error handling path
9981ef0f9cfa ath9k: Fix potential out of bounds in ath9k_htc_txcompletion_cb()
80ff60f046f4 ath6kl: prevent potential array overflow in ath6kl_add_new_sta()
e2a1b94f7fd2 drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel
0a5630dee31f drm/amd/display: Fix wrong return value in dm_update_plane_state()
0d234d1135dc Bluetooth: hci_uart: Cancel init work before unregistering
e99958ec096b drm/vkms: fix xrgb on compute crc
0ae399b5da2a ath10k: provide survey info as accumulated data
450d03435ca9 blk-mq: move cancel of hctx->run_work to the front of blk_exit_queue
96bc5e4cb4c8 spi: spi-s3c64xx: Check return values
a053db13b3e6 spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()
fcf7bf406590 pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB
0120ec32a777 regulator: resolve supply after creating regulator
cd68531d2981 media: ti-vpe: Fix a missing check and reference count leak
5c4ffc07f92e media: stm32-dcmi: Fix a reference count leak
a05590cc08e3 media: s5p-mfc: Fix a reference count leak
0747ff17aa6c media: camss: Fix a reference count leak.
28b21e02dce9 media: platform: fcp: Fix a reference count leak.
4e954d4dea1e media: rockchip/rga: Fix a reference count leak.
aa60f4ad0707 media: rcar-vin: Fix a reference count leak.
55d01160af68 media: tc358743: cleanup tc358743_cec_isr
de566409e3ad media: tc358743: initialize variable
3c66762f0c64 media: mx2_emmaprp: Fix memleak in emmaprp_probe
7fb271426a70 cypto: mediatek - fix leaks in mtk_desc_ring_alloc
cc0f25040972 hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}
90e8f87c0b25 crypto: omap-sham - fix digcnt register handling with export/import
0db26c777a25 media: rcar-csi2: Allocate v4l2_async_subdev dynamically
7906b7a7ce1d media: rcar_drif: Allocate v4l2_async_subdev dynamically
58e2bcb7fa43 media: rcar_drif: Fix fwnode reference leak when parsing DT
79ec0578c7e0 media: i2c: ov5640: Enable data pins on poweron for DVP mode
b2f8546056b3 media: i2c: ov5640: Separate out mipi configuration from s_power
b9ccea540564 media: i2c: ov5640: Remain in power down for DVP mode unless streaming
8409370ae02e media: omap3isp: Fix memleak in isp_probe
79a41d2357c6 media: staging/intel-ipu3: css: Correctly reset some memory
8bcc5c270771 media: uvcvideo: Silence shift-out-of-bounds warning
8504250759f4 media: uvcvideo: Set media controller entity functions
8b426d665a41 media: m5mols: Check function pointer in m5mols_sensor_power
361a1b76b2d2 media: ov5640: Correct Bit Div register in clock tree diagram
7052f4c5ab51 media: Revert "media: exynos4-is: Add missed check for pinctrl_lookup_state()"
c6243d107c32 media: tuner-simple: fix regression in simple_set_radio_freq
ac36f94d34df crypto: picoxcell - Fix potential race condition bug
71444295839c crypto: ixp4xx - Fix the size used in a 'dma_free_coherent()' call
3dd9ffbb6eda crypto: mediatek - Fix wrong return value in mtk_desc_ring_alloc()
528acbf310ff crypto: algif_skcipher - EBUSY on aio should be an error
d6623eea9abb x86/events/amd/iommu: Fix sizeof mismatch
200f13d0d9a1 x86/nmi: Fix nmi_handle() duration miscalculation
b257bb437dc3 perf/x86/intel/uncore: Reduce the number of CBOX counters
e089a75b7786 perf/x86/intel/uncore: Update Ice Lake uncore units
cfa97676cb44 sched/fair: Fix wrong cpu selecting from isolated domain
500a98894821 drivers/perf: thunderx2_pmu: Fix memory resource error handling
1731c693a62c drivers/perf: xgene_pmu: Fix uninitialized resource struct
7e297c83e64d x86/fpu: Allow multiple bits in clearcpuid= parameter
ab6bb1c1f1de perf/x86/intel/ds: Fix x86_pmu_stop warning for large PEBS
9aee8216556e EDAC/ti: Fix handling of platform_get_irq() error
64a9f5a30fbb EDAC/aspeed: Fix handling of platform_get_irq() error
4d86328e42c3 EDAC/i5100: Fix error handling order in i5100_init_one()
24543df3f491 crypto: caam/qi - add fallback for XTS with more than 8B IV
66ec3755f791 crypto: algif_aead - Do not set MAY_BACKLOG on the async path
68e3b25444cb ima: Don't ignore errors from crypto_shash_update()
4a62024168c3 KVM: SVM: Initialize prev_ga_tag before use
39ba2b6c3d11 KVM: x86/mmu: Commit zap of remaining invalid pages when recovering lpages
413aeed19567 KVM: nVMX: Reload vmcs01 if getting vmcs12's pages fails
f9ac2036344a KVM: nVMX: Reset the segment cache when stuffing guest segs
a5513655cfee SMB3: Resolve data corruption of TCP server info fields
aeaa30720d67 cifs: Return the error from crypt_message when enc/dec key not found.
65604f3ea2f2 cifs: remove bogus debug code
706538edacc6 ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887
5e19bf634c92 ALSA: hda/realtek - Add mute Led support for HP Elitebook 845 G7
995a90e70429 ALSA: hda/realtek - set mic to auto detect on a HP AIO machine
a40f49438a15 ALSA: hda/realtek - The front Mic on a HP machine doesn't work
8df0ffe2f32c icmp: randomize the global rate limiter
9fa95d101caf tcp: fix to update snd_wl1 in bulk receiver fast path
c5e4e010f39e selftests: rtnetlink: load fou module for kci_test_encap_fou() test
6f7c40767bf4 selftests: forwarding: Add missing 'rp_filter' configuration
f93a27b0f301 r8169: fix operation under forced interrupt threading
68db21094ee5 nfc: Ensure presence of NFC_ATTR_FIRMWARE_NAME attribute in nfc_genl_fw_download()
2f58abe7708a nexthop: Fix performance regression in nexthop deletion
d6d478290815 net/sched: act_tunnel_key: fix OOB write in case of IPv6 ERSPAN tunnels
09ea22aa3681 net: Properly typecast int values to set sk_max_pacing_rate
432336b3cf2a net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup
62d366f8e570 net: hdlc: In hdlc_rcv, check to make sure dev is an HDLC device
1a3c8d6acbfc net: ftgmac100: Fix Aspeed ast2600 TX hang issue
7a6a016c5281 ibmvnic: save changed mac address to adapter->mac_addr
416eec363622 chelsio/chtls: correct function return and return type
15110ce6e26f chelsio/chtls: correct netdevice for vlan interface
fe97af291fee chelsio/chtls: fix socket lock
750e81e2dbc0 nvme-pci: disable the write zeros command for Intel 600P/P3100
a86bf1d8b19c ALSA: hda/hdmi: fix incorrect locking in hdmi_pcm_close
17784cec2da4 ALSA: hda: fix jack detection with Realtek codecs when in D3
8bedcbceaaa3 ALSA: bebob: potential info leak in hwdep_read()
401d4d79a8ed binder: fix UAF when releasing todo list
711c0471ef17 cxgb4: handle 4-tuple PEDIT to NAT mode translation
5f269cb9e513 r8169: fix data corruption issue on RTL8402
c5b868eecb4f net_sched: remove a redundant goto chain check
ba05057bd056 net/ipv4: always honour route mtu during forwarding
46a55a44cc75 net: j1939: j1939_session_fresh_new(): fix missing initialization of skbcnt
25bd9ea1ae5b can: j1935: j1939_tp_tx_dat_new(): fix missing initialization of skbcnt
b0342b87cad8 can: m_can_platform: don't call m_can_class_suspend in runtime suspend
c4099221dbc0 socket: fix option SO_TIMESTAMPING_NEW
7d31e5722cbf tipc: fix the skb_unshare() in tipc_buf_append()
dd3f58f499d0 net: usb: qmi_wwan: add Cellient MPL200 card
65033e39f728 net/tls: sendfile fails with ktls offload
926210cd8158 net/smc: fix valid DMBE buffer sizes
cdd3c52a983e net: fix pos incrementment in ipv6_route_seq_next
f08752a4498b net: fec: Fix PHY init after phy_reset_after_clk_enable()
9e70485b40c8 net: fec: Fix phy_device lookup for phy_reset_after_clk_enable()
0b41975f7b78 mlx4: handle non-napi callers to napi_poll
3392c9d8f9aa ipv4: Restore flowi4_oif update before call to xfrm_lookup_route
b7d2587f726a ibmveth: Identify ingress large send packets.
b809bead48a3 ibmveth: Switch order of ibmveth_helper calls.
(From OE-Core rev: 5405e16eec6d67025e3e2933aeda77d2d97bbee6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13cc1130b778f60330534804153abef4c4833ea4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
52f6ded2a377 Linux 5.4.72
865b015e8d41 crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA
aa1167908ac4 crypto: bcm - Verify GCM/CCM key length in setkey
564312e08892 xen/events: don't use chip_data for legacy IRQs
041445d0d577 reiserfs: Fix oops during mount
046616898a57 reiserfs: Initialize inode keys properly
22ab9ca024a0 USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters
bfb1438e8c15 USB: serial: pl2303: add device-id for HP GC device
aecf3a1c11dc staging: comedi: check validity of wMaxPacketSize of usb endpoints found
8aff87284be6 USB: serial: option: Add Telit FT980-KS composition
3c3eb734ef1f USB: serial: option: add Cellient MPL200 card
b970578274e9 media: usbtv: Fix refcounting mixup
6ad2e647d91f Bluetooth: Disconnect if E0 is used for Level 4
21d2051d1f1c Bluetooth: Fix update of connection state in `hci_encrypt_cfm`
ed6c361e3229 Bluetooth: Consolidate encryption handling in hci_encrypt_cfm
155bf3fd4e8c Bluetooth: MGMT: Fix not checking if BT_HS is enabled
66a14350de9a Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel
0d9e9b6e1a26 Bluetooth: A2MP: Fix not initializing all members
54f8badb9bc9 ACPI: Always build evged in
30ddaa4c0c95 ARM: 8939/1: kbuild: use correct nm executable
1bf467fdfeae btrfs: take overcommit into account in inc_block_group_ro
39c5eb1482b2 btrfs: don't pass system_chunk into can_overcommit
bc79abf4afea perf cs-etm: Move definition of 'traceid_list' global variable from header file
(From OE-Core rev: 557ba35a9704f7cba8a2ff1cf4d3791e8bbe8538)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5da55c543cf38ca1082bc160fd571b3c7c6a40ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
85b0841aab15 Linux 5.4.71
22e6625babfc net_sched: commit action insertions together
a5de4ee6d055 net_sched: defer tcf_idr_insert() in tcf_action_init_1()
dbb763107d3e net: usb: rtl8150: set random MAC address when set_ethernet_addr() fails
6c9edf2d855a Input: ati_remote2 - add missing newlines when printing module parameters
536c767b14e3 net/mlx5e: Fix driver's declaration to support GRE offload
8dc5025c6a44 net/tls: race causes kernel panic
a42dbd059ef6 net/core: check length before updating Ethertype in skb_mpls_{push,pop}
e39c9eba9bef tcp: fix receive window update in tcp_add_backlog()
2729afe17987 mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged
d94c1505fa91 mmc: core: don't set limits.discard_granularity as 0
760c7a948bea perf: Fix task_function_call() error handling
b750f86a62d1 rxrpc: Fix server keyring leak
ae1a085b4aac rxrpc: The server keyring isn't network-namespaced
513dd1609c9d rxrpc: Fix some missing _bh annotations on locking conn->state_lock
422f5c5d3ef9 rxrpc: Downgrade the BUG() for unsupported token type in rxrpc_read()
7e1f39b5c1d5 rxrpc: Fix rxkad token xdr encoding
9a52da3f61b4 net/mlx5e: Fix VLAN create flow
6b9752d85e72 net/mlx5e: Fix VLAN cleanup flow
47e83c69fe14 net/mlx5e: Add resiliency in Striding RQ mode for packets larger than MTU
1e7a94724b78 net/mlx5: Fix request_irqs error flow
073fff810206 net/mlx5: Avoid possible free of command entry while timeout comp handler
0955c774f32d virtio-net: don't disable guest csum when disable LRO
15f84bdf6185 net: usb: ax88179_178a: fix missing stop entry in driver_info
70877d04d41f r8169: fix RTL8168f/RTL8411 EPHY config
7a96cbd74fcd mlxsw: spectrum_acl: Fix mlxsw_sp_acl_tcam_group_add()'s error path
f3b35c3782ed mdio: fix mdio-thunder.c dependency & build error
8d103b1f9ce5 bonding: set dev->needed_headroom in bond_setup_by_slave()
3ce96a55b756 net: ethernet: cavium: octeon_mgmt: use phy_start and phy_stop
e987ea087fd2 iavf: Fix incorrect adapter get in iavf_resume
029ced5cce89 iavf: use generic power management
84ab35eacdf2 xfrm: Use correct address family in xfrm_state_find
4d3edb2e4d6e platform/x86: fix kconfig dependency warning for FUJITSU_LAPTOP
dd2786a3e521 net: stmmac: removed enabling eee in EEE set callback
e9a12de5a2be xfrm: clone whole liftime_cur structure in xfrm_do_migrate
7ea7436c406c xfrm: clone XFRMA_SEC_CTX in xfrm_do_migrate
c1becfebe33e xfrm: clone XFRMA_REPLAY_ESN_VAL in xfrm_do_migrate
0bea401a9a5a xfrm: clone XFRMA_SET_MARK in xfrm_do_migrate
f825fd534f8b iommu/vt-d: Fix lockdep splat in iommu_flush_dev_iotlb()
bdffb36bcd38 drm/amdgpu: prevent double kfree ttm->sg
4034664a733e openvswitch: handle DNAT tuple collision
f89128ad358e net: team: fix memory leak in __team_options_register
003269d8d6de team: set dev->needed_headroom in team_setup_by_port()
fb3681c20fbf sctp: fix sctp_auth_init_hmacs() error path
040e3110d49c i2c: owl: Clear NACK and BUS error bits
abe997f632d1 i2c: meson: fixup rate calculation with filter delay
6db69c390622 i2c: meson: fix clock setting overwrite
209549c1c0f0 cifs: Fix incomplete memory allocation on setxattr path
0afdda28eb2b xfrmi: drop ignore_df check before updating pmtu
49af88ac6534 nvme-tcp: check page by sendpage_ok() before calling kernel_sendpage()
15cac17d9d39 tcp: use sendpage_ok() to detect misused .sendpage
d23dd3864b4c net: introduce helper sendpage_ok() in include/linux/net.h
5c62d335317c mm/khugepaged: fix filemap page_to_pgoff(page) != offset
1317469fa05b macsec: avoid use-after-free in macsec_handle_frame()
20f96fee81c6 nvme-core: put ctrl ref when module ref get fail
c0f3c5386995 btrfs: allow btrfs_truncate_block() to fallback to nocow for data space reservation
e531fd7f8b3a btrfs: fix RWF_NOWAIT write not failling when we need to cow
1f90600e259b btrfs: Ensure we trim ranges across block group boundary
6a0f5da2db3b btrfs: volumes: Use more straightforward way to calculate map length
5aefd1fa9f4d Btrfs: send, fix emission of invalid clone operations within the same file
19d8412679f2 Btrfs: send, allow clone operations within the same file
f02dc39bbb20 arm64: dts: stratix10: add status to qspi dts node
e8e1d16e0b89 i2c: i801: Exclude device from suspend direct complete optimization
2118c7ba5f2a perf top: Fix stdio interface input handling with glibc 2.28+
2499c15115ac perf test session topology: Fix data path
7c1847aa4932 driver core: Fix probe_count imbalance in really_probe()
3fd2647f9d68 platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse
da4cdc87dfeb platform/x86: intel-vbtn: Switch to an allow-list for SW_TABLET_MODE reporting
6440fb9bda91 bpf: Prevent .BTF section elimination
67a57230b4bf bpf: Fix sysfs export of empty BTF section
9bd694ccfd44 platform/x86: thinkpad_acpi: initialize tp_nvram_state variable
d101961ce588 platform/x86: intel-vbtn: Fix SW_TABLET_MODE always reporting 1 on the HP Pavilion 11 x360
2293272345ff Platform: OLPC: Fix memleak in olpc_ec_probe
ce8432912f1b usermodehelper: reset umask to default before executing user process
920a61ddd3b5 vhost: Use vhost_get_used_size() in vhost_vring_set_addr()
57b47abc1a4a vhost: Don't call access_ok() when using IOTLB
456d77c1bdfa drm/nouveau/mem: guard against NULL pointer access in mem_del
8ece83bf754f net: wireless: nl80211: fix out-of-bounds access in nl80211_del_key()
ee413b2915bf io_uring: Fix double list add in io_queue_async_work()
efb1cef27d59 io_uring: Fix remove irrelevant req from the task_list
75524f753318 io_uring: Fix missing smp_mb() in io_cancel_async_work()
d9e81b2fb372 io_uring: Fix resource leaking when kill the process
4f46ef7bec86 Revert "ravb: Fixed to be able to unload modules"
1b2fcd82c0ca fbcon: Fix global-out-of-bounds read in fbcon_get_font()
f51ec3fd7128 Fonts: Support FONT_EXTRA_WORDS macros for built-in fonts
eebe3685701b fbdev, newport_con: Move FONT_EXTRA_WORDS macros into linux/font.h
d22f99d235e1 Linux 5.4.70
253052b636e9 netfilter: ctnetlink: add a range check for l3/l4 protonum
27423bb05e25 ep_create_wakeup_source(): dentry name can change under you...
8e58bad666bb epoll: EPOLL_CTL_ADD: close the race in decision to take fast path
099b7a1bc791 epoll: replace ->visited/visited_list with generation count
8993da3d4d3a epoll: do not insert into poll queues until all sanity checks are done
8db44b30d392 nvme: consolidate chunk_sectors settings
03f4f85bbd7d nvme: Introduce nvme_lba_to_sect()
34b939695f28 nvme: Cleanup and rename nvme_block_nr()
9626c1a63703 mm: don't rely on system state to detect hot-plug operations
42b7153dd6a6 mm: replace memmap_context by meminit_context
2334b2d5a2bd block/diskstats: more accurate approximation of io_ticks for slow disks
1d13c3a5000b random32: Restore __latent_entropy attribute on net_rand_state
4faf2c3a97ec scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting
ea4c691b58d7 Input: trackpoint - enable Synaptics trackpoints
21b9387253a7 i2c: cpm: Fix i2c_ram structure
811ac052e264 gpio: aspeed: fix ast2600 bank properties
f2a2380812c6 gpio/aspeed-sgpio: don't enable all interrupts by default
8323d1e09037 gpio/aspeed-sgpio: enable access to all 80 input & output sgpios
eddeff708c15 iommu/exynos: add missing put_device() call in exynos_iommu_of_xlate()
08e66c0c1c0e clk: samsung: exynos4: mark 'chipid' clock as CLK_IGNORE_UNUSED
0ded28e3c468 clk: tegra: Always program PLL_E when enabled
2f37a1ef1e5d nfs: Fix security label length not being reset
6c5a11ead942 pinctrl: mvebu: Fix i2c sda definition for 98DX3236
ae68b15839b0 phy: ti: am654: Fix a leak in serdes_am654_probe()
543ea1af5744 gpio: sprd: Clear interrupt when setting the type as edge
8c03d0ef62dd nvme-fc: fail new connections to a deleted host or remote port
2b217eafcf74 nvme-pci: fix NULL req in completion handler
157ccdf7eb2c spi: fsl-espi: Only process interrupts for expected events
8cc5eb809aa5 tools/io_uring: fix compile breakage
4e4646c85e89 tracing: Make the space reserved for the pid wider
a0fe7f705457 mac80211: do not allow bigger VHT MPDUs than the hardware supports
355a710f0813 mac80211: Fix radiotap header channel flag for 6GHz band
126e6099b8c1 drivers/net/wan/hdlc: Set skb->protocol before transmitting
3ba3fc3e7ea6 drivers/net/wan/lapbether: Make skb->protocol consistent with the header
89fd103fbbb0 fuse: fix the ->direct_IO() treatment of iov_iter
44b4baf850bd nvme-core: get/put ctrl and transport module in nvme_dev_open/release()
0bcc3480393b rndis_host: increase sleep time in the query-response loop
f19ff011027b net: dec: de2104x: Increase receive ring size for Tulip
e9af030ddd4b drm/sun4i: mixer: Extend regmap max_register
985a56c58c4f drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices
91d59157b103 libbpf: Remove arch-specific include path in Makefile
688aa0e0aaf9 clocksource/drivers/timer-gx6605s: Fixup counter reload
3d54a640e20c drm/amdgpu: restore proper ref count in amdgpu_display_crtc_set_config
de21eb7f8cb0 memstick: Skip allocating card when removing host
c524a17312d4 ftrace: Move RCU is watching check after recursion check
5ac7065e0866 iio: adc: qcom-spmi-adc5: fix driver name
ac3bf99fc26a Input: i8042 - add nopnp quirk for Acer Aspire 5 A515
aee38af574a1 xfs: trim IO to found COW extent limit
aed60a1746ba net: virtio_vsock: Enhance connection semantics
215459ff3666 vsock/virtio: add transport parameter to the virtio_transport_reset_no_sock()
14c79ef213c2 clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
79c8ebdce55c gpio: tc35894: fix up tc35894 interrupt configuration
035f59ad4ba8 gpio: mockup: fix resource leak in error path
b079337f697a gpio: siox: explicitly support only threaded irqs
57bd08a301f7 USB: gadget: f_ncm: Fix NDP16 datagram validation
23389cf97aa1 mmc: sdhci: Workaround broken command queuing on Intel GLK based IRBIS models
09c826447cb0 btrfs: fix filesystem corruption after a device replace
(From OE-Core rev: 9c3eaefcd6f733f69288a6f65b04b89d13b3ba45)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8f9352782e610775efbb059fbfb5a6b997d2ec88)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When comparing builds built with different host umasks, this file jumped out.
The umask from do_compile was influencing ${D} and as cp was used to add the
file it wasn't deterministic. Fix the file mode to ensure determinism.
(From OE-Core rev: 071806feb195961e59069f778c9ae8f27a739d9a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37f37f4a52de3711973b372160f23672b61ff6ad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If files are copied into /usr/src/debug directly from WORKDIR (e.g. makedevs)
we'd get the permissions from the checkout which would depend on the host umask.
Avoid this and be deterministic by setting the file modes consistently. Core
code copies the files in so we're responsible for the permissions.
Unfortunately to force this change to apply we need to invalidate both
the package tasks and the hash equivalance mappings since file mode
'corruption' already made it into the output hashes (both input options
were mapped to the output hashes).
(From OE-Core rev: 20b8ffcbeadb6eb9e87356ee173ead43016d458b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f958bcd6c9cd12ec76d80586cba15f4d6ed17a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 'echo -e' and replace it with 'printf'. In bash the builtin
'echo' has an option for interpreting backslash escapes. In a shell like
dash the builtin 'echo' interprets backslash escapes by default.
Therefor the 'echo' in dash doesn't have the '-e' option. When using
'printf' instead it is safe to use it either with bash or dash.
(From OE-Core rev: 34161447a03386d629a3782dabcd7f56fd8b9814)
Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c747acca33f84879a1ebd0ef972c07f4d5dff8b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the equality operator '==' with '=' inside of '[]' to be
compatible with bash and dash.
(From OE-Core rev: 5fe58dbfbc42aa105a6be6444878f0c0588cb4d5)
Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b7f0ec6eafb35117eaf4eeef281162080f0ca79a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are CVEs with the 'gst-plugins-base' product, so set that.
(From OE-Core rev: 13fd15a894356394904e2c818c837d7733bd56f8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec0f0e5995ab498f50ad51ceb361784247614982)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are CVEs with the 'gst-rtsp-server' product, so set that.
(From OE-Core rev: 0ca33b3edaa59f723fefed88c2a68c96e909dce0)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb5cbdead78d092733e783b09528b208efccac3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This issue describes expected behaviour, do not use tarfile with
untrusted data.
(From OE-Core rev: 267130c66dde462a0a1043ab5dffdb86781389a0)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4c22e83f2e68ff157da5ea1303acc2931d63f5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output currently shows the remapped product and version fields,
which may not be the actual recipe name/version. As this report is about
recipes, use the real values.
(From OE-Core rev: 2618eedbafc408c41479e63dac88a9b5bab461fc)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18827d7f40db4a4f92680bd59ca655cca373ad65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When copying license files to the image rootfs, i.e to
/usr/share/common-licenses, a canonical name of a license should be
used, otherwise duplicated files end up in common-licenses directory.
For example, GPL-2.0 license according to conf/license.conf can be
referenced in recipes as GPL-2, GPLv2, and GPLv2.0. If a license name is
used directly, we end up with three files in the rootfs with the same
content. If a canonical name used instead, then each license gets copied
only once.
(From OE-Core rev: d31fd6a2fc2334a20d4fd1bcfe5964c462d1bb98)
Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 670fe71dd18ea675f35581db4a61fda137f8bf00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per lib/oe/rootfs.py and lib/oe/package_manager/???/__init__.py
the PACKAGE_FEED baseurl is defined as the joined paths of:
URIS/BASE_PATHS/ARCHS
Therefore, the do_rootfs task should depend furthermore on
PACKAGE_FEED_{BASE_PATHS,ARCHS} to properly retrigger a build if
the value changes.
(From OE-Core rev: 5ebd147ecb59a8b3b9919c5c96ebc1dd66fefa36)
Signed-off-by: Loic Domaigne (ljd) <tech@domaigne.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5329464f5ebad909c4c9bd27a718bbd8f4cc221)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 'ld-is-gold' and linux kernel 5.4 or later, menuconfig
task for kernel recipes will fail with:
$ bitbake -c menuconfig virtual/kernel
...
scripts/kconfig/mconf Kconfig
scripts/Kconfig.include:43: gold linker 'x86_64-poky-linux-ld' not supported
/OE/build/tmp/work-shared/qemux86-64/kernel-source/scripts/kconfig/Makefile:29:
recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 1
/OE/build/tmp/work-shared/qemux86-64/kernel-source/Makefile:606:
recipe for target 'menuconfig' failed
make[1]: *** [menuconfig] Error 2
/OE/build/tmp/work-shared/qemux86-64/kernel-source/Makefile:185:
recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
Command failed.
This is because that the KERNEL_LD variable already set in
kernel-arch.bbclass isn't used by do_menuconfig function of
cml1.bbclass.
To fix this issue specify LD variable while calling the kernel
menuconfig command through KERNEL_KCONFIG_COMMAND.
(From OE-Core rev: 5f85104363cf496d76c3d29a05ba4406701d2878)
Signed-off-by: Wonmin Jung <wonmin82@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1faf66ce0b1f8f5165277161e07e25e672370c3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two copies of this patch floating around, and the merged
variant has the copy in the wrong place.
module.lds is only created during modules_prepare, and that target is
not invoked during our main build of the kernel. We aren't about to
change the kernel build (there's no need), so we move the copy into
the compile_kernelmodules task. After that runs, we have module.lds
availble to copy.
This has been tested against clean kernel + out of tree module
builds, and the dependencies are correct that the file is copied
before the out of tree module build starts.
(From OE-Core rev: 38c6c6f4a460e9c0593e2530ffeaf20b24fd83a9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7d94f9209ebaaf59ea001239a889dd7f928a0e7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream commit 596b0474d3d [kbuild: preprocess module linker
script], adds a dependency on module.lds for external module
building.
Since module.lds is generated as part of 'modules_prepare', we
must make it available with the other kernel artifacts in the
kernel shared workdir, otherwise out of tree builds fail.
This fixes errors like:
| make[4]: *** No rule to make target 'scripts/module.lds', needed by
'build/tmp/work/qemuarm64-poky-linux/cryptodev-module/1.11-r0/git/cryptodev.ko'.
Stop.
| make[4]: *** Waiting for unfinished jobs....
We also ensure that kernel-devsrc has a copy to support on
target module builds that are often prepared with 'make scripts
prepare'. Those targets won't regenerate it, so the build fails.
If 'make modules_prepare' is used, the file will be regenerated
and overwrite our copy (as expected).
(From OE-Core rev: 46bc7719ea5ddf4342921c1b2721c73c1a3694a6)
Signed-off-by: Pan, Kris <kris.pan@intel.com>
Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0fc66a0b64953aae38d0124b57615fffaec8de52)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The introspected API for GtkTreeModel and friends had some unexpected
quirks which have now been fixed, see[1] for details. However, for
example Ubuntu 20.04 has the fixed GTK but not an updated pygobject which
means taskexp raises an exception on startup.
Solve by manually looking at what functions are present and calling the
right one.
[ YOCTO #14055 ]
[1] 9cdbc56fba
(Bitbake rev: d171188cf966852326916f726cbd3ca9627b831c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ac7d1114a7e99e6efd6a37b03d170faf678513fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is issue on _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath.
Since it is .dll issue (on windows only), hence whitelist it.
https://bugs.python.org/issue29778
(From OE-Core rev: c216431d0704bd8be237e860bbdc32be34a82aee)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ctypes module needs to use "ldconfig -p" to find the
library path and it simply has below logic if no ldconfig
installed.
except OSError:
pass
Before the patch:
>>> from ctypes.util import find_library
>>> lib_path = find_library('archive')
>>> print(lib_path)
None
After the patch:
>>> from ctypes.util import find_library
>>> lib_path = find_library('archive')
>>> print(lib_path)
libarchive.so.13
(From OE-Core rev: 84e1a32096db9deb98d282a652beec95dbfe80f1)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddb96902a124a6e1f035f0fd868b0139989bc1bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for un ptests in multiple directories, useful in multilib
builds.
Changes,
1e9a845 Add support to specify multiple folder for ptest-runner
287ba30 Makefile: Fix TEST_LDFLAGS gcc cmdline position
[YOCTO #12604]
(From OE-Core rev: bd7de7dd0992e0d7a6cc322a54cf9e69b052acca)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1203ee86e3cf4d73f6ba513452717f1c4f78c501)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The check for a git HEAD still wasn't quite correct because it was using
the .git directory as the current working directory. Instead, it should
be passed as the --git-dir argument when running git. Running `git
rev-parse HEAD` in a .git directory with no HEAD reports 'HEAD' and
exits with success but then 'git log' will fail, which is not what we
want.
(From OE-Core rev: 31f00ec9c6ab5fe74f1ba59f79322497ef8f4dc7)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cdbd47dd7e1657b91b65a0940b7cbf119764240f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes an error that occurs when attempting to get the timestamp of the
latest commit when there is no HEAD in the git repository. The easiest
way to trigger this condition is to use the 'subdir=' option when
specifying a 'git://' SRC_URI.
(From OE-Core rev: 02e42107e1c6145c215bfd74fe17fd8abc2db04f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a64caca5b5dbe4a76acd0b5709b2c3e75b245863)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Moves most of the python code used for dealing with the source date
epoch to library code.
(From OE-Core rev: bb957547fbd3f6670220706642b49fee560c6b75)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a7ede90955bc0c8bec1cbb3cab498ef2583b2f4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libbsd contains a multitude of licenses. For (commercial) projects the
3rd clause of the BSD-4-Clause license can be problematic. But only a
few man pages use this license. This means that the main package
containing the binary library itself is not under BSD-4-Clause ruling.
(From OE-Core rev: 5ff745ae91540e1a664647aff7ad5ea8bd39c01f)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c3e3f83b5fb162d161a7b9773d426418a22c05f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OpenSSH server, as used in Fedora and Red Hat Enterprise
Linux 7 and when running in a Kerberos environment, allows remote
authenticated users to log in as another user when they are listed
in the .k5users file of that user, which might bypass intended
authentication requirements that would force a local login.
Whitelist the CVE since this issue is Redhat specific.
(From OE-Core rev: 49955248b6011450a8767496783fb9f4738c9a99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 309132e50d23b1e3f15ef8db1a101166b35f7ca4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
powerpc 32bit Linux Kernel widely uses .stabs pseudo-op to
produce debugging information in stabs format. Faced an issue
that during Linux Kernel build with Yocto build system for 32bit
powerpc platform resulting vmlinux contains absolute path in
.stabstr section that cannot be remapped with -fdebug-prefix-map
option.
Yocto uses scripts/mkmakefile Linux Kernel build approach that
allows to store all generated files outside of kernel source
tree. With this approach each compilier invocation is performed
with an absolute path to a file that will be compiled and this
absolute path is recorded in init stab. There is no way to remap
this path.
Reuse remap_debug_filename api to make -fdebug-prefix-map flag
aplicable for init stab.
(From OE-Core rev: b90799fd0f38cd013bebadbe5b9c50b4f93e84af)
Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a run is ended by overall timeout, print the already executed
testcases, to provide some hints which testcase might made the
test suite reach global timeout.
Nonetheless make the testrun exit with an error
(From OE-Core rev: aca4b863c2878b31c3cb506b05d1e19ef525e4af)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bcc643195a3b3c66d698fac8b7af037c08545ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with _run_start_time as value. For partial results of interrupted runs,
this info might be otherwise missing for at least one testcase
(From OE-Core rev: 4ebf97e36d9def38fb869cbbbd5ce10f5d2669a3)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
register an unittest handler for testresults and expose it as
variable result.
With this even partial results from an interrupted test suite run
can be made available
(From OE-Core rev: 07a3ea1aece5c67d75b60417ee0978cc0e15719a)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a97ae47525157871b6c098ffc352293e365a4335)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding SECLABEL{selinux}="some value" causes systemd-udev
to crash.
So applied below available patch to fix the issue.
systemd-udev-seclabel-options-crash-fix.patch
Link: 0335d110af.patch
(From OE-Core rev: fde72d75175d2a258e5095addd73d3da0998fc3f)
Signed-off-by: akash hadke <akash.hadke@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not a critical bug fix but it can be usefull in some BSP
with exotic drivers like on nvidia tegra bsp.
(From OE-Core rev: 2237b8a536c8c13ad59d7e93d96f6602881dc4f2)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is host contamination and can also fail for all kinds of
reasons when running under usermode qemu.
(From OE-Core rev: a88495acd867ba1268428cebe0d2d6c672d24b38)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb60d0920b660dffb346b2212dc6f8ba2a0b9fde)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diffstat tool is part of HOSTTOOLS. To support hosts that do not
have it installed with buildtools-tarball it must be enabled for
nativesdk.
(From OE-Core rev: 537847e60b2d0a04a1a15a857201be9f8c2aa9b4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed002422bc46539f1d71ed19ee17358b6691bf0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the modconf fragments representing the configuration for
kernel modules are written out to appropriate .conf files and added to
the FILES variable. However they are not identified as 'configuration
files' and installing a new version of a kernel module results in a
conflict and a failed installed because the respective .conf file is
already in place from a previous install.
Add the generated .conf files to the CONFFILES variable denoting their
true nature.
(From OE-Core rev: b5a113273dc4c062a4b734a403a3bb4a5e92c8ee)
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a70a92d1f1006be115429a4262259c9084f484d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parts of alsa-utils are v2 only, parts are v2 or later. The effect is
the end result is GPLv2 and there seems little value in marking everything
as being a mixture of both. Fix LICENSE to match reality.
(From OE-Core rev: 23f482ba5e6f2b0ab093ad73c4b22978f4bde543)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9a17a991174b732597e21045763ea851f486a01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license headers are clear that the code is "or later", fix LICENSE
to match.
(From OE-Core rev: f46aac0fb7c4f1777a19720b05cf0eb83f4dd988)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e565e0b908c71ad5106d1c6c73d269b819787e55)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license headers are clear that the code is "or later", fix LICENSE
to match.
(From OE-Core rev: c0d1eb1efad160b7832abd87a168ca547c296d94)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f0b5cdfcb104ac50222a47652e090ad8770e49f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The mkfs.vfat tool can also be provided by busybox via the CONFIG_MKFS_VFAT
configuration (not enabled by default in OE but can be enabled on
systems avoiding components based on GPLv3).
(From OE-Core rev: 4afa9f08123df819e53b5d9d586f7a34dcde1ef1)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1227a29974671fd52014deaca7ac859a037cdeb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean up several patches introduced in commit 6732918498 ("grub:fix
several CVEs in grub 2.04").
1) Add CVE tags to individual patches.
2) Rename upstream patches and prefix them with CVE tags.
3) Add description of reference to upstream patch.
(From OE-Core rev: 4f395ad49ef9035954d0fda7b7df14dea18b49a0)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bcb8b6719beaf6625e6b703e91958fe8afba5819)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches from https://git.savannah.gnu.org/git/grub.git
to fix some CVEs. Here is the list.
CVE-2020-14308:
0001-calloc-Make-sure-we-always-have-an-overflow-checking.patch
0002-lvm-Add-LVM-cache-logical-volume-handling.patch
0003-calloc-Use-calloc-at-most-places.patch
CVE-2020-14309, CVE-2020-14310, CVE-2020-14311:
0004-safemath-Add-some-arithmetic-primitives-that-check-f.patch
0005-malloc-Use-overflow-checking-primitives-where-we-do-.patch
CVE-2020-15706:
0006-script-Remove-unused-fields-from-grub_script_functio.patch
0007-script-Avoid-a-use-after-free-when-redefining-a-func.patch
CVE-2020-15707:
0008-linux-Fix-integer-overflows-in-initrd-size-handling.patch
(From OE-Core rev: af52a1f1f3a2ab61fea263c3dd17628f359ec906)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67329184985a03534f11f95e9df5f9fb2305a261)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add packages for the firmware required by the Nvidia chipsets.
Split it in Tegra K1, all other Tegras and desktop GPU packages.
(From OE-Core rev: 0671d049785708044491927ce65ef527d2603639)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f03b7bc5f164afd9cbb0c2bd3a932bb85d968bf7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add package for the firmware required by the Marvell 8997 chipset when
connected over SDIO.
(From OE-Core rev: 37a815399aaa216b1c498dd8b82416c4df471755)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8b69d826702db9f5a3482754db8967c924a156d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Steps to reproduce:
echo "IMAGE_INSTALL_append = \" udev-hwdb lib32-udev-hwdb\"" >> conf/local.conf
When install both udev-hwdb and lib32-udev-hwdb as above,
there comes below do_populate_sdk error:
$ bitbake core-image-sato -c populate_sdk
ERROR: Task (/path/core-image-sato.bb:do_populate_sdk) failed with exit code '134'
NOTE: Tasks Summary: Attempted 5554 tasks of which 0 didn't need to be rerun and 1 failed.
$ cat /path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/pseudo/pseudo.log
[snip]
inode mismatch: '/path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/sdk/image/usr/local/oecore-x86_64/sysroots/core2-64-poky-linux/lib/udev/hwdb.bin' ino 427383040 in db, 427383042 in request.
[snip]
It is because both udev-hwdb and lib32-udev-hwdb will generate
${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/udev/hwdb.bin during do_populate_sdk
and it triggers pseudo error.
So clean hwdb.bin before generate hwdb.bin to avoid conflict to
fix the above do_populate_sdk error.
(From OE-Core rev: 10413cf013ae5a92ef12f33dab8e67f0bfb0ae25)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7472925feb53ce92c1799feba2b7a9104e3f38f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 3.5.0 is a security release
Reference:
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
The primary purpose of the jquery recipe is to make the diffoscope
output from the autobuilder easier to navigate.
Master branch has been using 3.5.X for some time now so this should
be a safe upgrade.
(From OE-Core rev: 555cfcf53acf5e7ebe64874de33fa696670ce18c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0f883c4cbdcf722767b437a69002244be4cf8d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactoring of SDL2 internal API has broken SDL_RenderFillRect for
DirectFB. The problem has already been fixed upstream.
(From OE-Core rev: e0201460f7888d220555e84ce2981ff5578114d4)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a7c8dfc1f9beebeb9da7f61b323d85fba82ec1cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build of libsdl2 with directfb is broken due to a spurious '}' and a
missing 'E' since version 2.0.12. The upstream is already fixed.
(From OE-Core rev: f8d552be2e0bceb18ada28d34e962355050d9dae)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8963daba093c3c5e2c60e1e4e057862971b84cb0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to SDPX.org "Python License 2.0" is the overall Python
license, which is comprised of several licenses. "Python Software
Foundation License 2.0" is part of the complete Python license, but is
also used independently by some projects.
So far the license names PSF and PSFv2 found in LICENSE are mapped to
to Python-2.0. This patch maps PSF and PSFv2 to PSF-2.0 und thus
corrects the impression that Python-2.0 and PSF-2.0 are synonymous.
(From OE-Core rev: 0898bd34fa79c34704b63d21806d7738af06abb8)
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef89f176d10ee82738aa050282d93b68dd2c4eb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 7d32417b4d (busybox: Correct the name of the bzip2 license)
changes the licesne from 'bzip2' to 'bzip2-1.0.6' on the rationale
that the 'bzip2 license was renamed from "bzip2" to "bzip2-1.0.6"
[...] to match the official SPDX identifier.'
Though the above is true for the bzip2 and pbzip2 packages, the bzip2
code bundled in busybox is a copy from the bzip2 1.0.4 version, not the
1.0.6 version.
As such, using bzip2-1.0.6 is wrong.
Unfortunately, there is no official SPDX license identifier for this
bzip2 1.0.4 version, so we just mimick the existing ones (bzip2-1.0.5
and bzip2-1.0.6) by using bzip2-1.0.4.
Also, there is a license file attached to that, so we add it to the
list.
(From OE-Core rev: 61959632cb1ba4f20e6ecf1077e4d95ac1df26c1)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Alexandre BELLONI <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6238ee3ecd385cbadd8e75eb8b22a96d9cb13639)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bzip2 license changes with each version; the changes are subtle, but
that makes it a different license everytime:
- copyright year
- authorship identification and address
- version of the release
- date of the release
Although we currently only have bzip2 and pbzip2 packages, we're going
to need this license for busybox, which uses code from bzip2-1.0.4.
Add it, as copied from the upstream bzip2 git tree at tag 'bzip2-1.0.4'
(commit f10a33538e9bab6deb61779b3d8aae168824ef48).
(From OE-Core rev: d395630a026c16f47541082c8e1279492cfd95be)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f303c31b813f371737c9a9d7a93e9f920f84e75a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a task generates the same output with different timestamps,
hasequiv won't detect it but reproducibile builds will fail tests due
to the different timestamps.
Add do_package timestamps to the hash when reproducibile builds are enabled
to avoid this.
(From OE-Core rev: cda769ed7c120edd7db0ff77e34fa1aa611a3082)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11e8200ccec765ff6a4263e06512e5751eca261a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* This reverts commit d9971f5dc8eb7de551fd6f5e058fd24770ef5d78.
* With the missing Subject line fixed in GitApplyTree.prepareCommit()
we should be able to revert, the fix which was trying to help it by
parsing GitApplyTree.patch_line_prefix ("%% original patch:") also
from Subject line, now GitApplyTree.patch_line_prefix should always
end on separate line which is then skipped when copying the lines to
resulting patch, see original commit message from Paul:
lib/oe/patch: fix handling of patches with no header
If a patch applied by a recipe has no header and we turn the recipe's
source into a git tree (when PATCHTOOL = "git" or when using devtool
extract / modify / upgrade), the commit message ends up consisting only
of the original filename marker ("%% original patch: filename.patch").
When we come to do turn the commits back into a set of patches in
extractPatches(), this first line ends up in the "Subject: " part of
the file, but we were ignoring it because the line didn't start with the
marker text. The end result was we weren't able to get the original
patch name. Strip off any "Subject [PATCH x/y]" part before looking for
the marker text to fix.
This caused "devtool modify openssl" followed by "devtool update-recipe
openssl" (without any changes in-between) to remove version-script.patch
because that patch has no header and we weren't able to determine the
original filename.
(From OE-Core rev: 419d45ad6a72c6e296e27f9ae36ddf2a45671bfe)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* also remove the extra blank lines which is often added to patches
when refreshed with devtool (GitApplyTree.patch_line_prefix lines
are ignored when refreshing .patch files, but newly added blank
lines aren't - the leading blank line wasneeded for patches with
just the subject line (to prevent the GitApplyTree.patch_line_prefix
line ending appended to the commit summary), but we can add it
in prepareCommit instead
(From OE-Core rev: bbd467c393af5fa34a0b92d5461ff0bf427b3933)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this was discovered with
$ devtool finish --force-patch-refresh
where it was removing some patches and replacing them with
patch in filename called "patch:"
e.g. this .patch file:
311067d2d8/dynamic-layers/rust-layer/recipes-browser/firefox/firefox/fixes/fix-camera-permission-dialg-doesnot-close.patch
confuses devtool which results to create new .patch file called "patch:"
$ devtool finish --force-patch-refresh firefox meta-browser
NOTE: Starting bitbake server...
WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###################################################################################################################################################################################################################################| Time: 0:00:00
Loaded 2480 entries from dependency cache.
Parsing recipes: 100% |#################################################################################################################################################################################################################################| Time: 0:00:00
Parsing of 1718 .bb files complete (1717 cached, 1 parsed). 2480 targets, 68 skipped, 0 masked, 0 errors.
Summary: There was 1 WARNING message shown.
INFO: Updating patch 0001-Bug-1554949-Fix-WebRTC-build-failure-with-newer-linu.patch
...
INFO: Updating patch pre-generated-old-configure.patch
INFO: Adding new patch patch:
INFO: Updating recipe firefox_68.0esr.bb
INFO: Removing file /OE/build/test-oe-build-time/poky/meta-browser/dynamic-layers/rust-layer/recipes-browser/firefox/firefox/fixes/fix-camera-permission-dialg-doesnot-close.patch
INFO: Cleaning sysroot for recipe firefox...
INFO: Leaving source tree /OE/build/test-oe-build-time/poky/build/workspace/sources/firefox as-is; if you no longer need it then please delete it manually
this looked like incorrect parsing of the git format-patch
files exported from workspace/sources (the git format-patch
version of fix-camera-permission-dialg-doesnot-close.patch
starts like this:
$ head 0008-original-patch-fix-camera-permission-dialg-doesnot-c.patch
From 37dfa11961b48024bedcfb9336f49107c9535638 Mon Sep 17 00:00:00 2001
From: Takuro Ashie <ashie@clear-code.com>
Date: Mon, 20 Aug 2018 10:16:20 +0900
Subject: [PATCH 08/34] %% original patch:
fix-camera-permission-dialg-doesnot-close.patch
so first I've modified GitApplyTree.extractPatches() to be able to
parse the original patch name correctly even in this case where subject
is wrapped, but then it still wasn't right, because we ended with
correctly named .patch file, but all we could use for Subject line
was the name of the original .patch file (instead of the Subject
from metadata commit which introduced this .patch files as some other
.patch files get when refreshed with devtool.
In the end the issue happens even sooner in GitApplyTree.prepareCommit()
where it correctly found the Subject from metadata commit, but then
didn't apply it when there weren't any other outlines from patch headers.
(From OE-Core rev: f4349c395749c30e70587fc276913530e518836b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This backports the fix [1] for the following build error for nativesdk on
Fedora 33 which is caused by the removal of fractions.gcd() in favor of
math.gcd() in python 3.9 [2]:
ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)
[1] 426ae35bee
[2] https://bugs.python.org/issue39350
(From OE-Core rev: 0f688c1419b1e2dfddff3c985f89a3f1949fc9fb)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of tzcode 2020b the timezone data is encoded using the 'slim' format
instead of the previous 'fat'. This exposes a number of bugs in GLib,
so backport the fixes to improve the parser.
[ YOCTO #14106 ]
(From OE-Core rev: 8a367cbbf092339a8c82c680a2565567b594b6c6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently gstreamer configuration depends libcap and on whether
setcap is found on the host system.
Removing libcap from DEPENDS and only use it when the 'setcap' is enabled.
* 0004-capfix.patch
Removed as the same goals can be achieved only with the PACKAGECONFIG 'setcap'
(From OE-Core rev: 62ecf9737c31f0128096a4c70417bca1778c73ed)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We previously put a sync call into devtool to try and combat the bitbake
timeout issues on the autobuilder. It isn't enough as the timeouts occur
mid test. They are also occurring on non-devtool tests.
Add in sync calls around command execution instead.
(From OE-Core rev: ed912771ea98c42f61bf927b1ca708650b0bed4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ceca5ed121e2b54415a7ab3a217882e4ea86923a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace OE private qemu patch with one that got upstreamed
and solves the same problem: increase qemumips CI performance
by increasing number of TLBs in CPU model and reduce need to
run software TLB refill code.
(From OE-Core rev: 89e6fc44a378cb3489376d7193672cdf94c504b6)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a99dace7463d310688f4098a51316dc0743651e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is occasionally reached on the AB; I am not sure if it is due to
host overload, or guest malfunction, but let's use the default 300 sec and
see if it helps.
[YOCTO #14097]
(From OE-Core rev: 4f77fe468f2ad225e2a89b5e3a4c84f0b93dab2a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 93a0352e2e8539d109f6d3ddc0ed02b3b9256e86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* seems to be broken for many years, does someone still use sh3/sh4?
scripts/tune/log.fake-sh3.sh3eb:
Parsing recipes...
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-devtools/vala/vala_0.48.9.bb: Unable to determine endianness for architecture 'sh3eb'
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-devtools/vala/vala_0.48.9.bb: Please add your architecture to siteinfo.bbclass
scripts/tune/log.fake-sh4.sh4aeb
scripts/tune/log.fake-sh4.sh4eb:
Parsing recipes...
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/vim/vim-tiny_8.2.bb: Unable to determine endianness for architecture 'sh4eb'
ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/vim/vim-tiny_8.2.bb: Please add your architecture to siteinfo.bbclass
(From OE-Core rev: 197b405dd098f6b214837d224f40d33b018b7c16)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f26495884b8f567aecadc5936651846dfeed3f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
useless info "gcc: command not found" is printed when run
buildtools-extended on system without gcc.
(From OE-Core rev: 1bdaf40c02791fd2c22c19414f554a3c8d26e476)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 289a58ddbbd8bb3f5ae0d3421cfe8e75b60b0fbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since introduction:
commit 5263b2ebc57fe289d64c74bfb10da39ed7c98828
Author: Alistair Francis <alistair.francis@wdc.com>
Date: Thu Dec 19 13:24:10 2019 -0800
tune-riscv: Add support for no float
* fixes:
scripts/tune/log.fake-riscv.riscv32nf: Error, the PACKAGE_ARCHS variable (all any noarch riscv32nf fake_riscv) for DEFAULTTUNE (riscv32nf) does not contain TUNE_PKGARCH (riscv32).
scripts/tune/log.fake-riscv.riscv64nf: Error, the PACKAGE_ARCHS variable (all any noarch riscv64nf fake_riscv) for DEFAULTTUNE (riscv64nf) does not contain TUNE_PKGARCH (riscv64).
(From OE-Core rev: 8d2702b7fe51474764c7392ef6386b8d199b88a6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 58088dce12775e325df8428b750e19616d264464)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since:
commit 805dd4807d322dc70cef97edd68fdb3142b60fb1
Author: Andre McCurdy <armccurdy@gmail.com>
Date: Fri Aug 23 13:51:36 2019 -0700
feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX
* since this commit the 't' suffix is set ARM_THUMB_SUFFIX by
armv4 override (which does apply for ep9312 tune) instead of
armv4 in TUNE_FEATURES - so the comment in the file was no
longer correct and ep9312 wasn't usable
* fixes:
scripts/tune/log.fake-ep9312: Error, the PACKAGE_ARCHS variable (all any noarch arm armv4 armv4t ep9312 fake_ep9312) for DEFAULTTUNE (ep9312) does not contain TUNE_PKGARCH (ep9312t).
(From OE-Core rev: 6243df4e8daf78c7b5004f9e123894a2d4027392)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f23c7f23c64cbd70d38a01dfda3a4d0809b33bdd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since:
commit ae5073c4abd8935c01d14d3e6395124f815bd10b
Author: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Date: Fri Sep 23 15:28:08 2016 +0100
arch-mips: Add mips64-o32 tunes
* fixes:
scripts/tune/log.fake-mips-24k.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips32.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips32r2.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips32r6.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips64.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips64r2.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips64r6.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-mips-74k.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
scripts/tune/log.fake-octeon.mips64el-o32: Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
(From OE-Core rev: c1bc580dc4b4d0743c3939e3415e3c40d623b799)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8f07d1249a9a86307c1121edd4df3b64162c61b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* broken since:
commit 594f8584268d5179c18512beada2bae4a21325de
Author: Phil Edworthy <phil.edworthy@renesas.com>
Date: Wed Nov 28 10:09:57 2018 +0000
arch-armv7*.inc: Add Cortex vfpv4-d16 support
Some ARM Cortex devices have the VFPv4-D16, but no NEON.
* fixes:
scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa55.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa57.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa57-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa72.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa72-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa73-cortexa53.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa7.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa7) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa8.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa8) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-cortexa9.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa9) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
scripts/tune/log.fake-thunderx.armv7atb-vfpv4d16: Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_thunderx) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
(From OE-Core rev: 96efcd0d1271d4f412bf7e59d048e84c0df9d46d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c01e2b1c68bad89c5c9bba5b731fd5da4435e5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The example recipe is setup to print a message using bb.plain() in the
"do_build" task but this task is "noexec" so the message never prints.
This might be confusing.
This moves the message printing into another "do_display_banner" task
and add it to the do_build "before" list.
(From OE-Core rev: 2387f968b8dd90de9f0907ee571ec6207ffa9a19)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 252385bef9b226f32691b8513869ea3e41813b40)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If --branch and --branch2 are the same, there is extra confusing data plotted
onto the graph. Only do that if the branches are actually different.
(From OE-Core rev: e2240d0a93a9a2932506a356315ad6702ecee9b6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c263d810b7eb47ee90f2adeb5ab6decf7332bec2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If buildstats is missing, avoid a backtrace.
(From OE-Core rev: a518443e6799d56b899536d853282182eff4822a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23c4b21f947c7aae1303ca6526fc5aaaa9fc7bb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a9518c1aec5b Linux 5.4.69
9fb8e10b0519 ata: sata_mv, avoid trigerrable BUG_ON
e11c83520cd0 ata: make qc_prep return ata_completion_errors
b6e503c0a0ff ata: define AC_ERR_OK
b4a9fdf062e8 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
3d9f39d274ea dm: fix bio splitting and its bio completion order for regular IO
c9bfb7b4d944 KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
5dcb66f970a8 s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl
4f5260ee0ce3 mm/gup: fix gup_fast with dynamic page table folding
20a5e4272b65 mm, THP, swap: fix allocating cluster for swapfile by mistake
198d9f7e905c dmabuf: fix NULL pointer dereference in dma_buf_release()
aded5dee7fb2 btrfs: fix overflow when copying corrupt csums for a message
c4ab0a837093 kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
3995f7a60fec kprobes: Fix to check probe enabled before disarm_kprobe_ftrace()
31efa3b5b592 s390/dasd: Fix zero write for FBA devices
e92c490f1049 tracing: fix double free
f05f667f8764 lib/string.c: implement stpcpy
26a6452b27ec ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520
2a2ae4831ff7 ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged
86f6af05ffa0 ALSA: usb-audio: Add delay quirk for H570e USB headsets
4cb7f229823c scsi: lpfc: Fix initial FLOGI failure due to BBSCN not supported
6890a6f5665f x86/ioapic: Unbreak check_timer()
361a4b17e88d arch/x86/lib/usercopy_64.c: fix __copy_user_flushcache() cache writeback
fe932d4c9ea2 mm: validate pmd after splitting
5d4431c9de06 KVM: SVM: Add a dedicated INVD intercept routine
16788dc19fa1 KVM: x86: Reset MMU context if guest toggles CR4.SMAP or CR4.PKE
87f7a4910e57 regulator: axp20x: fix LDO2/4 description
5c58104841fe MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()
283a3234550c regmap: fix page selection for noinc writes
47fef0ebc150 regmap: fix page selection for noinc reads
a8cebb4a5931 ALSA: asihpi: fix iounmap in error handler
83b9a250d774 lib80211: fix unmet direct dependendices config warning when !CRYPTO
43cdb648e1da bpf: Fix a rcu warning for bpffs map pretty-print
d9fadccbf25e batman-adv: mcast: fix duplicate mcast packets from BLA backbone to mesh
5d8774492819 batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh
24e5e941d804 batman-adv: mcast: fix duplicate mcast packets in BLA backbone from LAN
b0632590cbec nvme-tcp: fix kconfig dependency warning when !CRYPTO
8c6ba1878a92 batman-adv: Add missing include for in_interrupt()
248c25e7725a drm/sun4i: sun8i-csc: Secondary CSC register correction
12bea822dbe6 net: qed: RDMA personality shouldn't fail VF load
7e74a6d6f99c net: qede: Disable aRFS for NPAR and 100G
82dfe9c32dea net: qed: Disable aRFS for NPAR and 100G
f301585195a0 drm/vc4/vc4_hdmi: fill ASoC card owner
5e77009e33a1 bpf: Fix clobbering of r2 in bpf_gen_ld_abs
2e1a95f450d8 mac802154: tx: fix use-after-free
eb5f810e06da netfilter: conntrack: nf_conncount_init is failing with IPv6 disabled
b6112ff05f5f batman-adv: mcast/TT: fix wrongly dropped or rerouted packets
5b0a13a03b8b atm: eni: fix the missed pci_disable_device() for eni_init_one()
e0117ad11b3e batman-adv: bla: fix type misuse for backbone_gw hash indexing
a63798d53489 mwifiex: Increase AES key storage size to 256 bits
f43500892470 clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init()
f77f4586bdd7 ieee802154/adf7242: check status of adf7242_read_reg
22936fa7a295 ieee802154: fix one possible memleak in ca8210_dev_com_init
d85044145fdd objtool: Fix noreturn detection for ignored functions
a53d9b3ae9c8 i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()
65f452b7a2c1 drm/amdgpu/dc: Require primary plane to be enabled whenever the CRTC is
8c48b7617b7c drm/amd/display: update nv1x stutter latencies
c48363d19fcb drm/amdkfd: fix a memory leak issue
b11f2d6b80f4 EDAC/ghes: Check whether the driver is on the safe list correctly
c7be1f4d4e60 lockdep: fix order in trace_hardirqs_off_caller()
43d750a0994c s390/init: add missing __init annotations
fdd60315b931 i2c: aspeed: Mask IRQ status to relevant bits
66d987b80dc3 RISC-V: Take text_mutex in ftrace_init_nop()
487e3a1bc9ab ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1
4a07fbecfa55 ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions
7cdb35fc858f ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811
927a024487dc ASoC: pcm3168a: ignore 0 Hz settings
8ebf2b77d7e5 device_cgroup: Fix RCU list debugging warning
5b84cd71c1da nvme: explicitly update mpath disk capacity on revalidation
765f47c425aa net: openvswitch: use div_u64() for 64-by-32 divisions
caa44b67f4d3 ALSA: hda: Workaround for spurious wakeups on some Intel platforms
862dd508c6f2 ALSA: hda: Always use jackpoll helper for jack update after resume
1f160738d9a8 perf parse-events: Use strcmp() to compare the PMU name
4d8d6f71b60f opp: Increase parsed_static_opps in _of_add_opp_table_v1()
87e6e1957cf0 mt76: fix LED link time failure
ca1704f177dc ubi: fastmap: Free unused fastmap anchor peb during detach
74924e407bf7 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
e1ad5cf63e40 perf tests: Fix test 68 zstd compression for s390
85c417050fc7 btrfs: qgroup: fix data leak caused by race between writeback and truncate
af60d80598b3 vfio/pci: fix racy on error and request eventfd ctx
eb7833e0ee01 selftests/x86/syscall_nt: Clear weird flags after each test
7292e6e9d82c scsi: libfc: Skip additional kref updating work event
1e15d5237c1e scsi: libfc: Handling of extra kref
2ad1397c8815 mac80211: skip mpath lookup also for control port tx
8bfd43a5180f nvme: fix possible deadlock when I/O is blocked
8b85da354c74 cifs: Fix double add page to memcg when cifs_readpages
3bb9b0ad76e5 vfio/pci: Clear error and request eventfd ctx after releasing
781a4bf652b8 NFS: nfs_xdr_status should record the procedure name
bc65336acddc x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inline
c63613b93479 mtd: parser: cmdline: Support MTD names containing one or more colons
f7b07311ff0f rapidio: avoid data race between file operation callbacks and mport_cdev_add().
92514a7bb941 mm: memcontrol: fix stat-corrupting race in charge moving
a9e87c5beeb9 mm/swap_state: fix a data race in swapin_nr_pages
3e4ca8bf5809 ceph: fix potential race in ceph_check_caps
dac34dd4efc6 PCI: tegra: Fix runtime PM imbalance on error
5cddba546a00 mtd: rawnand: omap_elm: Fix runtime PM imbalance on error
63f600d87b05 mtd: rawnand: gpmi: Fix runtime PM imbalance on error
ec705f9ffbba wlcore: fix runtime pm imbalance in wlcore_regdomain_config
a0f8499fba8d wlcore: fix runtime pm imbalance in wl1271_tx_work
7555bb003417 ASoC: img-i2s-out: Fix runtime PM imbalance on error
13e1951aa3b8 PCI: tegra194: Fix runtime PM imbalance on error
7415f52e2e95 perf kcore_copy: Fix module map when there are no modules loaded
ff793fe02ca8 perf metricgroup: Free metric_events on error
2076ee4ae512 perf util: Fix memory leak of prefix_if_not_in
b10dd4b3c104 perf stat: Fix duration_time value for higher intervals
eddcc70de8da perf trace: Fix the selection for architectures to generate the errno name tables
feaaa88ffce7 perf evsel: Fix 2 memory leaks
ad9940e377fd KVM: PPC: Book3S HV: Close race with page faults around memslot flushes
f9c47a0cc513 vfio/pci: fix memory leaks of eventfd ctx
bb6e9827da75 gpio: rcar: Fix runtime PM imbalance on error
1aa9de56d762 btrfs: fix double __endio_write_update_ordered in direct I/O
b3b21823d68e btrfs: don't force read-only after error in drop snapshot
859748f8cd8c usb: dwc3: Increase timeout for CmdAct cleared by device controller
5c7f727e8ad6 printk: handle blank console arguments passed in.
482466b67d87 drm/nouveau/dispnv50: fix runtime pm imbalance on error
bd39447bad06 drm/nouveau: fix runtime pm imbalance on error
f6331bfcccc8 drm/nouveau/debugfs: fix runtime pm imbalance on error
2477158bfd3e e1000: Do not perform reset in reset_task if we are already down
62962e08b9c3 drm/amdkfd: fix restore worker race condition
180e60f154a3 arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register
196d14cea6a3 scsi: cxlflash: Fix error return code in cxlflash_probe()
af02933d59bd arm64: acpi: Make apei_claim_sea() synchronise with APEI's irq work
502bd98a8e27 coresight: etm4x: Fix use-after-free of per-cpu etm drvdata
c3fa2949c272 USB: EHCI: ehci-mv: fix less than zero comparison of an unsigned int
89e6cf1c0ab5 fuse: update attr_version counter on fuse_notify_inval_inode()
e431e923c8a6 fuse: don't check refcount after stealing page
55c3e7fac92e svcrdma: Fix backchannel return code
7c972122cab5 powerpc/traps: Make unrecoverable NMIs die instead of panic
004cb15b1e4c ipmi:bt-bmc: Fix error handling and status check
09197d39cab3 drm/exynos: dsi: Remove bridge node reference in error handling path in probe function
7ce7dd0a6f1d ALSA: hda: Fix potential race in unsol event handler
942a6ff2146a tty: serial: samsung: Correct clock selection logic
202ae05859ea tipc: fix memory leak in service subscripting
97cf50cc4e5c KVM: x86: handle wrap around 32-bit address space
c7a403d16fd7 USB: EHCI: ehci-mv: fix error handling in mv_ehci_probe()
3515b56cc0b7 Bluetooth: Handle Inquiry Cancel error after Inquiry Complete
b5a49bb741e9 phy: samsung: s5pv210-usb2: Add delay after reset
e3d47125a42c power: supply: max17040: Correct voltage reading
44a3faa00887 i2c: tegra: Restore pinmux on system resume
00519f4da8da mm/slub: fix incorrect interpretation of s->offset
0eb69a66083e perf mem2node: Avoid double free related to realloc
bd60439f4950 media: venus: vdec: Init registered list unconditionally
fa7c336dd1c8 atm: fix a memory leak of vcc->user_back
9325e9e5abf6 devlink: Fix reporter's recovery condition
4ac87b6af491 dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion
8ff65ea6c77c dpaa2-eth: fix error return code in setup_dpni()
527378a0dfd7 sched/fair: Eliminate bandwidth race between throttling and distribution
8e32fed034ed arm64: cpufeature: Relax checks for AArch32 support at EL[0-2]
294e26f89163 sparc64: vcc: Fix error return code in vcc_probe()
f1723949cf81 staging:r8188eu: avoid skb_clone for amsdu to msdu conversion
b6cee18cba12 scsi: aacraid: Fix error handling paths in aac_probe_one()
cd6f892ba542 net: openvswitch: use u64 for meter bucket
545c261f22b4 KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi()
beb8e0254197 KVM: arm64: vgic-v3: Retire all pending LPIs on vcpu destroy
4998dc5ff868 drivers: char: tlclk.c: Avoid data race between init and interrupt handler
a48b609c8dfd bdev: Reduce time holding bd_mutex in sync in blkdev_close()
c8317e9fc412 perf stat: Force error in fallback on :k events
4f4e29789525 KVM: Remove CREATE_IRQCHIP/SET_PIT2 race
e4e024e89cca btrfs: fix setting last_trans for reloc roots
26d261f32f43 serial: uartps: Wait for tx_empty in console setup
ab1d9bad6097 scsi: qedi: Fix termination timeouts in session logout
61192ac4a1f2 ALSA: hda: Skip controller resume if not needed
51396da04425 mm/mmap.c: initialize align_offset explicitly for vm_unmapped_area
cb1dfad688ef drm/amdgpu/sriov add amdgpu_amdkfd_pre_reset in gpu reset
644148cd1537 workqueue: Remove the warning in wq_worker_sleeping()
74c28abcb301 nvmet-rdma: fix double free of rdma queue
5e3c0dae5f96 SUNRPC: Don't start a timer on an already queued rpc task
19b9ff11464e mm/vmscan.c: fix data races using kswapd_classzone_idx
b569d92b1d03 mm/swapfile: fix data races in try_to_unuse()
6eed4b3392c6 mm/filemap.c: clear page error before actual read
336df1dcf92d mm/kmemleak.c: use address-of operator on section symbols
685a1e317a64 powerpc/perf: Implement a global lock to avoid races between trace, core and thread imc events.
7cafcc37c57e drm/amdgpu/vcn2.0: stall DPG when WPTR/RPTR reset
24c56b6fe0ba NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests()
4667358dab9c PCI: pciehp: Fix MSI interrupt race
ca767cf0152d ALSA: usb-audio: Fix case when USB MIDI interface has more than one extra endpoint descriptor
af574e78e7e4 ubifs: Fix out-of-bounds memory access caused by abnormal value of node_len
49bc26b7653f ubifs: ubifs_add_orphan: Fix a memory leak bug
17bc3bff02a7 ubifs: ubifs_jnl_write_inode: Fix a memory leak bug
535943c46dfc PCI: Use ioremap(), not phys_to_virt() for platform ROM
aa325ff72c80 netfilter: nf_tables: silence a RCU-list warning in nft_table_lookup()
cf2d7883e84c svcrdma: Fix leak of transport addresses
5f8174bfb9ff SUNRPC: Fix a potential buffer overflow in 'svc_print_xprts()'
4f7b6eef7921 scsi: hpsa: correct race condition in offload enabled
6e3b662d86a5 IB/iser: Always check sig MR before putting it to the free pool
d5e7198bcf7e RDMA/rxe: Set sys_image_guid to be aligned with HW IB devices
f812e43e727f xfs: prohibit fs freezing when using empty transactions
1ed8ad923787 brcmfmac: Fix double freeing in the fmac usb data path
9aca5e655a29 nvme: Fix controller creation races with teardown flow
509730002abc nvme: Fix ctrl use-after-free during sysfs deletion
eef1e9e876e9 nvme-multipath: do not reset on unknown status
a48cf1c921a7 perf: Use new infrastructure to fix deadlocks in execve
ba7eb0e48e76 proc: io_accounting: Use new infrastructure to fix deadlocks in execve
4301db49e556 proc: Use new infrastructure to fix deadlocks in execve
0cd97836869e kernel/kcmp.c: Use new infrastructure to fix deadlocks in execve
2f7a0de4e5da selftests/ptrace: add test cases for dead-locks
d8d15a4c445a exec: Fix a deadlock in strace
b796d94921ce exec: Add exec_update_mutex to replace cred_guard_mutex
32d9453c208c tools: gpio-hammer: Avoid potential overflow in main
3b63e4b7045b cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fn
1ad72297146d net: axienet: Propagate failure of DMA descriptor setup
468f2bc2bb5b net: axienet: Convert DMA error handler to a work queue
79f60d5bd0dd perf cpumap: Fix snprintf overflow check
47e276e1c40e serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeout
09a2cf677105 serial: 8250_omap: Fix sleeping function called from invalid context during probe
93ec0b575aca serial: 8250_port: Don't service RX FIFO if throttled
0557e5f8d69c r8169: improve RTL8168b FIFO overflow workaround
5dc170aee1d1 btrfs: free the reloc_control in a consistent way
c88596d593ab btrfs: do not init a reloc root if we aren't relocating
98c921e6be06 perf parse-events: Fix 3 use after frees found with clang ASAN
048892dfab4d KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
157ff88660c8 thermal: rcar_thermal: Handle probe error gracefully
e978d00a3d16 tracing: Use address-of operator on section symbols
cb9841c5119c drm/msm/a5xx: Always set an OPP supported hardware value
8db4810dd5cc drm/msm: fix leaks if initialization fails
5d09e3edf5d9 KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones
63b7647dd0e1 intel_th: Disallow multi mode on devices where it's broken
c3e39fa0aa10 RDMA/cm: Remove a race freeing timewait_info
0300cda5009a nfsd: Don't add locks to closed or closing open stateids
cdb785710edd rtc: ds1374: fix possible race condition
45c1212d91f7 rtc: sa1100: fix possible race condition
22de4a5d5791 tpm: ibmvtpm: Wait for buffer to be set before proceeding
be4ff3a49c5d ext4: mark block bitmap corrupted when found instead of BUGON
152875a0f094 xfs: mark dir corrupt when lookup-by-hash fails
cb72c9f84219 xfs: don't ever return a stale pointer from __xfs_dir3_free_read
b1f5989a23c1 tty: sifive: Finish transmission before changing the clock
abbe59ca91f3 media: tda10071: fix unsigned sign extension overflow
b432ea85ab84 Bluetooth: L2CAP: handle l2cap config request during open state
ae3dffdbe42b scsi: aacraid: Disabling TM path and only processing IOP reset
62602774e5aa ath10k: use kzalloc to read for ath10k_sdio_hif_diag_read
f6acb4ae6b6c perf cs-etm: Correct synthesizing instruction samples
f7ba2eeb0c6f perf cs-etm: Swap packets for instruction samples
fc1d08a2023d s390/irq: replace setup_irq() by request_irq()
37b972bf8070 cpu-topology: Fix the potential data corruption
2d4e6ce22c58 clk: imx: Fix division by zero warning on pfdv2
6fc325a4d35d drm/amd/display: Stop if retimer is not available
10a144b77f64 ARM: OMAP2+: Handle errors for cpu_pm
d1a749c01d03 drm/amdgpu: increase atombios cmd timeout
3a220956aaaf mm: avoid data corruption on CoW fault into PFN-mapped VMA
2da77d2d0d89 perf jevents: Fix leak of mapfile memory
26005b604cef ext4: fix a data race at inode->i_disksize
d0c298030382 drm/amd/display: fix image corruption with ODM 2:1 DSC 2 slice
f2118308295d powerpc/book3s64: Fix error handling in mm_iommu_do_alloc()
efc95f2ef743 timekeeping: Prevent 32bit truncation in scale64_check_overflow()
202e2ff9de40 Bluetooth: guard against controllers sending zero'd events
a94159403430 media: go7007: Fix URB type for interrupt handling
657e50f8cdbf ASoC: SOF: ipc: check ipc return value before data copy
29c25e69492b bus: hisi_lpc: Fixup IO ports addresses to avoid use-after-free in host removal
3193035ec136 random: fix data races at timer_rand_state
1edfaecc30a9 firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp
21e2f6bf0863 iavf: use tc_cls_can_offload_and_chain0() instead of chain check
0d5984ba936b drm/omap: dss: Cleanup DSS ports on initialisation failure
b4bca7b2a6e2 drm/amd/display: dal_ddc_i2c_payloads_create can fail causing panic
3e6f9c20bd32 soundwire: bus: disable pm_runtime in sdw_slave_delete
c4b62a7e52ee dmaengine: tegra-apb: Prevent race conditions on channel's freeing
cdf63c29af1e dmaengine: stm32-dma: use vchan_terminate_vdesc() in .terminate_all
f60007c9e914 bpf: Remove recursion prevention from rcu free callback
e8b95c29cdef x86/pkeys: Add check for pkey "overflow"
321c5b279313 media: staging/imx: Missing assignment in imx_media_capture_device_register()
5132f9f3d3e2 dmaengine: stm32-mdma: use vchan_terminate_vdesc() in .terminate_all
484de771d637 KVM: nVMX: Hold KVM's srcu lock when syncing vmcs12->shadow
d1da39644709 KVM: x86: fix incorrect comparison in trace event
a4d17715a852 RDMA/rxe: Fix configuration of atomic queue pair attributes
45901923749f perf test: Fix test trace+probe_vfs_getname.sh on s390
e2d439c2000d ALSA: usb-audio: Don't create a mixer element with bogus volume range
78344a4dc43e mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw
9b42bfb06d37 mt76: clear skb pointers from rx aggregation reorder buffer during cleanup
1841613e97e7 crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test
671e6c9c6b7b clk: stratix10: use do_div() for 64-bit calculation
ef6eb8121321 locking/lockdep: Decrement IRQ context counters when removing lock chain
8e88cdd3223a drm/omap: fix possible object reference leak
41b71eff2777 scsi: lpfc: Fix coverity errors in fmdi attribute handling
e0ddd176a302 scsi: lpfc: Fix release of hwq to clear the eq relationship
4935732e8821 scsi: lpfc: Fix RQ buffer leakage when no IOCBs available
f72a51eab2de selinux: sel_avc_get_stat_idx should increase position index
d96fcfd58c21 audit: CONFIG_CHANGE don't log internal bookkeeping as an event
26eae6def780 drm/amd/display: fix workaround for incorrect double buffer register for DLG ADL and TTU
1f483c3ef050 nfsd: Fix a perf warning
980040c7ae69 skbuff: fix a data race in skb_queue_len()
2b22cead0478 ALSA: hda: Clear RIRB status before reading WP
a13d21ed8526 KVM: fix overflow of zero page refcount with ksm running
54d9839877f2 Bluetooth: prefetch channel before killing sock
4c67f0b1eabb mm: pagewalk: fix termination condition in walk_pte_range()
dac81f1ddce5 mm/swapfile.c: swap_next should increase position index
8f54d39da5f4 Bluetooth: Fix refcount use-after-free issue
60d539ff1cd8 tools/power/x86/intel_pstate_tracer: changes for python 3 compatibility
f15dd13158ad selftests/ftrace: fix glob selftest
379deeac55da ceph: ensure we have a new cap before continuing in fill_inode
5a5fa8876291 ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter
47634c0fc94c ARM: 8948/1: Prevent OOB access in stacktrace
5093d01f0809 tracing: Set kernel_stack's caller size properly
0c81861ae903 Bluetooth: btrtl: Use kvmalloc for FW allocations
821bf0bf652c powerpc/eeh: Only dump stack once if an MMIO loop is detected
fed639f7e1d5 nfsd: Fix a soft lockup race in nfsd_file_mark_find_or_create()
4f726a2afb99 s390/cpum_sf: Use kzalloc and minor changes
26966e89ca14 dmaengine: zynqmp_dma: fix burst length configuration
d64f6dfdf4ab btrfs: tree-checker: Check leaf chunk item size
2bbe85d911fe i2c: tegra: Prevent interrupt triggering after transfer timeout
1e4a6a0e03bc drm/amd/display: Initialize DSC PPS variables to 0
65f2f192526f scsi: ufs: Fix a race condition in the tracing code
1ac994f80be2 scsi: ufs: Make ufshcd_add_command_trace() easier to read
3d05b3072232 ACPI: EC: Reference count query handlers under lock
95ceefc6f0ce sctp: move trace_sctp_probe_path into sctp_outq_sack
a9e53499f4de scsi: lpfc: Fix incomplete NVME discovery when target
64d2887486d1 scsi: qla2xxx: Fix stuck session in GNL
9f7d28075ae4 opp: Replace list_kref with a local counter
8c324ef0b466 media: ti-vpe: cal: Restrict DMA to avoid memory corruption
4a4c78cf0cf7 drm/scheduler: Avoid accessing freed bad job.
06a90303633f seqlock: Require WRITE_ONCE surrounding raw_seqcount_barrier
a9d4bca63493 drm/mcde: Handle pending vblank while disabling display
c89925822f82 ipv6_route_seq_next should increase position index
046e79cca228 rt_cpu_seq_next should increase position index
2ba309f086b8 neigh_stat_seq_next() should increase position index
f508c5d99343 vcc_seq_next should increase position index
8c926e159afa tipc: fix link overflow issue at socket shutdown
f99f4372f544 ALSA: hda: enable regmap internal locking
b56212ddca0f xfs: fix log reservation overflows when allocating large rt extents
16d40ce11521 module: Remove accidental change of module_enable_x()
566b1bb7d393 KVM: arm/arm64: vgic: Fix potential double free dist->spis in __kvm_vgic_destroy()
c306458a2bd0 kernel/sys.c: avoid copying possible padding bytes in copy_to_user
e95e4ba3efd8 kernel/notifier.c: intercept duplicate registrations to avoid infinite loops
425582bd448c selftests/bpf: De-flake test_tcpbpf
3283bd6d19cd arm64: insn: consistently handle exit text
c8662aa75a42 drm/amdgpu: fix calltrace during kmd unload(v3)
6a74132beed2 xfs: fix realtime file data space leak
a04223019c22 s390: avoid misusing CALL_ON_STACK for task stack setup
a1a6f8a14cb0 xtensa: fix system_call interaction with ptrace
f9f47ef869eb ASoC: max98090: remove msleep in PLL unlocked workaround
273589e82cb1 f2fs: stop GC when the victim becomes fully valid
84b15c4e1550 CIFS: Properly process SMB3 lease breaks
2005c32ec99e CIFS: Use common error handling code in smb2_ioctl_query_info()
3ce5297c0b40 SUNRPC: Capture completion of all RPC tasks
80f766742244 debugfs: Fix !DEBUG_FS debugfs_create_automount
14bbbfbafef1 mt76: add missing locking around ampdu action
5eee23bc19a8 mt76: do not use devm API for led classdev
773dc2922719 scsi: pm80xx: Cleanup command when a reset times out
714dbaf2f814 gfs2: clean up iopen glock mess in gfs2_create_inode
a21260928bd3 mmc: core: Fix size overflow for mmc partitions
cbd2ee90d3c1 ubi: Fix producing anchor PEBs
40afadc05771 RDMA/iw_cgxb4: Fix an error handling path in 'c4iw_connect()'
be45bce4ad8e xfs: fix attr leaf header freemap.size underflow
424388f0c534 fix dget_parent() fastpath race
797f6c19abce PCI: Avoid double hpmemsize MMIO window assignment
3161ea673382 RDMA/i40iw: Fix potential use after free
f3ebf81ee634 RDMA/qedr: Fix potential use after free
04f4f09502f1 x86/kdump: Always reserve the low 1M when the crashkernel option is specified
21c82e8d4201 dmaengine: mediatek: hsdma_probe: fixed a memory leak when devm_request_irq fails
fd3572bd5bc1 bcache: fix a lost wake-up problem caused by mca_cannibalize_lock
9f81aa5d4493 tracing: Adding NULL checks for trace_array descriptor pointer
8e0d54aa4005 tracing: Verify if trace array exists before destroying it.
6405d5c5c5b8 tpm_crb: fix fTPM on AMD Zen+ CPUs
b3a1fb675eb8 drm/amdgpu/powerplay/smu7: fix AVFS handling with custom powerplay table
022a2a0728cb mfd: mfd-core: Protect against NULL call-back function pointer
deb34c91ebd4 mtd: cfi_cmdset_0002: don't free cfi->cfiq in error path of cfi_amdstd_setup()
bcd4bbf99535 ice: Fix to change Rx/Tx ring descriptor size via ethtool with DCBx
3642887a4031 drm/amdgpu/powerplay: fix AVFS handling with custom powerplay table
c5505813d01f clk/ti/adpll: allocate room for terminating null
5eb67d3843ed f2fs: avoid kernel panic on corruption test
5657f17bcd9c iomap: Fix overflow in iomap_page_mkwrite
4c7d4dd210a1 dax: Fix alloc_dax_region() compile warning
6670a2a397d4 net: silence data-races on sk_backlog.tail
75a1c456944f powerpc/64s: Always disable branch profiling for prom_init.o
f5abdca0c2ef scsi: lpfc: Fix kernel crash at lpfc_nvme_info_show during remote port bounce
1a4c4df21728 scsi: fnic: fix use after free
4241376371ad PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out
d550b07e1a3f dm table: do not allow request-based DM to stack on partitions
e645b649c418 leds: mlxreg: Fix possible buffer overflow
36f11775da75 xfs: properly serialise fallocate against AIO+DIO
50afba5c129c drm/amd/display: Free gamma after calculating legacy transfer function
252e8b514a98 media: smiapp: Fix error handling at NVM reading
e0731a6503b0 soundwire: intel/cadence: fix startup sequence
d9adb4deef16 ASoC: kirkwood: fix IRQ error handling
8b4e9c1bb05a gma/gma500: fix a memory disclosure bug due to uninitialized bytes
8c355ed61996 xfs: fix inode fork extent count overflow
ff099d7c845d m68k: q40: Fix info-leak in rtc_ioctl
bbe4f5e44a75 scsi: aacraid: fix illegal IO beyond last LBA
2c25b9511178 mm: fix double page fault on arm64 if PTE_AF is cleared
bdb830d101e7 PCI/IOV: Serialize sysfs sriov_numvfs reads vs writes
a34a9a4c31e2 ath10k: fix memory leak for tpc_stats_final
b8ef4aaf6e32 ath10k: fix array out-of-bounds access
abc15be19f4c scsi: qla2xxx: Add error handling for PLOGI ELS passthrough
ac559369050f dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling)
3e7bf6336084 drm/amdkfd: Fix race in gfx10 context restore handler
c08ecda2cf31 drm/amd/display: Do not double-buffer DTO adjustments
1333ce263ad9 media: mc-device.c: fix memleak in media_device_register_entity
b7316f505fe5 selinux: allow labeling before policy is loaded
e14f1f8f1bfe scsi: mpt3sas: Free diag buffer without any status check
6b8fbd9b2db0 scsi: lpfc: Fix pt2pt discovery on SLI3 HBAs
03c4d42e3c14 kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()
(From OE-Core rev: 656d2070f8448681cb69a3d43dbae84a681c1a75)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c04e164cc0f64fcb3df6cc893608668e66f93d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5d087e3578cf Linux 5.4.68
071f42defada iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE
a5bc1c7a9a6d mm: memcg: fix memcg reclaim soft lockup
7f23aa7cabdd net: add __must_check to skb_put_padto()
0d5a7af160bd net: qrtr: check skb_put_padto() return value
e78590497f96 net: phy: Do not warn in phy_stop() on PHY_DOWN
94f2dc7ad055 net: phy: Avoid NPD upon phy_detach() when driver is unbound
8b6279822080 net: lantiq: Disable IRQs only if NAPI gets scheduled
4c304ed93ad3 net: lantiq: Use napi_complete_done()
9efed2a32a86 net: lantiq: use netif_tx_napi_add() for TX NAPI
19dd093aa5b4 net: lantiq: Wake TX queue again
743fead4d958 bnxt_en: Protect bnxt_set_eee() and bnxt_set_pauseparam() with mutex.
e238cb110123 bnxt_en: return proper error codes in bnxt_show_temp
1ee92ea9a1fb net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported
5b609d8e5beb net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported
825fc3167cf5 tipc: use skb_unshare() instead in tipc_buf_append()
5efc178ebd12 tipc: fix shutdown() of connection oriented socket
586b14ec481c tipc: Fix memory leak in tipc_group_create_member()
83bd58952b2b taprio: Fix allowing too small intervals
f705d35a0e93 nfp: use correct define to return NONE fec
875f6478655b net: sctp: Fix IPv6 ancestor_size calc in sctp_copy_descendant
884414196692 net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc
891828a79bbc net/mlx5: Fix FTE cleanup
242e12aecdd3 net: ipv6: fix kconfig dependency warning for IPV6_SEG6_HMAC
d3c2188ee6e6 net: Fix bridge enslavement failure
acd04a157b33 net: dsa: rtl8366: Properly clear member config
9139f13e01a3 net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
450c0c00a5b0 net: bridge: br_vlan_get_pvid_rcu() should dereference the VLAN group under RCU
d0b05f019f84 ipv6: avoid lockdep issue in fib6_del()
860e2cc78c69 ipv4: Update exception handling for multipath routes via same device
583ff79349f9 ipv4: Initialize flowi4_multipath_hash in data path
f28bc7ea6978 ip: fix tos reflection in ack and reset packets
c3de9daa6626 hdlc_ppp: add range checks in ppp_cp_parse_cr()
745c24fd1d79 geneve: add transport ports in route lookup for geneve
79cd5858ac05 cxgb4: Fix offset when clearing filter byte counters
2583159735e4 cxgb4: fix memory leak during module unload
6743a9b020fd bnxt_en: Fix NULL ptr dereference crash in bnxt_fw_reset_task()
c7275d7a11ab bnxt_en: Avoid sending firmware messages when AER error is detected.
61fd38db76ad act_ife: load meta modules before tcf_idr_check_alloc()
263445256cd8 mm/thp: fix __split_huge_pmd_locked() for migration PMD
e7b219bc7b59 kprobes: fix kill kprobe which has been marked as gone
2906c6acda15 ibmvnic: add missing parenthesis in do_reset()
c5ea71579254 ibmvnic fix NULL tx_pools and rx_tools issue at do_reset
a769bff2333a af_key: pfkey_dump needs parameter validation
(From OE-Core rev: 4194dc3265ed3e2e032c0344e7f6427c0b7755dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 963a103e847e2ae3624e70e119920b51e6db13ad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a4bea6a4f1e0 Linux 5.4.67
ef6458fdbb5c dax: Fix compilation for CONFIG_DAX && !CONFIG_FS_DAX
d6712eefc77e dm: Call proper helper to determine dax support
6b02d0598554 mm/memory_hotplug: drain per-cpu pages again during memory offline
908272a5e9e4 dm/dax: Fix table reference counts
0df6aeac967f selftests/vm: fix display of page size in map_hugetlb
5ed6a7e1a7e1 powerpc/dma: Fix dma_map_ops::get_required_mask
264ae08bb774 ehci-hcd: Move include to keep CRC stable
fceeea8b35cb s390/zcrypt: fix kmalloc 256k failure
463a0d4c1b94 x86/boot/compressed: Disable relocation relaxation
b703bd1e9285 serial: 8250_pci: Add Realtek 816a and 816b
96e6de09097b Input: i8042 - add Entroware Proteus EL07R4 to nomux and reset lists
c0190d14b9a8 Input: trackpoint - add new trackpoint variant IDs
e44bd84cd2ab percpu: fix first chunk size calculation for populated bitmap
32f60ecbb9b8 ALSA: hda/realtek - The Mic on a RedmiBook doesn't work
dda1362d6bce ALSA: hda: fixup headset for ASUS GX502 laptop
87e1dbe6c6c5 Revert "ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO"
b0b68bfe729a i2c: i801: Fix resume bug
7c96edc6e719 usb: typec: ucsi: Prevent mode overrun
6c56942bd2e6 usblp: fix race between disconnect() and read()
56ad2cab0845 USB: UAS: fix disconnect by unplugging a hub
d8c0a033d9ce USB: quirks: Add USB_QUIRK_IGNORE_REMOTE_WAKEUP quirk for BYD zhaoxin notebook
a0fec594b0a5 drm/i915: Filter wake_flags passed to default_wake_function
daf646fd3247 riscv: Add sfence.vma after early page table changes
8a568d7fc295 i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
a55eec14a4e1 iommu/amd: Fix potential @entry null deref
ecd219c72945 arm64: bpf: Fix branch offset in JIT
c6fa55a3130d drm/mediatek: Add missing put_device() call in mtk_hdmi_dt_parse_pdata()
566e86327754 drm/mediatek: Add exception handing in mtk_drm_probe() if component init fail
549efeaa96d8 MIPS: SNI: Fix spurious interrupts
73d58890be30 fbcon: Fix user font detection test at fbcon_resize().
b7b136191170 perf test: Free formats for perf pmu parse test
b116e2d37b03 perf parse-event: Fix memory leak in evsel->unit
43d9473e7cd9 perf evlist: Fix cpu/thread map leak
751930560ea4 MIPS: SNI: Fix MIPS_L1_CACHE_SHIFT
b86434c072d4 perf test: Fix the "signal" test inline assembly
e03e0498b453 Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload
cdf990e2b24e arm64: Allow CPUs unffected by ARM erratum 1418040 to come in late
09aadf403225 scsi: libsas: Fix error path in sas_notify_lldd_dev_found()
9afe75149419 Drivers: hv: vmbus: hibernation: do not hang forever in vmbus_bus_resume()
b12029411b25 ASoC: meson: axg-toddr: fix channel order on g12 platforms
600cafd55bfd powerpc/book3s64/radix: Fix boot failure with large amount of guest memory
f6d4afd008a6 ASoC: qcom: common: Fix refcount imbalance on error
911c69245a27 ASoC: qcom: Set card->owner to avoid warnings
cf111e31eae6 clk: rockchip: Fix initialization of mux_pll_src_4plls_p
af8f780eee47 clk: davinci: Use the correct size when allocating memory
d81d1306d6c9 KVM: MIPS: Change the definition of kvm type
88a637d56567 spi: Fix memory leak on splited transfers
9f09e86200fd i2c: algo: pca: Reapply i2c bus settings after reset
78d48322dd54 f2fs: Return EOF on unaligned end of file DIO read
e34313d1b7e9 f2fs: fix indefinite loop scanning for free nid
7f07bbf9bc16 block: only call sched requeue_request() for scheduled requests
373312e8513c nvme-tcp: cancel async events before freeing event struct
89669cae6de8 nvme-rdma: cancel async events before freeing event struct
103e82d5e82b nvme-fc: cancel async events before freeing event struct
4951def1e258 openrisc: Fix cache API compile issue when not inlining
5dda8b9b6ad7 cifs: fix DFS mount with cifsacl/modefromsid
72efc1488dad rapidio: Replace 'select' DMAENGINES 'with depends on'
b85406bf1bd7 SUNRPC: stop printk reading past end of string
7b8fb2a4d373 NFS: Zero-stateid SETATTR should first return delegation
7fa3ef52032e spi: spi-loopback-test: Fix out-of-bounds read
8aeb6173e87f regulator: pwm: Fix machine constraints application
618fcfb5e3f3 scsi: lpfc: Fix FLOGI/PLOGI receive race condition in pt2pt discovery
f8f1eea08820 scsi: libfc: Fix for double free()
4a9e028f6db0 scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort
db081ee4d8c0 NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recall
9b6caf4ccb44 firmware_loader: fix memory leak for paged buffer
51fe5c82c759 hv_netvsc: Remove "unlikely" from netvsc_select_queue
78607d494c92 net: handle the return value of pskb_carve_frag_list() correctly
b3dacce5025c dsa: Allow forwarding of redirected IGMP traffic
cd171c18d3d5 e1000e: Add support for Comet Lake
a73e9ea38d5d RDMA/bnxt_re: Restrict the max_gids to 256
29dd419f56fc gfs2: initialize transaction tr_ailX_lists earlier
bdc3a8f6a8e8 Linux 5.4.66
d3c2b7d2856c gcov: add support for GCC 10.1
fe79f1cf177a drm/msm: Disable the RPTR shadow
8cbe9b765487 drm/msm/gpu: make ringbuffer readonly
ebd9aff7b62a usb: typec: ucsi: acpi: Check the _DEP dependencies
848eeb75c81d usb: Fix out of sync data toggle if a configured device is reconfigured
224fa057d72a USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules
dbbb21384fe6 USB: serial: option: support dynamic Quectel USB compositions
38e75a99b486 USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter
70a9c0352e21 usb: core: fix slab-out-of-bounds Read in read_descriptors
83db8dd32b1d phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init
524e525fa73e staging: greybus: audio: fix uninitialized value issue
3aa4c49c8d41 video: fbdev: fix OOB read in vga_8planes_imageblit()
9dd48c399a81 ARM: dts: vfxxx: Add syscon compatible with OCOTP
323159acb2b5 debugfs: Fix module state check condition
41b2ea7a6a11 KVM: fix memory leak in kvm_io_bus_unregister_dev()
d334a67d3ed0 KVM: arm64: Do not try to map PUDs when they are folded into PMD
a86743ebe680 KVM: VMX: Don't freeze guest when event delivery causes an APIC-access exit
087b6cb17df5 vgacon: remove software scrollback support
0d123a8c64fd fbcon: remove now unusued 'softback_lines' cursor() argument
cf5a7ded5365 fbcon: remove soft scrollback code
a0f6bdafaa4c RDMA/mlx4: Read pkey table length instead of hardcoded value
616a0c13e432 RDMA/rxe: Fix the parent sysfs read when the interface has 15 chars
ea3d3bf85669 rbd: require global CAP_SYS_ADMIN for mapping and unmapping
c2fb443bde82 mmc: sdhci-of-esdhc: Don't walk device-tree on every interrupt
c724eb78c1ec mmc: sdio: Use mmc_pre_req() / mmc_post_req()
becb3bbb2911 drm/msm: Disable preemption on all 5xx targets
404ab35baae4 drm/tve200: Stabilize enable/disable
701b385f6877 drm/i915/gvt: do not check len & max_len for lri
a5bfcf2455d4 scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem
fa4372668f58 scsi: target: iscsi: Fix data digest calculation
a467624aef02 regulator: core: Fix slab-out-of-bounds in regulator_unlock_recursive()
dfbb9cea5a4b regulator: plug of_node leak in regulator_register()'s error path
047a71ff5e9d regulator: push allocation in set_consumer_device_supply() out of lock
31d89652c384 regulator: push allocations in create_regulator() outside of lock
e7249ceb7ff8 regulator: push allocation in regulator_init_coupling() outside of lock
b9fb631f6b03 kobject: Restore old behaviour of kobject_del(NULL)
b85c64a7161f btrfs: fix wrong address when faulting in pages in the search ioctl
524f3f303079 btrfs: fix lockdep splat in add_missing_dev
1aaceffa5ace btrfs: require only sector size alignment for parent eb bytenr
c570a3d660a2 staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb()
e9f7332b0040 iio:accel:mma8452: Fix timestamp alignment and prevent data leak.
a6dc50f30129 iio:accel:mma7455: Fix timestamp alignment and prevent data leak.
e94ec7f512cf iio: accel: kxsd9: Fix alignment of local buffer.
b040ac56b264 iio:chemical:ccs811: Fix timestamp alignment and prevent data leak.
cd1a2517b35e iio:light:max44000 Fix timestamp alignment and prevent data leak.
176fb9423ab8 iio:magnetometer:ak8975 Fix alignment and data leak issues.
c4b67a1dcba0 iio:adc:ti-adc081c Fix alignment and data leak issues
e691d264ddf9 iio:adc:max1118 Fix alignment of timestamp and data leak issues
24c4430c9b18 iio:adc:ina2xx Fix timestamp alignment issue.
de2fa1f48a52 iio:adc:ti-adc084s021 Fix alignment and data leak issues.
13a76aae01c7 iio:accel:bmc150-accel: Fix timestamp alignment and prevent data leak.
66b8b8f75e35 iio:proximity:mb1232: Fix timestamp alignment and prevent data leak.
0616d908aef5 iio:light:ltr501 Fix timestamp alignment issue.
c80210735f31 iio: cros_ec: Set Gyroscope default frequency to 25Hz
c71e70a85b4b iio: adc: ti-ads1015: fix conversion when CONFIG_PM is not set
d4bdcf4f1154 gcov: Disable gcov build with GCC 10
104bc6027b27 iommu/amd: Do not use IOMMUv2 functionality when SME is active
cab731c6c873 drm/amdgpu: Fix bug in reporting voltage for CIK
d6ccea92b1e1 ALSA: hda: fix a runtime pm issue in SOF when integrated GPU is disabled
56117aa69301 ALSA: hda: hdmi - add Rocketlake support
ff37a2636464 arm64/module: set trampoline section flags regardless of CONFIG_DYNAMIC_FTRACE
2423f3a7ef52 cpufreq: intel_pstate: Fix intel_pstate_get_hwp_max() for turbo disabled
1f1169474803 cpufreq: intel_pstate: Refuse to turn off with HWP enabled
b011e41a8e48 ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id
82d4cfa185a9 HID: elan: Fix memleak in elan_input_configured
bc818ce2d51e drivers/net/wan/hdlc_cisco: Add hard_header_len
052750976d03 HID: microsoft: Add rumble support for the 8bitdo SN30 Pro+ controller
52fa4a63ab14 HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices
9eef311eb524 nvme-pci: cancel nvme device request before disabling
068f73f767a1 nvme-rdma: fix reset hang if controller died in the middle of a reset
d409ed019236 nvme-rdma: fix timeout handler
9cf1ee492f23 nvme-rdma: serialize controller teardown sequences
bb018c73500b nvme-tcp: fix reset hang if controller died in the middle of a reset
34b1b26b2d8f nvme-tcp: fix timeout handler
7abff44756fe nvme-tcp: serialize controller teardown sequences
7598a9d0a756 nvme: have nvme_wait_freeze_timeout return if it timed out
35d841908c0b nvme-fabrics: don't check state NVME_CTRL_NEW for request acceptance
f9af5758b19b nvmet-tcp: Fix NULL dereference when a connect data comes in h2cdata pdu
6ce06caf6b44 irqchip/eznps: Fix build error for !ARC700 builds
41ac2e8a6a1f xfs: initialize the shortform attr header padding entry
a33cab0fbd2f cfg80211: Adjust 6 GHz frequency to channel conversion
0aa356dde967 drivers/net/wan/lapbether: Set network_header before transmitting
e91f2ec0bfbd xfs: fix off-by-one in inode alloc block reservation calculation
983efe173e37 net: hns3: Fix for geneve tx checksum bug
cb54984b7989 drivers/dma/dma-jz4780: Fix race condition between probe and irq handler
bcdbb7c8c7f9 ALSA: hda/tegra: Program WAKEEN register for Tegra
ad360686fcd2 ALSA: hda: Fix 2 channel swapping for Tegra
1518c24b3265 firestream: Fix memleak in fs_open
818c725c1241 NFC: st95hf: Fix memleak in st95hf_in_send_cmd
0faee7f8c236 drivers/net/wan/lapbether: Added needed_tailroom
59d2b1e5cb05 netfilter: conntrack: allow sctp hearbeat after connection re-use
444bf09f2be4 dmaengine: acpi: Put the CSRT table after using it
89c4339c4d35 ARC: HSDK: wireup perf irq
75a81be8fb3e arm64: dts: ns2: Fixed QSPI compatible string
cd0ffeb0b879 ARM: dts: BCM5301X: Fixed QSPI compatible string
8a9383e277e4 ARM: dts: NSP: Fixed QSPI compatible string
7a1e2c816acc ARM: dts: bcm: HR2: Fixed QSPI compatible string
0f632bc48355 IB/isert: Fix unaligned immediate-data handling
6736317f350a block: Set same_page to false in __bio_try_merge_page if ret is false
45ffad151bae spi: stm32: fix pm_runtime_get_sync() error checking
9ed3ab0c62d4 nvme-fabrics: allow to queue requests for live queues
43b3d09c5142 spi: stm32: Rate-limit the 'Communication suspended' message
15dc0695a3b0 mmc: sdhci-msm: Add retries when all tuning phases are found valid
5bead6811610 mmc: sdhci-acpi: Clear amd_sdhci_host on reset
c46eabd1e6cc drm/sun4i: backend: Disable alpha on the lowest plane on the A20
f3c982d8e60a drm/sun4i: backend: Support alpha property on lowest plane
fe0278843b64 soundwire: fix double free of dangling pointer
122cdbd5019f scsi: mpt3sas: Don't call disable_irq from IRQ poll handler
aa204e20f4d4 scsi: megaraid_sas: Don't call disable_irq from process IRQ poll
0b4662709ced RDMA/core: Fix reported speed and width
b3f6c2ca326b scsi: libsas: Set data_dir as DMA_NONE if libata marks qc as NODATA
5571056a5805 iio: adc: mcp3422: fix locking scope
f7db02316a00 iio: adc: mcp3422: fix locking on error path
376bc3643eeb drm/sun4i: Fix dsi dcs long write function
af0d98184575 arm64: dts: imx8mq: Fix TMU interrupt property
ddd3698271da drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()
1a2d6e722b49 RDMA/bnxt_re: Do not report transparent vlan from QP1
aaca68671376 RDMA/rxe: Fix panic when calling kmem_cache_create()
d1878b298fc6 RDMA/rxe: Drop pointless checks in rxe_init_ports
ca337b53fff3 RDMA/rxe: Fix memleak in rxe_mem_init_user
af2e06b02575 ARM: dts: imx7ulp: Correct gpio ranges
ab56ed56f8c8 ARM: dts: ls1021a: fix QuadSPI-memory reg range
d5763bbf8664 selftests/timers: Turn off timeout setting
6a2be713c78f ARM: dts: socfpga: fix register entry for timer3 on Arria10
25915590865c regulator: remove superfluous lock in regulator_resolve_coupling()
69163464bcd3 regulator: push allocation in regulator_ena_gpio_request() out of lock
e9019af9b0cc ARM: dts: logicpd-som-lv-baseboard: Fix missing video
678cde6f4e2b ARM: dts: logicpd-som-lv-baseboard: Fix broken audio
06fb37a1725d ARM: dts: logicpd-torpedo-baseboard: Fix broken audio
(From OE-Core rev: ec411cb105efb755f0fc18db11cf7682761c796a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eae616c0cca482a3ce720de3d7d1caded9f79942)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
178189d65780 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
(From OE-Core rev: 350e5bdf0bb79750452bb57c1aba7e0b343c2634)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa2b309a938f4af5f5d95bc7e7f3c0e9d77f3dd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumps the minimum python version to 3.5 to match bitbake and the test
matrix
(From OE-Core rev: 346f0efdecdab81504d181092204e89e85835d4f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df13c0f2348898023fb7ee1b229e9b5ccc893609)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When testing pseudo changes I realised these recipes have packaging tasks
but don't generate packages. Drop the packages tasks for cleanliness.
(From OE-Core rev: 275d504b2f979901278141a4ba217d02a099f980)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ef9c11797b5d626bdb40b4509d8b2b0d461ff9ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_stash_locale doesn't run in fakeroot context, do_install does. We therefore
shouldn't delete files that do_install has added or it leaves potentially
problemtic entries in the fakeroot database. Leaving the files around
doesn't change or break anything else.
(From OE-Core rev: 7325222ce0dc8a75bc2d3eb7b6049f0d995ce17f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f18817f5340d06f7b4bb846a83b48731a1b9c4bc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to the latest upstream version. This fixes at least one build
error, in which build fails due to undefined FS_IOC_GETFLAGS. See commit
d7b4301d ("stress-efivar: only exercise FS_IOC_*FLAGS if they are defined")
in stress-ng for details.
(From OE-Core rev: f99dc4e49d4ad4383c826dd8f8410c32f408e9bd)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We'll be using an upstream version bump instead of this backport
This reverts commit 348c666b2dca230308c8462dac2117b04cca6ae7.
(From OE-Core rev: 49ab42d4dc93cee75ac7e9b3a4623ff1f42b306f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Microsoft's TFS VCS system allows for spaces in a git repository url.
An example of a valid url is:
ssh://tfs-my-company.org:22/tfs/My Projects/FooBar
This commit adds support for such urls by implementing two changes.
Firstly, when bitbake makes a git command line call the url is
surrounded by quotes so that the url, regardless of spaces, is
treated as one argument. Secondly, additional parsing of various
filepath variables, which are based off of the url, are now
completed with any spaces in the url replaced with underscores.
(Bitbake rev: c4a51b7f4fd8a3c7d63c184675c014ec955d2606)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb38b6f0935763f7ba19e5618f376fcae1dac41a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- add missing entry for BBFILES_DYNAMIC, ported from yocto-docs
- add description for the new inverse mode
(Bitbake rev: c27a5cc80852595549ad4156e4bb7f5a05e4cd15)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9186ca47ce73b4d1c87eb69163698a04679fb55c)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patche added in commit c271090385
failed ptest perl.t/re/pat. The patch updates incorrect test cases
count causes the ptest to fail.
864 test cases before apply the patch while the patch added only 4
test cases so it should be 868 instead of 873.
ptest-runner log :-
PASS: t/re/overload
# Looks like you planned 873 tests but ran 868.
FAIL: t/re/pat
PASS: t/re/pat_advanced
[YOCTO #14071]
(From OE-Core rev: 552739383321bd9b4780bd0026d6107ece530522)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com<mailto:chee.yang.lee@intel.com>>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In certain conditions, most likely under heavy load on the
AutoBuilder, the prebuilt .pyc files are attempting to be
executed before they have been completely copied. Avoid
this by not copying the .pyc files (nor the __pycache__
directory). The impact of python3-native recreating the .pyc
files should hopefully be negligible.
YOCTO#13421
YOCTO#13803
(From OE-Core rev: 1facb696140cc95ea3478654aedf1220459c825f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allows the --offset argument to use the "s" or "S" suffix to specify
that it is reporting the number of 512 byte sectors.
This is required for some SoCs where the mask ROM looks for an item at a
sector that isn't aligned to a 1KB boundary.
(From OE-Core rev: b9296bdeaacc1dce97aac9c9bf0d70555bb36646)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 938595d1dc4abaf5f7f3a7900add3f0492b805d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The error message was reporting the calculated offset instead of the
current offset, which made it confusing.
(From OE-Core rev: 0ff25797126772f40e357a2f3cf81eccf659adaf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2be775cfe1b49ce3889b5dc326e2b67a9667f18a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
467f84e12b ("wic: Add --offset argument for partitions") broke the
--extra-space argument handling in wic. Fix the option and add a unit
test for the argument.
(From OE-Core rev: 62a7a10c31bcf133cbd99d4de928f15a30e45ab1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87722a92c18f94917c8f70afc8cd0763462a5c25)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for an --offset argument when defining a partition. Many
SoCs require that boot partitions be located at specific offsets. Prior
to this argument, most WKS files were using the --align attribute to
specify the location of these fixed partitions but this is not ideal
because in the event that the partition couldn't be placed in the
specified location, wic would move it to the next sector with that
alignment, often preventing the device from booting. Unlike the --align
argument, wic will fail if a partition cannot be placed at the exact
offset specified with --offset.
Changes in V2:
* Fixed a small typo that prevented test_fixed_size_error from passing
(From OE-Core rev: 897aaff8961f7fe83634a3b0b94e19b43aea5857)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 467f84e12b96bc977d57575023517dd6f8ef7f29)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the kernel version changes for writeback.h to fix
compilation against kernel stable versions 5.4.62+
This is a combination of upstream commits:
87b2aff [fix: writeback: Fix sync livelock due to b_dirty_time processing (v5.9)]
b74b25f [fix: version ranges for ext4_discard_preallocations and writeback_queue_io
Upstream-status: Backport
(From OE-Core rev: 348c666b2dca230308c8462dac2117b04cca6ae7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6c3d34dea2fc Linux 5.4.65
ddb279d64b72 net: disable netpoll on fresh napis
09c45065257b tipc: fix shutdown() of connectionless socket
b95eb482c288 taprio: Fix using wrong queues in gate mask
20f8c874789a sctp: not disable bh in the whole sctp_get_port_local()
8b61bb0b2d57 net: usb: dm9601: Add USB ID of Keenetic Plus DSL
346fefa82325 netlabel: fix problems with mapping removal
3f73dbf94f8f ipv6: Fix sysctl max for fib_multipath_hash_policy
263e463358d3 ipv4: Silence suspicious RCU usage warning
(From OE-Core rev: d5b45e81adf16c8b15a981ca9ef79bfea3ffe2dd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit e2cb6e8b433614a8512739ea5583914d9ef978fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6ffabce36fc8 Linux 5.4.64
beaf13ed8e97 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()
58c3e86d42d2 cfg80211: regulatory: reject invalid hints
08eeec445297 mm/khugepaged.c: fix khugepaged's request size in collapse_file
af7786b20c71 mm/hugetlb: fix a race between hugetlb sysctl handlers
f2cd86225c89 checkpatch: fix the usage of capture group ( ... )
59ac5bfa82bc sdhci: tegra: Add missing TMCLK for data timeout
e915b3b63dfd perf record: Correct the help info of option "--no-bpf-event"
894a6f0be372 vfio/pci: Fix SR-IOV VF handling with MMIO blocking
f4fa8d937edf mm: madvise: fix vma user-after-free
87fb7b0c5266 mm: slub: fix conversion of freelist_corrupted()
291144f1114d dm thin metadata: Fix use-after-free in dm_bm_set_read_only
cfe85a4a8552 dm thin metadata: Avoid returning cmd->bm wild pointer on error
392a6afcbf19 dm cache metadata: Avoid returning cmd->bm wild pointer on error
9dd74db0bfd1 dm crypt: Initialize crypto wait structures
e6ddb1d45c51 dm integrity: fix error reporting in bitmap mode after creation
b30f628beec9 dm mpath: fix racey management of PG initialization
226fb99eb59d dm writecache: handle DAX to partitions on persistent memory correctly
6fb192c06a14 drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting
f84804af09c7 dmaengine: dw-edma: Fix scatter-gather address calculation
9f4ab0172e6c blk-iocost: ioc_pd_free() shouldn't assume irq disabled
f7880745e91b libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks
5f5f27228195 block: ensure bdi->io_pages is always initialized
84c041c12442 block: allow for_each_bvec to support zero len bvec
b6e4827c04b0 affs: fix basic permission bits to actually work
2d89e44dc932 media: rc: uevent sysfs file races with rc_unregister_device()
5925179bbc64 media: rc: do not access device via sysfs after rc_unregister_device()
3d77c12f3040 mmc: sdhci-pci: Fix SDHCI_RESET_ALL for CQHCI for Intel GLK-based controllers
ed48704c36a8 mmc: cqhci: Add cqhci_deactivate()
a69047c01eb4 mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings
5876ee035ba6 mmc: mediatek: add optional module reset property
2816ccd07145 arm64: dts: mt7622: add reset node for mmc device
d074d9d52fe0 ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen
7de2f56ef51a ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A
a253fe35666d ALSA; firewire-tascam: exclude Tascam FE-8 from detection
982505615063 ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO
cebaed033037 ALSA: firewire-digi00x: exclude Avid Adrenaline from detection
4fa06a43bf9f ALSA: hda/hdmi: always check pin power status in i915 pin fixup
2ebb83a259a8 ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
79124b1b912c ALSA: usb-audio: Add implicit feedback quirk for UR22C
a3b94af5117b ALSA: ca0106: fix error code handling
156dd7c73a9b Revert "ALSA: hda: Add support for Loongson 7A1000 controller"
62db427bf8ca Revert "net: dsa: microchip: set the correct number of ports"
4254a4f7988c btrfs: fix potential deadlock in the search ioctl
de53545e8d4c net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()
df0c47585cea btrfs: tree-checker: fix the error message for transid error
650275310f3b btrfs: set the lockdep class for log tree extent buffers
7e0ffb0d9d9f btrfs: set the correct lockdep class for new nodes
c37cc199da2b btrfs: allocate scrub workqueues outside of locks
eb29635ba68a btrfs: drop path before adding new uuid tree entry
20b591fd00c0 ARC: perf: don't bail setup if pct irq missing in device-tree
ce690fa1d5d0 xfs: don't update mtime on COW faults
12cd8fccc9ed ext2: don't update mtime on COW faults
cc6c4d81d6ad tracing/kprobes, x86/ptrace: Fix regs argument order for i386
036a857bb57d iommu/vt-d: Handle 36bit addressing for x86-32
8f747b0149c5 vfio-pci: Invalidate mmaps and block MMIO access on disabled memory
b0f5096b281a vfio-pci: Fault mmaps to enable vma tracking
270c35d0723a vfio/type1: Support faulting PFNMAP vmas
5629bb21ce20 include/linux/log2.h: add missing () around n in roundup_pow_of_two()
bc846b58fe5c net/packet: fix overflow in tpacket_rcv
e3d109c3484e iommu/amd: Restore IRTE.RemapEn bit after programming IRTE
7ce6bc1b549e thermal: qcom-spmi-temp-alarm: Don't suppress negative temp
f5b3bd38ae91 thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430
0c21f1bcafc1 iommu/vt-d: Serialize IOMMU GCMD register modifications
920d9ffcd481 x86, fakenuma: Fix invalid starting node ID
1a7e03867a37 tg3: Fix soft lockup when tg3_reset_task() fails.
b0c40f8a7a0e perf jevents: Fix suspicious code in fixregex()
6c4ad5444a26 xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files
58591dd6afda MIPS: add missing MSACSR and upper MSA initialization
612e2b7ec962 net: gemini: Fix another missing clk_disable_unprepare() in probe
88405cf0f2bd fix regression in "epoll: Keep a reference on files added to the check list"
901d22c6b6dc net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
8e2660c834e3 perf tools: Correct SNOOPX field offset
37f0a08a3a83 cxgb4: fix thermal zone device registration
50d284778427 nvme: fix controller instance leak
f4b830c61b5b nvmet-fc: Fix a missed _irqsave version of spin_lock in 'nvmet_fc_fod_op_done()'
9ff9f74ed462 netfilter: nfnetlink: nfnetlink_unicast() reports EAGAIN instead of ENOBUFS
498575898ec4 net: dsa: mt7530: fix advertising unsupported 1000baseT_Half
c4a427b71cd7 selftests/bpf: Fix massive output from test_maps
e0a1bebc332d media: cedrus: Add missing v4l2_ctrl_request_hdl_put()
3fe12f4be001 media: vicodec: add missing v4l2_ctrl_request_hdl_put()
f28f3cffff27 bnxt: don't enable NAPI until rings are ready
da7a1676d6c1 xfs: fix boundary test in xfs_attr_shortform_verify
8227199ceafd bnxt_en: fix HWRM error when querying VF temperature
927a7629bedd bnxt_en: Fix possible crash in bnxt_fw_reset_task().
70699d3cc77c bnxt_en: Fix PCI AER error recovery flow
87547923b6c6 bnxt_en: Check for zero dir entries in NVRAM.
e7cbba4db7da bnxt_en: Don't query FW when netif_running() is false.
c11510bb8898 net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port
0bd92cdc04e6 gtp: add GTPA_LINK info to msg sent to userspace
24249fab08c6 dmaengine: pl330: Fix burst length if burst size is smaller than bus width
719f92de3fff net: arc_emac: Fix memleak in arc_mdio_probe
268fe5a4c040 ravb: Fixed to be able to unload modules
8123fa897e65 net: systemport: Fix memleak in bcm_sysport_probe
a49c0aebf9c4 net: hns: Fix memleak in hns_nic_dev_probe
210b889fd8ef netfilter: nf_tables: fix destination register zeroing
576fbd4902fb netfilter: nf_tables: incorrect enum nft_list_attributes definition
929d07feb94f netfilter: nf_tables: add NFTA_SET_USERDATA if not null
fb1e97674aa8 mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040
da8e3e507d2f MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores
c5e9e36fc2f8 MIPS: mm: BMIPS5000 has inclusive physical caches
5f7798f05311 rxrpc: Make rxrpc_kernel_get_srtt() indicate validity
43cf7e7dfa7b rxrpc: Keep the ACK serial in a var in rxrpc_input_ack()
242a7ab0ac52 dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate()
2f2786bb9d40 batman-adv: bla: use netif_rx_ni when not in interrupt context
fd8b3ef644a4 batman-adv: Fix own OGM check in aggregated OGMs
2344f2f186fd batman-adv: Avoid uninitialized chaddr when handling DHCP
89cb604c4226 dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling
1a89606baf31 fsldma: fix very broken 32-bit ppc ioread64 functionality
6eb88c42dcc9 xen/xenbus: Fix granting of vmalloc'd memory
0878655a9880 drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init
b014f2846e6f drm/amd/display: Retry AUX write when fail occurs
9947928e619a drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps
79d31527dfc3 drm/amd/display: Reject overlay plane configurations in multi-display scenarios
29bade8e2fc9 s390: don't trace preemption in percpu macros
c756635246e9 nbd: restore default timeout when setting it to zero
c1e333e7b8da cpuidle: Fixup IRQ state
ad3a4efc8c56 drm/omap: fix incorrect lock state
0a8dcad24424 ceph: don't allow setlease on cephfs
755fd63ae163 drm/msm/a6xx: fix gmu start on newer firmware
7a55cf8a20c7 habanalabs: check correct vmalloc return code
c9436de020a4 habanalabs: validate FW file size
dddd5003c707 drm/msm: enable vblank during atomic commits
2c9bc7d9600c nvmet: Disable keep-alive timer when kato is cleared to 0h
e94a3d76305b hwmon: (applesmc) check status earlier.
19583b280801 drm/msm: add shutdown support for display platform_driver
8bc25dea70fe tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup
28ffe70a2e33 drm/msm/dpu: Fix scale params in plane validation
b2fc347e2126 HID: quirks: Always poll three more Lenovo PixArt mice
e32f4fa1b24d Linux 5.4.63
5153710a5ecc scsi: target: tcmu: Optimize use of flush_dcache_page
bb9949fdfddd scsi: target: tcmu: Fix size in calls to tcmu_flush_dcache_range
6d2e274f60fc sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186
0176db2f2ad5 sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210
eda97e9d90db arm64: tegra: Add missing timeout clock to Tegra210 SDMMC
5cd8c5979e72 arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes
ef8b5f333780 arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes
9d806d68bf97 dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later
d2ac42e61ecd KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception
ffad02f9e3ea KVM: arm64: Survive synchronous exceptions caused by AT instructions
1744237ca047 KVM: arm64: Add kvm_extable for vaxorcism code
538caddbe635 drm/etnaviv: fix TS cache flushing on GPUs with BLT engine
80743b4bde09 drm/sched: Fix passing zero to 'PTR_ERR' warning v2
6cadd1e2d8c5 perf record/stat: Explicitly call out event modifiers in the documentation
4bae1afed432 HID: core: Sanitize event code and type when mapping input
667514df10a0 HID: core: Correctly handle ReportSize being zero
933cf1c2c075 Linux 5.4.62
54ee77961e79 io_uring: Fix NULL pointer dereference in io_sq_wq_submit_work()
44cf62d388fb ALSA: usb-audio: Update documentation comment for MS2109 quirk
851d0813ab80 HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
c98b6ebd9b55 kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
37432a83faab kbuild: add variables for compression tools
47a41f65afb6 kheaders: explain why include/config/autoconf.h is excluded from md5sum
7caddaa9f88b kheaders: remove the last bashism to allow sh to run it
18f48708c3f5 kheaders: optimize header copy for in-tree builds
a1d0c6e2f334 kheaders: optimize md5sum calculation for in-tree builds
eb914bae6e17 kheaders: remove unneeded 'cat' command piped to 'head' / 'tail'
376810e5e9e1 fbmem: pull fbcon_update_vcs() out of fb_set_var()
6a862aa31ec3 usb: dwc3: gadget: Handle ZLP for sg requests
7c8b5685662b usb: dwc3: gadget: Fix handling ZLP
4bc5d90a7dce usb: dwc3: gadget: Don't setup more than requested
f8e4c5297fcd drm/i915: Fix cmd parser desc matching with masks
73992639ec78 usb: storage: Add unusual_uas entry for Sony PSZ drives
2add73c8c00d USB: cdc-acm: rework notification_buffer resizing
e2e02f260496 USB: gadget: u_f: Unbreak offset calculation in VLAs
4f529c4d1e43 USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb()
f47ab852bea3 USB: gadget: u_f: add overflow checks to VLA macros
2534d3dec376 usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe()
de24343880a6 USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge
ca29a2a53953 USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D
20b3564c6748 USB: quirks: Add no-lpm quirk for another Raydium touchscreen
b32ec919ee37 usb: uas: Add quirk for PNY Pro Elite
ad0bc424fc0a USB: yurex: Fix bad gfp argument
3623dab2959e drm/amd/pm: correct the thermal alert temperature limit settings
85ca6f199c77 drm/amd/pm: correct Vega20 swctf limit setting
9afabefd42fc drm/amd/pm: correct Vega12 swctf limit setting
60cffee2d951 drm/amd/pm: correct Vega10 swctf limit setting
2809cf7f6eba drm/amd/powerplay: Fix hardmins not being sent to SMU for RV
20700b352d10 drm/amdgpu/gfx10: refine mgcg setting
8fc7a66619e1 drm/amdgpu: Fix buffer overflow in INFO ioctl
1adf8c19f974 x86/hotplug: Silence APIC only after all interrupts are migrated
47c8387a963e irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake
927aa9a10f12 genirq/matrix: Deal with the sillyness of for_each_cpu() on UP
70957a10e1db crypto: af_alg - Work around empty control messages without MSG_MORE
aca10ab0568a device property: Fix the secondary firmware node handling in set_primary_fwnode()
df2a6a4a9d68 powerpc/perf: Fix crashes with generic_compat_pmu & BHRB
b260fb2a02b5 PM: sleep: core: Fix the handling of pending runtime resume requests
7ded78a8c89e arm64: vdso32: make vdso32 install conditional
3b7087e07730 xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed
02166fea639f xhci: Do warm-reset when both CAS and XDEV_RESUME are set
3ac8545b29ae usb: host: xhci: fix ep context print mismatch in debugfs
4d3e2a3a0c64 XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information.
6623c19042b6 writeback: Fix sync livelock due to b_dirty_time processing
cb0c74450072 writeback: Avoid skipping inode writeback
8eab2b531fd3 writeback: Protect inode->i_io_list with inode->i_lock
2e76a3a1667c serial: 8250: change lock order in serial8250_do_startup()
f53ebc7c2922 serial: 8250_exar: Fix number of ports for Commtech PCIe cards
fbb55ec82dd6 serial: stm32: avoid kernel warning on absence of optional IRQ
64a05aadf936 serial: pl011: Don't leak amba_ports entry on driver register error
0806b49bba20 serial: pl011: Fix oops on -EPROBE_DEFER
daae6b962a13 serial: samsung: Removes the IRQ not found warning
7c57237d74a0 vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize()
adb76f3f7732 vt: defer kfree() of vc_screenbuf in vc_do_resize()
db1bb352cc08 USB: lvtest: return proper error code in probe
96e41fc29e8a fbcon: prevent user font height or width change from causing potential out-of-bounds access
cd1d270e3e4f btrfs: detect nocow for swap after snapshot delete
eb576fc43a43 btrfs: fix space cache memory leak after transaction abort
1d08edc70154 btrfs: check the right error variable in btrfs_del_dir_entries_in_log
8a3509486f08 btrfs: reset compression level for lzo on remount
b1a83ee0cbbf blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART
c2035d1e55aa HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands
db4542b6617b block: loop: set discard granularity and alignment for block device backed loop
f09dbec9c0c6 block: fix get_max_io_size()
2f4b202eb1b1 arm64: Allow booting of late CPUs affected by erratum 1418040
82b05f0838aa arm64: Move handling of erratum 1418040 into C code
7d44b707aaff powerpc/perf: Fix soft lockups due to missed interrupt accounting
9c0305c0cfa2 net: gianfar: Add of_node_put() before goto statement
c656534e5c45 macvlan: validate setting of multiple remote source MAC addresses
19f669a3609c Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command"
48765b780ace scsi: qla2xxx: Fix null pointer access during disconnect from subsystem
36a139cf4146 scsi: qla2xxx: Check if FW supports MQ before enabling
88274626d110 scsi: qla2xxx: Fix login timeout
37528b3ee9e1 scsi: ufs: Clean up completed request without interrupt notification
a39ba0fdcdfd scsi: ufs: Improve interrupt handling for shared interrupts
d895b0be701c scsi: ufs: Fix possible infinite loop in ufshcd_hold
1778bebd06b4 scsi: fcoe: Fix I/O path allocation
a8d26145e112 selftests: disable rp_filter for icmp_redirect.sh
957066143e6c ASoC: wm8994: Avoid attempts to read unreadable registers
1d63737b0777 s390/cio: add cond_resched() in the slow_eval_known_fn() loop
2a8c6149a49a ALSA: hda/realtek: Add model alc298-samsung-headphone
021a98a87864 can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect corruptions
3803312a3c55 netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency
35238963c972 drm/amd/display: Switch to immediate mode for updating infopackets
b92b415fa7b7 drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading
73a0e6280a32 drm/amd/powerplay: correct Vega20 cached smu feature state
d2da80e0a3e7 spi: stm32: always perform registers configuration prior to transfer
2844685c661a spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate
a6daa863d15e spi: stm32: fix fifo threshold level in case of short transfer
3c15a3c4b155 spi: stm32h7: fix race condition at end of transfer
a08e95e83e6f fs: prevent BUG_ON in submit_bh_wbc()
28a56c26a00d ext4: correctly restore system zone info when remount fails
8e63c86f6580 ext4: handle error of ext4_setup_system_zone() on remount
e579635669da ext4: handle option set by mount flags correctly
3a53d012bd26 jbd2: abort journal if free a async write error metadata buffer
1b36d4fa4b66 ext4: handle read only external journal device
2e7312ddaf62 ext4: don't BUG on inconsistent journal feature
40827caf954c jbd2: make sure jh have b_transaction set in refile/unfile_buffer
e4351ad44d7e spi: stm32: clear only asserted irq flags on interrupt
d63728afe947 usb: gadget: f_tcm: Fix some resource leaks in some error paths
262f5fbad941 i2c: rcar: in slave mode, clear NACK earlier
883ed72723ef i2c: core: Don't fail PRP0001 enumeration when no ID table exist
2fc8fa50ebee null_blk: fix passing of REQ_FUA flag in null_handle_rq
88994acafd96 nvme: multipath: round-robin: fix single non-optimized path case
97f30414a2e0 nvme-fc: Fix wrong return value in __nvme_fc_init_request()
05c608f630b9 blkcg: fix memleak for iolatency
872a2b3182ee blk-mq: insert request not through ->queue_rq into sw/scheduler queue
9054d5844092 hwmon: (nct7904) Correct divide by 0
1475314530bb bfq: fix blkio cgroup leakage v4
2295664518c3 block: Fix page_is_mergeable() for compound pages
3e9eb1e893ba drm/msm/adreno: fix updating ring fence
effd3b89f7e5 block: virtio_blk: fix handling single range discard request
cc3a73f245cb block: respect queue limit of max discard segment
8f409e764c4b media: gpio-ir-tx: improve precision of transmitted signal due to scheduling
6ba04701b801 ALSA: usb-audio: Add capture support for Saffire 6 (USB 1.1)
5861e84d7145 cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode
1b7b2d45b31e PCI: qcom: Add missing reset for ipq806x
ea552383a9d5 PCI: qcom: Change duplicate PCI reset to phy reset
29ecf28be997 PCI: qcom: Add missing ipq806x clocks in PCIe driver
6d11320bed41 EDAC/{i7core,sb,pnd2,skx}: Fix error event severity
87cc96bb11b9 EDAC: skx_common: get rid of unused type var
3bf42b2e8d67 EDAC: sb_edac: get rid of unused vars
75aaa8fa7672 mm/vunmap: add cond_resched() in vunmap_pmd_range
a2038eb833a5 drm/amd/display: Fix dmesg warning from setting abm level
8522b1bec88e drm/amd/display: Add additional config guards for DCN
992e51ff0e4b drm/amd/display: Trigger modesets on MST DSC connectors
b730fb14434f drm/ingenic: Fix incorrect assumption about plane->index
8dc47d858fea gpu/drm: ingenic: Use the plane's src_[x,y] to configure DMA length
302b9e189962 cma: don't quit at first error when activating reserved areas
aed14b1b5c0e mm/cma.c: switch to bitmap_zalloc() for cma bitmap allocation
965d3d5ce355 mm: fix kthread_use_mm() vs TLB invalidate
72574434da87 mm/shuffle: don't move pages between zones and don't read garbage memmaps
483b956a16a0 btrfs: only commit delayed items at fsync if we are logging a directory
3eddcc71fe8a btrfs: only commit the delayed inode when doing a full fsync
d5f5b15d3ea4 btrfs: factor out inode items copy loop from btrfs_log_inode()
a0cfda9cb3a1 s390/numa: set node distance to LOCAL_DISTANCE
67f8b390b15e drm/xen-front: Fix misused IS_ERR_OR_NULL checks
02611bcaafe5 drm/xen: fix passing zero to 'PTR_ERR' warning
fe376f1b12d2 PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent
b7cca731b486 PM / devfreq: rk3399_dmc: Disable devfreq-event device when fails
a0f69c6f5e0b PM / devfreq: rk3399_dmc: Add missing of_node_put()
961bfe1277ae usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint
2c0000f409ec sched/uclamp: Fix a deadlock when enabling uclamp static key
88435320ebc1 sched/uclamp: Protect uclamp fast path code with static key
93709d8ade00 Revert "ath10k: fix DMA related firmware crashes on multiple devices"
da56eb03ea94 arm64: Fix __cpu_logical_map undefined issue
12a9bec2bd4e efi: provide empty efi_enter_virtual_mode implementation
b2defeb19bff brcmfmac: Set timeout value when configuring power save
7aac56d8b0ee USB: sisusbvga: Fix a potential UB casued by left shifting a negative value
e77f71c6341a powerpc/spufs: add CONFIG_COREDUMP dependency
653ae33b030b KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe
a84a6eb935ba media: davinci: vpif_capture: fix potential double free
6b0010ed7140 hugetlbfs: prevent filesystem stacking of hugetlbfs
c67c6e1f54aa EDAC/ie31200: Fallback if host bridge device is already initialized
41191f8c57a1 scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del()
a002274db527 ceph: do not access the kiocb after aio requests
01540d5e7c1b ceph: fix potential mdsc use-after-free crash
9da791b5410e scsi: iscsi: Do not put host in iscsi_set_flashnode_param()
050292f138a3 btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode
1f52b85f6c79 btrfs: file: reserve qgroup space after the hole punch range is locked
7d6689df48de locking/lockdep: Fix overflow in presentation of average lock-time
2adf6ec63db2 drm/nouveau: Fix reference count leak in nouveau_connector_detect
19e81f6325a9 drm/nouveau: fix reference count leak in nv50_disp_atomic_commit
d23d52e38cc9 drm/nouveau/drm/noveau: fix reference count leak in nouveau_fbcon_open
45e30390f50f f2fs: fix use-after-free issue
4cba87943046 HID: quirks: add NOGET quirk for Logitech GROUP
6734eeb6c2f0 cec-api: prevent leaking memory through hole in structure
bd4593030332 ALSA: hda: Add support for Loongson 7A1000 controller
f4107f633a29 mips/vdso: Fix resource leaks in genvdso.c
71e7e02c0590 rtlwifi: rtl8192cu: Prevent leaking urb
3a84491364e1 ARM: dts: ls1021a: output PPS signal on FIPER2
4410fd0c378e PCI: Fix pci_create_slot() reference count leak
201838142c52 omapfb: fix multiple reference count leaks due to pm_runtime_get_sync
22d859fe1bdc f2fs: fix error path in do_recover_data()
110c5a5a6854 selftests/powerpc: Purge extra count_pmc() calls of ebb selftests
0450a50c914e scsi: target: Fix xcopy sess release leak
774cc7c882f8 xfs: Don't allow logging of XFS_ISTALE inodes
40b450375c80 scsi: lpfc: Fix shost refcount mismatch when deleting vport
815060a8ec2a drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails
8290f9d4695f drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config
3753eff4c69a drm/amd/display: fix ref count leak in amdgpu_drm_ioctl
c911da7b6673 drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms
40d0bf2b6e99 drm/radeon: fix multiple reference count leak
9c88b27ac444 drm/amdkfd: Fix reference count leaks.
1174ed705dda iommu/iova: Don't BUG on invalid PFNs
f0a066af0f37 mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs
d98ea48810e6 scsi: target: tcmu: Fix crash on ARM during cmd completion
ab2d90e58ae1 blktrace: ensure our debugfs dir exists
fc93c091de22 media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq()
1dc0ed18219a powerpc/xive: Ignore kmemleak false positives
88eb00cb39ce arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep
d8cc881483d8 mfd: intel-lpss: Add Intel Emmitsburg PCH PCI IDs
fd5908860a17 ASoC: tegra: Fix reference count leaks.
7d60cd2a6e08 ASoC: img-parallel-out: Fix a reference count leak
8150a0e3d796 ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt
a53f67368c98 ALSA: hda/hdmi: Use force connectivity quirk on another HP desktop
348da2f8566b ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged
bcf40820b4fd ALSA: pci: delete repeated words in comments
b45944e2b39e ALSA: hda/hdmi: Add quirk to force connectivity
266d21a57093 ipvlan: fix device features
e1334c4f4aec net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow
97a74349cf82 net: ena: Make missed_tx stat incremental
6c2e795f95cd tipc: fix uninit skb->data in tipc_nl_compat_dumpit()
d429362b3de4 net/smc: Prevent kernel-infoleak in __smc_diag_dump()
4d2fe0addc38 net: sctp: Fix negotiation of the number of data streams.
4ef63e365466 net: qrtr: fix usage of idr in port assignment to socket
4ae9ebf9e8ea net: nexthop: don't allow empty NHA_GROUP
6ed89176755c net: Fix potential wrong skb->protocol in skb_vlan_untag()
b5e34120b06a gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY
730443f4c48a binfmt_flat: revert "binfmt_flat: don't offset the data start"
669fc3b38ce2 powerpc/64s: Don't init FSCR_DSCR in __init_FSCR()
(From OE-Core rev: e4c1ab07a50015fd85b4f5e78b62ac0fdebad969)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 4090a909ade3ac38bb14b978776daffc152f64d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s):
80452c7c245 netfilter: Enable nat for ipv4 and ipv6
(From OE-Core rev: 271ed4e1c3528310518b1729759c92959ac41e8c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit 788623ab2913e760da9405de1c3a2633140122eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was pointed out that since the check for the existence of
KBUILD_DEFCONFIG knows where it is looking, that should be part of
the error/log message.
We only look in one location for the defconfigs, so add where we
checked to the message.
(From OE-Core rev: 9f0e7c1a17542aa36d4245f15f6ffbafcbaf9bd3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d4d80be41d273abd1fb6416976603d924457973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In contrast to 'touching' a file without parameters 'touch -a' can only be
performed by the file owner. In case of a shared sstate-cache served
locally (e.g. over NFS), where the user running bitbake is not the
owner of sstate-cache files, even if he has write access on group level,
the sstate_unpack_package task will fail.
Checking if the file is owned by the user before attempting to run
'touch -a' on it solves this.
(From OE-Core rev: 8e7bb01564d5b06bcbda402cf4d29d7a0ff170c5)
Signed-off-by: Norman Stetter <norman.stetter@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1554e8bd40c640fd58daac18ecf7b458e754109)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are adding a new PACKAGECONFIG option ('rng-tools') to control if we
wish the openssh-sshd to RRECOMMENDS the 'rng-tools' package. We are
enabling it by default so there is no behavior change.
(From OE-Core rev: ff61cf5777c63a7ebecde5ada1cf01d7bafe265d)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe99349c1bd72b69d22ab0dc52b8825d3157b8e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
psplash expects the fifo to be in /run or specified
by PSPLASH_FIFO_DIR. This patch allows psplash to
quit normally. Also, fix the work around of using
echo directly into the fifo and use psplash-write.
(From OE-Core rev: 0f395ab9d276595e75233dbdbb9ebb610bd1d3af)
Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b48bbd0a8de17df74d1fae12b5e4eb3c2c0fb90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The perf recipe builds fine for musl on ARM.
Fixes: d758a4445a ("packagegroup: Disable packages not available on musl")
(From OE-Core rev: 1edbd19cea9cfaaa10b89d870787c3126b521294)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a905f66d3a6d9018b18c1a8021c1cb8bf7d12ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An issue was discovered in disable_priv_mode in shell.c in GNU Bash
through 5.0 patch 11. By default, if Bash is run with its effective UID
not equal to its real UID, it will drop privileges by setting its
effective UID to its real UID. However, it does so incorrectly. On Linux
and other systems that support "saved UID" functionality, the saved UID
is not dropped. An attacker with command execution in the shell can use
"enable -f" for runtime loading of a new builtin, which can be a shared
object that calls setuid() and therefore regains privileges. However,
binaries running with an effective UID of 0 are unaffected.
Get the patch from [1] to fix the issue.
[1] https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=951bdaa
(From OE-Core rev: aee0f56a9b3b510649672d0b4427a0e94a001ec4)
Signed-off-by: De Huo <De.Huo@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6f01acae9c279e0a580f46d1ba4c015caa3f8c2c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Host keys are getting bigger and taking an ever increasing amount of time
to generate. Whilst we do need to test that works, we don't need to test
it in every image. Add a recipe which can be added to images with
pre-generated keys, allowing us to speed up tests on the autobuilder
where it makes sense to.
(From OE-Core rev: 130695364281f62b9e00d311c21f7acb5a1204a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c6c7d16437cbd5ccbee1b99a2154c33fdbac9299)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Assumptions in the test mean it doesn't work with ssh-pregen-hostkeys.
It also doesn't work with systemd. Update the configuration to make
sure neither of these effect the test.
(From OE-Core rev: 7dc649ba9abef2f9f2f863f568f8f808adbbff38)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2f277657f1db6a0f805ac07d318a3850535d695)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's pure luck this has worked so far, add a missing space to the append.
(From OE-Core rev: 0c9437beb64aa294a1863de10a6c4b44612fa9e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 793e0575b1cebb953276b5f93ff31e48c19779c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Increase the serial login timeout from 60 to 120s. This seems like a
long time, however for a qemumips image with systemd+PAM and openssh,
(e.g. core-image-sato-sdk + DISTRO=poky-altcfg), the getty connects
to systemd's pam module which waits on logind and 45s for all this
to happen at the same time as things like ssh key generation happens
is not unknown.
Increase the timeout to match the longer times we know these things
can take in the worst case scenarios since we're tired of intermittent
issues related to the serial login affecting the autobuilder.
(From OE-Core rev: 1c5f304ad8d7d5deb85b3a5135556f9e38a9326b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8b4292db741de660f756dfb766210814d587b7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OECORE_NATIVE_SYSROOT is used by tools like oe-run-native and hence
we were seeing selftest failures when newer buildtools-tarballs that
use this were run on the autobuilder.
Unset the variable after use to avoid these issues.
(From OE-Core rev: d00bab16aefb3f200b01ad6baee15bc9cca7b6ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea5128fde10eb9be7fefbbb87ae6181edd2bcdff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently buildtools has its own hacked environment setup. We added
capability for generic script fragements but this code was never updated
to use it even if several components it contains needs it.
Remove a hardcoded variable in favour of the generic scripts to
avoid bugs in this area in future. The others should probably be
migrated to environment files in future too but there isn't such
a file for those at present.
(From OE-Core rev: b62ced32772d21c689998c5995f31550db51466d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb210cee4bd71614dd108027e6d5aa8f8d451b27)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
as otherwise when using it in combination with archiver.bbclass we would
have 2 methods of the same name but with different signatures
leading to various hard to understand exceptions
(From OE-Core rev: fa240a4d8ede066980cec70f479548d5df502ded)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce0c1cb2fc67881d2edcbe269ea934917ccfb48a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Where we have images with PAM+systemd, serial login can be extremely
slow. The load generated by key generation does slow down the rest
of the boot process.
Lower the priority level of these systemd services, since we'd
prefer to have the rest of the system boot more effectively.
This doesn't "solve" the slow systemd boot issues but does help.
(From OE-Core rev: c5394e65972ac21b1c7f68db100754939ecaef8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 087700665284c08ba846e52b6b86276629f5f1cd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a package QA check to test if the recipe sets ALTERNATIVE variable
for any of its packages, and does not inherit update-alternatives class.
This causes the do_rootfs to fail since a proper alternative cannot be
created.
(From OE-Core rev: 0845f6b09716d927c586be5be878d08fa53b31d1)
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 24b5ccc76d5660fac38ac5346666380a0ecce359)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a package QA check for wether any of the variables used by
features_check.bbclass is set while not inheriting the class itself.
(From OE-Core rev: 02fa8637195447f38b4ce96086197490ce814987)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c06489d102682504afe33f9fee3facd9628b3f57)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't assume that the .la files are installed, because some libtool
alternatives don't install these.
(From OE-Core rev: 07910054c75a084dcfb10c86c1bf69b68989f587)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e545ae3a7961111ceb4e2a468e9ec53cebfed721)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't assume that the .la files are installed, because some libtool
alternatives don't install these.
(From OE-Core rev: d888a11a372be5886c6894e5b38514e44498934d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e92b24368b71e4b178f81097b2a8d141c3b65481)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was always questionable to do this in an anonymous function, but now
with multiconfig it is a critical mistake and leads to more strange
"Exception: sqlite3.OperationalError: disk I/O error" errors.
(From OE-Core rev: 0e11c37e49272b967010df7dcebbe73a76f70edb)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcbc9d0e8421a3a559db05005ba042337cd5d864)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is used by various pieces of the result handling code, particularly the
performance testing and we're seeing autobuilder failures that are
easiest resolved using this.
Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: 5dc390658f0839911d85fe7f3f3ce8bf006e69eb)
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc6d4d438b71365f5c6f54b8482d4f01f1d0dc8e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is used by some of the results handling code and needed as part of
buildtools tarball on various autobuilder worker for testing.
ptest is disabled for OE-Core, at least for now since it depends on
python3-pytest which in turn has may other dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: cc0f56a788c33ad3fd2bb5402dee497234fb06bb)
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5156e95e9e80e3e0f7eea181cd12f85e03a111d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at
least for now since it depends on python3-pytest which in turn has may other
dependencies.
Acked-by: Tim Orling <ticotimo@gmail.com>
(From OE-Core rev: ec222f6af5f8629453ac8e71a1dd6c44ec9a88c8)
Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6f2727fd309b8b46a7ac1b8d99ae1d77a6ee74c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This means ot matches the rest of the system rather than causing confusing errors
where multiple python versions are mixed.
(From OE-Core rev: 95d5005828b0d32d610874986fcc298b12347079)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distros may not have local.conf, and use auto.conf or site.conf
alone to describe distro config metadata, therefore make code robust
to not fail eSDK builds for such setups
(From OE-Core rev: 554dba802108c91b79acf81c046e6a47815404fb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6379f951ba92b2b86a55de5fc267bacf8c6095d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The VERSION variable is not set unless the
top level Makefile is used as the version is
derived from the Changelog.
If VERSION is not set, none of the binaries built
in the sysvinit recipe will have a valid version
output.
Before:
INIT: version booting
After:
INIT: version 2.96 booting
Using the top level Makefile does not cause any
additional builds to occur.
(From OE-Core rev: c8ad554db100b9fd16097fc8616b2af5390772e7)
Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10992ad4f343d0f92d9d6246cc2e58effd3f3eeb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release which includes the following changes:
824551a Prepare 0.3.1
ca6aaa1 Fix file reading/writing when the environment is in EEPROM
a031dea Fix regression in UBI volume support
c91c150 Define SOVERSION to indicate API version
(From OE-Core rev: 2e646f0aca9a0af7e308590117c220c940996d86)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 447eb941ef43cd5af19aed650fb7da718cedda61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It avoids init to crash when kernel cmdline contains a string with
spaces inside, like that:
dyndbg="file drivers/usb/core/hub.c +pltf"
(From OE-Core rev: 16bad6260a6a25b2ec25c7eb0dfe526db56f166e)
Signed-off-by: Christophe Guibout <christophe.guibout@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88b8b94bd2d052bca29d27bd5cd00eddb0f5999d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent commit added single quotes around the sed regex's. This prevented the
expansion of $default_baudrate in do_install(), and ended up with systemd's'
serial-getty@.service file having a literal $default_baudrate.
This broke the serial console getty service.
serial-getty@.service was getting a line which looked like this:
ExecStart=-/sbin/agetty -8 -L %I $default_baudrate $TERM
Rather than:
ExecStart=-/sbin/agetty -8 -L %I 115200 $TERM
Fixed by repacing the single quotes with double quotes in the sed expressions.
(From OE-Core rev: 1cc94a6b9b6a9d12f782471053448ad9795944bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 80b721bfa4fe300a2f52f233f44fa2835426d304)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're either hitting rate limiting with freedesktop.org or the
servers have intermittent network connections. Use our own mirror
of these repositories instead.
(Bitbake rev: 18e1957337fd9f06bc673d28dd4f8277321d07bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a1b7ab5c9d5e64969f5ca0e41c0ac13c723e3761)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For example, if you just run 'bitbake cve-update-db-native' in a clean
build system, |cve_tmp_file| won't exist yet.
(From OE-Core rev: b98e50f08b2bcf61fbc75ea1b0ad83a17c0a736a)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd4473f3d8e1c1a587b6de660775e4b46ddc5fad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously CVE_CHECK_DB_FILE / CVE_CHECK_DB_DIR was the same across
multiconfigs which led to a race condition wherein multiple
cve-update-db-native:do_populate_cve_db tasks could attempt to write to
the same sqlite database. This led to the following task failure:
Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_populate_cve_db(d)
0003:
File: '/mnt/data/agent/work/74f119cccb44f133/yocto/sources/poky/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 103, function: do_populate_cve_db
0099: if year == date.today().year:
0100: cve_f.write('CVE database update : %s\n\n' % date.today())
0101:
0102: cve_f.close()
*** 0103: conn.commit()
0104: conn.close()
0105:}
0106:
0107:def initialize_db(c):
Exception: sqlite3.OperationalError: disk I/O error
Use a lockfile to ensure multiple tasks don't step over each other.
(From OE-Core rev: f08604d27ecacfd37bd37bfaf4c76f17b8f65604)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 24e9380643a2ae3fcae193519cb64aedaf682153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cve-check file should be saved always, it has good info.
Put a copy in the log dir as cve-summary with symlinks to latest run.
[Yocto #13974]
(From OE-Core rev: 4dab2610a35a998ee0bf5309a0b399ee0d54b4a8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 859849c7b594d844819ad8c3f7d8325388d94b93)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is specific to the npm package that can install cmake, so isn't
relevant to our cmake recipe.
(From OE-Core rev: ad11e4a9afea5a4c9dd34a7fa37b82efd61952a4)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e74ed809ec4c1f61264ecf5be4bc319e5e07766)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid false positives (such as CVE-2010-0734, rubygems:curl), expand
the CVE_PRODUCT list to include all the vendors that have been used.
(From OE-Core rev: 3c0029c9cf22b6983020edf9ce2aeb7b326d8c12)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb265122cccea9466405fdd924ad10ce8cda0dec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog
- Fix issue with uintset and number of bytes copied.
- Fix issue with overflow in DHCP lease T2 computation.
- Fix issue with side channel leak in l_ecc_scalar_new.
- Fix issue with missing MSG_MORE in l_cipher_set_iv.
- Add support for DHCP v6 client implementation.
(From OE-Core rev: deb77c59b9c11738a93fc80c1b256b3df8e14827)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ad8ca257d40f5041b3ec167e4117c687da448a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible some patterns may cause problems with the current path
manipulations, make a small tweak to try and avoid potential pathname
overlap issues.
(From OE-Core rev: b90c8e041a9a2daa9472ed37630d8e0fdec18d36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 889005dc17d3e3b8eadee907ee2c05b8ff613285)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similarly to 04ee0e8b95cd8ed890374e0007f976684206b630, ensure only full
build paths are replaced in the environment to avoid breaking buildtools.
(From OE-Core rev: 3be3740d0239f2eb198ccd2b75597cdccbdd1efc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fcd0a9683af1a9155eabbd9056e3b46d4a931b2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Escaping does not work in my use case. It must be escaped for
python, ssh and shell as well as for different versions of echo.
Let's try it a little less elegant, but hopefully more reliable.
(From OE-Core rev: cdbc9bf63b3e1354800032d0dd530949bafb7032)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5cc1ae332eb6b05d83802c8d64ab2767c7079412)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 97b439469a45a089431ca9c31893288c855045f4 added a fallback
mechanism for getting the rootfs timestamp. However, it uses curly
braces around the variable name, which causes bitbake resolve the
variable reference, rather than the shell, so the git timestamp
never gets used. Fix the reference to restore the intent of
making it a fallback for when there is no git timestamp to
retrieve.
(From OE-Core rev: 21d7ab8ce10f6d6a56875244c09dcfebae457b22)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fbcf2c1c255b0c61a795c032cf7b67f5db41baa8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have an issue where qemu is being starved of resources on our autobuilders.
We can't raise its priority without special capacilties, therefore add a hook
which if present can allow this to happen using an executable
"~/runqemu-renice".
(From OE-Core rev: 829443b3fafa000e330c06ebb144641bd2d20ad1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 141a3c9ce93bc3d526303021ecf0460c6e9fea8a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depending on nativesdk- varients in a nativesdk build isn't correct, so
just collapse the DEPENDS down and let bitbake do the right thing (which
is leaving them as -native).
(From OE-Core rev: 32902a2763a7557d52bf27f3717b8f9b27275284)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4864167ad4ed4c57e49f2aa5e7c58383bddb052b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file path checks are passed an ELF object if the file is an ELF. It
doesn't make a lot of sense to load symlinks to ELFs as if they're in
the same package then the real file will be checked too.
This should speed up do_package_qa slightly as libraries won't be
scanned repeatedly.
(From OE-Core rev: 0b6f03752e6581a15e5fb900a8de7aef78709ef6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c63af30d3b6350361daff94a59d4f14d7c5395e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Convert the installed-tests toggle from simply respecting PTEST_ENABLED
to a PACKAGECONFIG, so that it can be turned on/off in the usual manner.
(From OE-Core rev: 02a1d8edc42961a4d97e6cd8d6e7cc573e1c1486)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08e61ffae6056055b56f93678bcbb9fd71f3303e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its becomming clear the upstream server doesn't like this, drop these
two urls from the test, not sure we need them here anyway.
(Bitbake rev: 16774d4d41f2011e8db7d2986a1a701df123dfc1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab2ef942dc21f9639793c972f2e546edf9444783)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this fix, this example basepath (a):
virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb:do_compile
would get incorrectly "cleaned" into:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb
When searching backwards in `a` trying to isolate the 'virtual:xyz' to add
it to the end of the string, we need to consider `a` still has the recipe
path and taskname. So stoping the rsplit after only 1 split is not enough.
We want to reach the second ':' from the end.
This way, we obtain:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native
reviewed-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
(Bitbake rev: befc11acd25a9d9a2d44c20a0e33ada740407af7)
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d193d93422a0ad62aa35b5d4ca5da8d422f72180)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages with a runtime dependency on a target package whose name is
changed by the PKG_* mechanism must rebuild when that mapping changes,
but we have no way of tracking this today, so
eg. packagegroup-machine-base ends up with a relationship on a
versioned kernel-image, and does not get rebuilt when that version
changes, leading to unsatisfiable dependency and reproducibility
issue.
OTOH there is no reason for the dependency to get rewritten if the
renamed package already has a RPROVIDES on the non-rewritten package
name, and if the dependency relationship is an unversionned one. This
is what this patch prevents.
Note that this may not cover all cases of rewritten package names.
Notably I had to let the rewrite be done in the case of versionned
dependencies, as package managers usually can follow "Provides" in
such case; this includes many dependencies against shared-lib packages
renamed to their soname, and those at least are OK, since the
dependent recipe should explicitly depend on the target recipe.
(From OE-Core rev: 920beaaeef62b558e046f32c8ef0332250969ef1)
(From OE-Core rev: 210ebed1e9c2285d6e457bf03d1f1a1f3ddc7fda)
Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since 'fido', kernel headers are installed in STAGING_KERNEL_BUILDDIR,
not STAGING_KERNEL_DIR. So this message in the linux-libc-headers
recipe is slightly misleading.
(From OE-Core rev: 83b74458783aac5d1d5a3ea8a31ccb79de3719bc)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bdd06f8ed58ed1c4983f8188e98f1a132da91e3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When failing, give more information about why exactly a failure is
happening such as the PR values in question.
(From OE-Core rev: 86eb281069334020c5fd93ba6fce69c67d7c8056)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bdd3abcc210e8f58b7b411da6bbd9c5314819908)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package contains hard links to a file, the file size is added for
each hard link instead of once for the file. Therefore, the calculated
size may be much larger than the actual package size.
For example, the mesa-megadriver package contains several hard links to
the same library.
Keep track of the inode numbers when listing the files that are
installed and use the actual size only for the first occurrence of an
inode. All further hard links to the same inode are added to the file
list, but accounted with size 0.
All file names need to be added to the file list, because the list is
used for preserving the files/hard links on the target.
(From OE-Core rev: 85b1e835572d184cfff86a87fced8673d1d40a7c)
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 17e92572278980d1a7f06de9d72c68baf57698f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing a filename under packages-split, show the package
name and filename inside the package.
(From OE-Core rev: 60b474320e2dd36bff9f0ef5f1dc491cbe734919)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f78fc65bb0c9bff05651d9e543bab3d75998f79)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix gnu-hash-style check that always returned True after commit [1]
leading to false positive presence of "GNU_HASH" in objdump output.
Fixes: 9ff90bf04a4c ("mips: Enable gnu-hash-style on glibc") [1]
(From OE-Core rev: af265eca8c95ba92718b37e62b5b4eeb2f17668c)
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 996010f1b9ca98592e2c87e1adcb0c79b86517b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redirect stderr to stdout when running subcommands while doing the SDK
tests. The tests will show stdout when CalledProcessError is raised,
but any output to stderr was lost.
(From OE-Core rev: cf6cab12ca7ff40ac484cdaf27ea91ed49b901b0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7cb4e9ab8c1596281060e94a216966060103956e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While enabling systemd, there is QA issue:
...
|ERROR: sysstat-12.4.0-r0 do_package: QA Issue: sysstat: Files/directories
were installed but not shipped in any package:
| /lib/systemd/system-sleep
| /lib/systemd/system-sleep/sysstat.sleep
...
https://www.freedesktop.org/software/systemd/man/systemd-sleep.html
says the files should be dropped into /usr/lib/systemd/system-sleep
(that would be /lib/systemd/system-sleep in our configuration). By
moving the files to another directory they'll be packaged but not
loaded by systemd.
Suggested-by Ross Burton <ross@burtonini.com>
(From OE-Core rev: 89cb403fce24c853be49e4190d2020c6911b6a31)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3bdd40ea09e50067f11c12290ab465a9ef229fc4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
npm changes were merged that require bitbake 1.46.0,
you can't do a recipetool newappend on dunfell otherwise
(From OE-Core rev: 5d8b81fd0f1a25fab6de6e23223e46ec54a8cf66)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot.inc and busybox.inc contain identical copies of this little
helper. They both inherit the cml1 class and use cml1_do_configure
right after having used this helper, and other recipes that want to
write similar logic for doing Kconfig via fragments will also need it
or something equivalent.
(From OE-Core rev: b0fb7f18f9091db50204ef1ebd5248739ddcd6c2)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af687c9137a3e8efe48afa6fd12866cf656ae913)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is based on the patch from Zhaolong Zhang <zhangzl2013@126.com>
[kernel-yocto: checksum indirect cfg and scc files]
While the recommended manner to share/reuse feature fragments is to
maintain them in a kernel-meta repository and track the changes via the
standard SRCREV fetcher mechanism, that method is not always practical
for small sets of features or for quick testing of changes.
These other flows use .scc files on the SRC_URI. It has been noted that
config fragments or other features indirectly included by those .scc
files will not trigger the kernel meta-data to be re-run and hence a
build can continue with stale data (or not be triggered at all).
To solve this issue, we can collect the directories that are searchable
via FILESEXTRAPATHS and add them to the do_kernel_metadata task
checksum.
This allows modifications, additions and removals from the potential
kernel feature directories to trigger a re-execution of the meta data
task.
(From OE-Core rev: e397859ceac42d926134d5cb7828526d8d649c95)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09f4db415fb6a1398e9e9b359630043c833f6118)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* I have recipes which use variable inside SRC_URI, e.g.:
ROS_BRANCH ?= "branch=release/melodic/swri_nodelet"
SRC_URI = "git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https"
and devtool modify works fine, but devtool finish fails with:
$ devtool finish --force-patch-refresh swri-nodelet meta-ros/meta-ros1-melodic/
...
Traceback (most recent call last):
File "/OE/openembedded-core/scripts/devtool", line 334, in <module>
ret = main()
File "/OE/openembedded-core/scripts/devtool", line 321, in main
ret = args.func(args, config, basepath, workspace)
File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 2082, in finish
updated, appendfile, removed = _update_recipe(args.recipename, workspace, rd, args.mode, appendlayerdir, wildcard_version=True, no_remove=False, no_report_remove=removing_original, initial_rev=args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1737, in _update_recipe
mode = _guess_recipe_update_mode(srctree, rd)
File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1721, in _guess_recipe_update_mode
params = bb.fetch.decodeurl(uri)[5]
File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 390, in decodeurl
raise MalformedUrl(url, "The URL: '%s' is invalid: parameter %s does not specify a value (missing '=')" % (url, s))
bb.fetch2.MalformedUrl: The URL: 'git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https' is invalid: parameter ${ROS_BRANCH} does not specify a value (missing '=')
let it expand the SRC_URI before trying to decode it.
(From OE-Core rev: 2de84e6e767d4c3e517d7413a37700bf1991a460)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3535cfdbf3d77f550b804276f957acf859da484f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
emit_pkgdata() creates symlinks for each of the RPROVIDES in
pkgdata/MACHINE/runtime-rprovides. However this string can contain
versions which results in directories called (=2.32), so pass the
RPROVIDES string through bb.utils.explode_deps() to strip the versions
out.
Helps mitigate - but not solve - #13999.
(From OE-Core rev: be88ca5c4bd0dd98d172a53727c7104d46349fdd)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6a5395dec34192db233bfb2a060e5ccc99708f03)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's a race between do_symlink_kernsrc and do_populate_lic, since
the latter is ordered "after do_patch"; so the two may run in
parallel. In some cases, that actually causes do_populate_lic to fail
if it happens to look for a license file somewhere under ${S} in the
short window after shutil.move and before the symlink has been
created.
Fix that by simply ordering symlink_kernsrc before do_patch. Any task
that pokes around in ${S} looking for files should be ordered after
do_patch, so this should also fix similar latent races with other ad
hoc tasks.
(From OE-Core rev: 914d8a00e34a8edf75a349da6f5978e4ed60e6d5)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5dfc2586b4135cc86e91bb04fed837daf505676)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6576d69aac94 Linux 5.4.61
d316d52742c4 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set
e1818ffcca0e KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
744fde53ec32 xen: don't reschedule in preemption off sections
d6bca2a8f064 mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
42694912aaf1 do_epoll_ctl(): clean the failure exits up a bit
b158e91610c7 epoll: Keep a reference on files added to the check list
5167f194da69 efi: add missed destroy_workqueue when efisubsys_init fails
13b1fc60ecb0 powerpc/pseries: Do not initiate shutdown when system is running on UPS
dafae068886a net: dsa: b53: check for timeout
83236e697f79 hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
2dd00ae408a9 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
f4adc6430d74 net: ena: Prevent reset after device destruction
f4ed9ede3441 bonding: fix active-backup failover for current ARP slave
542a493c8c5e ARM64: vdso32: Install vdso32 from vdso_install
278eb88ab206 afs: Fix NULL deref in afs_dynroot_depopulate()
140ac9370b16 RDMA/bnxt_re: Do not add user qps to flushlist
dc0d58e281a6 Fix build error when CONFIG_ACPI is not set/enabled:
7cc9812be1c7 efi: avoid error message when booting under Xen
d3ca317cf62a kconfig: qconf: fix signal connection to invalid slots
51d85e70e3ad kconfig: qconf: do not limit the pop-up menu to the first row
da1069e4e727 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe"
6e2aa034d777 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
46713f3d61b3 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
667a59aa55fb vfio/type1: Add proper error unwind for vfio_iommu_replay()
503176f5dc07 ASoC: intel: Fix memleak in sst_media_open
8aeb112d58c0 ASoC: msm8916-wcd-analog: fix register Interrupt offset
e9849a60facb s390/ptrace: fix storage key handling
d35f24bc566d s390/runtime_instrumentation: fix storage key handling
cc215d206881 bonding: fix a potential double-unregister
8a49739f58f5 can: j1939: add rxtimer for multipacket broadcast session
d7ab964b6ba9 can: j1939: abort multipacket broadcast session when timeout occurs
d0dc3d2c71e2 can: j1939: cancel rxtimer on multipacket broadcast session complete
5159a0a5164b can: j1939: fix support for multipacket broadcast message
5dc0c1c12094 bonding: show saner speed for broadcast mode
1b9dee25ad25 net: fec: correct the error path for regulator disable in probe
c0e04d08e544 i40e: Fix crash during removing i40e driver
e2a8d4423640 i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
154ccf69feca can: j1939: transport: add j1939_session_skb_find_by_offset() function
3bfd1398de6a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack
ff723ef6b7b6 can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
6e0bc946cbee bpf: sock_ops sk access may stomp registers when dst_reg = src_reg
ece9ca5840e0 ASoC: q6routing: add dummy register read/write function
aaa6e691b983 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
233d6f2ab120 spi: stm32: fixes suspend/resume management
666d1d1a0584 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian
3473fa198178 ext4: don't allow overlapping system zones
ea54176e5821 ext4: fix potential negative array index in do_split()
2585402c5799 fs/signalfd.c: fix inconsistent return codes for signalfd4
e4f952b031c1 alpha: fix annotation of io{read,write}{16,32}be()
538c74a9cb26 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
4591461ea9f2 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference
10b2bb101f06 media: camss: fix memory leaks on error handling paths in probe
05724341d9db virtio_ring: Avoid loop when vq is broken in virtqueue_poll
34f8368f6634 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
28850b8043cc cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
cca58a166920 swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
2bd8ba398fad ceph: fix use-after-free for fsc->mdsc
2524bb04d81b jffs2: fix UAF problem
04aeb884e8a5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
711f5688bb97 xfs: fix inode quota reservation checks
8fe5e38acbe7 svcrdma: Fix another Receive buffer leak
7aca2f7d1710 m68knommu: fix overwriting of bits in ColdFire V3 cache control
1a718d4caa1a MIPS: Fix unable to reserve memory for Crash kernel
5594a54c520b Input: psmouse - add a newline when printing 'proto' by sysfs
06d4d9acd7d8 media: vpss: clean up resources in init
f948f1d02237 rtc: goldfish: Enable interrupt in set_alarm() when necessary
85ad0d5f3d69 media: budget-core: Improve exception handling in budget_register()
62b8c76d061f scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
59d587cc3640 scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
10e99c3003d5 opp: Enable resources again if they were disabled earlier
52d322f91954 kthread: Do not preempt current task if it is going to call schedule()
504fe0ab2412 drm/amd/display: fix pow() crashing when given base 0
1f3cfa9338c3 drm/amd/display: Fix EDID parsing after resume from suspend
6f3bff30f1cb drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal
f45ab6e7d957 scsi: zfcp: Fix use-after-free in request timeout handlers
b4062a49ad4a jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
2bc54ba65fdc ext4: fix checking of directory entry validity for inline directories
59af0759bd46 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
0cfb9320d00c mm, page_alloc: fix core hung in free_pcppages_bulk()
5663159e2930 mm: include CMA pages in lowmem_reserve at boot
e9e3ec03e6ae uprobes: __replace_page() avoid BUG in munlock_vma_page()
fa2e0d4e4a4c kernel/relay.c: fix memleak on destroy relay channel
19a77c937a19 romfs: fix uninitialized memory leak in romfs_dev_read()
3e538c536f01 spi: Prevent adding devices below an unregistering controller
143df6b3584a can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated
60be1488a3ae can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer()
055c65c7e7dd ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
4fe52a85eeb4 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
84bfb4b10d6f btrfs: add wrapper for transaction abort predicate
745148367b04 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
de88b7e2f02f btrfs: don't show full path of bind mounts in subvol=
038580b1f58b btrfs: export helpers for subvolume name/id resolution
b40753984979 bcache: avoid nr_stripes overflow in bcache_device_init()
9f4f7c08d50b khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
9a05b774af30 khugepaged: khugepaged_test_exit() check mmget_still_valid()
8043d5ee9168 perf probe: Fix memory leakage when the probe point is not found
888d9b829c25 gfs2: Never call gfs2_block_zero_range with an open transaction
18a640d3b570 gfs2: Improve mmap write vs. punch_hole consistency
e42c75ef3477 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
62353048e2d4 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
c7d8f67db126 kbuild: replace AS=clang with LLVM_IAS=1
244d9026768d kbuild: remove AS variable
fed06097acce kbuild: remove PYTHON2 variable
fa84d9f31599 x86/boot: kbuild: allow readelf executable to be specified
c173511a12e4 net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware
c7c239c947be net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware
f781285d09a9 Documentation/llvm: fix the name of llvm-size
97eab9af0036 Documentation/llvm: add documentation on building w/ Clang/LLVM
(From OE-Core rev: c5d9e41382e200aad51ba7869f5db931b7eaced5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c67ef9397da5dacaba557956a33c0c457684032)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
77fcb48939fc Linux 5.4.60
53a856c5a6af drm/amd/display: dchubbub p-state warning during surface planes switch
4287c18a7d8f drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume
915ad46bdd4a drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
f9f53b7c6a81 drm: Added orientation quirk for ASUS tablet model T103HAF
aeec14061d53 drm/panfrost: Use kvfree() to free bo->sgts
a202b42b94bc arm64: dts: marvell: espressobin: add ethernet alias
0f1c938ef82d khugepaged: retract_page_tables() remember to test exit
e47e00559893 sh: landisk: Add missing initialization of sh_io_port_base
64d358a9adb5 perf/x86/rapl: Fix missing psys sysfs attributes
5c90739d36ce tools build feature: Quote CC and CXX for their arguments
45989801d7cf perf bench mem: Always memset source before memcpy
306df54b5b8a ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
8bc48c35a983 crypto: algif_aead - fix uninitialized ctx->init
a23269976109 mfd: dln2: Run event handler loop under spinlock
315b5cbe1aee i2c: iproc: fix race between client unreg and isr
8620d18575af test_kmod: avoid potential double free in trigger_config_run_type()
3457ba1acec2 fs/ufs: avoid potential u32 multiplication overflow
ba40d33e36b2 fs/minix: remove expected error message in block_to_path()
d91005b645d1 fs/minix: fix block limit check for V1 filesystems
6def476496a5 fs/minix: set s_maxbytes correctly
75cf7f895f56 nfs: Fix getxattr kernel panic and memory overflow
d09d6dca89e9 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
35b5e689abd9 drm/vmwgfx: Fix two list_for_each loop exit tests
95922cdab4ad drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
1d8dce52a008 recordmcount: Fix build failure on non arm64
f41600c55789 Input: sentelic - fix error return when fsp_reg_write fails
8d7633b5aff9 x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC
8645225c7180 md-cluster: Fix potential error pointer dereference in resize_bitmaps()
3fcd24040f55 watchdog: initialize device before misc_register
9340d8bfec94 nfs: nfs_file_write() should check for writeback errors
da14c05ad875 scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport
c9220ff3b9cc openrisc: Fix oops caused when dumping stack
a6d5c5a398d6 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr
dfb5d727d721 libnvdimm/security: fix a typo
0c51d8f5c83e clk: bcm2835: Do not use prediv with bcm2711's PLLs
1896dfc97c90 ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename
7dccbf1111bf nfs: ensure correct writeback errors are returned on close()
9153e0d43710 i2c: rcar: avoid race when unregistering slave
4f69483568d6 tools build feature: Use CC and CXX from parent
3d0808f3c7d9 pwm: bcm-iproc: handle clk_get_rate() return
ba2c4d0e720b clk: clk-atlas6: fix return value check in atlas6_clk_init()
c7bd131f4335 clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
422a01fc23d2 i2c: rcar: slave: only send STOP event when we have been addressed
043bc80399a8 iommu/vt-d: Enforce PASID devTLB field mask
99d1472ba802 clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
f66d0154ed2f clk: qcom: gcc: fix sm8150 GPU and NPU clocks
a31ac4101981 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx
34c920e2c858 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value
cf5078181528 selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly
e4a6919c9908 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code
ea777df6b8b9 clk: actions: Fix h_clk for Actions S500 SoC
0e0a146f978e dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue()
386f82040c84 gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile
0f77e95efd75 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers
e0a684edf6d7 crypto: caam - Remove broken arc4 support
64563d1dca80 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete
b638533ec6fa RDMA/counter: Allow manually bind QPs with different pids to same counter
e5a9bb4f1243 RDMA/counter: Only bind user QPs in auto mode
cf304df99fac devres: keep both device name and resource name in pretty name
ddd3934f7b39 crypto: af_alg - Fix regression on empty requests
9705f53eb01a USB: serial: ftdi_sio: clean up receive processing
aeefe7d15cf1 USB: serial: ftdi_sio: make process-packet buffer unsigned
8cab023c03aa selftests/bpf: test_progs use another shell exit on non-actions
de624fbac3eb selftests/bpf: Test_progs indicate to shell on non-actions
95c736a29105 IB/uverbs: Set IOVA on IB MR in uverbs layer
ea1cdb1bb80b media: rockchip: rga: Only set output CSC mode for RGB input
5f51ca677cd2 media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic
0f334b668455 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah()
5412efa6285a RDMA/ipoib: Return void from ipoib_ib_dev_stop()
ab67471562ad platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
617da16f5ab9 mtd: rawnand: fsl_upm: Remove unused mtd var
e1f2606892f2 octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
368caae37037 mfd: arizona: Ensure 32k clock is put on driver unbind and error
cf368b876f44 crypto: algif_aead - Only wake up when ctx->more is zero
bb0bba78d365 pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ
974ca069d531 orangefs: get rid of knob code...
1752ab50e825 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()
988fcef346a3 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load
babd6a4c3336 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
73ba6991e981 remoteproc: qcom: q6v5: Update running state before requesting stop
55052ac61cb8 perf intel-pt: Fix duplicate branch after CBR
8214e74b662d perf intel-pt: Fix FUP packet state
169015f464d0 module: Correctly truncate sysfs sections output
54f44e3af24b pseries: Fix 64 bit logical memory block panic
37e3a1c08e2d ceph: handle zero-length feature mask in session messages
8953e8cb0d6a ceph: set sec_context xattr on symlink creation
12badd382453 watchdog: f71808e_wdt: clear watchdog timeout occurred flag
0f35915a0feb watchdog: f71808e_wdt: remove use of wrong watchdog_info option
4699d95a715b watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options
43e172e31bad tracing: Move pipe reference to trace array instead of current_tracer
9aab8b2b0f8f tracing: Use trace_sched_process_free() instead of exit() for pid tracing
bd23940da2d1 tracing/hwlat: Honor the tracing_cpumask
1424f0aa18dc kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler
3a1208574658 ftrace: Setup correct FTRACE_FL_REGS flags for module
b47215b3749a mm/memory_hotplug: fix unpaired mem_hotplug_begin/done
aeeddba9b498 mm/page_counter.c: fix protection usage propagation
bd99ff4dc92b ocfs2: change slot number type s16 to u16
a6b238cac6d3 khugepaged: collapse_pte_mapped_thp() protect the pmd lock
687d366d0db1 khugepaged: collapse_pte_mapped_thp() flush the right range
8cdf68355312 ext2: fix missing percpu_counter_inc
6c7b42c8f01d MIPS: qi_lb60: Fix routing to audio amplifier
59909e23020f MIPS: CPU#0 is not hotpluggable
d3c9e815006e driver core: Avoid binding drivers to dead devices
0cf746d8b052 mac80211: fix misplaced while instead of if
c573e8673dc1 bcache: fix overflow in offset_to_stripe()
42dd8cc9e499 bcache: allocate meta data pages as compound pages
391b5d39faea md/raid5: Fix Force reconstruct-write io stuck in degraded raid5
28163868530b net/compat: Add missing sock updates for SCM_RIGHTS
6ea125ec644b net: stmmac: dwmac1000: provide multicast filter fallback
e92a02e47e16 net: ethernet: stmmac: Disable hardware multicast filter
eca5084aabdf media: vsp1: dl: Fix NULL pointer dereference on unbind
28bbbc45054c pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH
9ba5f37fa353 powerpc: Fix circular dependency between percpu.h and mmu.h
9de20a6c4dd6 powerpc: Allow 4224 bytes of stack expansion for the signal frame
2150c25b76fb powerpc/ptdump: Fix build failure in hashpagetable.c
7a991df9e5cb cifs: Fix leak when handling lease break for cached root fid
545771537ec4 xtensa: fix xtensa_pmu_setup prototype
d1e2ec2e0b7d xtensa: add missing exclusive access state management
5efb3f91403c iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()
1a5e5b3b7571 dt-bindings: iio: io-channel-mux: Fix compatible string in example code
ab58cc033124 arm64: perf: Correct the event index in sysfs
8c1431221374 btrfs: fix return value mixup in btrfs_get_extent
d256992d5105 btrfs: make sure SB_I_VERSION doesn't get unset by remount
5bed3387c8a1 btrfs: fix memory leaks after failure to lookup checksums during inode logging
f1d21b2688d9 btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
7bbf647dbb5a btrfs: only search for left_info if there is no right_info in try_merge_free_space
38c8255af7d7 btrfs: fix messages after changing compression level by remount
242747612209 btrfs: fix race between page release and a fast fsync
ee6373070108 btrfs: don't WARN if we abort a transaction with EROFS
d8848f4c2555 btrfs: sysfs: use NOFS for device creation
e0e51f4fc488 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree
2f29a31f394e btrfs: add missing check for nocow and compression inode flags
38ab14b1e27c btrfs: relocation: review the call sites which can be interrupted by signal
ae3f93cafd6f btrfs: move the chunk_mutex in btrfs_read_chunk_tree
98f55cd49671 btrfs: open device without device_list_mutex
3d3452920cac btrfs: don't traverse into the seed devices in show_devname
8bc3a5d8c2ae btrfs: remove no longer needed use of log_writers for the log root tree
938051408905 btrfs: stop incremening log_batch for the log root tree when syncing log
0ddf373adb42 btrfs: ref-verify: fix memory leak in add_block_entry
c16ba06f5204 btrfs: don't allocate anonymous block device for user invisible roots
d2731ac13ca5 btrfs: free anon block device right after subvolume deletion
207659ef151c btrfs: allow use of global block reserve for balance item deletion
7a6fc7c21962 PCI: qcom: Add support for tx term offset for rev 2.1.0
5956d3847502 PCI: qcom: Define some PARF params needed for ipq8064 SoC
588d5cbf4de7 PCI: Add device even if driver attach failed
d7caf80700f2 PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
ae86233204ba PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context()
72ba9d544e60 genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
a11f42496ac8 genirq/affinity: Make affinity setting if activated opt-in
582ee2cb6f90 smb3: warn on confusing error scenario with sec=krb5
(From OE-Core rev: 5e40a4bcffbd89ff173c2ef95dfa56f79e4b4d14)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05ed88405bdcb0bec513bfd5aaeb652d0fa035fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This mainly aims to involve in the sanity check of UBOOT_CONFIG and
UBOOT_MACHINE, it will throw a error message at recipe parsing time if
neither of them is set, and libubootenv would be skipped.
(From OE-Core rev: 1231b05d149a1a4091a16f3364c12a6547a17f63)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10aa1291979fb90bed1beb49be4d406ed0e1e4d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update libubootenv to the latest 0.3 release, which comprises the
following commits:
```
1efed83 Increase max length for device name
6f4fc1c uboot_env: Use canonicalized pathname when reading device
23b3086 Fix bug introduced by commit 52a70114
ed1a53e Dont store to device if no value changes
4a0a466 Merge pull request #7 from TomzBench/cmake-fix
6117831 Added Coverity badge
49372a1 Fix coverity #293496
69a6819 Fix coverity #293503 and #293507
258bf52 Fix coverity #293501
aa52e61 Fix coverity #293505
52a7011 Fix coverity #293504 and #293506
e822218 Fix coverity #293495 and #293497
23b305f Fix coverity #293499
25ef1f6 Add coverity setup for Travis
41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement
86bd30a Restore ability to feed script file via stdin, using `-s -`.
c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP
f4b9cde Allow negative offsets
45bf92a Detect sector size if not found in config
9f59db6 uboot_env: remove unused variables
65d243e README: libubootenv is now in oe-core
ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config
879c073 Do not hardcode path for install
d9c639b libubootenv: add pkg-config support
cc628ee libuboot: wrap libuboot in extern "C" for C++
```
Also add u-boot-default-env to RRECOMMENDS since
/etc/u-boot-initial-env is being referred in libubootenv source, and
turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since
u-boot-default-env is a machine-arch package.
(From OE-Core rev: 921d063aa3d818b163c64899c1e725773adabf30)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02d55cd35aac15095fc44f0cf8f9e7a71638f485)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES.
(From OE-Core rev: 7d9a8ee200fe3439885de9a9ba55def84b2f316b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These machines support booting U-Boot, so set the machine appropriately.
(From OE-Core rev: 259653b67810da4085fa78e8e6538651dc19ff3b)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b812fad85aed6cb9e433c689f3b14425488dfc68)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shortly after the recipe was updated to add ell as a mesh dependency
the way ell was integrated into bluez5 was changed. BlueZ requires
ell only for mesh and for btpclient (external test programs). It will
be ignored unless either mesh or btpclient are selected.
ell can be supplied externally, or it can be copied into the bluez
build directory from an existing sibling source directory. Since
bitbake builds do not provide a sibling source directory tell bluez to
look for it as an external library in the conditions where it's
required.
(From OE-Core rev: a29eac72da3579edd9eebc3358498146000a491a)
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f22b4eba98b3707d7f6daa4277414cecb3e5ee6b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add V=1 to make log.do_compile a bit more useful, with this it shows:
/bin/sh '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools/perf/trace/beauty/arch_errno_names.sh' x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/recipe-sysroot /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools > /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/trace/beauty/generated/arch_errno_name_array.c
find: unknown predicate `-m64/arch'
x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
x86_64-oe-linux-gcc: fatal error: no input files
compilation terminated.
x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
x86_64-oe-linux-gcc: fatal error: no input files
compilation terminated.
* apply e4ffd066ff
with sed call to fix this
(From OE-Core rev: 5f41726872d751c3bfe784ca14eca9be4a4e3c4b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c603e6e13e44ae907cf1f04abf6e1babf3d7be26)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix error:
file /usr/include/gpgme.h conflicts between attempted installs of gpgme-dev-1.13.1-r0.core2_64 and lib32-gpgme-dev-1.13.1-r0.core2_32
part of diff:
-#if 64
+#if 0
#ifndef _FILE_OFFSET_BITS
-#error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#error GPGME was compiled with _FILE_OFFSET_BITS = 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#else
-#if (_FILE_OFFSET_BITS) != (64)
-#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#if (_FILE_OFFSET_BITS) != (0)
+#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#endif
#endif
#endif
LFS support is enabled by default, and this header is generated during
build according to current configure
(From OE-Core rev: 82df23b088a4844d1f171bfa70c212ff62c3a741)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bd056f9c4c22740a4f7ede00c758a21037eae5ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing package configs to:
- Select shell integration
- Disable screen sharing module (independent from backend)
- Disable jpeg image support
`PACKAGECONFIG` default value is updated to enable these configs, since
they were previously implicitly enabled.
(From OE-Core rev: 156d3e066dbac0986f4f55bef9b2d9922b18e738)
Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f883413b2bc6e7d0bd44ce8324cd36a8fe918e5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add ASSUME_PROVIDED to WICVARS so that wic can use that
when running on bitbake environment.
This fixes the below build failure in do_image_wic
when --include-path is used in wks file.
(From OE-Core rev: 105f352abab0a57d6d3a6cf3d75ba4d895e3c254)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 04068ff19d2c18c3b915aab6832ad4b48affa07f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output was unsorted, so different versions of python, different input
ordering could have have changed the files, and thus changed the hashes
making the system think the output was different, even when unmodified.
(From OE-Core rev: 07d15b83a998d6a80eba2cf8649486bfe302f94d)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23cc846c92219c5cbe3fc6a0024579195d3cbd78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sync up the anonymous python definition with the other package_*.bbclass
files. This should make future maintenance easier, even though it has
no difference in behavior from what was there.
Additional, there was a missing deltask in the nopackages.bbclass related
to the package_tar which has been corrected. This could cause problems on
native recipes when package_tar was enabled.
(From OE-Core rev: 2ac25329fd2efbfdcc2b97948cdcb3402ee497e0)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f87452942f6391a239b50e3f3f9fa100e74a78fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder managed to pass the nographic option with "sdl gl" due
to a problem elsewhere. It would have been useful for runqemu to have
errored rather than passing conflicting options to qemu. Add an
error for this invalid usecase.
(From OE-Core rev: e62c8207fa47ff4e325529ea84e0d51710deaa3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 377a6ffbcba0d3c5ede470c989756c4d1636873f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch enables extra debugging for gpg to try and get more debugging
information when [YOCTO #14003] occurs
(From OE-Core rev: b1fa60c791e759f7171862db68dbad2687e83812)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f24d7be1fb863006b5414fa8f9c9a37bb48d5a6f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runqemu help reports that gtk or sdl option is needed with gl or gl-es
option. But if user forgot to add gtk or sdl option, then gl or gl-es
options were silently skipped.
(From OE-Core rev: bec0a45393d968251059f5075add2cf633aecd1a)
Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d1e93d4bf013bb0c48032bfda43f77c5aba9ecf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bug fix point release for current stable branch
Adam Jackson (1):
Revert "dri2: Don't make reference to noClientException"
Arthur Williams (1):
dix: Check for NULL spriteInfo in GetPairedDevice
Daniel Llewellyn (1):
os: Ignore dying client in ResetCurrentRequest
Dave Airlie (1):
modesetting: remove unnecessary error message, fix zaphod leases
David Seifert (1):
Fix building with `-fno-common`
Dor Askayo (1):
xwayland: clear pixmaps after creation in rootless mode
Eric Anholt (1):
glamor: Fix a compiler warning since the recent OOM fixes.
George Matsumura (1):
Restrict 1x1 pixmap filling optimization to GXcopy
Jon Turney (2):
Add xf86OSInputThreadInit to stub os-support as well
Fix old-style definition warning for xf86OSInputThreadInit()
Jonas Ådahl (1):
xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully
Kenneth Graunke (1):
configure: Define GLAMOR_HAS_EGL_QUERY_DRIVER when available
Maarten Lankhorst (1):
modesetting: Disable atomic support by default
Matt Turner (1):
xserver 1.20.8
Michel Dänzer (8):
modesetting: Explicitly #include "mi.h"
xfree86/modes: Bail from xf86RotateRedisplay if pScreen->root is NULL
xwayland: Split up xwl_screen_post_damage into two phases
xwayland: Call glamor_block_handler from xwl_screen_post_damage
xwayland: Add xwl_window_create_frame_callback helper
xwayland: Use single frame callback for Present flips and normal updates
xwayland: Use frame callbacks for Present vblank events
xwayland: Delete all frame_callback_list nodes in xwl_unrealize_window
Paul Kocialkowski (4):
glamor: Propagate FBO allocation failure for picture to texture upload
glamor: Error out on out-of-memory when allocating PBO for FBO access
glamor: Propagate glamor_prepare_access failures in copy helpers
glamor: Fallback to system memory for RW PBO buffer allocation
(From OE-Core rev: 55d6ba6f7635f4939e6dad0bd3f6730a23870238)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e06262ee0eafa4aff6dfcd7bd2fdd62820d5f12)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is maintenance release consolidating the changes introduced
in 9.50. see :
https://www.ghostscript.com/doc/9.52/News.htm
Drop all custom objarch.h files; ghostscript nowadays generates
that with autoconf.
Freetype can no longer be disabled.
Building out of source tree is broken.
Upgrade include several CVE fixes:
CVE-2020-16287
CVE-2020-16288
CVE-2020-16289
CVE-2020-16290
CVE-2020-16291
CVE-2020-16292
CVE-2020-16293
CVE-2020-16294
CVE-2020-16295
CVE-2020-16296
CVE-2020-16297
CVE-2020-16298
CVE-2020-16299
CVE-2020-16300
CVE-2020-16301
CVE-2020-16302
CVE-2020-16303
CVE-2020-16304
CVE-2020-16305
CVE-2020-16308
CVE-2020-16309
CVE-2020-17538
(From OE-Core rev: 1cee5540ca74c38cc483b28f720e345644d6ca9b)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
706efec4c1e2 perf cs-etm: Move definition of 'traceid_list' global variable from header file
(From OE-Core rev: 033e4bdb9f80aed3ba009e105acd5b61a8899626)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8e1d8c2099f29b45f1e96d4349731db036fb7548)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing this on the autobuilder when IO load is high. Increase
the timeout to give this a better chance of working out ok since
there is no particular reason we only need to wait 5s and searching
for files is IO sensitive.
[YOCTO #14001]
(From OE-Core rev: c0292d36dc79d0b1864eccddaa48b033c183d2dc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c847ed207795bc03f791ee5a3348fa5860c53e70)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d9939285fc81 Linux 5.4.57
ca7ace8fd26d bpf: sockmap: Require attach_bpf_fd when detaching a program
9fe975acb53f selftests: bpf: Fix detach from sockmap tests
c77610435355 ext4: fix direct I/O read error
6330b0cb2ace arm64: Workaround circular dependency in pointer_auth.h
f06d60ff794a random32: move the pseudo-random 32-bit definitions to prandom.h
c131009987f2 random32: remove net_rand_state from the latent entropy gcc plugin
7471f3228e7a random: fix circular include dependency on arm64 after addition of percpu.h
50bf89625bba ARM: percpu.h: fix build error
c15a77bdda2c random32: update the net random state on interrupt and activity
(From OE-Core rev: 553a96644957ca6ad0f13b75a6e3a596357d1d52)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00ea26a7e535c70998a5b9228185403e3f440042)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1b940bbc5c55 Linux 5.4.56
df35e878d0a5 perf bench: Share some global variables to fix build with gcc 10
702d1b287fd2 perf env: Do not return pointers to local variables
73d2d6b421df perf tests bp_account: Make global variable static
39568546706f x86/i8259: Use printk_deferred() to prevent deadlock
01ac46c6baf0 KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled
fd412846a6ec KVM: arm64: Don't inherit exec permission across page-table levels
1aff51292ee8 drivers/net/wan: lapb: Corrected the usage of skb_cow
f88c909dc28c RISC-V: Set maximum number of mapped pages correctly
e3043abb5baa xen-netfront: fix potential deadlock in xennet_remove()
a7b488d65d39 cxgb4: add missing release on skb in uld_send()
5f4e6b874b57 x86/stacktrace: Fix reliable check for empty user task stacks
32344d2993b0 x86/unwind/orc: Fix ORC for newly forked tasks
a14d6a9ddf33 Revert "i2c: cadence: Fix the hold bit setting"
df366abb9c8f net: ethernet: ravb: exit if re-initialization fails in tx timeout
ac7c3b8f34ec parisc: add support for cmpxchg on u8 pointers
a0ba41317c89 scsi: core: Run queue in case of I/O resource contention failure
0ac155dcf048 nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame
50c5f89637bc selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support
78c7532b80c6 qed: Disable "MFW indication via attention" SPAM every 5 minutes
6e4620df9cbc selftests: fib_nexthop_multiprefix: fix cleanup() netns deletion
5b235c1d9022 usb: hso: Fix debug compile warning on sparc32
cac2b7ad0915 vxlan: fix memleak of fdb
1df0000b30cd perf tools: Fix record failure when mixed with ARM SPE event
568995fb61e7 net/mlx5e: fix bpf_prog reference count leaks in mlx5e_alloc_rq
e68b7b9b03fb net: gemini: Fix missing clk_disable_unprepare() in error path of gemini_ethernet_port_probe()
1158aa743a0b net: nixge: fix potential memory leak in nixge_probe()
9acd96f14a49 Bluetooth: fix kernel oops in store_pending_adv_report
3bb2f52ad9e7 arm64: csum: Fix handling of bad packets
8a90b436a0c9 arm64/alternatives: move length validation inside the subsection
4a50753aacb5 mac80211: mesh: Free pending skb when destroying a mpath
3f15e3e62c80 mac80211: mesh: Free ie data when leaving mesh
fe58e3dd6e11 bpf: Fix map leak in HASH_OF_MAPS map
43c390b751ba ibmvnic: Fix IRQ mapping disposal in error path
ea559138b331 mlxsw: core: Free EMAD transactions using kfree_rcu()
57f498ced731 mlxsw: core: Increase scope of RCU read-side critical section
0f424eda4705 mlx4: disable device on shutdown
c3883876d3f1 rhashtable: Fix unprotected RCU dereference in __rht_ptr
b1d629d32910 net: lan78xx: fix transfer-buffer memory leak
9db3040eb952 net: lan78xx: add missing endpoint sanity check
32ec4441cca1 net/mlx5e: Fix kernel crash when setting vf VLANID on a VF dev
475cbcef491a net/mlx5e: Modify uplink state on interface up/down
43608372b84d net/mlx5: Verify Hardware supports requested ptp function on a given pin
8901896f69d4 net/mlx5e: Fix error path of device attach
00bedd730d1f net/mlx5: E-switch, Destroy TSAR when fail to enable the mode
d70f9a3cc32c net: hns3: fix aRFS FD rules leftover after add a user FD rule
475b8d619268 net: hns3: fix a TX timeout issue
5fc02e8d1bfd sh: Fix validation of system call number
2f2674997dfb sh/tlb: Fix PGTABLE_LEVELS > 2
222dbeca05fb selftests/net: so_txtime: fix clang issues for target arch PowerPC
d817b2c8d3cf selftests/net: psock_fanout: fix clang issues for target arch PowerPC
22f84cce9527 selftests/net: rxtimestamp: fix clang issues for target arch PowerPC
831c904a0f68 nvme-tcp: fix possible hang waiting for icresp response
9a1d0084cbe1 ARM: dts: armada-38x: fix NETA lockup when repeatedly switching speeds
731e013e33b3 xfrm: Fix crash when the hold queue is used.
a4c902887f1d ARM: dts sunxi: Relax a bit the CMA pool allocation range
0307da686660 xfrm: policy: match with both mark and mask on user interfaces
bbb13adb07af net/x25: Fix null-ptr-deref in x25_disconnect
69cd304cfa5c net/x25: Fix x25_neigh refcnt leak when x25 disconnect
c2fd34d43110 libtraceevent: Fix build with binutils 2.35
2ec69499b758 rds: Prevent kernel-infoleak in rds_notify_queue_get()
6a9428427da1 drm: hold gem reference until object is no longer accessed
7eef3b463d88 drm/dbi: Fix SPI Type 1 (9-bit) transfer
8ea180f1c7ec drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()
f1b4bdde2bdc drm/amd/display: Clear dm_state for fast updates
22d3202e51a7 Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers"
cea6633d5382 virtio_balloon: fix up endian-ness for free cmd id
c2f787f904e0 ARM: dts: imx6qdl-icore: Fix OTG_ID pin and sdcard detect
b9274613114a ARM: dts: imx6sx-sdb: Fix the phy-mode on fec2
c4738c67a569 ARM: dts: imx6sx-sabreauto: Fix the phy-mode on fec2
3b7e4a5ba95d ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
b8fa0b037047 wireless: Use offsetof instead of custom macro.
d3472f74d229 9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work
96f105943cff vhost/scsi: fix up req type endian-ness
951117a2079b IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE
dc731d262811 ALSA: hda/hdmi: Fix keep_power assignment for non-component devices
6a67b05c6f30 ALSA: hda/realtek - Fixed HP right speaker no sound
09832a9e0b76 ALSA: hda/realtek: Fix add a "ultra_low_power" function for intel reference board (alc256)
e9f147c937a5 ALSA: hda/realtek: typo_fix: enable headset mic of ASUS ROG Zephyrus G14(GA401) series with ALC289
cd76d30f51fb ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G15(GA502) series with ALC289
6d84a8cf8a02 ALSA: usb-audio: Add implicit feedback quirk for SSL2
47e20933814f mm/filemap.c: don't bother dropping mmap_sem for zero size readahead
140210554274 PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge
2ff65580d477 ath10k: enable transmit data ack RSSI for QCA9884
98cef10fbcca sunrpc: check that domain table is empty at module unload.
84da97713b91 media: rc: prevent memory leak in cx23888_ir_probe
ecfa7fa198fc crypto: ccp - Release all allocated memory if sha type is invalid
169b93899c7d Linux 5.4.55
909dbf09cd01 Revert "dpaa_eth: fix usage as DSA master, try 3"
4918285a6c7d PM: wakeup: Show statistics for deleted wakeup sources again
59242fa1d2ba regmap: debugfs: check count when read regmap file
df89c1ee034c udp: Improve load balancing for SO_REUSEPORT.
6735c126d272 udp: Copy has_conns in reuseport_grow().
86512c6938a9 sctp: shrink stream outq when fails to do addstream reconf
46e7c7efc30d sctp: shrink stream outq only when new outcnt < old outcnt
bbf6af4a938a AX.25: Prevent integer overflows in connect and sendmsg
182ffc66456b tcp: allow at most one TLP probe per flight
e2f904fd79a0 rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
01c928350641 rtnetlink: Fix memory(net_device) leak when ->newlink fails
b7d3d6df72a8 qrtr: orphan socket in qrtr_release()
2bf797a8691a net: udp: Fix wrong clean up for IS_UDPLITE macro
274b40b6df6c net-sysfs: add a newline when printing 'tx_timeout' by sysfs
8d9f13dd400c ip6_gre: fix null-ptr-deref in ip6gre_init_net()
fbcd85cd11de drivers/net/wan/x25_asy: Fix to make it work
d109acd58052 dev: Defer free of skbs in flush_backlog
52aeeec1a635 AX.25: Prevent out-of-bounds read in ax25_sendmsg()
2f1624faf647 AX.25: Fix out-of-bounds read in ax25_connect()
(From OE-Core rev: 27e82a421ec4614bff2841734fa19c1ec455ae3b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9b3ecf377a1c01979311dc7082c401c957ca6ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
2739bdb0bfa0 Linux 5.4.54-rt32
0124e412ea96 Linux 5.4.52-rt31
d85676a72421 Linux 5.4.49-rt30
72bbd8083a44 Linux 5.4.48-rt29
(From OE-Core rev: 7c4b2aa7f1b4d047a552072924fb97762d776803)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b21783c173594e5dac3c437e290b26643382c2e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes security Fixes for CVE-2020-14039 and CVE-2020-15586
(cherry picked from commit 97d5c2d1f2dffe2518f46bbe57cb9348eb59c633)
(cherry picked from commit 6591d269792fe864d7af4e379035f1cebc4510f5)
(cherry picked from commit c9011d04eb624aeabf5d707e88de80137bcc2eb1)
(From OE-Core rev: e33d2ddaa6c8945227a5bbf4e96d63606d0fab38)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We do not have explicit patch to mark it and cve checker gets confused,
so help it out
(From OE-Core rev: 17c654c34d59b1491f41fc328222697f407c23b1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently uninative handles SOURCE_MIRROR_URL but not generic PREMIRRORS.
It can handle this better, attempt to iterate PREMIRRORS entries.
(From OE-Core rev: b95d6aeafb70765e22d2e1254e749a48f508d489)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6426c952b5ade48ea94fb647efc464e603989b97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows using these tags for classification and filtering of test results
according to various organization-specific criteria, such as teams
responsible for the test, internal test ids, feature domains and so on.
Test name itself meanwhile can stay short and human-readable.
(From OE-Core rev: 3801b126eb52cd46efe417111afcd27f05d8f72b)
(From OE-Core rev: 9eaf11657cc8304af5cb75f98decbc64cca37801)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is useful when tests misbehave and get stuck, or when
a significant increase in testing time is undesirable and
needs to be caught automatically.
(From OE-Core rev: d77546e910ad9048f0057f4465716d417b810065)
(From OE-Core rev: eb57207f983b454dbdf2321da330fc1ec8a8bcbf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
allarch is missing in ttf-bitstream-vera recipe. Add it and include the
recipe in the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS list.
(From OE-Core rev: 0d4e96b444931f84f93ca08fe238b5a3b35ce7b1)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31c02477a4fb91f19f8c3ef3f8bc9a20e416c859)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #13802]
Make the scp failure non-fatal so the ltp tests continue to run and
the rest of the logs will be available to see afterwards.
(From OE-Core rev: 9390846e2abdd6837094a619ba4703a1be4a04cf)
Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f7d093038274f4f21f6cca39a96aac4f6c32ee3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a build-time race condition that resulted in intermittent build
failures in the do_assemble_fitimage task. The race condition involved
the do_assemble_fitimage task reading the vmlinux file while the
do_compile_kernelmodules task was re-writing the vmlinux file.
This can be seen with an aarch64 image build that uses a 5.4 based
kernel and sets KERNEL_DEVICETREE. The problem is that the do_compile
snippet that the kernel-devicetree class appends did not specify the
full kernel build environment when building the DTB(s) from the kernel
tree. This resulted in CONFIG_CC_CAN_LINK=y being removed from the
kernel config file just before the do_compile task completed. The
CONFIG_CC_CAN_LINK=y line was then re-inserted into the kernel config
file as part of the do_compile_kernelmodules task.
In some cases, this resulted in the do_compile_kernelmodules task to
re-link vmlinux which sometimes occured at the same time that the
do_assemble_fitimage task was attempting to use vmlinux. The
do_assemble_fitimage task would fail with the following error message:
aarch64-poky-linux-objcopy:vmlinux: file format not recognized
We can use the pine-a64-lts machine, from the meta-pine64 layer, to show
that the kernel config file was changed between do_compile and
do_compile_kernelmodules:
$ C=tmp/work/pine_a64_lts-poky-linux/linux-pine64/5.7+gitAUTOINC+ae03bade3b-r0/linux-pine_a64_lts-standard-build/.config
$ bitbake -c do_kernel_configcheck virtual/kernel
...
$ md5sum $C; grep CC_CAN_LINK $C
32b133cf8a749a91f698a7ca8616c84f ...
CONFIG_CC_CAN_LINK=y
$ bitbake -c do_compile virtual/kernel
...
$ md5sum $C; grep CC_CAN_LINK $C
2fd2ec2a66eecc329dcb5afaf005eada ...
$ bitbake -c do_compile_kernelmodules virtual/kernel
...
$ md5sum $C; grep CC_CAN_LINK $C
32b133cf8a749a91f698a7ca8616c84f ...
CONFIG_CC_CAN_LINK=y
With this change, the do_compile snippet appended by the
kernel-devicetree class does not modify the kernel config. The kernel
config is unchanged across the do_compile and do_compile_kernelmodules
tasks and do_compile_kernelmodules will not attempt to re-link vmlinux.
(From OE-Core rev: 7c1fff00b7268d518afa87078bdc781324c63d03)
Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74619de0277471f446bf7a719f4c445359c823f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
1fe4ee7f680c libtraceevent: Fix build with binutils 2.35
(From OE-Core rev: baa5713a04a6715ddbb0be5e05f371266d943169)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69faa62d840330f573101245e0aa3fed17984b70)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d811d29517d1 Linux 5.4.53
e6c19fa5b6c6 gpio: pca953x: disable regmap locking for automatic address incrementing
411c80267541 drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
517708c47c66 iommu/vt-d: Make Intel SVM code 64-bit only
41389f739a5e ionic: export features for vlans to use
5d7e2852d7e6 spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH
1245a1e0e1c3 rxrpc: Fix trace string
07253d24cda3 libceph: don't omit recovery_deletes in target_copy()
d2ccad3c9ce9 block: fix get_max_segment_size() overflow on 32bit arch
310d75f274d5 block: fix splitting segments on boundary masks
f2e57ed2f3f8 drm/i915/gt: Ignore irq enabling on the virtual engines
64a17e1da02a drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr()
9f8d3d2f79ba genirq/affinity: Handle affinity setting on inactive interrupts correctly
6aae92ed2c42 sched/fair: handle case of task_h_load() returning 0
b5b774918816 sched: Fix unreliable rseq cpu_id for new tasks
5c2450ac7c7a arm64: compat: Ensure upper 32 bits of x0 are zero on syscall return
ed766e740cc9 arm64: ptrace: Consistently use pseudo-singlestep exceptions
bdb71132992b arm64: ptrace: Override SPSR.SS when single-stepping is enabled
d3b7bacd1115 thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power
025cec59aa17 thermal: int3403_thermal: Downgrade error message
0ab6b541c6f8 misc: atmel-ssc: lock with mutex instead of spinlock
746930d17d14 dmaengine: fsl-edma-common: correct DSIZE_32BYTE
5f3fcbf5b57f dmaengine: mcf-edma: Fix NULL pointer exception in mcf_edma_tx_handler
9464956544be dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler
8fd0d8536805 intel_th: Fix a NULL dereference when hub driver is not loaded
55d7092cc8f5 intel_th: pci: Add Emmitsburg PCH support
905f20f4946a intel_th: pci: Add Tiger Lake PCH-H support
5c698cc5b6f4 intel_th: pci: Add Jasper Lake CPU support
c5ce2060f487 powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size
93d1e96b98b2 powerpc/book3s64/pkeys: Fix pkey_access_permitted() for execute disable pkey
d6a76f8eee21 hwmon: (emc2103) fix unable to change fan pwm1_enable attribute
9125d5762590 riscv: use 16KB kernel stack on 64-bit
c28501385945 timer: Fix wheel index calculation on last level
6c2388e2a12b timer: Prevent base->clk from moving backward
e9506de7b305 scsi: megaraid_sas: Remove undefined ENABLE_IRQ_POLL macro
acd3901a62f6 uio_pdrv_genirq: fix use without device tree and no interrupt
17268122ba5e uio_pdrv_genirq: Remove warning when irq is not specified
97f1aecb80e9 Input: elan_i2c - add more hardware ID for Lenovo laptops
1fb81fe5e180 Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list
62dd03054918 mei: bus: don't clean driver pointer
72648019cd52 Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"
4dd2ad686704 fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS
e8f32a9f5aeb fuse: use ->reconfigure() instead of ->remount_fs()
f96ce4be463a fuse: ignore 'data' argument of mount(..., MS_REMOUNT)
09b696bd2149 ovl: fix unneeded call to ovl_change_flags()
93f75b0f0d3b ovl: relax WARN_ON() when decoding lower directory file handle
6270654c7de9 ovl: inode reference leak in ovl_is_inuse true case.
4996065307c8 ovl: fix regression with re-formatted lower squashfs
2cd065b91681 serial: mxs-auart: add missed iounmap() in probe failure and remove
752641ba871a virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial
8f4c040f45b9 Revert "tty: xilinx_uartps: Fix missing id assignment to the console"
1bc2c30d861c virt: vbox: Fix guest capabilities mask check
78d85ca8300e virt: vbox: Fix VBGL_IOCTL_VMMDEV_REQUEST_BIG and _LOG req numbers to match upstream
cc894ec456c1 USB: serial: option: add Quectel EG95 LTE modem
4eaf06c9bd35 USB: serial: option: add GosunCn GM500 series
dcc1df3cdb04 USB: serial: ch341: add new Product ID for CH340
dff0a4f024fc USB: serial: cypress_m8: enable Simply Automated UPB PIM
18059e953e1f USB: serial: iuu_phoenix: fix memory corruption
72596d0b2acd usb: gadget: function: fix missing spinlock in f_uac1_legacy
01512075a387 usb: chipidea: core: add wakeup support for extcon
3dd890afedbf usb: dwc2: Fix shutdown callback in platform
4f0addeba0c0 USB: c67x00: fix use after free in c67x00_giveback_urb
bd422c7fb477 ALSA: hda/realtek - Enable Speaker for ASUS UX563
63d318f05e67 ALSA: hda/realtek - Enable Speaker for ASUS UX533 and UX534
e7bafe0c94cc ALSA: hda/realtek: Enable headset mic of Acer TravelMate B311R-31 with ALC256
4181b271908a ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G14(G401) series with ALC289
246b9693026a ALSA: hda/realtek - change to suitable link model for ASUS platform
71319db6f3b1 ALSA: usb-audio: Fix race against the error recovery URB submission
25fd7ee3baeb ALSA: line6: Sync the pending work cancel at disconnection
91a6d4049c58 ALSA: line6: Perform sanity check for each URB creation
212425802dc6 HID: quirks: Ignore Simply Automated UPB PIM
c0188ab5bc31 HID: quirks: Always poll Obins Anne Pro 2 keyboard
e93ab4628452 HID: magicmouse: do not set up autorepeat
bc94605df1f9 HID: logitech-hidpp: avoid repeated "multiplier = " log messages
7c4e6cfd922c slimbus: core: Fix mismatch in of_node_get/put
93b57bf835d2 clk: qcom: gcc: Add missing UFS clocks for SM8150
cb7b7928310f clk: qcom: gcc: Add GPU and NPU clocks for SM8150
cc490ea23f33 mtd: rawnand: oxnas: Release all devices in the _remove() path
f8a2658d0fd7 mtd: rawnand: oxnas: Unregister all devices on error
4682749ce329 mtd: rawnand: oxnas: Keep track of registered devices
8463054e3d4e mtd: rawnand: brcmnand: fix CS0 layout
ee73c81e386d mtd: rawnand: brcmnand: correctly verify erased pages
e9f5e16f3228 mtd: rawnand: timings: Fix default tR_max and tCCS_min timings
f1ad0fc9de60 mtd: rawnand: marvell: Fix probe error path
be953ad71ce9 mtd: rawnand: marvell: Use nand_cleanup() when the device is not yet registered
5f59ce425f78 mtd: rawnand: marvell: Fix the condition on a return code
eec70178983f RDMA/mlx5: Verify that QP is created with RQ or SQ
6b1aaceb0dab soc: qcom: rpmh-rsc: Allow using free WAKE TCS for active request
e65ee5ad8903 soc: qcom: rpmh-rsc: Clear active mode configuration for wake TCS
9e56b18ca5a3 soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data
9edb7370f893 soc: qcom: rpmh: Update dirty flag only when data changes
033f56f7d3d6 perf stat: Zero all the 'ena' and 'run' array slot stats for interval mode
c2e29cac6d89 PCI/PM: Call .bridge_d3() hook only if non-NULL
d950d2e79f0f habanalabs: Align protection bits configuration of all TPCs
d79e57db4544 apparmor: ensure that dfa state tables have entries
b7d9b78ab901 soc: qcom: socinfo: add missing soc_id sysfs entry
8eeebe37c64e arm: dts: mt7623: add phy-mode property for gmac2
742b79562142 copy_xstate_to_kernel: Fix typo which caused GDB regression
319c3c7980c7 regmap: debugfs: Don't sleep while atomic for fast_io regmaps
f62d7f91afa2 keys: asymmetric: fix error return code in software_key_query()
c5acd9395d41 arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema
2e224b5d3149 ARM: dts: socfpga: Align L2 cache-controller nodename with dtschema
c8a4452da9f4 xprtrdma: fix incorrect header size calculations
a75a8aabb2f4 Revert "thermal: mediatek: fix register index error"
cc3188b3bab2 ARM: dts: Fix dcan driver probe failed on am437x platform
408ef501b894 fuse: don't ignore errors from fuse_writepages_fill()
9b810684b1da NFS: Fix interrupted slots by sending a solo SEQUENCE operation
dc92d84b371f clk: AST2600: Add mux for EMMC clock
0392f18139aa clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER
36e6ac265fc0 staging: comedi: verify array index is correct before using it
62013d49bcf6 usb: gadget: udc: atmel: fix uninitialized read in debug printk
e435865c783f spi: spi-sun6i: sun6i_spi_transfer_one(): fix setting of clock rate
f979982feb03 dmaengine: dmatest: stop completed threads when running without set channel
e6b46f01d995 dmaengine: dw: Initialize channel before each transfer
a6fe5dde5343 iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()'
28be430bbf13 bus: ti-sysc: Do not disable on suspend for no-idle
47ba42786d14 bus: ti-sysc: Fix sleeping function called from invalid context for RTC quirk
5a23897f7a41 bus: ti-sysc: Fix wakeirq sleeping function called from invalid context
b2c7d6ce2d5e arm64: dts: meson-gxl-s805x: reduce initial Mali450 core frequency
cbd8c92a8d51 arm64: dts: meson: add missing gxl rng clock
1d08f59081e5 phy: sun4i-usb: fix dereference of pointer phy0 before it is null checked
684a5568df11 dmaengine: sh: usb-dmac: set tx_result parameters
f5c6ebd5146e soundwire: intel: fix memory leak with devm_kasprintf
7005a4885a29 iio:health:afe4404 Fix timestamp alignment and prevent data leak.
ba3788d243cf ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Flight S
1510d8ab7bc9 bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit
7637bba4c621 ACPI: video: Use native backlight on Acer TravelMate 5735Z
0a330aa202c9 Input: mms114 - add extra compatible for mms345l
75ff2767e85c ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2
695fcb612bf1 ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Alpha S
18f2cbb28730 ACPI: video: Use native backlight on Acer Aspire 5783z
dc1e4db658a6 ALSA: usb-audio: Rewrite registration quirk handling
592b179fa149 mmc: sdhci: do not enable card detect interrupt for gpio cd type
e60b02922876 doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode
54100aa32f66 ALSA: usb-audio: Create a registration quirk for Kingston HyperX Amp (0951:16d8)
35aef79e81a1 Input: goodix - fix touch coordinates on Cube I15-TC
9c16b5e8b5d9 ALSA: usb-audio: Add support for MOTU MicroBook IIc
d70a6425a6e2 bus: ti-sysc: Detect EDMA and set quirk flags for tptc
d09e12709acd arm64: dts: g12-common: add parkmode_disable_ss_quirk on DWC3 controller
234021eaddcb bus: ti-sysc: Detect display subsystem related devices
e7e98dd42aae bus: ti-sysc: Handle module unlock quirk needed for some RTC
e2c37939a795 bus: ti-sysc: Consider non-existing registers too when matching quirks
f7280837df83 bus: ti-sysc: Rename clk related quirks to pre_reset and post_reset quirks
69fbdbb4fa0c scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled
23a609417361 drm/sun4i: tcon: Separate quirks for tcon0 and tcon1 on A20
de6d9aa5f7c1 ARM: at91: pm: add quirk for sam9x60's ulp1
4301497fdc68 HID: quirks: Remove ITE 8595 entry from hid_have_special_driver
1c96af59a904 mmc: mmci: Support any block sizes for ux500v2 and qcom variant
cf911ee9f49d ARM: OMAP2+: use separate IOMMU pdata to fix DRA7 IPU1 boot
3ea583b09537 ARM: OMAP2+: Add workaround for DRA7 DSP MStandby errata i879
8d158e3453eb ARM: OMAP4+: remove pdata quirks for omap4+ iommus
370cc95c00ae net: sfp: add some quirks for GPON modules
17918c99abc1 net: sfp: add support for module quirks
11a6ff1df31e Revert "usb/xhci-plat: Set PM runtime as active on resume"
4cf55dcd4fa4 Revert "usb/ehci-platform: Set PM runtime as active on resume"
add6b48ad376 Revert "usb/ohci-platform: Fix a warning when hibernating"
267516d7009e net: ethernet: mvneta: Add back interface mode validation
beee39d71e87 net: ethernet: mvneta: Do not error out in non serdes modes
131ab7a0cdb8 net: macb: call pm_runtime_put_sync on failure path
fefc7580af39 of: of_mdio: Correct loop scanning logic
3f2f3edcc075 net: dsa: bcm_sf2: Fix node reference count
cb2801017057 spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer
baf22f66c9cf iio:health:afe4403 Fix timestamp alignment and prevent data leak.
5f8fe8ab4463 iio:pressure:ms5611 Fix buffer element alignment
5a6378911f22 iio:humidity:hts221 Fix alignment and data leak issues
74953efffb3d iio: pressure: zpa2326: handle pm_runtime_get_sync failure
4ecff6ee264f iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()
b4172e024d48 iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers
ead750685280 iio: magnetometer: ak8974: Fix runtime PM imbalance on error
0b16921edc61 iio:humidity:hdc100x Fix alignment and data leak issues
7cc8cad2bef9 iio:magnetometer:ak8974: Fix alignment and data leak issues
4c7924060fe0 arm64/alternatives: don't patch up internal branches
77a181fba1e5 i2c: eg20t: Load module automatically if ID matches
27874115b059 gfs2: read-only mounts should grab the sd_freeze_gl glock
827139ad9db5 tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
a8f13826f9c6 arm64/alternatives: use subsections for replacement sequences
91e81d2262e7 cifs: prevent truncation from long to int in wait_for_free_credits
43046f786714 dt-bindings: mailbox: zynqmp_ipi: fix unit address
ea9d6016b1a4 m68k: mm: fix node memblock init
560dbf34dec8 m68k: nommu: register start of the memory with memblock
c3adbd37c054 blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags
9025a5589c03 thermal/drivers: imx: Fix missing of_node_put() at probe time
c4db485dd3f2 x86/fpu: Reset MXCSR to default in kernel_fpu_begin()
d2bfb9eb439c drm/exynos: fix ref count leak in mic_pre_enable
f886b67c6b28 drm/exynos: Properly propagate return value in drm_iommu_attach_device()
0885be75f1be drm/msm/dpu: allow initialization of encoder locks during encoder init
5d6891a5a627 drm/msm: fix potential memleak in error branch
f608a77e0cc9 arm64: arch_timer: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040
86e3c7c70c63 arm64: arch_timer: Allow an workaround descriptor to disable compat vdso
71d65a3fc628 arm64: Introduce a way to disable the 32bit vdso
36d60eba862d ip: Fix SO_MARK in RST, ACK and ICMP packets
38b122c0af04 cgroup: Fix sock_cgroup_data on big-endian.
94886c86e833 cgroup: fix cgroup_sk_alloc() for sk_clone_lock()
171644727abf tcp: md5: allow changing MD5 keys in all socket states
8ee263bd11af tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers
30d015f5ecd9 vlan: consolidate VLAN parsing code and limit max parsing depth
f40c3a8438fc tcp: md5: do not send silly options in SYNCOOKIES
1c8bad567b5d tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_hash_key()
f52293aefe18 tcp: make sure listeners don't initialize congestion-control state
7eec9f331223 tcp: fix SO_RCVLOWAT possible hangs under high mem pressure
9b7fd81cf9b6 sched: consistently handle layer3 header accesses in the presence of VLANs
aafe9dd13f42 net: usb: qmi_wwan: add support for Quectel EG95 LTE modem
edbde451bf3f net_sched: fix a memory leak in atm_tc_init()
d55dad8b1d89 net: dsa: microchip: set the correct number of ports
64d782212646 net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_lookup_skb
a70a667736ed llc: make sure applications use ARPHRD_ETHER
73e42f4d2d13 l2tp: remove skb_dst_set() from l2tp_xmit_skb()
f8646548ee46 ipv6: Fix use of anycast address with loopback
75270f819666 ipv6: fib6_select_path can not use out path for nexthop objects
1418b60e998b ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg
7b42410d3556 genetlink: remove genl_bind
aef7a9e21aa6 bridge: mcast: Fix MLD2 Report IPv6 payload length check
587ccf092e28 net: rmnet: fix lower interface leak
d06c17fcd7c0 net: atlantic: fix ip dst and ipv6 address filters
de93c1c104ac crypto: atmel - Fix build error of CRYPTO_AUTHENC
1f21bb70d7b1 crypto: atmel - Fix selection of CRYPTO_AUTHENC
c57b1153a58a Linux 5.4.52
1a70857590f7 s390/maccess: add no DAT mode to kernel_write
627d15eecb61 s390: Change s390_kernel_write() return type to match memcpy()
d64dc6118a0f pwm: jz4740: Fix build failure
d13a78d13d2c perf scripts python: exported-sql-viewer.py: Fix unexpanded 'Find' result
64e8b913c30b perf scripts python: exported-sql-viewer.py: Fix zero id in call tree 'Find' result
2038998170b0 perf scripts python: exported-sql-viewer.py: Fix zero id in call graph 'Find' result
e51a811c242e perf scripts python: export-to-postgresql.py: Fix struct.pack() int argument
299ffecbd530 dm writecache: reject asynchronous pmem devices
49a7ac29f6a0 blk-mq: consider non-idle request as "inflight" in blk_mq_rq_inflight()
2dfd182451d9 s390/mm: fix huge pte soft dirty copying
0d62bc7e960f s390/setup: init jump labels before command line parsing
e6de7cbbcacb ARC: elf: use right ELF_ARCH
854827a2697a ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
37634f502b53 mmc: meson-gx: limit segments to 1 when dram-access-quirk is needed
b9fe45efa671 dm: use noio when sending kobject event
ede24894e8bf drm/amdgpu: don't do soft recovery if gpu_recovery=0
ef8164f03a86 drm/radeon: fix double free
026f830e0ba3 btrfs: fix double put of block group with nocow
808b2b3ea85a btrfs: fix fatal extent_buffer readahead vs releasepage race
5a046d75acf7 Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"
baef8d1027b0 bpf: Check correct cred for CAP_SYSLOG in bpf_dump_raw_ok()
e5541c6347b7 kprobes: Do not expose probe addresses to non-CAP_SYSLOG
314ac273f005 module: Do not expose section addresses to non-CAP_SYSLOG
0d5d9413a692 module: Refactor section attr into bin attribute
2a6c8d3d0dd0 kallsyms: Refactor kallsyms_show_value() to take cred
79aaeec71271 KVM: arm64: Fix kvm_reset_vcpu() return code being incorrect with SVE
a494529add3f KVM: x86: Mark CR4.TSD as being possibly owned by the guest
d29a79fa7559 KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode
3f108b168002 KVM: x86: bit 8 of non-leaf PDPEs is not reserved
388429498641 KVM: arm64: Annotate hyp NMI-related functions as __always_inline
b956ec9afc2e KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART
a20aa35b839a KVM: arm64: Fix definition of PAGE_HYP_DEVICE
9b742b6a3b78 ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC
8254cddab9a4 ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC
c6fbfa6dd96b ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC
615313fe4294 ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk subdevice id
92b598132eec ALSA: usb-audio: Add implicit feedback quirk for RTX6001
caead988fe61 ALSA: usb-audio: add quirk for MacroSilicon MS2109
02b2f10e5c9f ALSA: hda - let hs_mic be picked ahead of hp_mic
3496a18a1c3b ALSA: opl3: fix infoleak in opl3
4a215725dec7 IB/hfi1: Do not destroy link_wq when the device is shut down
607fbc27d75f IB/hfi1: Do not destroy hfi1_wq when the device is shut down
6a882fb7232d mlxsw: pci: Fix use-after-free in case of failed devlink reload
c9dcb4929ce2 mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON()
f62f896a56a2 net: macb: fix call to pm_runtime in the suspend/resume functions
ad396c483dd5 net: macb: mark device wake capable when "magic-packet" property present
5d744ee94b49 net: macb: fix wakeup test in runtime suspend/resume routines
15442ef56405 bnxt_en: fix NULL dereference in case SR-IOV configuration fails
65fb9bbee611 net/mlx5e: Fix 50G per lane indication
ce27893535ca net/mlx5: Fix eeprom support for SFP module
f277e0be69d4 qed: Populate nvm-file attributes while reading nvm config partition.
e89b828ae357 IB/mlx5: Fix 50G per lane indication
97d6855ac57d cxgb4: fix all-mask IP address comparison
2a4c5ff12f42 nbd: Fix memory leak in nbd_add_socket
06cee3572ed5 arm64: kgdb: Fix single-step exception handling oops
9e8f4623e292 RDMA/siw: Fix reporting vendor_part_id
1c54d0d9c4e6 ALSA: compress: fix partial_drain completion state
175b5aa7b964 net: hns3: fix use-after-free when doing self test
ab8c4fd863f4 net: hns3: add a missing uninit debugfs when unload driver
5c0192d28513 smsc95xx: avoid memory leak in smsc95xx_bind
81ed1f9fd0b3 smsc95xx: check return value of smsc95xx_reset
3959bf65fe48 perf intel-pt: Fix PEBS sample for XMM registers
da4b6eff382b perf intel-pt: Fix recording PEBS-via-PT with registers
9ca67a453273 perf report TUI: Fix segmentation fault in perf_evsel__hists_browse()
2d15663304f5 netfilter: conntrack: refetch conntrack after nf_conntrack_update()
d9b8206e5323 net: dsa: microchip: set the correct number of ports
fd3a612d9828 IB/sa: Resolv use-after-free in ib_nl_make_request()
b0259e7056b1 net: cxgb4: fix return error value in t4_prep_fw
92002d59ecee net: mvneta: fix use of state->speed
4f412ae89e78 netfilter: ipset: call ip_set_free() instead of kfree()
b709a08bc4d7 bpf, sockmap: RCU dereferenced psock may be used outside RCU block
2000bb546525 bpf, sockmap: RCU splat with redirect and strparser error or TLS
4625f4d5e4bf drm/mediatek: Check plane visibility in atomic_update
a062088e675f nl80211: don't return err unconditionally in nl80211_start_ap()
d63806c30706 gpio: pca953x: Fix GPIO resource leak on Intel Galileo Gen 2
137e7782bddd gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2
91f8d05b4b56 net: qrtr: Fix an out of bounds read qrtr_endpoint_post()
1128ed7e1dd0 sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption
4e9631a90830 x86/entry: Increase entry_stack size to a full page
010f93079a26 nvme-rdma: assign completion vector correctly
074ae0cd8407 block: release bip in a right way in error path
b1b252d8d9c5 usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work
2485b6afadd7 scsi: mptscsih: Fix read sense data size
10533390da7c ARM: imx6: add missing put_device() call in imx6q_suspend_init()
15fa5dfaa4e8 cifs: update ctime and mtime during truncate
9c732cccb04b s390/kasan: fix early pgm check handler execution
a9c816494dc2 drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003
fcab0d2f1b91 drm: panel-orientation-quirks: Add quirk for Asus T101HA panel
b7556e7ca381 iommu/vt-d: Don't apply gfx quirks to untrusted devices
1a570b8faea4 powerpc/kvm/book3s64: Fix kernel crash with nested kvm & DEBUG_VIRTUAL
4e4ddeee7aff ibmvnic: continue to init in CRQ reset returns H_CLOSED
ce4a93b9e607 i40e: protect ring accesses with READ- and WRITE_ONCE
2e5a3586ca27 ixgbe: protect ring accesses with READ- and WRITE_ONCE
203cfe694e9d net: ethernet: mvneta: Add 2500BaseX support for SoCs without comphy
996bd0778a37 net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy
8f23c0dcd096 spi: spidev: fix a potential use-after-free in spidev_release()
010de5718162 spi: spidev: fix a race between spidev_release and spidev_remove
44b6e192e05f ALSA: hda: Intel: add missing PCI IDs for ICL-H, TGL-H and EKL
04197a8184e7 ASoC: SOF: Intel: add PCI ID for CometLake-S
b1589bb5b04e drm: mcde: Fix display initialization problem
408ddca5c737 gpu: host1x: Detach driver on unregister
d78a975525f3 drm/tegra: hub: Do not enable orphaned window group
dbe5fef1c2b1 drm/ttm: Fix dma_fence refcnt leak when adding move fence
6bfa3b616c52 ARM: dts: omap4-droid4: Fix spi configuration and increase rate
3965fe7c0a77 perf/x86/rapl: Fix RAPL config variable bug
5f121ba6b625 perf/x86/rapl: Move RAPL support to common x86 code
14e8708fffee regmap: fix alignment issue
2ec3c8329aca spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
6b64220baf4a spi: spi-fsl-dspi: Adding shutdown hook
eb676bef0224 KVM: s390: reduce number of IO pins to 1
(From OE-Core rev: 40ff5adaca962d66715e7ec55cec79093bdbc173)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60fec4d1792b8467acb53949c695775c7e7ae037)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch bug fix and security release.
One patch update, none deleted.
This is expected to be the final release in the 2.62.x stable series
Changes:
Fix SOCKS5 username/password authentication (#1986)
Exception handling fixes on Windows (!1373)
Bugs fixed:
1986 Socks5 Proxy: Authentication seems broken
1988 Socks5 Proxy: Wrong error returned when using no authentication
2049 Crash in g_array_copy
1378 Backport !1373 win32 exception fixes to glib-2-62
1380 Backport !1254 “giomodule: gio modules are no longer installed in bindir on MSVC” to glib-2-62
1393 Backport !1390 “garray: Fix copying an array with reserved elements” to glib-2-62
1394 Backport part of !1375 “tests: Skip g-file-info-filesystem-readonly test if bindfs fails” to glib-2-62
1411 Backport SOCKS5 fixes to glib-2-62
(From OE-Core rev: 2dc1266eb39faa29c79ab2697564072f11d3feb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stable branch bug fix and security release.
One patch updated, three removed since they are no longer needed
Changes (from release notes):
Fix potential relative read when calling g_printerr(), which could lead to a
denial of service from a setuid-root process being used to block access to the
TTY for another user (#1919)
Fix SOCKS proxy resolver sometimes not being used when resolving addresses
via Happy Eyeballs (CVE-2020-6750) (#1989)
Several other Happy Eyeballs fixes for address resolution (#1871, #1872, #1902)
Fix parsing of full Julian day range from $TZ environment variable (#1999)
Several race condition/crash fixes (!1353, !1357)
Bugs fixed:
1919 read from relative path in g_printerr() in 2.58.3
1995 Tracker issue for Happy Eyeballs regressions
1999 GTimeZone fails to accept full Julian day range when parsing the direct $TZ string format
1323 Backport !1314 “gtimezone: fix parsing of Julian day in POSIX TZ format” to glib-2-62
1331 Backport !1330 “W32: Correctly set st_ino when doing private stat()” to glib-2-62
1352 Backport !1351 “glib.supp: update g-threaded-resolver-getaddrinfo-config” to glib-2-62
1361 Backport !1353 GMainContext source reference fixes to glib-2-62
1365 Refactor g_socket_client_connect_async()
1370 Backport !1369 “build: Rework path construction to reliably add prefix” to glib-2-62
1371 Backport !1357 “gunixmounts: Make GUnixMountMonitor thread-safe” to glib-2-62
(From OE-Core rev: d1c337161f70893cd4eec15364c6c41d5040ccc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Few years ago we switched to using mips32r2 tunings for qemumips however
the default CPU emulation still remained 24Kf which is not optimal for
mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU
emulation when running qemu in system mode
Boot time to console is ~1s faster with this setting, hopefully this
should speed up qemumips in general
[1] https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts
(From OE-Core rev: 6f24a70ed9323a89cb9d0e6c56bacb6a59e2c31f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e68d2afd4a5529437824b5d6b9a2077c2fefd337)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit e921edd27e71af00f07e3f1e973d2b0c6c777bf4 since
it breaks adwaita-icon-theme and other recipes using gtk-icon-cache
(From OE-Core rev: 257758f175cdcb99f4fe890cc0b1a60e82b5b84b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
async_pipe is missing the executor_type type, which is expected by
asio in /usr/include/boost/asio/impl/read.hpp. Without this, it's
not possible to even compile code that uses constructs such as:
boost::asio::io_service foo;
boost::process::async_pipe foopipe{ boost::process::async_pipe(foo) };
This is only relevant for Dunfell because master has already moved to
boost-1.73.0 in which this bug has been fixed. The bug is also not
present in Zeus, which uses boost-1.71.0.
(From OE-Core rev: f3f6cc45b0b95cce337947df8dfaa9402251541c)
Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cogl depends on libxdamage when configured for X11 support.
A dependency was added for this in 2012 with
959a2f6d88d8fa6874fff83b7a1f0e7d4e36b887, but that addition
was lost when the recipe was reworked in 2013 with
b508fdd2b19ca30da8d09caf646897dc4cf195c8. That commit also
added a dependency on libxi, which is not actually needed.
The missing dependency doesn't cause problems in most cases,
since mesa also depends on libxdamage, but when an alternative
opengl implementation such as libglvnd is used, cogl fails
to configure.
(From OE-Core rev: 4cbfaae7f6ecdcbb67675da6cbdcf63aed0aaf61)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7651a63c508562caf1a3732cb49af50bccc98e8b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently in NVD DB an item popped up, which hasn't set baseMetricV2.
Let the parser handle it as an optional item.
In case use baseMetricV2 before baseMetricV3
(From OE-Core rev: 135a6a4f55aed6148f45d01b307fadbd45be2997)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fdcbf3f28289188c5a97664d1421d4a5c4991eda)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
layer under test should absent from BBLAYERS when running
yocto-check-layer. This allow to get signatures before layer
under test. There are existing steps to add the layer under
test to BBLAYERS after getting initial signatures.
add steps to check for layer under test in BBLAYERS before
running any test, skip test for the layer if the layer under
test exist in BBLAYERS.
[YOCTO #13176]
(From OE-Core rev: a10ff925584406e563edfb4042b44c3e8ea57ce3)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be02e8dbfb0d1decce125322f9f1e11a649756c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The blocks which test for entry exitence (file or directory) use a
`A && B || C` syntax. This form is not behaving as a if-then-else block
even the code logic assumes that. C may run when A is true which breaks
the case where VERBOSE is 'no' but the file/directory exists.
Along with fixing these specific issues, this patch fixes the other
instances where blocks of form `A && B || C` are used as if-then-else.
(From OE-Core rev: 471094f8afa57548e9ff3fd7a99306f58b87d478)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b9ea22acb66554925720e04cf24100664234574)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildhistory create .txt file bh_installed_pkgs.txt and
bh_installed_pkgs_deps.txt while listing down installed package.
These file is later removed in buildhistory_get_installed().
when multiple process runs in parellal there are chances to race for
the file where one process created the file while another task remove
the file right after it.
using different file name for each process should avoid the race. So
add PID to the file name to make it unique.
[yocto #13709]
(From OE-Core rev: af8f5fe82f27702ad727b27daefd5e97d9e64efa)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 214d236d93700abffa2d586cc744a00455818fa4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default.
when install package gtk-immodule-xim, it is possible met below error:
/var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory
warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1
fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache
(From OE-Core rev: d22af1a7d68b59da8967179af0893003e7d8a8a1)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c689e120961d9d20386c8b822d71d778d4e6df7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
settimeofday(2) has been deprecated as of glibc 2.31
which hwclock makes use of. This patch makes hwclock
compatible with glibc v2.31
See patch for more details:
busybox/0001-hwclock-make-glibc-2.31-compatible.patch
Fixes [YOCTO #13981]
(From OE-Core rev: 92d8bba5405244ae2594abc1a012c08c74999ab4)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix issues where sizeof(time_t) != sizeof(long).
(From OE-Core rev: 0590fbf6d76e1d0c4601529884c4c171be6e27af)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c3a6d74765e636a8038fe3aaa5dfc8b550590a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code was using TARGET_OS to try and detect what type of OS the
packages would be running on, but this is incorrect. TARGET_OS is the OS
for which the package will generate output (e.g. GCC output target or
GDB debugging target). The OS where the package will run is the HOST_OS.
Note that HOST_OS only differs from TARGET_OS when doing a
canadian cross compile, and even then in our case only when doing so for
a non-Linux host (e.g. MinGW).
Fix the code to use HOST_OS instead.
(From OE-Core rev: 2541b5be1e9c2c33ca8017130461a19f8734d883)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f284c5b2df220b520b025a59874e04ef4becd829)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM
variables. The HOST variables should be used instead of
TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for
where the package is going to run (the host), not what it will be
generating output for (the target). The distinction is only really
relevant when building canadian cross recipes.
Also fix up the host OS detection to account for MinGW by setting
CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw
to patch this in all the cmake recipes it builds.
(From OE-Core rev: 59b8c49a54b8977ba2f3ed4f33f0fd3f7dd749d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 01245db2893e39ffb5d4a00e4689f048d0698974)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing failures due to system load. In theory we've set process
nice levels which should compensate for this. Add debugging so we can
find out if they're being correctly applied.
(From OE-Core rev: 693dc285164eb6cc88cc7174238fd59f0393b5c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e4e345bba8216b9b5623682206a7dae7cad261c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
508b4e6ada7f sched: Remove unexpected mmdrop on RT
(From OE-Core rev: c381a58954da72c5b44b8047328c13f81f178bbf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8500665cb8da792bb92a484e286f3935cf85e2b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1c54d3c15afa Linux 5.4.51
8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely
43986c32ee00 dm zoned: assign max_io_len correctly
215e562251bb x86/resctrl: Fix memory bandwidth counter width for AMD
d827fe702e07 mm, compaction: make capture control handling safe wrt interrupts
64a94c550c44 mm, compaction: fully assume capture is not NULL in compact_zone_order()
2a9278ac9c55 irqchip/gic: Atomically update affinity
7ba23593cbc5 dma-buf: Move dma_buf_release() from fops to dentry_ops
4ae695a05516 drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
2b8c0876bf71 drm/amdgpu: use %u rather than %d for sclk/mclk
94de85d16b0c drm/amd/display: Only revalidate bandwidth on medium and fast updates
032343ed6927 MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen
2e859b14da39 MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names
71a20b798da3 cifs: Fix the target file was deleted when rename failed.
49dae9bed7dd SMB3: Honor 'handletimeout' flag for multiuser mounts
7ab27439fec7 SMB3: Honor lease disabling for multiuser mounts
0d5824aea7a0 SMB3: Honor persistent/resilient handle flags for multiuser mounts
d56787683c61 SMB3: Honor 'seal' flag for multiuser mounts
e0ed5a36fb3a Revert "ALSA: usb-audio: Improve frames size computation"
fe05e114d0fd nfsd: apply umask on fs without ACL support
4ee7f1d2f1c9 spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths
9d60af5c3bb3 i2c: mlxcpld: check correct size of maximum RECV_LEN packet
b460fc9d0525 i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665
a632f91f7a9c samples/vfs: avoid warning in statx override
cd62eeb31512 nvme: fix a crash in nvme_mpath_add_disk
c64141c68f72 nvme: fix identify error status silent ignore
7d3f489e61b6 SMB3: Honor 'posix' flag for multiuser mounts
8964c93436ad virtio-blk: free vblk-vqs in error path of virtblk_probe()
f795a88eade5 drm: sun4i: hdmi: Remove extra HPD polling
c84138b3c162 nfsd: fix nfsdfs inode reference count leak
2571e1735602 nfsd4: fix nfsdfs reference count loop
31ec38ec9cd5 thermal/drivers/rcar_gen3: Fix undefined temperature if negative
a65bde001008 thermal/drivers/mediatek: Fix bank number settings on mt8183
c9426817eac7 hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
3e7bd7e10639 hwmon: (max6697) Make sure the OVERT mask is set correctly
0465f54c5cc4 cxgb4: fix SGE queue dump destination buffer context
6bcb00d08361 cxgb4: use correct type for all-mask IP address comparison
f68bda772639 cxgb4: fix endian conversions for L4 ports in filters
180fbf10a26d cxgb4: parse TC-U32 key values and masks natively
0dc4dd433b94 cxgb4: use unaligned conversion for fetching timestamp
8a1b8e64204e RDMA/counter: Query a counter before release
53e9b62672f7 rxrpc: Fix afs large storage transmission performance drop
60d7de28e0ca drm/msm/dpu: fix error return code in dpu_encoder_init
cc0f67835302 crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
5d6b46a94dbb tpm: Fix TIS locality timeout problems
563e9491f0a3 selftests: tpm: Use /bin/sh instead of /bin/bash
1f98a9ed5799 kgdb: Avoid suspicious RCU usage warning
e6b2e3b5e16e nvme-multipath: fix bogus request queue reference put
5e9523d7e8cd nvme-multipath: fix deadlock due to head->lock
ad69fbe1d262 nvme-multipath: fix deadlock between ana_work and scan_work
c4f007d3dbdd nvme-multipath: set bdi capabilities once
8f4aa3a6de24 s390/debug: avoid kernel warning on too large number of pages
517326aaf41e tools lib traceevent: Handle __attribute__((user)) in field names
6f3b8c269d88 tools lib traceevent: Add append() function helper for appending strings
3dca0a299ff4 usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect
0ff5b1b50d5c rxrpc: Fix race between incoming ACK parser and retransmitter
fe688b144c14 mm/slub: fix stack overruns with SLUB_STATS
f459e8fc7c69 mm/slub.c: fix corrupted freechain in deactivate_slab()
542d541c1edd sched/debug: Make sd->flags sysctl read-only
ab9ee18f4646 usbnet: smsc95xx: Fix use-after-free after removal
58ab86e58b55 EDAC/amd64: Read back the scrub rate PCI register on F15h
d0e533584a05 mm: fix swap cache node allocation mask
1c4404efcf2c io_uring: make sure async workqueue is canceled on exit
(From OE-Core rev: aee5754b848fea174d27e2af9d88134680c4ec30)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 60ee8b2bc14af7bf5b69d00c5d6293f09125407c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ dnf install openssl-bin
$ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes -batch
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
(From OE-Core rev: 2a4980cd8bfd829bab1ba081588eb0bdbd285b97)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e93cd3b83a255294c9ab728adc7e237eb1321dab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the firmware packaging for Intel Bluetooth AX200, also known
as Intel CyclonePeak (CcP).
(From OE-Core rev: a53e9fd2d50d92c138c3f72aef0a9d0e59e823e6)
Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a701625a95ccb15a9db1a50a02143ba1ac8e6f1d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is
'/var'. This is causing error when running `rpm -qplv A.rpm'.
error: cannot open Packages index using db5 - Permission denied (13)
error: cannot open Packages database in /var/lib/rpm
The rpm in SDK should be using its own database. So we should remove
this configure option, letting the SDK's native sysroot prefix to be
there in %_var. In fact, '%_usr' in macros has already got the prefix.
After this change, we have in the macros file lines like below.
"""
%_usr /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/usr
%_usrsrc %{_usr}/src
%_var /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/var
"""
(From OE-Core rev: 4e0d1bdc6e896c7dedccf615d6d0da9eb91d9b1d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13e17930062cb3f816516ba7dbeb70d6da7174dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some filesystems, such as aufs which may be used by docker container,
don't support either the SEEK_DATA/HOLE or FIEMAP to get the block
map. So add a FileNobmap class to fall back to standard copy when there
is no way to get the block map.
[Yocto #12988]
(From OE-Core rev: 66f9db48bb9d59f08492f0515bc08b6b039aa03f)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7934ed49179242f15b413c0275040a3bb6b68876)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
UI control can happen via the xmlrpc connection. Account for this when timing
out UI connections. This was causing issues for toaster on systems where it
couldn't parse the metadata within the timeout.
(Bitbake rev: 838a89141fd6a75da9f982ad2b035e823b692d2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fa85a8263971c25e67fa3b421c686a90e46acd87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're only meant to be doing UI connection timeouts on the first connection
but haveui changes for each connection. We need to add a specific variable
to track this correctly and get the intended behaviour.
(Bitbake rev: fda107a4a1033ac7111a3289dbe6e48cea986927)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e7c387c2e2fb2cc3ca1dc9d2029362909c326d72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test for whether or not scc should to invoked to generate a
config.queue was missing the newly created sccs_defconfig variable.
We need to test for that variable as well, or we may miss generating
the config.queue in some cases.
(From OE-Core rev: ea886d57db917a41a0d106a15e1e96c72d6407b0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3a95e171d3eaa6ab143d4f422c98a0ac7ad31761)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"bitbake mc:arm:bash mc:arm:busybox"
works but
"bitbake multiconfig:arm:bash multiconfig:arm:busybox"
does not. The reason is the list is modified whilst iterating.
Don't do that.
[YOCTO #13607]
(Bitbake rev: cc11dfa4eb3616547a8a3909f89da0cc4f35dc57)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One element of the error message guarded against None as a value
but I missed the other, fix this.
(From OE-Core rev: 9e23163016b7a8fea0dbfe2111f9493017e5a7b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dbce6baec68d7658453b8c44159e1d1fef746151)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When qemu fails to start we're struggling to work out why. Add more debug
info which can at least confirm/rule out various things.
This code is only on the error handling path and more info shoudl help
us debug issues.
(From OE-Core rev: 797f7e0c3ff0610a4de321eaf82f84bca610624e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3001d0d8f3429e5ff0c37ea7192e85e7001cdb32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pid location could vary due to changes in cwd as only a filename
is specified, not a full path. This in theory could be resulting in
some of our autobuilder failures. Whilst its difficult to know if this
is causing a problem, Using a full path removes any question of such an
issue.
(From OE-Core rev: a03c85fe0704a457bd2d92dd58cbbb4d37453f2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55c186ff410c99570242478b99ac24ebc40aa6bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python now expects regex strings to be prepended with r.
Silence pylint/autopep8 and similar warnings by identifying
these regex patterns as... regex patterns.
(From OE-Core rev: f8a5db7a6072ddb1be96405fc8b44f595275206d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0eae98a369d80340e48dc690d09a1364cde97973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you try to create a plugin for recipetool that
adds the AUTHOR field, it is impossible to put it
in the recommended position [1] without adding to the
recipe_progression variable.
While we are at it, also add BBCLASSEXTEND at the
end, as also recommended by [1].
[1] http://www.openembedded.org/wiki/Styleguide
(From OE-Core rev: 2a1ae8c12cb0d6fd9d57c98caa97a10f3b6d3388)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d687c5b7b10b3decdd80d5c2fd61072a87f061f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further to 96c20c9df7:
Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES.
(From OE-Core rev: 0cbae5aa12aa8f3e0865d36d665dfd4a5853a691)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 956e5bd6862ca898143a234aa85cc83b1f2d1807)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
as ptest FILES could be determined before or after the classes was
inherited, if is much safer to append to the setting of
FILES_${PN}-ptest
(From OE-Core rev: 1a52f9ec394ec2ce9899543c1b9ef95e926ebf14)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 419ad35ffe7f5199e49a246ef9854f0810ca1d6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cgo is still not available in go for riscv64, we will re-evaluate it
once we upgrade to 1.15
Fixes
| /usr/src/debug/go-runtime/1.14.4-r0/go/src/runtime/cgo/gcc_util.c:23: undefined reference to `_cgo_sys_thread_start'
[YOCTO #13966]
(From OE-Core rev: 987d29d0b0dfa19ef6564996198f22c2b08f6ff9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f512b3308ed6ee878c77f72b9235ada83d107dba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-boot recipe supports .cfg files in SRC_URI, but bug in conditional
statement meant that the code was unreachable and the .cfg files
were never applied.
(From OE-Core rev: 4fc386279ef4616d1e103cb70facee5716d335ff)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 766f827df4c3f76b1ef06acaba3c4f160c3791aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As an unconditionally dependency of subversion, extend serf recipe for
building a nativesdk variant being usable by nativesdk-subversion.
(From OE-Core rev: 3b78a39535089bbafbeb1ebd854efe180890f375)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff731a25a49c768f04a474438efccb3bb505a898)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For SDK environments where people still use subversion, let it easily being
added to buildtools-tarball to invite more developers relying on Yocto
based SDKs without much requirement to setup anything on the development
workplace.
(From OE-Core rev: 795781db8a82c9268fcabc93dd54cb6b07cbe9c8)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 586a15b76f879f49c5224116cbf506b7ccf96cd2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Every selftest run is currently polluting the autobuilder DL_DIR. Avoid
this by using a temporary directory for the test which is cleaned up.
(From OE-Core rev: 3f2971c2fa94970057cd4260aa1147a165d70fa9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 002d321e02b3ce4f34c8a54211b109a5416c8a0e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to the PACKAGES variable, LICENSE_avahi-client is misspelled.
Additionally, the libavahi-client package actually only includes
LGPLv2.1+ software (as opposed to the global LICENSE variable).
(From OE-Core rev: 683fb53c94e63e4f5acf4c2efd04977cc10bed49)
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8837b4735b5e96ae0f5542319e711dbda8c3849)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After commit 3ca1d3fa1d ("linux-firmware: fix the wrong file
path for ibt-misc"), if we don't change the location of ibt-misc
in PACKAGES, ibt-misc will include all ibt files and make other
individual ibt package empty.
(From OE-Core rev: f9d24c6cfb2d167b413301b9ec853ddc181e8043)
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3a5403a9e5d0085d7b2f97a2e44b74a54c84d3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During the course of do_package_rpm and friends the tools create a
top-level CONTROL or DEBIAN directory in the package directory.
do_package_qa needs to be aware of these files and ignore them, this was
previously done in just one check but instead should be done once when
building the file list so all the checks don't see the temporary files.
[ YOCTO #13804 ]
(From OE-Core rev: 0dbdcd305a969b67415ed74c3286af02612bd64c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b2f45c47a5c8c800626f12c14f216a5ab923512)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its bb.note or logger.info, this avoids a backtrace.
(Bitbake rev: fb80389d2ce62e15e354c6ea288c9a4bbe0040f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If server startup is broken for some reason (e.g. lockfile issues)
and no UI connection is made, the server will just sit inifinitely
waiting.
Add a timeout upon startup in the non-memory resident case so that
such infinite waits are avoided. In the memory resident case, the
server wouldn't have shut down in the first place or will timeout
according to configuration.
Since any race may mean the socket file is no longer present, ensure
the unlink doesn't fault upon exit, thus ensuring any hashequiv or
PRServ is removed from memory, allowing all processes to exit
cleanly in such scenarios.
(Bitbake rev: 81cad9b8c4df15218d1a419c6b8e3ac73b54600c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39888b750df12478e8bdea6727cca112dce1df85)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing rare occasional races on the autobuilder as if two server
processes have the lockfile at the same time. We need to be extremely
careful this does not happen.
I think there is a potential race in this shutdown code since we delete
the lockfile, then call unlockfile() which also tries to delete it.
This means we may remove a lock file now held by another process if we're
unlucky. Since unlockfile removes the lockfile when it can, just rely on
that and remove any possible race window.
An example cooker-deamonlog:
--- Starting bitbake server pid 2266 at 2020-07-11 06:17:18.210777 ---
Started bitbake server pid 2266
Entering server connection loop
Accepting [<socket.socket fd=20, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
Processing Client
Connecting Client
Running command ['setFeatures', [2]]
Running command ['updateConfig', XXX]
Running command ['getVariable', 'BBINCLUDELOGS']
Running command ['getVariable', 'BBINCLUDELOGS_LINES']
Running command ['getSetVariable', 'BB_CONSOLELOG']
Running command ['getSetVariable', 'BB_LOGCONFIG']
Running command ['getUIHandlerNum']
Running command ['setEventMask', XXXX]
Running command ['getVariable', 'BB_DEFAULT_TASK']
Running command ['setConfig', 'cmd', 'build']
Running command ['getVariable', 'BBTARGETS']
Running command ['parseFiles']
--- Starting bitbake server pid 8252 at 2020-07-11 06:17:28.584514 ---
Started bitbake server pid 8252
--- Starting bitbake server pid 13278 at 2020-07-11 06:17:31.330635 ---
Started bitbake server pid 13278
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBMULTICONFIG',), {}]
Running command ['getRecipes', '']
Running command ['clientComplete']
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting
where it looks like there are two server processes running which should not be.
In that build there was a process left sitting in memory with its bitbake.sock file
missing but holding the lock (not sure why it wouldn't timeout/exit).
(Bitbake rev: de919782f488a83b80d7c40896bf5b2596f1f65f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1a7c1821483031b224a1570bfe834da755219cc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this allows shell statements like '; ;' to pass the parser.
As it may be bad code but still valid enough to execute
(Bitbake rev: 85a499f8915dd6596d56808e6e1c536015e4eb34)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b7732b1b5085bea73e17d112e1bd9ac3d4dc34fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It looks like we're about to see a lot of changes in branch names in repos. If
we have the prune option here, those old names are lost, the changes propagate
to our source mirrors and our old releases break.
We have the force option so any replaced references should be replaced, its only
orphaned branches which will now be preserved.
I believe this behaviour will cause us fewer problems given the changes that
look likely to happen.
(Bitbake rev: 6e527ea72b0816bf5f454473faf6523c365daa18)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 820ab886e79eea516560c0c008e4cf059c6e11a3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're running into this timeout on loaded autobuilders in situations
where things should otherwise succeed. Log a note in these
cases and continue to try for longer.
(Bitbake rev: 344d3006a243f5f7d8f551556bab721b2ac0a2aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e567743e70f426786ae54dcb5ab550748d9266e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding back gtk objects import.
Fix bug introduce when adding validation on gtk import.
(Bitbake rev: 44e24fffc568dfee054b5feff2d9b382b9ce4bb5)
Signed-off-by: David Khouya <dakhouya@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 765be5ef60668f8a1cfbcba248f4995725807196)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running bitbake -g -u taskexp without having gi python module or
and invalid gtk version, bitbake fails with a stack trace.
In case of import or version error, bitbake should exit with an error
message instead of a stack trace.
(Bitbake rev: 45e32f2651d35bf7a315af95cfe0b1070e038c9e)
Signed-off-by: David Khouya <dakhouya@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a2c507f239b047f34765312df4168030e38b90d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 992cec44 (coreutils: Move stdbuf into an own package
coreutils-stdbuf) breaks package-qa when the single-binary
PACKAGECONFIG is used:
ERROR: coreutils-8.32-r0 do_package_qa: QA Issue: /usr/bin/stdbuf contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps]
ERROR: coreutils-8.32-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script"
containing the single line
#!/usr/bin/coreutils --coreutils-prog-shebang=stdbuf
Since there's no point splitting stdbuf to its own package when all
the functionality is in the single big coreutils binary anyway, fix
this by not creating the separate stdbuf package for the single-binary
case. But also make sure that the coreutils-stdbuf item always exists
so recipes can always RDEPEND on coreutils-stdbuf.
(From OE-Core rev: c2ad3af9da9bb3a98c1d5d1b3d21eb8db643c189)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74d24b5b895198898944260136d05e991a203c11)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Bug 13971] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13971
A recipe using LICENSE=CLOSED would normally not have LIC_FILES_CHKSUM
set.
If LIC_FILES_CHKSUM was not set, it would cause `devtool upgrade` to fail.
This fixes the issue by defaulting to an empty string if
LIC_FILES_CHKSUM is not found.
[YOCTO #13971]
(From OE-Core rev: 9c7f3281884c50dbd05e2966e2409255c127ebfa)
Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95e112f0f465868e98285509ea0d1a624a439ac2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some openssl command line operations like creating an X.509 CSR require
the file /usr/lib/ssl-1.1/openssl.cnf to exist and fail if it doesn't
root@qemux86-64:~# openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
140289168594176:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1g/crypto/bio/bss_file.c:69:fopen('/usr/lib/ssl-1.1/openssl.cnf','r')
140289168594176:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1g/crypto/bio/bss_file.c:76:
which is the case e.g. in core-image-minimal with just the
package openssl-bin added to the image by declaring
IMAGE_INSTALL_append = " openssl-bin"
e.g. in local.conf.
The file did not exist in the aforementioned image / configuration
because it was packaged to the main openssl package
FILES_${PN} =+ "${libdir}/ssl-1.1/*"
(there is no other FILES specification that would match the file either)
and
path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-1.1.1g-r0.core2_64.rpm
[...]
/usr/lib/ssl-1.1/openssl.cnf
[...]
Hence move /usr/lib/ssl-1.1/openssl.cnf (and openssl.cnf.dist as it
seems closely related) to the ${PN}-conf package to have it installed
with ${PN}-bin, which already (indirectly) depends on ${PN}-conf.
Note that the openssl recipe has the comment
Add the openssl.cnf file to the openssl-conf package. Make the libcrypto
package RRECOMMENDS on this package. This will enable the configuration
file to be installed for both the openssl-bin package and the libcrypto
package since the openssl-bin package depends on the libcrypto package.
but openssl-conf only contained /etc/ssl/openssl.cnf
path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-conf-1.1.1g-r0.core2_64.rpm
/etc
/etc/ssl
/etc/ssl/openssl.cnf
/usr/lib/ssl-1.1/openssl.cnf is actually only a symlink that points to
../../../etc/ssl/openssl.cnf.
Other files and directories in /usr/lib/ssl-1.1/ were considered as well
because they seem to be configuration files and / or related to
(symlinks pointing to) /etc. They were not moved though, because based
on our use case and testing moving the openssl.cnf symlink is sufficient
for fixing the immediate problem and we lack knowledge about the other
files in order to make a decision to change their packaging.
(From OE-Core rev: e5405189e6d1b3b3b236aa8fe7a577c72f6af8d8)
Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1632d7041fe0c18ec61abfa79a9c025af43c033)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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:
e75220890bf6 Linux 5.4.50
a160afebd779 Revert "tty: hvc: Fix data abort due to race in hvc_open"
ffd40b7962d4 xfs: add agf freeblocks verify in xfs_agf_verify
cc66553004f4 dm writecache: add cond_resched to loop in persistent_memory_claim()
a51e71cbf6e6 dm writecache: correct uncommitted_block when discarding uncommitted entry
de1d70dad6f2 xprtrdma: Fix handling of RDMA_ERROR replies
4d35ca872ac3 NFSv4 fix CLOSE not waiting for direct IO compeletion
02917bef8f1b pNFS/flexfiles: Fix list corruption if the mirror count changes
7b99577ff376 SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
c27d205baa82 sunrpc: fixed rollback in rpc_gssd_dummy_populate()
60bdb51d44fa Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
c6f88afa6ae1 drm/amdgpu: add fw release for sdma v5_0
05124abe1fb0 drm/radeon: fix fb_div check in ni_init_smc_spll_table()
834a3aa2ceb4 drm: rcar-du: Fix build error
176a3c488476 drm/amd: fix potential memleak in err branch
0b3cc973f16f ring-buffer: Zero out time extend if it is nested and not absolute
9a59a88b3d31 tracing: Fix event trigger to accept redundant spaces
c036eb65fdfc arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range
90bd9c611f21 arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
73f79b420bd0 arm64: perf: Report the PC value in REGS_ABI_32 mode
7a9e3e25a9d2 mm/memcontrol.c: add missed css_put()
ff6aff13a8cf ocfs2: fix panic on nfs server over ocfs2
a8d82ebaee97 ocfs2: fix value of OCFS2_INVALID_SLOT
4685df862c8b ocfs2: load global_inode_alloc
7fa716a594a6 ocfs2: avoid inode removal while nfsd is accessing it
fbca1aee1397 mm/slab: use memzero_explicit() in kzfree()
a79c3a99ac81 btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof
863a197f7f10 btrfs: check if a log root exists before locking the log_mutex on unlink
53a081661047 btrfs: fix data block group relocation failure due to concurrent scrub
0a4dfc69ea7e btrfs: fix bytes_may_use underflow when running balance and scrub in parallel
df13086490db x86/asm/64: Align start of __clear_user() loop to 16-bytes
3ceaf206b706 x86/cpu: Use pinning mask for CR4 bits needing to be 0
96a80133559f KVM: VMX: Stop context switching MSR_IA32_UMWAIT_CONTROL
8ccc6ac51eac KVM: nVMX: Plumb L2 GPA through to PML emulation
5774f9fa563b KVM: X86: Fix MSR range of APIC registers in X2APIC mode
0236040fcf97 erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup
824d0b6225f3 ACPI: configfs: Disallow loading ACPI tables when locked down
3c4f9a5541bb ACPI: sysfs: Fix pm_profile_attr type
6ee4d61403d2 ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems
1a1bc3ae6935 ALSA: hda/realtek - Add quirk for MSI GE63 laptop
0211e0d7f185 ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table
f06a6294e113 RISC-V: Don't allow write+exec only page mapping request in mmap
26b0956cb374 block: update hctx map when use multiple maps
72647ea37700 blktrace: break out of blktrace setup on concurrent calls
d14eb5d8f0f4 kprobes: Suppress the suspicious RCU warning on kprobes
8ed391a3dbc4 recordmcount: support >64k sections
803d114e8f19 kbuild: improve cc-option to clean up all temporary files
cbed4eb0a92f arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n
a9a3b33b20aa s390/vdso: fix vDSO clock_getres()
68a3cbc44660 s390/vdso: Use $(LD) instead of $(CC) to link vDSO
7c17909a889d s390/ptrace: fix setting syscall number
64f7b10a91a4 s390/ptrace: pass invalid syscall numbers to tracing
453cfe187723 pinctrl: tegra: Use noirq suspend/resume callbacks
7851257375ae pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage
8dba9173a37a test_objagg: Fix potential memory leak in error handling
6fd916e24935 net: alx: fix race condition in alx_remove
855dbf10c9a7 ibmvnic: Harden device login requests
07b8b2d46371 hwrng: ks-sa - Fix runtime PM imbalance on error
b8403f7e45e5 riscv/atomic: Fix sign extension for RV64I
81616542adcc drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()
f7f181582f1b ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
4dfc238a2441 sata_rcar: handle pm_runtime_get_sync failure cases
83bdf7f8b712 sched/core: Fix PI boosting between RT and DEADLINE tasks
3dc7138943b1 sched/deadline: Initialize ->dl_boosted
bfd4981fe3d6 afs: Fix storage of cell names
5cee9e67596f i2c: core: check returned size of emulated smbus block read
4a6e6413059e i2c: fsi: Fix the port number field in status register
0935afc39797 clk: sifive: allocate sufficient memory for struct __prci_data
b78bae5ab399 net: bcmgenet: use hardware padding of runt frames
ae6d80f62c73 netfilter: ipset: fix unaligned atomic access
8d93603bf60c nvme: don't protect ns mutation with ns->head->lock
f9dc5e708ab8 usb: renesas_usbhs: getting residue from callback_result
56ee0ed97df5 usb: gadget: udc: Potential Oops in error handling code
a3a86515d017 scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
1e812023f478 ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
61f488765dff cxgb4: move handling L2T ARP failures to caller
065f225ef975 net: qede: fix use-after-free on recovery and AER handling
f490e70fa7eb net: qede: fix PTP initialization on recovery
7180c8fc4a03 net: qed: fix excessive QM ILT lines consumption
32cf4ff4ec52 net: qed: fix NVMe login fails over VFs
d0717a95a06b net: qede: stop adding events on an already destroyed workqueue
164d9a15652f net: qed: fix async event callbacks unregistering
5cf7f0c68405 net: qed: fix left elements count calculation
33104571648b iommu/vt-d: Update scalable mode paging structure coherency
ede796e5ac87 iommu/vt-d: Enable PCI ACS for platform opt in hint
67db9e032b6e selftests/net: report etf errors correctly
34f45567462d RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
d3edf648f398 s390/qeth: fix error handling for isolation mode cmds
9e89c2d5da87 ASoC: rockchip: Fix a reference count leak.
4aeb21584e55 RDMA/cma: Protect bind_list and listen_list while finding matching cm id
f0078dc6750f RDMA/qedr: Fix KASAN: use-after-free in ucma_event_handler+0x532
66143ecb9e3c RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq
d6fb7f457456 rxrpc: Fix handling of rwind from an ACK packet
73cff44e66e3 ARM: dts: NSP: Correct FA2 mailbox node
f1ee7d3a2c1a bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZE
0f3aa6c6d6ad devmap: Use bpf_map_area_alloc() for allocating hash buckets
b93df0f6d7cd regmap: Fix memory leak from regmap_register_patch
5f6b834e110b x86/resctrl: Fix a NULL vs IS_ERR() static checker warning in rdt_cdp_peer_get()
99ab61cc8b75 ARM: dts: Fix duovero smsc interrupt for suspend
07f7c547698b ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect
d909f9db0caa bpf, xdp, samples: Fix null pointer dereference in *_user code
0608288c6caa samples/bpf: xdp_redirect_cpu: Set MAX_CPUS according to NR_CPUS
b59ed5668c4e ASoC: fsl_ssi: Fix bclk calculation for mono channel
3947dd237ef5 RDMA/siw: Fix pointer-to-int-cast warning in siw_rx_pbl()
34f105349369 regualtor: pfuze100: correct sw1a/sw2 on pfuze3000
1fa27418054f ASoC: qcom: common: set correct directions for dailinks
47c7ae0ca9d7 ASoc: q6afe: add support to get port direction
92444a57e365 efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
8c236ac4376a efi/tpm: Verify event log header before parsing
e50cf858d118 ASoC: q6asm: handle EOS correctly
41b2debf35ef xfrm: Fix double ESP trailer insertion in IPsec crypto offload.
475a7b09b4bb ARM: OMAP2+: Fix legacy mode dss_reset
527ddb339d6b bus: ti-sysc: Ignore clockactivity unless specified as a quirk
1f5197a5ad97 bus: ti-sysc: Flush posted write on enable and disable
21d511c6c9c2 IB/hfi1: Fix module use count flaw due to leftover module put calls
2a4c0bf5c70e IB/mad: Fix use after free when destroying MAD agent
588ad2b29ea3 loop: replace kill_bdev with invalidate_bdev
d9a74e455070 cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
d6522bc320d7 xhci: Return if xHCI doesn't support LPM
14d46386226e xhci: Fix enumeration issue when setting max packet size for FS devices.
c09be4f57956 xhci: Fix incorrect EP_STATE_MASK
e615f58fa86c cifs/smb3: Fix data inconsistent when zero file range
bd2f2ac0ab96 cifs/smb3: Fix data inconsistent when punch hole
572a11131ad3 cifs: Fix cached_fid refcnt leak in open_shroot
1f551a056b30 scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action
d3a251b84797 scsi: qla2xxx: Keep initiator ports after RSCN
be8df027079b usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
a0668653be26 usb: cdns3: ep0: fix the test mode set incorrectly
79175ae5f996 usb: cdns3: trace: using correct dir value
25e1bb1e6c36 ALSA: usb-audio: Fix OOB access of mixer element list
1cc2d29710c2 ALSA: usb-audio: add quirk for Samsung USBC Headset (AKG)
0c4ff206043e ALSA: usb-audio: add quirk for Denon DCD-1500RE
74a7ad9d975c ALSA: usb-audio: Add implicit feedback quirk for SSL2+.
895ec8c86e13 usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs
fe2daefad98a usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
c1e71a51c2f5 xhci: Poll for U0 after disabling USB2 LPM
9d814bd14cff usb: host: xhci-mtk: avoid runtime suspend when removing hcd
9200037a6ab6 USB: ehci: reopen solution for Synopsys HC bug
ffeb58a0daf0 usb: add USB_QUIRK_DELAY_INIT for Logitech C922
6b3eb8af48cb usb: dwc2: Postponed gadget registration to the udc class driver
195c1d1dd8cf USB: ohci-sm501: Add missed iounmap() in remove
2274a7421e73 binder: fix null deref of proc->context
3621616af99b ALSA: usb-audio: Fix potential use-after-free of streams
335add4ac891 fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
32e5a15f1084 net: sched: export __netdev_watchdog_up()
9d3d40ec7dee btrfs: fix a block group ref counter leak after failure to remove block group
8ae850cddf27 Revert "i2c: tegra: Fix suspending in active runtime PM state"
052a7fdd86fb tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
942315134313 sch_cake: fix a few style nits
b1aa7e5fa163 sch_cake: don't call diffserv parsing code when it is not needed
ea2628dd586d sch_cake: don't try to reallocate or unshare skb unconditionally
3c6208267218 ip_tunnel: fix use-after-free in ip_tunnel_lookup()
9baf076d797f net: phy: Check harder for errors in get_phy_id()
568c5aaf6c2d ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
35db638692db tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
fe3a5d8fc372 tcp: grow window for OOO packets only for SACK flows
cb22ce3346f2 tcp: don't ignore ECN CWR on pure ACK
dc43f7e807a8 sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
fea864489c90 rxrpc: Fix notification call on completion of discarded calls
6956830cf981 rocker: fix incorrect error handling in dma_rings_init
a908f986ddf7 openvswitch: take into account de-fragmentation/gso_size in execute_check_pkt_len
27b70214fc69 net: usb: ax88179_178a: fix packet alignment padding
67571b1ab296 net: increment xmit_recursion level in dev_direct_xmit()
97a1d2aa6cdd net: Fix the arp error in some cases
742f2358b324 net: fix memleak in register_netdevice()
9e693934cd59 net: Do not clear the sock TX queue in sk_set_socket()
9f217d6dd796 net: core: reduce recursion limit value
f32325b100ea net: bridge: enfore alignment for ethernet address
57a976e676e1 mvpp2: ethtool rxtx stats fix
fa0d7e09da1d mld: fix memory leak in ipv6_mc_destroy_dev()
009b3e294a90 ibmveth: Fix max MTU limit
f060107ccc97 geneve: allow changing DF behavior after creation
ce06fcb6a66d enetc: Fix tx rings bitmap iteration range, irq handling
b90ca32531bf block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed
(From OE-Core rev: 07a662a1b75559550ad63b5a24e50cec54c88199)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed1c289ceebd66f2bbfd9dfc8deae0985fbf239)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous version only included the numbers 1 and 2 in the allowed characters
for the module name. In the past, this was (\w+) so all numbers were allowed.
Now it explicitly includes all numbers again.
(From OE-Core rev: eab35415bb2cd68872707693afcf7705675fa87e)
Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f241fa493536ac953c1dac303917c6e75b459e28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
as this is already packaged in kernel-install package,
it shouldn't be part of the base package
(From OE-Core rev: e62371448a7d5604fa6029c7a8be278e83dad35c)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed04241f30e12e7c0479026a9e354e49dfa4119c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the initramfs image is type lz4, then a native lz4 is needed.
Additionally an output filename needs to be specified when calling lz4,
otherwise STDOUT will be used implicitly.
(From OE-Core rev: 589b2d7e902125199377d5f1550597bcb38a1bf6)
Signed-off-by: Timon Ulrich <t.ulrich@anapur.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c83a7aec59defbbc049d44ba34a7a409ada4fa19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fetcher provides full paths to defconfig and scc files, which awk
comparison operator does not catch during construction of
src_uri_defconfig and sccs_from_src_uri lists. This causes the
src_uri_defconfig variable to come out empty, and fails further
validation if defconfig is only supplied via SRC_URI.
Replace comparison operator with awk match function which searches for
sub-string during filtering, effectively placing defconfig from SRC_URI
into src_uri_defconfig and scc files in sccs_from_src_uri respectively.
Fixes: 23dcff0d39 (kernel/yocto: ensure that defconfigs are processed first)
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: 11089e06bfb3d0defb52825ffba978d085385569)
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f52ce0fa98bf3bd72df7467031001f3128c145f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is uncommon that a BSP definition and a defconfig are used in
a single configuration. That being said, it is a valid way to
organize kernel configuration meta data.
When a defconfig is used, either on the src_uri or from in
the kernel tree, it is normally expected that it is the baseline,
with all options applied on top of it.
With this commit, we detect either type of defconfig and ensure
that it is used first, followed by the fragments in their
previous order. This allows existing configuration stacks to
remain the same, while ensuring that a defconfig combined stack
works as expected.
(From OE-Core rev: 7ecc81baeacaa1149a4947791200e8819c3df677)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6845327b69396d843a2f3c4c3ac9400ae9caedf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit d4be264061 ("classes/archiver: run do_unpack_and_patch after
do_preconfigure") correctly moved do_unpack_and_patch to depend on
do_preconfigure, but left do_ar_patched as a dependency of do_configure
introduced from 8a7c779487 ("classes/archiver: Create patched archive
before configuring"). Having do_configure depend on do_ar_patched is
blatantly wrong. Firstly, doing so causes the taskhash of do_configure
to change which is undesirable. Secondly, the anon python that sets up
the tasks carefully skips GCC recipes that depend on gcc-source to
provide their source code since running do_unpack_and_patch in them
would delete the source code. Adding in the dependency effectively
bypasses this and makes these recipes delete the shared gcc-source
This fixes errors (for real this time) like:
cat: .../gcc/defaults.h: No such file or directory
when making certain configuration changes.
For posterity, you could easily reproduce gcc-source being erased by
running the commands (replacing aarch64 with your correct target arch):
bitbake -c cleanall gcc-source gcc-cross-aarch64
bitbake -c do_deploy_archives gcc-source
# The following would fail because
# gcc-cross-aarch64:do_unpack_and_patch erases shared source, so
# do_configure after that fails.
bitbake gcc-cross-aarch64
(From OE-Core rev: 2399fdf98a6e6e4245c2e7ed1f72404ebece3eca)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f02c1904330da47a25cf85f0077712f584f4ee5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 8a7c779487 ("classes/archiver: Create patched archive before
configuring") fixed a race condition when using the archiver, but
introduced a bug where the GCC source would occasionally be deleted due
to the archiving code running before do_preconfigure. Instead, make sure
the archiving code runs after do_preconfigure by making
do_unpack_and_patch depend on it. This makes more sense anyway since
do_preconfigure is effectively an extension of do_patch.
This fixes errors like:
cat: .../gcc/defaults.h: No such file or directory
when making certain configuration changes
(From OE-Core rev: b6d4176f82b9728af91a4b982ca25fbbee5f9890)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4be264061023ae0ea6e023d82a7b99605bfc22c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backported from master with two differences:
1. Move exit in do_make_icudata_class-target after big endian patch
application (not required for master since new upstream icu includes
the patch)
2. In do_install_append_class-target test for existence of .dat input
file before calling icupkg
icu data generation was found to be racy, and causig AB failures;
making it serial and leaving it on is not an option as it regresses
to several minutes.
The specific bug is that rules.mk has:
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/gencnval -s . -d ./out/build/icudt66l mappings/convrtrs.txt
which creates a file and numerous rules like
LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/genrb -s ./misc -d ./out/build/icudt67l -i ./out/build/icudt67l -k -q numberingSystems.txt
which quietly read it. There is no prerequisite for the former to complete first.
The race is extra complicated to fix as rules.mk is itself
generated through a custom in-tree python tool.
(From OE-Core rev: df4bfb154e7fce9645f5738aa04b3eb3ef5093fe)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df89e8d1136fd406ba35ae573e2cb0cfc88c6aad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix these CVE:
CVE-2020-10702
CVE-2020-10761
CVE-2020-13362
CVE-2020-13659
CVE-2020-13800
(From OE-Core rev: 98c4642c526259fc664723145a1d6026b491032d)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if the find command finds /home it stops checking the other
files. Tweak the find expression to fix this.
Also, from Alex Kiernan <alex.kiernan@gmail.com>, generate output for
each contaminated path so it's visible in the main log file.
When matches are found, dump the data from the group and passwd files
so useful debugging can be done based on the results.
(From OE-Core rev: 602162c0e33b429b8254de04af72a2aa5111867a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 504f1d158bf7c6ad08fbce755021db2b14565231)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testcase test_systemd_failed occasionally failed with below error:
Failed to start Rotate log files.
logrotate.service: Failed with result 'exit-code'.
logrotate.service: Main process exited, code=exited, status=1/FAILURE
error: stat of /var/log/logrotate_test failed: No such file or directory
error: logrotate_test:1 lines must begin with a keyword or a filename (possibly in double quotes)
above failure caused since testcase test_logrotate_wtmp
add /etc/logrotate.d/logrotate_test, which need /var/log/logrotate_test,
but there is no such file. so when logrotate.service is triggerd
by logrotate.timer after testcase test_logrotate_wtmp is runned,
the testcase test_systemd_failed will fail.
these 3 lines are useless, so remove them to fix above problem.
(From OE-Core rev: 198fe0d64e4bdeda84c0f3e44afcc1d99ca9dbbe)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22f5f7f86a4d47624c476be00e5121009c48cb7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We continue to see the warning message:
WARNING: lib/bb/daemonize.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper
name='build/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0-r0/testimage/qemurunner_log.20200703011821'
mode='a' encoding='UTF-8'>
I've been unable to reprodue this but believe its caused by garbage
collection of the FileHandler used in QemuTarget being delayed until
after a new tinfoil instance is created by a subseqent test.
Force the log file to be closed when we stop using it to avoid this.
[YOCTO #13961]
(From OE-Core rev: fa2cca514f4b03aeeedb14dbffd26bc98ed74d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e15cc7801ec611f867f5b31028741722ac718c87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This bug has plagued the autobuilder for a couple of years and we've
struggled to reproduce/debug it.
The problem is the "lib" directory in meta-poky used during the load_plugin
tests for recipetool and devtool can race and one can delete the files
from the other leading to test failures.
Deleting the lib directory only if empty will avoid this.
[YOCTO #13070]
(From OE-Core rev: a31c694be5267c004b691e6374cc800222f19940)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d603e2fd589e1edbc67c8c2fefb6337e728b9d01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test case in format <module name>.<class name>.<test case name>
this is clear when test cases is only 3 item deep.
but confused when it is 4 item deep, eg,
oelib.types.TestList.test_list_nosep
in this case, oelib and oelib.types can both be treated as module
since module name contains only lower cases and class name should
contain atleast one upper case.
so, always treat leading item without upper case as module also allow
module name to contain dot.
[YOCTO #13941]
(From OE-Core rev: 838646da741cda2059ee2bd64fd1e59980fbf945)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad81ea90a815389e45ff302a85151724c71f71c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix error:
+ /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
/var/tmp/rpm-tmp.mdYxY6: line 12: /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: No such file or directory
%post(adwaita-icon-theme-3.36.1-r0.0.noarch): waitpid(2961) rc 2961 status 7f00
warning: %post(adwaita-icon-theme-3.36.1-r0.0.noarch) scriptlet failed, exit status 127
when install adwaita-icon-theme on target, which inherit gtk-icon-cache
above error reported, fix by add runtime dependency to pkgs
we don't use explicit RDEPENDS, so fix do_rootfs breaking by adding it into DEPENDS.
Error:
Problem: conflicting requests
- nothing provides gdk-pixbuf needed by adwaita-icon-theme-3.36.1-r0.noarch
- nothing provides gtk+3 needed by adwaita-icon-theme-3.36.1-r0.noarch
(From OE-Core rev: e921edd27e71af00f07e3f1e973d2b0c6c777bf4)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
list-packageconfig-flags.py determines the whitespace numbers according
to the longest package name. This is reasonable for the tool as it's
trying to generate pretty output.
However, in this selftest case, the output is hardcoded. This results in
"pinentry gtk2 libcap ncurses qt secret" not recognized
as correct as the expected line is:
"pinentry gtk2 libcap ncurses qt secret".
The difference is only about whitespaces. So we should ignore the whitespaces
when comparing lines.
(From OE-Core rev: 80bdd59c8fa8b20a5a1fe7b5e3f1ddb95ad13af6)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 17c89ad1596dbc7cefdd2c01dcd95aa9e93c5dc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the missing rdepends to fix below error:
# python3
[snip]
>>> import libarchive
[snip]
ModuleNotFoundError: No module named 'ctypes'
ModuleNotFoundError: No module named 'mmap'
(From OE-Core rev: 347e6fafea8bd9c715d87882159fc2d4bbde0cc7)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3a2615878bc7515a7bdace525dc27be45f158e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
in container image, it don't have init system,
install package initscripts will report error:
systemctl: command not found
fix by use same way as systemd.bbclass to decide if systemctl
mask will run
(From OE-Core rev: 6622515c1fa7025543aea37c4b37831577485811)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 790276bde066ecc9876120c3097dcd57a9936f00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
in container image, it don't have init system,
install package modutils-initscripts will report error:
+ systemctl mask modutils.service
/var/tmp/rpm-tmp.DYK3Pm: line 8: systemctl: command not found
%post(modutils-initscripts-1.0-r7.3.cortexa72): waitpid(823) rc 823 status 7f00
warning: %post(modutils-initscripts-1.0-r7.3.cortexa72) scriptlet failed, exit status 127
fix by use same way as systemd.bbclass to decide if systemctl mask will run
(From OE-Core rev: 922a668e769d3f51b0e8ec4949ae1936e9c59bc5)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eec648f23df0a4e05130f8ef5a04902296567e38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to -rt28 which has the following commits:
6b9d790392dc Linux 5.4.47-rt28
1a22749d1a0c Linux 5.4.44-rt27
7dd4c4c793df mm/zswap: Use local lock to protect per-CPU data
80552b4a4cf3 printk: Force a line break on pr_cont(" ")
446f5195e149 mm: Don't warn about atomic memory allocations during suspend
ec1f996f6740 Revert "rt: Improve the serial console PASS_LIMIT"
119ca1ac9160 fs/dcache: Include swait.h header
4df88505f123 printk: console must not schedule for drivers
b60c8a8279f5 Linux 5.4.44-rt26
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4e9688ad3d36 Linux 5.4.49
99705220b22c net: core: device_rename: Use rwsem instead of a seqcount
e33765201db7 sched/rt, net: Use CONFIG_PREEMPTION.patch
a6030d71e62d pwm: jz4740: Enhance precision in calculation of duty cycle
d0da4be60288 net: octeon: mgmt: Repair filling of RX ring
96d98372b53a e1000e: Do not wake up the system via WOL if device wakeup is disabled
3d390370d78c kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
c19f0c3c9a8a kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
f4748ee4fa15 tracing/probe: Fix memleak in fetch_op_data operations
7bb62d0cd8ac crypto: algboss - don't wait during notifier callback
993e0d12f226 crypto: algif_skcipher - Cap recv SG list at ctx->used
972f961c5930 Revert "drm/amd/display: disable dcn20 abm feature for bring up"
021935185e2a drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
d814e4732cbe drm/amd/display: Use kvfree() to free coeff in build_regamma()
50df31ea31cc drm/connector: notify userspace on hotplug after register complete
35bd59b8b68c drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
962d0e0c091c drm/i915/gem: Avoid iterating an empty list
a09489576fe5 drm/msm: Check for powered down HW in the devfreq callbacks
536ffde7df46 drm/i915: Fix AUX power domain toggling across TypeC mode resets
190f6c2d6e38 s390: fix syscall_get_error for compat processes
2173a7ed6358 f2fs: avoid utf8_strncasecmp() with unstable name
de3feefa3bfd f2fs: split f2fs_d_compare() from f2fs_match_name()
9fec865dde6e net/mlx5: DR, Fix freeing in dr_create_rc_qp()
859a0a9afee3 block: nr_sects_write(): Disable preemption on seqcount write
120307746990 x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
bba1f4ac037c drm/amd/display: Use swap() where appropriate
8f16bebbb171 drm/dp_mst: Increase ACT retry timeout to 3s
ffa9206a62d3 ext4: avoid race conditions when remounting with options that change dax
0804b23d2ff1 jbd2: clean __jbd2_journal_abort_hard() and __journal_abort_soft()
ae3c09e346bd selinux: fix double free
5471b5287cc7 drm/amdgpu: Replace invalid device ID with a valid device ID
3031fb61096c drm/qxl: Use correct notify port address when creating cursor ring
1f3f21d53fa8 drm/dp_mst: Reformat drm_dp_check_act_status() a bit
8c315a220930 ext4: avoid utf8_strncasecmp() with unstable name
779286d9babf ext4: fix partial cluster initialization when splitting extent
bc615a290faf drm: encoder_slave: fix refcouting error for modules
ef4f3b65d5a9 libata: Use per port sync for detach
81344ae52c77 arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
64183b459624 mvpp2: remove module bugfix
b3dc33946a74 block: Fix use-after-free in blkdev_get()
cb5fe511b11e scsi: ufs-bsg: Fix runtime PM imbalance on error
7c7dd0507842 bnxt_en: Return from timer if interface is not in open state.
13e6e75e68f3 afs: Fix the mapping of the UAEOVERFLOW abort code
b7420726bc8a afs: Set error flag rather than return error from file status decode
66f38da13198 afs: Always include dir in bulk status fetch from afs_do_lookup()
4fd68a35f62d afs: Fix EOF corruption
c8c19fcdabdb afs: afs_write_end() should change i_size under the right lock
6a9fd8046fbd afs: Fix non-setting of mtime when writing into mmap
7b307d292ab2 powerpc: Fix kernel crash in show_instructions() w/DEBUG_VIRTUAL
f651e94899ed bcache: fix potential deadlock problem in btree_gc_coalesce
889b69a9982b ext4: stop overwrite the errcode in ext4_setup_super
aa7baef53057 perf stat: Fix NULL pointer dereference
676634f1a831 perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
335d720bb4bd usb/ehci-platform: Set PM runtime as active on resume
21a45a1427dd usb: host: ehci-platform: add a quirk to avoid stuck
57a1cd87efb9 usb/xhci-plat: Set PM runtime as active on resume
33a76c15c7c2 bpf: Fix memlock accounting for sock_hash
93b675736542 iavf: fix speed reporting over virtchnl
e7847db7aa6d xdp: Fix xsk_generic_xmit errno
57f71bb57f7c nfs: set invalid blocks after NFSv4 writes
d3caf0e49492 nvme-pci: use simple suspend when a HMB is enabled
9777d12a8b23 net/filter: Permit reading NET in load_bytes_relative when MAC not set
0eb4e1573ffd x86/idt: Keep spurious entries unset in system_vectors
04ce5f6f0d3c scsi: acornscsi: Fix an error handling path in acornscsi_probe()
f3f9ee422842 libbpf: Handle GCC noreturn-turned-volatile quirk
ab482b587207 drm/sun4i: hdmi ddc clk: Fix size of m divider
c7c658ef5159 tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobes
5bed77b0a2a0 bpf, sockhash: Synchronize delete from bucket list on map free
0f97842057c7 bpf/sockmap: Fix kernel panic at __tcp_bpf_recvmsg
ea8837b9435e ASoC: rt5645: Add platform-data for Asus T101HA
ebc448eb2de5 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
69367d9f1f0e ASoC: SOF: nocodec: conditionally set dpcm_capture/dpcm_playback flags
7b31ec2a011f ASoC: core: only convert non DPCM link to DPCM link
445a847a5507 afs: Fix memory leak in afs_put_sysnames()
3b50b29a2056 f2fs: don't return vmalloc() memory from f2fs_kmalloc()
37be9b71b748 selftests/net: in timestamping, strncpy needs to preserve null byte
a98132826820 drivers/perf: hisi: Fix wrong value for all counters enable
e1ee6238534e i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
ad67536d48ba NTB: ntb_test: Fix bug when counting remote files
abf918236a79 NTB: perf: Fix race condition when run with ntb_test
50a79b96b951 NTB: perf: Fix support for hardware that doesn't have port numbers
ec8490131670 NTB: perf: Don't require one more memory window than number of peers
2b97e354e586 NTB: Revert the change to use the NTB device dev for DMA allocations
e5cd9e1df0c9 NTB: ntb_tool: reading the link file should not end in a NULL byte
25abac5c9ff7 ntb_tool: pass correct struct device to dma_alloc_coherent
f167d8f7b341 ntb_perf: pass correct struct device to dma_alloc_coherent
08cc0ec9ba86 net: marvell: Fix OF_MDIO config check
fbaf0137df1e gfs2: fix use-after-free on transaction ail lists
e782a45789f8 blktrace: fix endianness for blk_log_remap()
545bafecc0f2 blktrace: fix endianness in get_pdu_int()
d578f98fa7b3 blktrace: use errno instead of bi_status
718d9a863eb3 selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
7fd599522823 include/linux/bitops.h: avoid clang shift-count-overflow warnings
b7ce2e4538f6 lib/zlib: remove outdated and incorrect pre-increment optimization
62378b65237e geneve: change from tx_error to tx_dropped on missing metadata
7791ab20b8eb crypto: omap-sham - add proper load balancing support for multicore
b73df5915d13 drm/amd/display: Revalidate bandwidth before commiting DC updates
ca0cac3373fa nfsd: safer handling of corrupted c_type
e585a8b54046 pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
d184d62ceb19 pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
bd410e6600b4 scsi: ufs: Don't update urgent bkops level when toggling auto bkops
88d678348430 scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
08904df10d3a gfs2: Allow lock_nolock mount to specify jid=X
9adcc852d552 nfsd4: make drc_slab global, not per-net
807460787179 ceph: don't return -ESTALE if there's still an open file
145565f722c9 drm/nouveau/disp/gm200-: fix NV_PDISP_SOR_HDMI2_CTRL(n) selection
43ba1b177a49 openrisc: Fix issue with argument clobbering for clone/fork
6de31dc168f0 rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
2e48a738dc15 mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()
2d9c7e0ff9f4 rtc: rv3028: Add missed check for devm_regmap_init_i2c()
f4fbb592d9d7 vfio/mdev: Fix reference count leak in add_mdev_supported_type
1957ac8d1b4f ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
c75f1641ef58 extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
5ed5f8db9582 powerpc/4xx: Don't unmap NULL mbase
838d3e75ba50 input: i8042 - Remove special PowerPC handling
cde05d643e51 of: Fix a refcounting bug in __of_attach_node_sysfs()
f9db526da547 NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
5e85d78ed4ff net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
ece3a3337c50 /dev/mem: Revoke mappings when a driver claims the region
3302d17ef6ea misc: xilinx-sdfec: improve get_user_pages_fast() error handling
24aa54a8b0ec clk: ast2600: Fix AHB clock divider for A1
c66e72f1721a clk: sprd: return correct type of value for _sprd_pll_recalc_rate
e5497842e253 KVM: PPC: Book3S: Fix some RCU-list locks
fd1a1089aed8 KVM: PPC: Book3S HV: Ignore kmemleak false positives
39983e188624 scsi: ufs-qcom: Fix scheduling while atomic issue
4d33659ac379 clk: bcm2835: Fix return type of bcm2835_register_gate
41324c48301d scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
87b3dca712b4 ASoC: fix incomplete error-handling in img_i2s_in_probe.
5578bf5ce0d8 powerpc/32s: Don't warn when mapping RO data ROX.
9669bf039ff6 mfd: stmfx: Disable IRQ in suspend to avoid spurious interrupt
d8d1b8b41783 mfd: stmfx: Fix stmfx_irq_init error path
cf90dd9fb161 mfd: stmfx: Reset chip on resume as supply was disabled
dc69fec9271a x86/apic: Make TSC deadline timer detection message visible
af92e4a595e0 RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
4c8a62c93984 scripts: headers_install: Exit with error on config leak
c707e18796c6 usb: gadget: Fix issue with config_ep_by_speed function
84e1326ffc61 usb: gadget: fix potential double-free in m66592_probe.
51ad579d64dd usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
4a8c5f25c6bc USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
0a560f102d80 usb: dwc2: gadget: move gadget resume after the core is in L0 state
f1b9e29983ae watchdog: da9062: No need to ping manually before setting timeout
4820050e8438 IB/cma: Fix ports memory leak in cma_configfs
6e934217c943 PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link
443ed62ef80d PCI: dwc: Fix inner MSI IRQ domain registration
0bd8e62464e0 PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
f04479f8d519 dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
96cd8d249a37 powerpc/64s/pgtable: fix an undefined behaviour
a7ba81f26d70 arm64: tegra: Fix flag for 64-bit resources in 'ranges' property
17232b92cf79 arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
d658c127fc41 fuse: copy_file_range should truncate cache
c9ddb8dd12e1 fuse: fix copy_file_range cache issues
ad7f78b7ce39 firmware: imx: scu: Fix possible memory leak in imx_scu_probe()
95ea51b2690e scsi: target: tcmu: Userspace must not complete queued commands
1503314a3354 RDMA/hns: Fix cmdq parameter of querying pf timer resource
d09de58d2b65 RDMA/hns: Bugfix for querying qkey
7d95cb8a4073 clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
fddd06f7490f fpga: dfl: afu: Corrected error handling levels
7454c171a88c tty: n_gsm: Fix bogus i++ in gsm_data_kick
4f01308480c5 USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
0e0332473790 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
f1069001bba7 drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
fbf719e5da12 usb/ohci-platform: Fix a warning when hibernating
8a67dae365e0 vfio-pci: Mask cap zero
f5e28a0824ec powerpc/ps3: Fix kexec shutdown hang
8f4372f4724d drivers: phy: sr-usb: do not use internal fsm for USB2 phy init
1a588c7edcd0 powerpc/pseries/ras: Fix FWNMI_VALID off by one
8240829fc38c powerpc/64s/exception: Fix machine check no-loss idle wakeup
b1bc8753eefc ipmi: use vzalloc instead of kmalloc for user creation
5c2207ba2394 habanalabs: increase timeout during reset
828b192c57e8 PCI/PM: Assume ports without DLL Link Active train links in 100 ms
c6737f3a1b01 HID: Add quirks for Trust Panora Graphic Tablet
7961800651fa ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback
860b8717f724 tty: n_gsm: Fix waking up upper tty layer when room available
3a497f97a3b6 tty: n_gsm: Fix SOF skipping
7fcc2ca6a3fb powerpc/64: Don't initialise init_task->thread.regs
c7fab8a5c3ba PCI: Fix pci_register_host_bridge() device_register() error handling
86e8dd9d249c clk: ti: composite: fix memory leak
4536dbe64bd1 USB: ohci-sm501: fix error return code in ohci_hcd_sm501_drv_probe()
c17e7243051a dlm: remove BUG() before panic()
d40e6a98aa55 pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
5248114b9bcf ASoC: ti: omap-mcbsp: Fix an error handling path in 'asoc_mcbsp_probe()'
5acfef99644c ASoC: ux500: mop500: Fix some refcounted resources issues
b0ccdd2fdd00 SoC: rsnd: add interrupt support for SSI BUSIF buffer
f34a3697a8d4 scsi: mpt3sas: Fix double free warnings
f20dfec03b82 scsi: target: loopback: Fix READ with data and sensebytes
a798daf42a35 arm64: dts: msm8996: Fix CSI IRQ types
6544b95bd789 ASoC: SOF: core: fix error return code in sof_probe_continue()
79790202d4f3 power: supply: smb347-charger: IRQSTAT_D is volatile
ad8b5b5faf9d power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
c1bcf01aea0e ALSA: firewire-lib: fix invalid assignment to union data for directional parameter
3201bb03c8fd scsi: qla2xxx: Fix warning after FC target reset
766c787e55ca PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
742f8ac8edd4 PCI: rcar: Fix incorrect programming of OB windows
efb5f7b106ea drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish
33cf7944af54 serial: amba-pl011: Make sure we initialize the port.lock spinlock
32a5bc992b6c i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
9eb54d0e8962 PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
4d30daf901aa staging: sm750fb: add missing case while setting FB_VISUAL
2428682e3f6c staging: wilc1000: Increase the size of wid_list array
b14b7359535d usb: dwc3: gadget: Properly handle failed kick_transfer
1bfa09147282 usb: dwc3: gadget: Properly handle ClearFeature(halt)
e320bb0e01db HID: intel-ish-hid: avoid bogus uninitialized-variable warning
cbec16266a35 soundwire: slave: don't init debugfs on device registration error
a45fc52449d7 ASoC: max98373: reorder max98373_reset() in resume
7377ba16b542 clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers
ea78361174c4 thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
3296e566b0d2 gpio: pca953x: fix handling of automatic address incrementing
dd47c98992d6 clk: meson: meson8b: Fix the vclk_div{1, 2, 4, 6, 12}_en gate bits
ecb9a8068ba5 clk: meson: meson8b: Fix the polarity of the RESET_N lines
1fa1d1ceb02f clk: meson: meson8b: Fix the first parent of vid_pll_in_sel
9a624802e628 slimbus: ngd: get drvdata from correct device
793e15fb6681 tty: hvc: Fix data abort due to race in hvc_open
eb3e85b3375d s390/qdio: put thinint indicator after early error
d7852661f9fd ALSA: usb-audio: Fix racy list management in output queue
aba41867dd66 ALSA: usb-audio: Improve frames size computation
3468bca1ea44 staging: gasket: Fix mapping refcnt leak when register/store fails
b3b4dcdc2bb4 staging: gasket: Fix mapping refcnt leak when put attribute fails
0c884f3236f3 firmware: qcom_scm: fix bogous abuse of dma-direct internals
0c48b6df64c0 arm64: dts: qcom: fix pm8150 gpio interrupts
2b5e027657d4 virtiofs: schedule blocking async replies in separate worker
ff86bd6cca2e pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
cd3f4ed1c567 scsi: qedf: Fix crash when MFW calls for protocol stats while function is still probing
a0a00156d50e gpio: dwapb: Append MODULE_ALIAS for platform driver
02416142fdf4 RDMA/mlx5: Fix udata response upon SRQ creation
7acbadd1aa29 ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
ef0c0fbf1d4a arm64: dts: qcom: msm8916: remove unit name for thermal trip points
f37623862ec5 scsi: qedi: Do not flush offload work if ARP not resolved
0e5d7bff3b06 arm64: dts: mt8173: fix unit name warnings
7bf3a213f79e staging: greybus: fix a missing-check bug in gb_lights_light_config()
c970dcc085b8 x86/purgatory: Disable various profiling and sanitizing options
a78c65cb4b67 apparmor: fix nnp subset test for unconfined
af1f72ad18bb scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
08d2ea2e236a scsi: sr: Fix sr_probe() missing deallocate of device minor
8f73ac0b6434 bpf, sockhash: Fix memory leak when unlinking sockets in sock_hash_free
efdb1bf81aab ASoC: meson: add missing free_irq() in error path
390f1688fb46 f2fs: handle readonly filesystem in f2fs_ioc_shutdown()
039a79ef0b1e apparmor: check/put label on apparmor_sk_clone_security()
2a9b3e4667f5 net: dsa: lantiq_gswip: fix and improve the unsupported interface error
88bc3e060390 apparmor: fix introspection of of task mode for unconfined tasks
d782d6a142d5 mksysmap: Fix the mismatch of '.L' symbols in System.map
d0af43b47418 NTB: Fix the default port and peer numbers for legacy drivers
f0b8eead5b1c NTB: ntb_pingpong: Choose doorbells based on port number
0ec407dfc1ec yam: fix possible memory leak in yam_init_driver
a4d4b8437731 sparc32: mm: Don't try to free page-table pages if ctor() fails
7f16ba366a66 pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
9b163c91620c powerpc/crashkernel: Take "mem=" option into account
211836827af3 ASoC: qcom: q6asm-dai: kCFI fix
117929a41db1 cifs: set up next DFS target before generic_ip_connect()
c0c8c8b10567 RDMA/core: Fix several reference count leaks.
3851967ff567 PCI: vmd: Filter resource type bits from shadow register
e8cac2e3067e nfsd: Fix svc_xprt refcnt leak when setup callback client failed
db686568ae52 powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 events run
ecb9c4d344c9 IB/mlx5: Fix DEVX support for MLX5_CMD_OP_INIT2INIT_QP command
a2fe8d88aeff clk: clk-flexgen: fix clock-critical handling
6a70c943a26f scsi: vhost: Notify TCM about the maximum sg entries supported per command
296cec70500b scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
82ac4863030c clk: zynqmp: fix memory leak in zynqmp_register_clocks
bee9cc351308 scsi: cxgb3i: Fix some leaks in init_act_open()
4deddbf7db45 mfd: wm8994: Fix driver operation if loaded as modules
8e52a1eef19b powerpc/ptdump: Add _PAGE_COHERENT flag
805bae7592fa usb: gadget: core: sync interrupt before unbind the udc
2ec338547c67 gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
02bdd581404d m68k/PCI: Fix a memory leak in an error handling path
ec475f960e92 PCI: pci-bridge-emul: Fix PCIe bit conflicts
ba5192db9672 scsi: hisi_sas: Do not reset phy timer to wait for stray phy up
2b670bbfd8c0 RDMA/mlx5: Add init2init as a modify command
cbd55ce91abf coresight: tmc: Fix TMC mode read in tmc_read_prepare_etb()
c74ead459747 vfio/pci: fix memory leaks in alloc_perm_bits()
24911d387b84 arm64: dts: fvp/juno: Fix node address fields
6d79ba8094fa ps3disk: use the default segment boundary
bc881cd5334c PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register
492c50fe65a9 arm64: dts: fvp: Fix GIC child nodes
376ef9d7ee4c ASoC: SOF: Do nothing when DSP PM callbacks are not set
1cdae7bb4221 clk: renesas: cpg-mssr: Fix STBCR suspend/resume handling
14c5e25d3b00 pinctrl: ocelot: Fix GPIO interrupt decoding on Jaguar2
4e55b843fa61 arm64: dts: juno: Fix GIC child nodes
7df82e1754df arm64: dts: armada-3720-turris-mox: fix SFP binding
4ca96a5de812 arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes
a86306dbefc3 dm mpath: switch paths in dm_blk_ioctl() code path
08f396eb02c8 misc: fastrpc: fix potential fastrpc_invoke_ctx leak
8d8991bb2bf0 misc: fastrpc: Fix an incomplete memory release in fastrpc_rpmsg_probe()
c2ff1fcc2530 serial: 8250: Fix max baud limit in generic 8250 port
9e6a9201b78b usblp: poison URBs upon disconnect
cc9024f69ba7 clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
2b5e61da68e8 remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use
8a44731af689 i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
ceb63ec0ef6e f2fs: report delalloc reserve as non-free in statfs for project quota
ca90f67ece5c iio: bmp280: fix compensation of humidity
30bd1f36b6eb rtc: mc13xxx: fix a double-unlock issue
91fce7922a75 powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT
a6a0317bf9c2 Input: edt-ft5x06 - fix get_default register write access
70a2296d4bab scsi: qla2xxx: Fix issue with adapter's stopping state
5800b7f7d231 PCI: Allow pci_resize_resource() for devices on root bus
956a2e737a2c ALSA: isa/wavefront: prevent out of bounds write in ioctl
23337efa940c ALSA: hda/realtek - Introduce polarity for micmute LED GPIO
66a177ae4ed0 arm64: dts: meson: fixup SCP sram nodes
7631dc491a3f scsi: qedi: Check for buffer overflow in qedi_set_path()
545b86efa0d0 scsi: core: free sgtables in case command setup fails
bde2d5d443c4 ARM: dts: stm32: Add missing ethernet PHY reset on AV96
38ede4d7736e ARM: integrator: Add some Kconfig selections
a1359b9fdd8d ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
8908c555e06e ARM: dts: renesas: Fix IOMMU device node names
2c40fc80331b backlight: lp855x: Ensure regulators are disabled on probe failure
53057bd4ac84 ASoC: fsl_esai: Disable exception interrupt before scheduling tasklet
b543c3595188 clk: qcom: msm8916: Fix the address location of pll->config_reg
7906a075c900 remoteproc: Fix IDR initialisation in rproc_alloc()
8bd207bb1a25 iio: pressure: bmp280: Tolerate IRQ before registering
2e714a547ef8 ASoC: SOF: imx8: Fix randbuild error
dc570a1fb48c i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
30e82a3edd94 ASoC: tegra: tegra_wm8903: Support nvidia, headset property
7b139b714a5d clk: sunxi: Fix incorrect usage of round_down()
8aa822a1305c power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
67cb016870e2 Linux 5.4.48
8e38ea68da06 perf symbols: Fix kernel maps for kcore and eBPF
807cc607f129 perf symbols: Fix debuginfo search for Ubuntu
842645de05d5 perf probe: Check address correctness by map instead of _etext
be781abe3ae8 perf probe: Fix to check blacklist address correctly
a2e097910334 perf probe: Do not show the skipped events
9660edf6729d f2fs: fix checkpoint=disable:%u%%
1866b1493e2e w1: omap-hdq: cleanup to add missing newline for some dev_dbg
2140d7d5d878 mtd: rawnand: tmio: Fix the probe error path
ec851b26a3e5 mtd: rawnand: mtk: Fix the probe error path
b5404756b54f mtd: rawnand: pasemi: Fix the probe error path
44a9bf52ef80 mtd: rawnand: plat_nand: Fix the probe error path
ab702f81e978 mtd: rawnand: sunxi: Fix the probe error path
2d77d5575e09 mtd: rawnand: oxnas: Fix the probe error path
2d6b0901b834 mtd: rawnand: socrates: Fix the probe error path
3a54e242870b mtd: rawnand: orion: Fix the probe error path
0b19623af5a6 mtd: rawnand: xway: Fix the probe error path
ae7cf595e15b mtd: rawnand: ingenic: Fix the probe error path
38abdd9bf77c mtd: rawnand: sharpsl: Fix the probe error path
8d695fbaa5cb mtd: rawnand: diskonchip: Fix the probe error path
1260c45ac55b mtd: rawnand: brcmnand: fix hamming oob layout
ba4ffbb5592d mtd: rawnand: onfi: Fix redundancy detection check
869a782420da mtd: rawnand: Fix nand_gpio_waitrdy()
e5084eadf193 sunrpc: clean up properly in gss_mech_unregister()
4a68a2e25e20 sunrpc: svcauth_gss_register_pseudoflavor must reject duplicate registrations.
e4f7a7260737 kbuild: force to build vmlinux if CONFIG_MODVERSION=y
1b0d830e0ce0 powerpc/64s: Save FSCR to init_task.thread.fscr after feature init
b3b357d83079 powerpc/64s: Don't let DT CPU features set FSCR_DSCR
1d9a4422c9ac powerpc/32: Disable KASAN with pages bigger than 16k
4719cb8a16af powerpc/kasan: Fix shadow pages allocation failure
002d22c4945a powerpc/kasan: Fix issues by lowering KASAN_SHADOW_END
23e07a77aa7c powerpc/32s: Fix another build failure with CONFIG_PPC_KUAP_DEBUG
c6077abc067f drivers/macintosh: Fix memleak in windfarm_pm112 driver
1d5144d7dc5d ARM: dts: s5pv210: Set keep-power-in-suspend for SDHCI1 on Aries
727111d44a59 ARM: dts: at91: sama5d2_ptc_ek: fix vbus pin
1bfcafbb4d1e ARM: dts: exynos: Fix GPIO polarity for thr GalaxyS3 CM36651 sensor's bus
8c7ca9ab5abc soc/tegra: pmc: Select GENERIC_PINCONF
be20b99a86b3 ARM: tegra: Correct PL310 Auxiliary Control Register initialization
b5d2f71b98b7 kernel/cpu_pm: Fix uninitted local in cpu_pm
6d9cc26aa164 powerpc/fadump: Account for memory_limit while reserving memory
6fd930da24e1 powerpc/fadump: consider reserved ranges while reserving memory
3e9211d98803 powerpc/fadump: use static allocation for reserved memory ranges
c81e34c4346f alpha: fix memory barriers so that they conform to the specification
5018a0bd0964 dm crypt: avoid truncating the logical block size
ee6fa4903f84 sparc64: fix misuses of access_process_vm() in genregs32_[sg]et()
0dcbc7d6cd2d sparc32: fix register window handling in genregs32_[gs]et()
f2f18147c7db gnss: sirf: fix error return code in sirf_probe()
e75e551606f4 pinctrl: samsung: Save/restore eint_mask over suspend for EINT_TYPE GPIOs
407933bbb385 pinctrl: samsung: Correct setting of eint wakeup mask on s5pv210
8b28e5c35d32 power: supply: core: fix memory leak in HWMON error path
6050811edffb power: supply: core: fix HWMON temperature labels
0fd525d817ea power: vexpress: add suppress_bind_attrs to true
7c71b9aa18a0 EDAC/amd64: Add AMD family 17h model 60h PCI IDs
67712fa4a662 hwmon: (k10temp) Add AMD family 17h model 60h PCI match
3046b09d45ec igb: Report speed and duplex as unknown when device is runtime suspended
e6f91166fc37 clk: mediatek: assign the initial value to clk_init_data of mtk_mux
adecd49745f8 media: ov5640: fix use of destroyed mutex
3ef00d99199d b43_legacy: Fix connection problem with WPA3
b74d369d2962 b43: Fix connection problem with WPA3
5c039a9921b3 b43legacy: Fix case where channel status is corrupted
eeb0cf8bb68e Bluetooth: hci_bcm: fix freeing not-requested IRQ
4c79dd14c15d serial: 8250: Avoid error message on reprobe
80462f7c296d media: cedrus: Program output format during each run
6e688a315acf media: go7007: fix a miss of snd_card_free
bda6ebf290fa carl9170: remove P2P_GO support
cedbd8709cc1 e1000e: Relax condition to trigger reset for ME workaround
0fedb80811f4 e1000e: Disable TSO for buffer overrun workaround
f4cc36066a31 PCI: Program MPS for RCiEP devices
e131e70e2144 ima: Set again build_ima_appraise variable
2600136eaee9 ima: Remove redundant policy rule set in add_rules()
70ce85319d45 x86/amd_nb: Add AMD family 17h model 60h PCI IDs
44eec92cc4bf serial: 8250_pci: Move Pericom IDs to pci_ids.h
3c8938fb19ed PCI: Add Loongson vendor ID
9cfece5c0e2b x86/amd_nb: Add Family 19h PCI IDs
b35415c0949a PCI: vmd: Add device id for VMD device 8086:9A0B
3179b408c401 PCI: Add ACS quirk for Intel Root Complex Integrated Endpoints
0e4528cdbaf0 PCI: Avoid FLR for AMD Starship USB 3.0
cb5ac1a32552 PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0
c41d7ca0061e PCI: Avoid Pericom USB controller OHCI/EHCI PME# defect
fd8abb78b129 ext4: fix race between ext4_sync_parent() and rename()
c316ebcf9f4b ext4: fix error pointer dereference
319b553695ec ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max
6de50456fe17 evm: Fix possible memory leak in evm_calc_hmac_or_hash()
ce7f038f859d ima: Remove __init annotation from ima_pcrread()
f387759c2d67 ima: Call ima_calc_boot_aggregate() in ima_eventdigest_init()
64712383a186 ima: Directly assign the ima_default_policy pointer to ima_rules
4ce29d9b1941 ima: Evaluate error in init_ima()
5f7272bd228c ima: Switch to ima_hash_algo for boot aggregate
0698eacdfc4f ima: Fix ima digest hash table key calculation
13ae9eaae0cc mm: call cond_resched() from deferred_init_memmap()
5386d93bc5b6 mm/pagealloc.c: call touch_nmi_watchdog() on max order boundaries in deferred init
c388f173ed8a mm: initialize deferred pages with interrupts enabled
a88d8aaf9b8b mm: thp: make the THP mapcount atomic against __split_huge_pmd_locked()
e418045e25a9 powerpc/mm: Fix conditions to perform MMU specific management by blocks on PPC32.
0ccfd7a531e8 btrfs: fix space_info bytes_may_use underflow during space cache writeout
248cdf728895 btrfs: fix space_info bytes_may_use underflow after nocow buffered write
8076bdd4fe00 btrfs: fix wrong file range cleanup after an error filling dealloc range
c2c69ecb605f btrfs: fix error handling when submitting direct I/O bio
05c5e98bf402 btrfs: force chunk allocation if our global rsv is larger than metadata
f63545770fc4 btrfs: send: emit file capabilities after chown
20f260ed536a btrfs: include non-missing as a qualifier for the latest_bdev
fd9720b8e957 btrfs: free alien device after device add
b008ae4cc74d string.h: fix incompatibility between FORTIFY_SOURCE and KASAN
d6c2b4d246c5 kasan: stop tests being eliminated as dead code with FORTIFY_SOURCE
c48a842d8ce7 selftests/bpf, flow_dissector: Close TAP device FD after the test
e7b1564a24e6 bpf: Fix running sk_skb program types with ktls
d9cd7b83942f bpf: Refactor sockmap redirect code so its easy to reuse
215a256bc8dd bpf: Fix map permissions check
0d55b7032ad1 libbpf: Fix perf_buffer__free() API for sparse allocs
98545815cfcf platform/x86: asus_wmi: Reserve more space for struct bias_args
4383a5dfbdc5 platform/x86: intel-vbtn: Only blacklist SW_TABLET_MODE on the 9 / "Laptop" chasis-type
5f3cba4bc241 platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015)
176396ad0594 platform/x86: hp-wmi: Convert simple_strtoul() to kstrtou32()
b77412359c1e cpuidle: Fix three reference count leaks
cf3359869819 spi: dw: Return any value retrieved from the dma_transfer callback
2c95fc879a2f mmc: sdhci-esdhc-imx: fix the mask for tuning start point
7fe3a1c29869 iwlwifi: mvm: fix aux station leak
ffa118a164e6 ixgbe: fix signed-integer-overflow warning
99ea968e3766 ice: fix potential double free in probe unrolling
62b2fbb9c463 mmc: via-sdmmc: Respect the cmd->busy_timeout from the mmc core
3d6143663f21 staging: greybus: sdio: Respect the cmd->busy_timeout from the mmc core
8a7c5b83f846 mmc: sdhci-msm: Set SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 quirk
62e7e4f5976c bcache: fix refcount underflow in bcache_device_free()
d55960f7f6b7 MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()
3f6482c0a486 PCI: Don't disable decoding when mmio_always_on is set
fa99a4b3fb12 macvlan: Skip loopback packets in RX handler
c6f1f12a8c3d btrfs: qgroup: mark qgroup inconsistent if we're inherting snapshot to a new qgroup
1e42a1857bcf btrfs: improve global reserve stealing logic
590aad883521 m68k: mac: Don't call via_flush_cache() on Mac IIfx
ce066ce05e1b MIPS: tools: Fix resource leak in elf-entry.c
87ef5086a3c2 x86/mm: Stop printing BRK addresses
41b44325c9eb selftests/bpf: CONFIG_IPV6_SEG6_BPF required for test_seg6_loop.o
5b8d09eeb4a6 drm/amdgpu: Sync with VM root BO when switching VM to CPU update mode
b06a7dc9e5f6 drm/amd/powerpay: Disable gfxoff when setting manual mode on picasso and raven
188e3e6ed902 crypto: stm32/crc32 - fix multi-instance
d879598b8dae crypto: stm32/crc32 - fix run-time self test issue.
8fe61a2027db crypto: stm32/crc32 - fix ext4 chksum BUG_ON()
c79c643fca61 mips: Add udelay lpj numbers adjustment
34a45e84edc5 mips: MAAR: Use more precise address mask
9fa3b0bd9914 sched: Defend cfs and rt bandwidth quota against overflow
fecf17b609a7 x86/boot: Correct relocation destination on old linkers
7b3423eff20e kgdboc: Use a platform device to handle tty drivers showing up late
39d7ce336ec5 mwifiex: Fix memory corruption in dump_station
65f1c3e4e906 rtlwifi: Fix a double free in _rtl_usb_tx_urb_setup()
916f41e40643 net/mlx5e: IPoIB, Drop multicast packets that this interface sent
fa408bbe1007 veth: Adjust hard_start offset on redirect XDP frames
894d9cd52466 iocost: don't let vrate run wild while there's no saturation signal
7f5d77570b0c raid5: remove gfp flags from scribble_alloc()
cd4013947eae md: don't flush workqueue unconditionally in md_open
5deaa24167a6 mt76: avoid rx reorder buffer overflow
095e7a6a326c drm/mcde: dsi: Fix return value check in mcde_dsi_bind()
727093f432d1 net: qed*: Reduce RX and TX default ring count when running inside kdump kernel
5099a9c22dbf wcn36xx: Fix error handling path in 'wcn36xx_probe()'
dbf2fab3f540 ath10k: Remove msdu from idr when management pkt send fails
671d8b8726a1 nvme-tcp: use bh_lock in data_ready
a09fc96a3d54 nvme-pci: align io queue count with allocted nvme_queue in nvme_probe
be7f2672c341 nvme: refine the Qemu Identify CNS quirk
66ea23154df0 iwlwifi: avoid debug max amsdu config overwriting itself
287a0f7a3393 platform/x86: intel-vbtn: Also handle tablet-mode switch on "Detachable" and "Portable" chassis-types
708e0175edf5 platform/x86: intel-vbtn: Do not advertise switches to userspace if they are not there
0ac5741007f1 platform/x86: intel-vbtn: Split keymap into buttons and switches parts
4a091f1d273f platform/x86: intel-vbtn: Use acpi_evaluate_integer()
b04c79255e8d xfs: fix duplicate verification from xfs_qm_dqflush()
f69806af2a2f xfs: reset buffer write failure state on successful completion
4f1a132115ef kgdb: Fix spurious true from in_dbg_master()
fe99bb25c452 mips: cm: Fix an invalid error code of INTVN_*_ERR
7bf491d01ea7 MIPS: Truncate link address into 32bit for 32bit kernel
ec19b7a525aa Crypto/chcr: fix for ccm(aes) failed test
984fc5f4e3b4 xfs: clean up the error handling in xfs_swap_extents
0eeea4b8f0a9 libertas_tf: avoid a null dereference in pointer priv
964de53149ab powerpc/spufs: fix copy_to_user while atomic
dc091fc86216 net: allwinner: Fix use correct return type for ndo_start_xmit()
8ca0e780b4e8 media: cec: silence shift wrapping warning in __cec_s_log_addrs()
4f6762503fa2 drivers: net: davinci_mdio: fix potential NULL dereference in davinci_mdio_probe()
b2083327ea3c selinux: fix error return code in policydb_read()
86dced2417b7 net: lpc-enet: fix error return code in lpc_mii_init()
7b88ccc137fb iocost_monitor: drop string wrap around numbers when outputting json
5934e2270901 drivers/perf: hisi: Fix typo in events attribute array
f7757368e0f0 sched/core: Fix illegal RCU from offline CPUs
2e256dd5b055 exit: Move preemption fixup up, move blocking operations down
338ff29604d9 lib/mpi: Fix 64-bit MIPS build with Clang
4fbc334749e7 net: bcmgenet: Fix WoL with password after deep sleep
d7b1ca9eebdf net: bcmgenet: set Rx mode before starting netif
1dbb13ceedac selftests/bpf: Fix memory leak in extract_build_id()
58ee4d253753 netfilter: nft_nat: return EOPNOTSUPP if type or flags are not supported
d1a00c9bb1c7 dpaa2-eth: fix return codes used in ndo_setup_tc
04ab099d1eb0 Drivers: hv: vmbus: Always handle the VMBus messages on CPU0
51d2957b21b5 audit: fix a net reference leak in audit_list_rules_send()
5b737a0ae101 Bluetooth: btbcm: Add 2 missing models to subver tables
c5edfe811b4a ath10k: add flush tx packets for SDIO chip
cc66b6bb3241 MIPS: Make sparse_init() using top-down allocation
c3bc42b70ed1 media: platform: fcp: Set appropriate DMA parameters
79d622a81322 media: dvb: return -EREMOTEIO on i2c transfer failure.
189ca174b87d audit: fix a net reference leak in audit_send_reply()
6315839f14b9 drm/mediatek: set dpi pin mode to gpio low to avoid leakage current
878ca9ebf1a0 dt-bindings: display: mediatek: control dpi pins mode to avoid leakage
4f8c52320202 e1000: Distribute switch variables for initialization
0bf9805dfdae tools api fs: Make xxx__mountpoint() more scalable
a17cc8a6abab regulator: qcom-rpmh: Fix typos in pm8150 and pm8150l
22a734616824 brcmfmac: fix wrong location to get firmware feature
90e5154c737c spi: Respect DataBitLength field of SpiSerialBusV2() ACPI resource
42c22e4834c2 media: staging/intel-ipu3: Implement lock for stream on/off operations
bfc0ee2b31f8 ath10k: fix kernel null pointer dereference
76ecfcfefe3b staging: android: ion: use vmap instead of vm_map_ram
3ec7b42f1747 x86: fix vmap arguments in map_irq_stack
ece6218eea3a net: vmxnet3: fix possible buffer overflow caused by bad DMA value in vmxnet3_get_rss()
af510d6fd690 x86/kvm/hyper-v: Explicitly align hcall param for kvm_hyperv_exit
bd18ecbbc7aa spi: dw: Fix Rx-only DMA transfers
999b59be5d20 Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()
2daf747c2831 mmc: meson-mx-sdio: trigger a soft reset after a timeout or CRC error
804664580662 ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
f9b545956421 ice: Fix memory leak
f503e7fe3099 batman-adv: Revert "disable ethtool link speed detection when auto negotiation off"
8cf93ef213f9 ARM: 8978/1: mm: make act_mm() respect THREAD_SIZE
2a005026102e btrfs: do not ignore error from btrfs_next_leaf() when inserting checksums
3bb51c966b9f btrfs: account for trans_block_rsv in may_commit_transaction
cb0ee3f03f0b media: dvbdev: Fix tuner->demod media controller link
bffe2c8e2303 clocksource: dw_apb_timer_of: Fix missing clockevent timers
7bd656984566 clocksource: dw_apb_timer: Make CPU-affiliation being optional
e8ec0ae0f3cf spi: dw: Enable interrupts in accordance with DMA xfer mode
a2683765887d mips: Fix cpu_has_mips64r1/2 activation for MIPS32 CPUs
b1d2d3dd016f ACPI/IORT: Fix PMCG node single ID mapping handling
c2ad0dc7b9e0 pmu/smmuv3: Clear IRQ affinity hint on device removal
308c2095da30 kgdb: Prevent infinite recursive entries to the debugger
1343e0a85941 kgdb: Disable WARN_CONSOLE_UNLOCKED for all kgdb
5c79bf440d35 Bluetooth: Add SCO fallback for invalid LMP parameters error
461b239e3a73 MIPS: Loongson: Build ATI Radeon GPU driver as module
544a3a292d8e platform/x86: dell-laptop: don't register micmute LED if there is no token
ece1e470af13 ixgbe: Fix XDP redirect on archs with PAGE_SIZE above 4K
6eec65c9e283 lockdown: Allow unprivileged users to see lockdown status
00f73938ef65 drm: rcar-du: Set primary plane zpos immutably at initializing
e7aefaba39d2 block: reset mapping if failed to update hardware queue count
b432540123f5 arm64: insn: Fix two bugs in encoding 32-bit logical immediates
201219691a9a block: alloc map and request for new hardware queue
fec6f8c0b221 ACPICA: Dispatcher: add status checks
c916af516d82 spi: dw: Zero DMA Tx and Rx configurations on stack
92fb6909b058 rtw88: fix an issue about leak system resources
bd7662d6036e media: staging: ipu3: Fix stale list entries on parameter queue failure
9a0c99419125 arm64: cacheflush: Fix KGDB trap detection
12d4dac2be77 ath10k: remove the max_sched_scan_reqs value
c573a13f72fb efi/libstub/x86: Work around LLVM ELF quirk build regression
fa15b59b1ea2 net: ena: fix error returning in ena_com_get_hash_function()
84c8498320d2 net: atlantic: make hw_get_regs optional
9f664eda61a0 sched/fair: Refill bandwidth before scaling
91517e951830 x86,smap: Fix smap_{save,restore}() alternatives
6fc5d5834b37 spi: pxa2xx: Apply CS clk quirk to BXT
269e7b43f2b4 libbpf: Fix memory leak and possible double-free in hashmap__clear
072d23eef600 arm64/kernel: Fix range on invalidating dcache for boot page tables
614722f1ffd2 drm/amdgpu: Init data to avoid oops while reading pp_num_states.
d2a244e74808 spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
07d45406db69 objtool: Ignore empty alternatives
1121685ca1bd media: si2157: Better check for running tuner in init
18b2a6f250cc media: vicodec: Fix error codes in probe function
f9f8f0c24203 crypto: ccp -- don't "select" CONFIG_DMADEVICES
68aeaeac683b media: imx: imx7-mipi-csis: Cleanup and fix subdev pad format handling
ff41c7b3c7db media: staging: imgu: do not hold spinlock during freeing mmu page table
22710f6c35a3 drm: bridge: adv7511: Extend list of audio sample rates
30c5d951a557 ath10k: Fix the race condition in firmware dump work queue
6fc5719b85ec drm/amdgpu: fix and cleanup amdgpu_gem_object_close v4
f3ec5b536fc1 ACPI: GED: use correct trigger type field in _Exx / _Lxx handling
(From OE-Core rev: e032aed2f2f158273cb622023075c5b0ad5d3eaa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ebb9d1d1f02ec4c567d56c18103df388e75e3ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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:
fd8cd8ac940c Linux 5.4.47
d96ef8fa9534 KVM: arm64: Save the host's PtrAuth keys in non-preemptible context
812857678847 KVM: arm64: Synchronize sysreg state on injecting an AArch32 exception
85831981aa0e xen/pvcalls-back: test for errors when calling backend_connect()
29ed45653bec block/floppy: fix contended case in floppy_queue_rq()
9ec34f441ed4 mmc: sdio: Fix several potential memory leaks in mmc_sdio_init_card()
55d805ab3691 mmc: sdio: Fix potential NULL pointer error in mmc_sdio_init_card()
d3c4c5a4d3d8 ARM: dts: at91: sama5d2_ptc_ek: fix sdmmc0 node description
5a05406e8c14 mmc: uniphier-sd: call devm_request_irq() after tmio_mmc_host_probe()
1ccf2d6c5b8c mmc: tmio: Further fixup runtime PM management at remove
e9614e0c525d mmc: mmci_sdmmc: fix DMA API warning overlapping mappings
f5b13ef230dc mmc: sdhci-msm: Clear tuning done flag while hs400 tuning
bfc12ff9050b agp/intel: Reinforce the barrier after GTT updates
e81b05e535e8 perf: Add cond_resched() to task_function_call()
e0544273b70c fat: don't allow to mount if the FAT length == 0
c49a17f1f1f7 mm/slub: fix a memory leak in sysfs_slab_add()
b21602a88ef1 drm/vkms: Hold gem object while still in-use
9c09a772acb4 Smack: slab-out-of-bounds in vsscanf
b5c8896bc14f ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
db899f242e1a ath9x: Fix stack-out-of-bounds Write in ath9k_hif_usb_rx_cb
3412e9437543 ath9k: Fix use-after-free Write in ath9k_htc_rx_msg
3eb802924486 ath9k: Fix use-after-free Read in ath9k_wmi_ctrl_rx
7f336346d001 ath9k: Fix use-after-free Read in htc_connect_service
fe0957254640 selftests/ftrace: Return unsupported if no error_log file
221b26e01d9d scsi: lpfc: Fix negation of else clause in lpfc_prep_node_fc4type
387d51f0c16f scsi: megaraid_sas: TM command refire leads to controller firmware crash
205b4c441b0e KVM: arm64: Make vcpu_cp1x() work on Big Endian hosts
f9551b73717a KVM: arm64: Stop writing aarch32's CSSELR into ACTLR
8c8238343f0f KVM: MIPS: Fix VPN2_MASK definition for variable cpu_vmbits
94f4af1b73de KVM: MIPS: Define KVM_ENTRYHI_ASID to cpu_asid_mask(&boot_cpu_data)
c6d2eb8e57b3 KVM: nVMX: Consult only the "basic" exit reason when routing nested exit
021cd99a305a KVM: nSVM: leave ASID aside in copy_vmcb_control_area
3c0bee0c0757 KVM: nSVM: fix condition for filtering async PF
64b8f33b2e1e KVM: nVMX: Skip IBPB when switching between vmcs01 and vmcs02
d181dc3667de video: fbdev: w100fb: Fix a potential double free.
dc8897b8d3b4 video: vt8500lcdfb: fix fallthrough warning
78e6964dce2a EDAC/skx: Use the mcmtr register to retrieve close_pg/bank_xor_enable
cd266f8a5b1c cpufreq: Fix up cpufreq_boost_set_sw()
943f3ae9b149 remoteproc: Fix and restore the parenting hierarchy for vdev
81fb06cb6bd4 remoteproc: Fall back to using parent memory pool if no dedicated available
12b24ba6ce56 proc: Use new_inode not new_inode_pseudo
98a3dea7e276 ovl: initialize error in ovl_copy_xattr
5650ce02d261 net/mlx5e: Fix repeated XSK usage on one channel
b05f2b60213c net/mlx5: Fix fatal error handling during device load
cd5d0278dcb1 net/mlx5: drain health workqueue in case of driver load error
57bad9e291e3 selftests/net: in rxtimestamp getopt_long needs terminating null entry
05e275d8742b dccp: Fix possible memleak in dccp_init and dccp_fini
5ab6f11621a5 crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req()
af03d5957152 crypto: virtio: Fix src/dst scatterlist calculation in __virtio_crypto_skcipher_do_req()
2ef260d686b5 crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req()
0070e73c9edc firmware: imx: scu: Fix corruption of header
a1fd068c8922 firmware: imx-scu: Support one TX and one RX
da24a76bdc81 firmware: imx: warn on unexpected RX
9a20d6c32756 x86/{mce,mm}: Unmap the entire page if the whole page is affected and poisoned
977b89e1aba0 crypto: drbg - fix error return code in drbg_alloc_state()
6ebdf342d4c7 crypto: algapi - Avoid spurious modprobe on LOADED
4a87772480aa crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated
1027dc04f557 gup: document and work around "COW can break either way" issue
6ed11984edb1 PM: runtime: clk: Fix clk_pm_runtime_get() error path
fc45cd292c5e spi: bcm-qspi: when tx/rx buffer is NULL set to 0
0cd18337704f spi: bcm-qspi: Handle clock probe deferral
3bb1e6eb7c5e spi: bcm2835aux: Fix controller unregister order
496a5e5fd0e6 spi: bcm2835: Fix controller unregister order
73d9bae0a584 spi: pxa2xx: Fix runtime PM ref imbalance on probe error
1aec7b22a93f spi: pxa2xx: Fix controller unregister order
824a4e3b9acf spi: Fix controller unregister order
7753886c6dd7 spi: dw: Fix controller unregister order
ffe5ebdf81a1 nilfs2: fix null pointer dereference at nilfs_segctor_do_construct()
d4904b38ea45 lib/lzo: fix ambiguous encoding bug in lzo-rle
07ffdf0d984b arm64: acpi: fix UBSAN warning
286822392013 ACPI: PM: Avoid using power resources if there are none for D0
75d6d0ad12f3 ACPI: GED: add support for _Exx / _Lxx handler methods
040b4dcc1269 ACPI: CPPC: Fix reference count leak in acpi_cppc_processor_probe()
e4cc99efbeb9 ACPI: sysfs: Fix reference count leak in acpi_sysfs_add_hotplug_profile()
10a8c04c0b51 ALSA: usb-audio: Add vendor, product and profile name for HP Thunderbolt Dock
969c9b50fdec ALSA: usb-audio: Fix inconsistent card PM state after resume
1f5ab51e2e2f ALSA: pcm: fix snd_pcm_link() lockdep splat
4f643b8c4773 ALSA: pcm: disallow linking stream to itself
1900bf5e7fd7 ALSA: hda/realtek - add a pintbl quirk for several Lenovo machines
13c18353c985 ALSA: fireface: fix configuration error for nominal sampling transfer frequency
110d04acda5e ALSA: es1688: Add the missed snd_card_free()
f7d57ba8d7b8 watchdog: imx_sc_wdt: Fix reboot on crash
3003daa76bdf smb3: add indatalen that can be a non-zero value to calculation of credit charge in smb2 ioctl
0470d6c3276d smb3: fix incorrect number of credits when ioctl MaxOutputResponse > 64K
e1437d181d30 efi/efivars: Add missing kobject_put() in sysfs entry creation error path
ab2df991e5e2 io_uring: use kvfree() in io_sqe_buffer_register()
d4a13e671138 ASoC: max9867: fix volume controls
ac0175f9dd4d powerpc/ptdump: Properly handle non standard page size
cb810f75e98a KVM: x86: Fix APIC page invalidation race
a2b0ce3c2206 KVM: x86: respect singlestep when emulating instruction
af718119061f KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
d872f174218d perf/x86/intel: Add more available bits for OFFCORE_RESPONSE of Intel Tremont
57a537b3994e x86/reboot/quirks: Add MacBook6,1 reboot quirk
e1545848ad55 x86/speculation: PR_SPEC_FORCE_DISABLE enforcement for indirect branches.
6d60d5462a91 x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS.
9d1dcba6dd48 x86/speculation: Prevent rogue cross-process SSBD shutdown
41551b56af93 x86/PCI: Mark Intel C620 MROMs as having non-compliant BARs
e8652fef5336 x86_64: Fix jiffies ODR violation
7ae53601458f sctp: fix refcount bug in sctp_wfree
067ef17a3f7d sctp: fix possibly using a bad saddr with a given dst
f1bb90b885cf iwlwifi: mvm: fix NVM check for 3168 devices
0315cfc6f816 ipv4: fix a RCU-list lock in fib_triestat_seq_show
7328f9a4ad58 aio: fix async fsync creds
f27ad513a474 fanotify: fix ignore mask logic for events on child and on dir
515e02bf19b3 selftests: fix flower parent qdisc
0b11ec4ae557 mm: add kvfree_sensitive() for freeing sensitive data objects
7c41d8c1bc6f perf probe: Accept the instance number of kretprobe event
a3e6ba31fc4d PCI/PM: Adjust pcie_wait_for_link_delay() for caller delay
ba95f95c27e8 KVM: x86: only do L1TF workaround on affected processors
79e378172ca3 x86/cpu/amd: Make erratum #1054 a legacy erratum
86c7d245e38d s390/pci: Log new handle in clp_disable_fh()
77db4e1d40aa padata: add separate cpuhp node for CPUHP_PADATA_DEAD
f23be4d1555d RDMA/uverbs: Make the event_queue fds return POLLERR when disassociated
3f14df580a3d smack: avoid unused 'sip' variable warning
3242fa02daf0 ath9k_htc: Silence undersized packet warnings
b06bbbc6afcd spi: dw: Fix native CS being unset
eb6315063043 powerpc/xive: Clear the page tables for the ESB IO mapping
282acc187c48 drivers/net/ibmvnic: Update VNIC protocol version reporting
f8713c2cb06e gfs2: Even more gfs2_find_jhead fixes
108681048cf7 csky: Fixup abiv2 syscall_trace break a4 & a5
16d902821bb7 Input: synaptics - add a second working PNP_ID for Lenovo T470s
53fed23f8c74 sched/fair: Don't NUMA balance for kthreads
1a28b2050334 ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook
bafaf4708a62 Input: mms114 - fix handling of mms345l
b4aa6da26135 elfnote: mark all .note sections SHF_ALLOC
f04d1e880f17 bpf: Support llvm-objcopy for vmlinux BTF
3a577e62208c vxlan: Avoid infinite loop when suppressing NS messages with invalid options
de9d1010b97c bridge: Avoid infinite loop when suppressing NS messages with invalid options
747d5bcb97eb tun: correct header offsets in napi frags mode
c8e374ee6095 net_failover: fixed rollback in net_failover_open()
5ab453bb7b29 mlxsw: core: Use different get_trend() callbacks for different thermal zones
f560ea659b33 ipv6: fix IPV6_ADDRFORM operation logic
(From OE-Core rev: a44069efe2f755f7d58704dcc173e58ddbe4479a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea6bc1389bae6e5c28d0ee49a41ad1e3ca632d3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
46d685b7b963 Linux 5.4.43-rt25
(From OE-Core rev: 87db4b3f738e1c554745e70b82b539e11abb3725)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 361b11594b3e04e7b279a88d5d3358dd75bb2a2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
3604bc07c035 Linux 5.4.45
40caf1bfd32c net: smsc911x: Fix runtime PM imbalance on error
252801505e04 selftests: mlxsw: qos_mc_aware: Specify arping timeout as an integer
aea1423a6334 net: ethernet: stmmac: Enable interface clocks on probe for IPQ806x
6992c8995c84 net/ethernet/freescale: rework quiesce/activate for ucc_geth
6a904892d84f null_blk: return error for invalid zone size
b5cb7fe92059 s390/mm: fix set_huge_pte_at() for empty ptes
c0063f3919ae drm/edid: Add Oculus Rift S to non-desktop list
c90e773c21fb net: bmac: Fix read of MAC address from ROM
92c09e88c188 x86/mmiotrace: Use cpumask_available() for cpumask_var_t variables
ba550153177a io_uring: initialize ctx->sqo_wait earlier
f1c582154e43 i2c: altera: Fix race between xfer_msg and isr thread
1857d7d77659 scsi: pm: Balance pm_only counter of request queue during system resume
1610cd913f5a evm: Fix RCU list related warnings
31ca6427f64d ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT
935ba01e80d4 ARC: Fix ICCM & DCCM runtime size checks
8a69220b659c RDMA/qedr: Fix synchronization methods and memory leaks in qedr
49e92679341d RDMA/qedr: Fix qpids xarray api used
0377fda07b5e s390/ftrace: save traced function caller
0734b58f84a9 ASoC: intel - fix the card names
6106585fc4c4 spi: dw: use "smp_mb()" to avoid sending spi data error
99c63ba21d2e powerpc/xmon: Restrict when kernel is locked down
f2adfe126bdb powerpc/powernv: Avoid re-registration of imc debugfs directory
a293045d38c1 scsi: hisi_sas: Check sas_port before using it
cfd5ac76ba30 drm/i915: fix port checks for MST support on gen >= 11
74028c9c22fd airo: Fix read overflows sending packets
63ad3fb06834 net: dsa: mt7530: set CPU port to fallback mode
d628f7a59e1c scsi: ufs: Release clock if DMA map fails
95ffc2a5cea7 media: staging: ipu3-imgu: Move alignment attribute to field
5b6e152341b0 media: Revert "staging: imgu: Address a compiler warning on alignment"
a122eef40fd2 mmc: fix compilation of user API
1c44e6e09dc8 kernel/relay.c: handle alloc_percpu returning NULL in relay_open
91e863ab82c8 mt76: mt76x02u: Add support for newer versions of the XBox One wifi adapter
8a6744ebdbb5 p54usb: add AirVasT USB stick device-id
ac09eae4b734 HID: i2c-hid: add Schneider SCL142ALM to descriptor override
3e8410cbef27 HID: multitouch: enable multi-input as a quirk for some devices
aa0dd0e2252b HID: sony: Fix for broken buttons on DS3 USB dongles
df4988aa1c96 mm: Fix mremap not considering huge pmd devmap
3209e3e812dd Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window"
55852b3fd146 Linux 5.4.44
f2a9b00a68c5 perf: Make perf able to build with latest libbfd
3f57fa847e27 netfilter: nf_conntrack_pptp: fix compilation warning with W=1 build
7a075390b732 netfilter: conntrack: Pass value of ctinfo to __nf_conntrack_update
987de40bff33 netfilter: conntrack: comparison of unsigned in cthelper confirmation
a4547f63e05f bonding: Fix reference count leak in bond_sysfs_slave_add.
b668b392cc2c net: dsa: declare lockless TX feature for slave ports
35c0a6e7ef55 ipv4: nexthop version of fib_info_nh_uses_dev
568c159356d1 nexthop: Expand nexthop_is_multipath in a few places
88e81db5509b nexthops: don't modify published nexthop groups
8398275f7aed nexthops: Move code from remove_nexthop_from_groups to remove_nh_grp_entry
2b043affcaea crypto: chelsio/chtls: properly set tp->lsndtime
a369e8378b48 qlcnic: fix missing release in qlcnic_83xx_interrupt_test.
1c38cfc259a7 xsk: Add overflow check for u64 division, stored into u32
73c05545fbb5 ieee80211: Fix incorrect mask for default PE duration
2e91cd11bafc bnxt_en: Fix accumulation of bp->net_stats_prev.
dda9d0eb7a96 esp6: get the right proto for transport mode in esp6_gso_encap
9f57771d09f4 netfilter: nf_conntrack_pptp: prevent buffer overflows in debug code
b16287f99d31 netfilter: nfnetlink_cthelper: unbreak userspace helper support
7140b6280230 netfilter: conntrack: make conntrack userspace helpers work again
17021d1b899d netfilter: ipset: Fix subcounter update skip
25f629a70680 netfilter: nft_reject_bridge: enable reject with bridge vlan
26e28c10e72c ip_vti: receive ipip packet by calling ip_tunnel_rcv
0de9bed087a2 xfrm: fix error in comment
f5dc87e0e389 xfrm: fix a NULL-ptr deref in xfrm_local_error
25613580a5bc xfrm: fix a warning in xfrm_policy_insert_list
d9710d69b89f xfrm interface: fix oops when deleting a x-netns interface
de4a187389fa xfrm: call xfrm_output_gso when inner_protocol is set in xfrm_output
edd79cf0cfdf xfrm: remove the xfrm_state_put call becofe going to out_reset
cd7031ef9683 xfrm: do pskb_pull properly in __xfrm_transport_prep
14a1c1dc5695 xfrm: allow to accept packets with ipv6 NEXTHDR_HOP in xfrm_input
47dc81ce7d84 copy_xstate_to_kernel(): don't leave parts of destination uninitialized
94690ca1ae4c x86/dma: Fix max PFN arithmetic overflow on 32 bit systems
e980f9cb2f2d mac80211: mesh: fix discovery timer re-arming issue / crash
2f0851690a0e x86/syscalls: Revert "x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long"
8c1bfa73353a cfg80211: fix debugfs rename crash
f9cd0c831806 parisc: Fix kernel panic in mem_init()
ca788fd797a7 iommu: Fix reference count leak in iommu_group_alloc.
b298c314b9d9 gpio: fix locking open drain IRQ lines
bba91cdba612 Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"
31f0b78bb478 include/asm-generic/topology.h: guard cpumask_of_node() macro argument
a02c130efbbc fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()
de482c445b0f mm: remove VM_BUG_ON(PageSlab()) from page_mapcount()
a7ba9f24737b mm,thp: stop leaking unreleased file pages
21358b3e77af IB/ipoib: Fix double free of skb in case of multicast traffic in CM mode
5a1bd1704272 drm/amd/display: drop cursor position check in atomic test
b5d326a77b73 RDMA/core: Fix double destruction of uobject
6b292d7806a1 ceph: flush release queue when handling caps for unknown inode
4d145e482374 libceph: ignore pool overlay and cache logic on redirects
d162b9e1b1a9 ALSA: hda/realtek - Add new codec supported for ALC287
c33bf209deae ALSA: usb-audio: Quirks for Gigabyte TRX40 Aorus Master onboard audio
8fc8674092b2 clk: qcom: gcc: Fix parent for gpll0_out_even
68fe063327af exec: Always set cap_ambient in cap_bprm_set_creds
4adcf889e66b ALSA: usb-audio: mixer: volume quirk for ESS Technology Asus USB DAC
8c71b0bd64df ALSA: hda/realtek - Add a model for Thinkpad T570 without DAC workaround
84b0a4f42584 ALSA: hwdep: fix a left shifting 1 by 31 UB bug
a003e1f653d6 RDMA/pvrdma: Fix missing pci disable in pvrdma_pci_probe()
b191e3ea6dfc gpio: bcm-kona: Fix return value of bcm_kona_gpio_probe()
d6d07089dee3 gpio: pxa: Fix return value of pxa_gpio_probe()
a971f71e91fb mmc: block: Fix use-after-free issue for rpmb
2de6df8df9bd ARM: dts: bcm: HR2: Fix PPI interrupt types
f8b161c3f3ac ARM: dts: bcm2835-rpi-zero-w: Fix led polarity
485bd944e0c6 ARM: dts/imx6q-bx50v3: Set display interface clock parents
a38a75c22b9f IB/qib: Call kobject_put() when kobject_init_and_add() fails
820be34d0137 gpu/drm: Ingenic: Fix opaque pointer casted to wrong type
707f5075021f soc: mediatek: cmdq: return send msg error code
56e7873ed267 arm64: dts: mt8173: fix vcodec-enc clock
750f47a6586b gpio: exar: Fix bad handling for ida_simple_get error path
5242e3850b1c ARM: uaccess: fix DACR mismatch with nested exceptions
d9c318f0eda3 ARM: uaccess: integrate uaccess_save and uaccess_restore
96e2df4c753b ARM: uaccess: consolidate uaccess asm to asm/uaccess-asm.h
f175897a960e ARM: 8970/1: decompressor: increase tag size
4aa75ce40b1d Input: synaptics-rmi4 - fix error return code in rmi_driver_probe()
176dbb9eeba0 Input: synaptics-rmi4 - really fix attn_data use-after-free
7016d241ca64 Input: i8042 - add ThinkPad S230u to i8042 reset list
a63a679e1ec7 Input: dlink-dir685-touchkeys - fix a typo in driver name
d9d50cbccc79 Input: xpad - add custom init packet for Xbox One S controllers
9abf0403a709 Input: evdev - call input_flush_device() on release(), not flush()
5a273fa56229 Input: usbtouchscreen - add support for BonXeon TP
b66de2d961a6 drivers: net: hamradio: Fix suspicious RCU usage warning in bpqether.c
dfe417b45634 samples: bpf: Fix build error
70bf0fd60f2f csky: Fixup raw_copy_from_user()
2fa8032fa78a cifs: Fix null pointer check in cifs_read
ce1ef281e786 hwmon: (nct7904) Fix incorrect range of temperature limit registers
68d72327999a csky: Fixup remove duplicate irq_disable
99bd434f8893 csky: Fixup perf callchain unwind
f3f23f4c6413 csky: Fixup msa highest 3 bits mask
e104bd855454 clk: ti: am33xx: fix RTC clock parent
6b8c281e9a48 riscv: stacktrace: Fix undefined reference to `walk_stackframe'
b84952e88336 IB/i40iw: Remove bogus call to netdev_master_upper_dev_get()
706fee65d95c net: freescale: select CONFIG_FIXED_PHY where needed
74037ef26835 usb: gadget: legacy: fix redundant initialization warnings
e8a03e73cd14 usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()'
e02fe520c11b usb: dwc3: pci: Enable extcon driver for Intel Merrifield
e1dfa986fda6 cachefiles: Fix race between read_waiter and read_copier involving op->to_do
336292c44f62 drm/amdgpu: Use GEM obj reference for KFD BOs
2dd33d3175ef drm/amd/powerplay: perform PG ungate prior to CG ungate
4552f27f9d64 drm/amdgpu: drop unnecessary cancel_delayed_work_sync on PG ungate
49388448eda0 gfs2: Grab glock reference sooner in gfs2_add_revoke
fd5516ea8239 gfs2: move privileged user check to gfs2_quota_lock_check
02a76cd6bda6 net: microchip: encx24j600: add missed kthread_stop
2578135aa8f0 ALSA: usb-audio: add mapping for ASRock TRX40 Creator
3e4e413c93f0 gpio: tegra: mask GPIO IRQs during IRQ shutdown
6ff411af068c ARM: dts: rockchip: fix pinctrl sub nodename for spi in rk322x.dtsi
881dc2e22fb9 ARM: dts: rockchip: swap clock-names of gpu nodes
96e88e683165 arm64: dts: rockchip: swap interrupts interrupt-names rk3399 gpu node
9dc2e51ea7c1 arm64: dts: rockchip: fix status for &gmac2phy in rk3328-evb.dts
dd35a809c158 ARM: dts: rockchip: fix phy nodename for rk3229-xms6
203a45eb258c ARM: dts: rockchip: fix phy nodename for rk3228-evb
c5b2233ad5f4 mlxsw: spectrum: Fix use-after-free of split/unsplit/type_set in case reload fails
9aeacb829cad net/mlx4_core: fix a memory leak bug.
fcb4d5869e98 net: sun: fix missing release regions in cas_init_one().
d12fc818b0d8 net/tls: free record only on encryption error
cff9e73a34a2 net/tls: fix encryption error checking
3f4f034a8676 net/mlx5: Annotate mutex destroy for root ns
f493398fe0f7 net/mlx5: Fix error flow in case of function_setup failure
9fe88c940828 net/mlx5e: Update netdev txq on completions during closure
02c97e838597 net/mlx5: Fix memory leak in mlx5_events_init
e23f88f7e730 net/mlx5e: Fix inner tirs handling
f9e2700f34ec net/mlx5e: kTLS, Destroy key object after destroying the TIS
8c9df6ced1f9 tipc: block BH before using dst_cache
5398c7ff2347 sctp: Start shutdown on association restart if in SHUTDOWN-SENT state and socket is closed
70989e501fbc sctp: Don't add the shutdown timer if its already been added
34036769c84b r8152: support additional Microsoft Surface Ethernet Adapter variant
983fa2e7740f nexthop: Fix attribute checking for groups
cf4cc95a15f5 net/tls: fix race condition causing kernel panic
587e13469cfd net sched: fix reporting the first-time use timestamp
f12398120522 net: revert "net: get rid of an signed integer overflow in ip_idents_reserve()"
83588bf1dd55 net: qrtr: Fix passing invalid reference to qrtr_local_enqueue()
7e0e066df34a net: nlmsg_cancel() if put fails for nhmsg
84e91312ad9a net: mvpp2: fix RX hashing for non-10G ports
212bcf1039a9 net/mlx5: Add command entry handling completion
a9595d1c60a7 net: ipip: fix wrong address family in init error path
4d827edb8f4e net: inet_csk: Fix so_reuseport bind-address cache in tb->fast*
b51eb49d9a5d __netif_receive_skb_core: pass skb by reference
53cf25df80c7 net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during suspend
557045f771e2 net: dsa: mt7530: fix roaming from DSA user ports
b853a13bb224 net: don't return invalid table id error when we fall back to PF_UNSPEC
40a904b1c2e5 dpaa_eth: fix usage as DSA master, try 3
d9ce4b67dd9f ax25: fix setsockopt(SO_BINDTODEVICE)
(From OE-Core rev: 7f9f4484e75678ee4dee8458f3caadde639bd962)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71ab00d335d1d7f5d0827651397b8109091108d0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes u-boot-qoriq breakage of:
commit 4fde8c8f47
Author: Ming Liu <ming.liu@toradex.com>
Date: Wed Jun 3 13:56:01 2020 +0200
u-boot: support merging .cfg files for UBOOT_CONFIG
U-boot recipe supports .cfg files in SRC_URI, but they would be merged
to .config during do_configure only when UBOOT_MACHINE is set, we
should also support merging .cfg files for UBOOT_CONFIG.
The intension of 4fde8c8 looks more than append delta-config snippets to
u-boot config and should probably be rewritten to express that much better
than implicitely assume all "*.cfg" are for merging into .config.
(From OE-Core rev: 8c2f4dc79f69df2174b8ab4f8b69a749aee16129)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4644f231a1463123d4100fcaf1448b3d174ef1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-boot recipe supports .cfg files in SRC_URI, but they would be merged
to .config during do_configure only when UBOOT_MACHINE is set, we
should also support merging .cfg files for UBOOT_CONFIG.
(From OE-Core rev: cd7ca887f79f67f2cf0499481a4032825c3077f2)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce3de00d41791fa5e9557c5e93a99fbe368311f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version update to fix autobuilder oe_selftest failures on Ubuntu 18.04 and 20.04
2020-06-29 20:57:58,686 - oe-selftest - INFO - runtime_test.TestImage.test_testimage_virgl_gtk_sdl (subunit.RemotedTestCase)
2020-06-29 20:57:58,687 - oe-selftest - INFO - ... FAIL
musl-ioctl.patch
removed since it is included in 2.4.101
(From OE-Core rev: 43b397c4a41ba17155fb1f57f3f0b015bb4c65b2)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 015e631cd18d982df03d4c829c0f8229a2face38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc10 build issue occurs in both u-boot and u-boot-tools
(From OE-Core rev: 2e128a775a3d51dc1856a35e2f5135d3c156d10e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should be using python3 here, it was missed in the conversion. Spotted on
autobuilder tests failing on systems with python missing.
(From OE-Core rev: 1373006c28541e8fd6ceb6d5ed905ff1536ef3f7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db07b09196022078346aadd565760240b7da6a71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If oe-selftest is run without -j, the separate build directory "build-st"
isn't cleaned up afterwards. Mirror the behaviour of the -j option to
handle this the same way, only preserve upon failure.
To do this, the remove function needs to be moved to the selftest
context module so that it can be accessed without requiring the
testtools and subunit modules the -j option requires.
A dummy wrapper class is used to wrap the tests and clean up afterwards.
[YOCTO #13953]
(From OE-Core rev: 20e7b1eeeb12f1cf4bd9934e0a5733c6bbe64372)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b376ade430d40d3cfe9c18f200c764d622710e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LAYERDEPENDS is a string of this format:
"DEPEND1 (optional version) DEPEND2 (optional version) ..."
However when we parse LAYERDEPENDS in _get_layer_collections() we
parse it as a simple string, and if any optional versions are there the
'depends' field is wrong. For example, running yocto-check-layer
might result in such errors:
ERROR: Layer meta-python depends on (>= and isn't found.
ERROR: Layer meta-python depends on 12) and isn't found.
Let's use bb.utils.explode_dep_versions2() to parse LAYERDEPENDS, and
create a string that contains all dependencies, effectively
skipping/ignoring any optional versions.
[YOCTO #13957]
(From OE-Core rev: 819f41906197bb712af37349c0865002bfbd7c9b)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f81f07afc200fe06c5c06ea81a4f8a3a43436faf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Starting from v5.8-rc1 commit 269a535ca931 (modpost: generate
vmlinux.symvers and reuse it for the second modpost"), kernel will
generate new vmlinux.symvers instead of dumping all the vmlinux symbols
into Module.symvers in the first pass.
Error log:
'run.do_shared_workdir.16614' failed with exit code 1:
DEBUG: cp: cannot stat 'Module.symvers': No such file or directory
This change will check the file Module.symvers existence before copying it.
(From OE-Core rev: e96d99824f085644162fe0599988a3408eab90f8)
Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd2d62a08a1dfcd890a03ee55132b6d6c65f5ab7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder generated checksum files only have a single space between the sum and the
filename, tweak it to account for this.
(From OE-Core rev: 877a082b5f3f5ccf8191a2438e7707b419174ea9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1e71bf5b399372166eb40bb0d99c8fb52231600)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues with openssl certs not working properly which meant error
reporting to an error report server was failing.
Also, all our downloads are now standarised on "sha256sum" so adjust for that.
(From OE-Core rev: bef009c91e8acfc7c1ba3cfd3183f000a02e002b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc8b44e19a05f499f5cef049eedbed1fede2e765)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for running wic images with EFI as testimage.
Introduces a variable called QEMU_USE_OVMF for configuration.
(From OE-Core rev: 458a860b45c0fb5bb3162b5a112b518c3339c1dd)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3af8aaff68ed332d812ea7dc184d392700ad7882)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Content of the optional parameter will be appended to the rootfs-device
in the qemu configuration, in case QB_ROOTFS_OPT is not specified.
By default this is empty.
Example use cases are:
Defining 'readonly' when using squashfs, so multiple instances of qemu
can share the same base image, something that cannot be done by just
specifying 'snapshot'.
Defining 'bootindex=0' which helps to get past the EFI shell in
ovmf-binary. This also enables the use case of running WIC images with
EFI bootloader through the testimage.bbclass.
(From OE-Core rev: 1a5cb1bd56be2b784208516a7c73c49906c7022f)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9b8c194636cb5505774a2a71bf54450580dd5b8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output content is created in current directory, because json content
has no defined absolute path to WORKDIR as in bitbake.
(From OE-Core rev: 394d90efdc8d06dc61114bf6279ba6d094667289)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 14203b2cb9aa62f55cb12230ac8012b3cd995be7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Occasionally we've been seeing leftover threads from runCmd. The stdin test
assumes we clean up all threads but the code assumes that the daemonic thread
can be left behind.
The issue can be reproduced by adding a time.sleep(10) to the end of
writeThread() which will mean it stays resident past the end of the command.
We may as well add it to the threads list and clean it up properly,
hopefully removing the race in the tests from the autobuilder.
[YOCTO #13055]
(From OE-Core rev: 9034ac93518b74dae5e05776c0bce085171cdd1f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b251dcaffe52d32c1faf41ab57ab414fbc29722)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a tumbleweed system, "install X Y" was showing the error:
pseudo: ENOSYS for 'fsetxattr'.
which was being caused by dlsym() for that function returning NULL. This
appears to be due to it finding an unresolved symbol in libacl for this
symbol in libattr. It hasn't been resolved so its NULL. dlerror() returns
nothing since this is a valid symbol entry, its just not the one we want.
We can add the glibc version string for the symbol we actually want so we get
that version rather than the libattr/libacl one. The calls in libattr are just
wrappers around the libc version so our attaching to the libc versions should
intercept any accesses via these too.
[YOCTO #13952]
(From OE-Core rev: 60ae9e6d31dcfc06961fedf7622a204162d3f464)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 82655cb26ad01de9587ef41eaef155c61c361f67)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix error during post uninstall:
%postun(shared-mime-info-data-2.0-r0.4.corei7_64): execv(/bin/sh) pid 78
+ '[' 0 = 0 ']'
+ set -e
+ '[' x '!=' x ']'
+ echo 'Updating MIME database... this may take a while.'
Updating MIME database... this may take a while.
+ update-mime-database /usr/share/mime
Directory '/usr/share/mime/packages' does not exist!
%postun(shared-mime-info-data-2.0-r0.4.corei7_64): waitpid(78) rc 78 status 100
warning: %postun(shared-mime-info-data-2.0-r0.4.corei7_64) scriptlet failed, exit status 1
when run post uninstall scriptlet, /usr/share/mime/packages has been
removed during unintall, while update-mime-database will check xml under
/usr/share/mime/packages.
workaround by create this dir before update, then remove it
(From OE-Core rev: 24f4f4551d220030c0f847c648a49a15bf1fe6eb)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6f262a316d6c32ff9ce96ab4bd95726772b5f20f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This unit was changed from 'BindsTo' in the following commit.
"""
commit f0f359ec9210759f6b4dbfb35d3fba8af208c43a
Author: Jason Wessel <jason.wessel@windriver.com>
Date: Thu Aug 29 07:00:31 2019 -0700
serial-getty@.service: Allow device to fast fail if it does not exist
"""
It was changed back to 'BindTo' in the following commit.
"""
commit 63bbff61b78c651339c4b18d8376187379ec3b3c
Author: Otavio Salvador <otavio.salvador@gmail.com>
Date: Fri Jun 12 14:30:44 2020 -0300
systemd: Sync systemd-serialgetty@.service with upstream
"""
This is now causing runtime problem for qemuarm64. The default.target
is not reached until a timeout. Output is like below.
"""
root@qemuarm64:~# systemd-analyze
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
root@qemuarm64:~# systemctl list-jobs
JOB UNIT TYPE STATE
102 getty.target start waiting
1 multi-user.target start waiting
95 systemd-update-utmp-runlevel.service start waiting
110 serial-getty@hvc0.service start waiting
111 dev-hvc0.device start running
"""
We can see that we are waiting for /dev/hvc0, while in fact there's no /dev/hvc0.
Jason's commit actually solves such problem.
So restore to use Jason's method. Do not use 'BindsTo'.
(From OE-Core rev: b1d0eacc431517695c348ad14f4452be607c0b62)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43b989c1231d3d867303ccebceda72364a9519ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release:
ver 0.32:
Fix issue with handling D-Bus watch removal.
(From OE-Core rev: cee916d41aa067fd6f994bf5331962b73f74343c)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98d97384167a8d297650e49f9cabf4fae823b4a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It defaults to ${PN}-initial-env, no functional changes with current
implementation, but this allows it to be changed in individual u-boot
recipes.
If UBOOT_INITIAL_ENV is empty, then no initial env would be compiled/
installed/deployed, set ALLOW_EMPTY_${PN}-env = "1".
The major purpose for introducing this, is that the users might have
some scripts on targets like:
```
/sbin/fw_setenv -f /etc/u-boot-initial-env
```
and it should be able to run against a identical path generated by
different u-boot recipes.
(From OE-Core rev: e4d5c99abab58aa813fe2da7c576ae69b9413304)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb7e8b6b88855f3f523b2176ea2c85a330bfe00b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder can end up using build/../ syntax which is an issue
if the build directory is cleaned. Avoid this by using normpath()
on the file path passed in.
(Bitbake rev: 1d3892d93ee9688d69f5bb5ea6aef8b1152bd1e3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 41988fec47eb196ab7195a75330a6d98de19101b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In rare cases the pickled data from a task contains "</event>" which
causes backtrace. This can be reproduced with something like:
do_unpack_prepend () {
bb.warn("</event>")
}
There are several solutions but the easiest is to catch this exception
and look for the next marker instead as this should be the only way such
an unpickle error could occur.
This fixes rare exceptions seen on the autobuilder.
Also add in other potential exceptions listed in the pickle manual
page so that better debug is obtained should there be an error in
this code path in future. exitcode doesn't need the same handling
since we control what is in that data field and it could never contain
</exitcode>
(Bitbake rev: 6d780fe3a111adbf3f3d2dda22d5a0787b195b62)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ada512d6f9cbbdf1172ff7818117c38b12225ca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code that handled exceptions from the hash equivalence client was
raising an exception itself because hashserv.client wasn't imported
(Bitbake rev: a7fc2ae3fd40b7de36f7f9b3da64a610a698b4ed)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a76290dfc6f34ff9f6efdb13a6db74b6b4759daf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hash equivalence client and server can occasionally send messages
that are too large for the server to fit in the receive buffer (64 KB).
To prevent this, support is added to the protocol to "chunkify" the
stream and break it up into manageable pieces that the server can each
side can back together.
Ideally, this would be negotiated by the client and server, but it's
currently hard coded to 32 KB to prevent the round-trip delay.
(Bitbake rev: 1a7bddb5471a02a744e7a441a3b4a6da693348b0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e27a28c1e40e886ee68ba4b99b537ffc9c3577d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libvdpau support was added to meta-oe by commit bf1de4db2 ("libvdpau:
Add recipe") in 2016. Therefore add a packageconfig for the
corresponding gstreamer plugin.
Based on a patch by Richard Leitner <richard.leitner@skidata.com>
(From OE-Core rev: 1a98936830ba468d63e2e49d766add9e9cb75998)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 878a8561e10017bb91ea42bbbe6d4acfc0985482)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When explicitly passing a branch using --srcbranch in 'devtool add' or
'recipetool create', the branch name is not included in the params of
bb.fetch2.encodeurl and default 'master' branch is used instead.
(From OE-Core rev: 50789b582908f78d9bb2b5a05418433ad8074825)
Signed-off-by: Tuomas Salokanto <tuomas.salokanto@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0424df825f1e509faf6cd44403c0736bb91b57c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The `-trimpath` option is important for reproducible builds so full
build paths and module paths are not embedded.
(From OE-Core rev: 03799cf6141abf75e7cfad5ec9822eb303b68e2f)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e3df027b3697b6a92b417bba8d442a5bd15525fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dep utility must not use 'go mod' support, so we explicitly disable it.
(From OE-Core rev: e953be6c159bfed4ac69f30fa2562d217d25c254)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b34000ae3dd6e0a1d7fc332efb35c5da84cf2275)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Glide utility must not use 'go mod' support, so we explicitly disable
it.
(From OE-Core rev: 229ee71cbc9db1dd24f14dabea7d9236b3819421)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5a4369ba606677285b0a89a78c040b38f57767f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using Go Modules, the the current working directory MUST be at or
below the location of the 'go.mod' file when the go tool is used, and
there is no way to tell it to look elsewhere. It will automatically
look upwards for the file, but not downwards.
To support this use case, we provide the `GO_WORKDIR` variable, which
defaults to `GO_IMPORT` but allows for easy override.
[YOCTO #13883]
(From OE-Core rev: a0716c04ed4f062b3112e3d41abc7ea1fad3b7e7)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11c2b06ac98cc5064640705712bffa156519f450)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_configure and do_preconfigure can modify source files, which causes
race conditions if these tasks run in parallel with do_ar_patched. Add
explicit task dependencies to ensure that do_ar_patched finishes before
these tasks start. Specifically, this fixes a race condition with
gcc-source where do_ar_patched races with do_preconfigure deleting
gcc/gengtype-lex.c
(From OE-Core rev: fdd06278dc67e8c13468b89746c562d298a2d63b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a7c7794870815030239e90b03e37ed302b7e885)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to allow consistent output of buildhistory-collect-srcrevs sort
the list of directories returned by os.walk. Otherwise the list of
SRCREVs is returned in an unspecified order.
We save the output of this command on build, so it creates smaller diffs
between builds.
(From OE-Core rev: 9ca9c0fa320caeb2a1e7a60161c4db66dc0f2030)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d7cb207ad4ec3cd5a3064147d3c9b5a1730d0fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were seeing a ton of empty perl modules being created such as
"perl-module-x86-64-linux-encoding" where the name would include
${TARGET_ARCH}-linux. These files were already being filtered in an
earlier do_split_packages() expression so exclude them from the latter
one to remove the pointless empty modules in PACKAGES.
This doesn't explain why some were not deterministic but will recude
the do_package execution time and clean up the build directories
at the very least.
(From OE-Core rev: 5aaf9d3a748cbad17a4a3e5d9715ac2f289b007d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f1a959d9831f43dda656e3b0c4d059db3363877)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libpam does not support 'obscure' checks to password,
there are the same checks in pam_cracklib module.
And this fix can remove the below error message while
updating password with 'passwd':
pam_unix(passwd:chauthtok):unrecognized option[obscure]
(From OE-Core rev: 76a63a5e1d572703c7e5e1360e24c05b87186e8b)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea761dbac90be77797308666fe1586b05e3df824)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove all instances of the hardcoded 'x86_64' and replace with the current
host platform.
(From OE-Core rev: cd2c54d8ab545f39f23c5167ba5ca50f732f7cfa)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52dc6f671ff67a1149be7ef4c65126ea3c907a3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several failure paths were displaying an error message but not returning,
so the install process continued and failed further.
(From OE-Core rev: deed12d01fa656ee0cf81a6b7b9ed74278e48c50)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b00e28735b64a781707441ec6187dd7f9240d97a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite relocatable_native_pcfiles() so that it can handle that any of
the checked pkgconfig directories are empty without causing an
exception.
(From OE-Core rev: ceffd920c7bdae29cd1a606f1c20d1b2d3666f5b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f9c5df6dc1c13e9b05ff1b47ad84ad339f6779a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This changeset fixes a feature regression in ubiformat. Older versions
of ubiformat, when invoked with a flash-image, would return 0 in the
case no error was encountered. Upon upgrading to latest, it was
discovered that ubiformat returned 255 even without encountering an
error condition.
This changeset corrects the above issue and causes ubiformat, when given an
image file, to return 0 when no errors are detected.
Backport fix from 2.1.2
(From OE-Core rev: 3ee98b6c9ddd1dd0825245ca672236b7befb9859)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ebacd9cbaec98fbc406e8ae99c9805a24fdadc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd upstream has been doing some improvements in the service
which were not in sync, with the forked file. Mainly:
- Use BindsTo to bind the service with the required serial device
- Add of getty-pre.target as dependency so we can run things before
getty@.service and serial-getty@.service
- Add conflicts to rescue to avoid issues with sulogin
We did not change the ExecStart and Environment fields so we don't have
side effects of this change.
(From OE-Core rev: e6e2cabc33ab30d38e31ef830f7bc5e3cd07b6d5)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63bbff61b78c651339c4b18d8376187379ec3b3c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder has been experiencing SSL: CERTIFICATE_VERIFY_FAILED
errors during error report uploads when using buildtools due to looking
for certs in /opt/poky
(From OE-Core rev: f47fe24317d2fd19112c7e38858b21b3457835d9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 197f1d5d14b8e57295f5a81c03c86abba5328614)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are multiple appends, ensure we concatenate compatible things:
Traceback (most recent call last):
File "/home/akiernan/poky/scripts/recipetool", line 111, in <module>
ret = main()
File "/home/akiernan/poky/scripts/recipetool", line 100, in main
ret = args.func(args)
File "/home/akiernan/poky/scripts/lib/recipetool/edit.py", line 38, in edit
return scriptutils.run_editor([recipe_path] + appends, logger)
TypeError: can only concatenate list (not "tuple") to list
(From OE-Core rev: 9a45c7fb2d4491d2d34500acef8ea6dcd4f5d9d4)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c1e74bdf4922519d168434afd69c9bebcb9bd82)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These workarounds are removed because a previous patch
solve the host path reference for gawk and perl, and it skips
the do_package_qa issue by setting the INSANE_SKIP. But it
introduces regression for do_rootfs. The dependencies are
calculated and will require packages like python, perl, gawk
and csh. The error is like below.
Error:
Problem: conflicting requests
- nothing provides /bin/csh needed by vim-tools-8.2-r0.corei7_64
- nothing provides /usr/bin/nawk needed by vim-tools-8.2-r0.corei7_64
- nothing provides /usr/bin/python needed by vim-tools-8.2-r0.corei7_64
So we keep the previous patch which solve the host path reference
problem and restore the long-used 'chmod -x' workaround here.
(From OE-Core rev: 68b2dc03e55b4977b8647e8d36c40c851414c13b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf3e799e32b4de300887b844b0b7bce3d60ca379)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Postinst script from xorg-font-common.inc doesn't apply to this recipe.
So clear the postinst script of encodings.
(From OE-Core rev: ba94c908b99713ce115e9240df525c6442a60c7a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 99ae6dbb7278dfd264453af852c108fa56a0d4e3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove service templates wpa_supplicant-nl80211@.service and
wpa_supplicant-wired@.service from SYSTEMD_SERVICE that they should NOT
be started/stopped by calling 'systemctl' in postinst and prerm scripts.
(From OE-Core rev: 7910a0d6f332253608767a9576a0d521dd87efd7)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe9b8e50461ab00ab3ad8b065ebd32f0eea2a255)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove service template mdmon@.service from SYSTEMD_SERVICE which should
be not started by systemctl directly. It is hanlded by udev rules.
Replace tab with spaces in SRC_URI as well.
(From OE-Core rev: f54c3c049eacce423d9c75c823f8ab15ba185167)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a55b2b29bb86d98700836de5b7d68965c7cd5ee5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the tests are run we see messages like:
/opt/ltp/testcases/bin/run_cpuctl_stress_test.sh: line 242: nice: command not found
/opt/ltp/testcases/bin/run_cpuctl_test_fj.sh: line 66: tac: command not found
vma05 1 TCONF: 'gdb' not found
memcg_failcnt 1 TCONF: 'bc' not found
Owner=nobody; perms=-rw-------; sudo: lsattr: command not found
so add missing dependencies to avoid these.
(From OE-Core rev: c84c3caff4ef16c72390a7b941b71919417c9f51)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit faa01e1ae7a92d60699cd8865d1106a13549b096)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When do populate_sdk with SDK_ARCHIVE_TYPE = "zip", have below warning
in log file, this patch fixes it.
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/etc.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/home.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv-conf.systemd
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/mtab
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/var/lock
zip warning: name not matched: sysroots/core2-64-poky-linux/usr/lib/environment.d/99-environment.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/klogd
zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/syslogd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chfn
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chsh
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/passwd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chpasswd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vipw
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vigr
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/nologin
(From OE-Core rev: 72b7c3c7a35d814510aa1a52d2707a1ffddf8e8e)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f7df08aca81ac269490876fe84c7fc5b1d5739c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
01.org seems unmaintained; while the tarball is still there, the
page to download it from is gone.
(From OE-Core rev: ca815f2d6f354bd025f25abe2b28a57f7a3363d7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bcd6475928dba0a46d196d905cfd449ba7a3ada5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tarball download website is full of broken links;
while direct tarball download still works, exploring
around and checking for latest versions does not.
(From OE-Core rev: d350a0ca191040b5573ed9cd67c08c41ad2f3dc9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1c11259464ba2d972e1e1ad5c540050ccc80c15)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Advance to version 20200430 to avoid multiple definition errors for uninitialized variables.
In this case, it is not enough to add -fcommon to CFLAGS.
(From OE-Core rev: 71391aab99033f5488d44c097a25323bdf06ffc2)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7e1df28fb0534587d4f9305eb163f497852df4ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop disabling outline-atomics since that was added to fix this issue in
particular
(From OE-Core rev: a3cb468746635f5c052074c3e4de485465fd8da8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 702a1ae29c6a0f920bd67b7a7a41b886ac52a751)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the __getauxval undefined reference error seen with gcc10 on
doing static linking with -nodefaultlibs, which is uncommon usecase
anyway, disabling outline-atomics is not a huge deal for OE in terms of
performance as we already use -mcpu which is tuned enough to the SOC the
code is being generated for
(From OE-Core rev: 48c53bc81963621e8e9fbb89277d1a3d10f153d5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3952738d083b888e5b898ed3d63a0ed9a4dd3712)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are few fixes specifically for compiling with gcc10 that are good
to have, before hitting them later
Backport build fix from master for aarch64 with gcc10
Drop CVE-2020-10029 patch its already applied on latest 2.31 branch
latest glibc 2.31 added fix for __getauxval/aarch64 issue
(From OE-Core rev: 04e5d5f5a4318c826768146f5cd5de03fd152550)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 2.34.0.
(From OE-Core rev: a4f975a0bca892a7c0f0d496b76ffb30e469914a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9562c93799a37cd18aceb6f24378ba02a69865f0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 20.0.
(From OE-Core rev: eb47eaa3f06e49f635bd774808ddb4f28fa3d718)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d269a3f3a84cae92e611e02082150cfd97f8258)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 4.4.12.
(From OE-Core rev: 06a841e22853e571e07998079529839c96a23b21)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 281d53ebab4c4c1b6c880ab14761d715196fb8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was fixed in upstream version 5.5.0.
(From OE-Core rev: 433d3856151e095afb640a567241bebaf2e84b87)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a9f67b7c50a8c28a75fc48c8abcb8a7bb35f0e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc 10 introduced "-fno-common" as default. Therefore backport the
according cpio patch to fix this issue.
(From OE-Core rev: 21e5677cf239ff50142a31b034ce3316b1daa4bb)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ca6e5511b59b585de793ff6424c7c6ccfcd8e61e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc 10 introduced "-fno-common" as default. Therefore backport the
according binutils patch to fix this issue.
(From OE-Core rev: c41fe48f323a78fd0e205471362ecc6c66f87f45)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fbeb572e1872cf64786d01d5c6408a6765f814ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In this update the 0001-Make-__comps_objmrtree_all-static-inline.patch
was mainlined by commit 18f52cb.
Furthermore mainline commit 3237f44 fixes a build problem with the
default "-fno-common" of gcc 10.
(From OE-Core rev: 55e2f218de2725d65b2cf231b6e835eb94f8eceb)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 90b942d01decbcff3b883ee6fb4bba67fb446817)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also makes appending "-fcommon" to CFLAGS obsolete and enables
native builds with a host gcc v10.
(From OE-Core rev: b71ea7245a3d42ba96fb5a389f85049250bbc29e)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7717b35265e6ef8ef71a4eca4074294dfcc2110c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit daed7eedba ("Avoid multiple-definiton with gcc -fno-common") of
libtirpc fixed the -fno-common issues. Therefore it should be save to
remove the extra "-fcommon" in CFLAGS.
(From OE-Core rev: 4745fcf05736c3e26601769c4fdcd1a5ec25efb3)
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9e4546701775fe98532f011f5ad146cfb1b33715)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-xdr_float-do-not-include-bits-endian.h.patch
removed since it is included in 1.2.6
(From OE-Core rev: 1497ec4e8e0a2244154486feea8292b0b37d5249)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c940792e1492923036cae97010f9945e7ad43a32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is unavailable, breaking tests. Switch to a YP mirror since
if we can't reach that there are bigger problems. This should remove
a source of intermittent failures on the autobuilder.
(Bitbake rev: 83296870bede70e31bdf6e73683bcc30681023fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vim will abort in many places with this setting. Replace
it with the benign _FORTIFY_SOURCE=1.
(From OE-Core rev: d9de155f6452f916edd3131addd0c2eebaf4d639)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 18129cbaeddb3278efe9963718556e3765f06c1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
staging_populate_sysroot_dir() collects postinsts from the sysroot
and executes them. These postinsts, in turn, may call binaries that
are only available from the sysroot. This works fine with recipe-specific
sysroots, as all necessary paths are already in PATH, but breaks down
in this recipe which imitates the old global sysroot way but doesn't adjust
the PATH to include the binary paths from global sysroot.
To reproduce the failure:
$ bitbake docbook-xml-dtd4-native
$ bitbake -c build_native_sysroot build-sysroots
...
Exception: subprocess.CalledProcessError: Command '/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog' returned non-zero exit status 127.
Subprocess output:
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 5: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 8: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found
(From OE-Core rev: 17fad96d3d9a8cfbc6724466475f6f161e967b74)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b5f7bda4204d45cd29670cefcd53dc5da031095)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: added more entries to WHENCE, all redistributable
(From OE-Core rev: 1f17a1ef719d069bca04f29f7e92be44547f4262)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8d47014e453533b98e37c653177e9541e1deeda)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On target, when running `db_verify /var/lib/rpm/Packages', we get
the following error.
db_verify: BDB0571 library build did not include support for database verification
This is because db_verify is installed but 'verify' PACKAGECONFIG is
not enabled. So fix it by not installing do_verify in such case.
(From OE-Core rev: b45f1a3b8007ab34dcbe0cba365823da179d0c50)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5ffdb296f211403f987b5d5a724a94ee91dc80c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemu will not build for -Og optimization because macros
in lockable.h expect dead-code elimination. Override DEBUG_BUILD.
(From OE-Core rev: dce2315ea2e0f14854fa43994eede04848cd624c)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad404b2e51223625bd95f9a7da4c7a690c37bdfb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that builddir is updated correctly to point to the new
selftest build directory when we're given a list of test suites instead
of a list of test cases.
(From OE-Core rev: 6812affe76ee2704a8008d58ffc6a2e87b543f1d)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56e211d0f3c6cb84f5982e5de00faeeed69c1912)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This may be useful if the parent directory of the original builddir is
not writable, on a lower performance drive, etc.
(From OE-Core rev: 27cec9c111bca84554d94eeb71fb3d3fe9a77481)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dab719e5f1964fd48e9a35e6b9db1508b5414540)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't assume that rpm packaging will always be enabled when running
oe-selftest. In particular when using nodistro instead of poky this is
not enabled by default.
(From OE-Core rev: b69ec712c690aa279996d5a9395dc16ae8402a3e)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23df3024664ec56dbbe8865ef3953d2c33a7a2cb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
patchelf can corrupt shared libraries if the program headers don't
immediately follow the elf header. Add a patch submitted upstream
to address this.
(From OE-Core rev: faaf5f34332290708f3720a5488b3d1549d9e95a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e7811c787bbe2f5d49b3506309499acc27189988)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the generated cve.log files, include the epoch in the product
version. This better matches how versions are displayed elsewhere,
in particular the bb.warn("Found unpatched CVE...") that appears
on the terminal when CVEs are found.
(From OE-Core rev: 99f6de1c74b581054c74c6b4598a5d47facc9964)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1c3c0b6e5b01304e2127f5058986697e82adf93)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing:
WARNING: bitbake/lib/bb/cookerdata.py:136: ResourceWarning: unclosed file <_io.FileIO
name='tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemurunner_log.20200601181912'
mode='ab' closefd=True
which can only be caused by the qemu.stop() method not being called.
Tweak the error handling to fix the blanket exception handler which
is likely meaning this function isn't getting called.
(From OE-Core rev: bd2d32903f208b6a70abaa29b980db1498b84a02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee707090848d793e3b2d82dd3861ae22222682c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 0e1f8fa0 (bitbake.conf: propagate 'opengl' DISTRO_FEATURE to
native/nativesdk from target) changed the default PACKAGECONFIG for
native and nativesdk so that it becomes empty unless "x11" is in
DISTRO_FEATURES since "trace" was also removed (propbably
unintentionally). This highlighted than an empty PACKAGECONFIG would
lead to a build failure since /usr/bin is never created under these
conditions, but the recipe still tried to remove it.
(From OE-Core rev: 5e33d1d1d655c50a817acda85f2df67c67196daf)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bb2268677ac8f0c97433bf1f04555abe88028a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comment applies to an old version and the WORKDIR setting matches
the default so drop it.
(From OE-Core rev: 3f8f1385428a2057610dca71e9f122c922df5202)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7cc4c0e7665111616c7e8a1dc512b8d9022ca664)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update Ross' address to a valid one.
(From OE-Core rev: 5a16ed258e9da39c66874b3ee1e5b52a8ea2dae9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22e1605ce45482c49d06a7c56a46b71f76955e31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22af6a2595 removed the PACKAGES
setting, but left the FILES-assignments of libsysfs-dev and -staticdev.
As these have no use anymore they can be safely removed
(From OE-Core rev: 7c3eb092392e3ae76408c8ad4cb0f3f18dc42a96)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 941cc0cd0a69e95ca571a9a8cb0732bb06fa2b3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tool can be turned on in busybox which lead into a error during
do_rootfs.
(From OE-Core rev: 29ada652108335b4074ed330586f893bba1c5dce)
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb22e7a1190a79fd74ae54f23a13ec4932f41b0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test runs for 900s, we often see tests killed after 300s without
output which makes the test results unreliable and inconsistent. The
easiest solution for now is to skip this long running test, patching
it out wth sed.
(From OE-Core rev: 074adb507928310af5b38f82ba3f20d9f55f4433)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0739a8901140c05d037517ffd89382f151ba627c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [882ae0dcce core-image-minimal-initramfs: use
initramfs-framework for initialization] applied, it should
keep the restriction with initramfs-module-install
(From OE-Core rev: 176da1d6fbd006c770c3c02c6355a692adac3c74)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 295dbabce213855432b6274026e3b45a18b90e80)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 9730f95686b2ac72cf1fa513c555f7c7787e2667
Django 2.2 was enabled.
Django 1.11 was EOL on April 1, 2020
(Bitbake rev: 6cc09fa33131f71a3fd0e336ff07a4186b41bf8f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee15e78c6f9b59c221b1e43973ee4db20c5b443b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the '_remove' example in bitbake-user-manual-metadata.xml, there is
no 'jkl' in the original value of FOO2. So remove it from result.
(Bitbake rev: 324aaa7f8d6d83e1e00b8054dac44df561588be8)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 06b5cf0ab6c6e518ac780d081fab5546334c5c7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clarify that BitBake knows how to map entries defined in the runtime
dependency namespace back to build-time dependencies (recipes) in
which tasks are defined.
(Bitbake rev: e4695176ffdc5eb959f71a08f77ff6a8e028ffa9)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit caf422435ad64aacbdab8a94da3115599dd0938b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tag a couple fields as replaceable to be consistent with rest of
manual.
(Bitbake rev: 25c5c79bbe814eaff03c72cc2680414a73cff7f4)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 647c13d4ae746a1bb9bd76ff318477dadb4d292f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given that generation of recipe-depends.dot was removed:
commit 4c484cc01e3eee7ab2ab0359fd680b4dbd31dc30
Author: Chen Qi <Qi.Chen@windriver.com>
Date: Thu Aug 22 15:52:51 2019 +0800
cooker.py: remove generation of recipe-depends.dot
The information of recipe-depends.dot is misleading.
delete mention of it from the user manual.
(Bitbake rev: be367887b0a729ef01fc04f2b91368612ed92ed3)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2effbb6e10b07dc12e4ecdf449ca29fc20968c59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commits 910ffaf5be ("pyelftools: Import from meta-python") and
a96f815c53 ("pycryptodome: Import from meta-python") moved recipes from
meta-python to oe-core. In order for this to be communicated with users,
bump the LAYERVERSION so that meta-python can key of it in its
LAYERDEPENDS.
(From OE-Core rev: 4d4e69bc056bec4625b1cde0e1fc9d5e527c6a98)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d503b27e7c88cee9a37c79c4605c77b11f230b6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also splits apart the SRC_URI checksums to make automatic upgrades
easier
(From OE-Core rev: 03b27d56272a4815ead04da08cfaa738b450ae59)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae1f210546396b761ea86d9e32bf90c0867ff845)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Imports the pyelftools recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").
This recipe is commonly used by other layers, so moving it into
OE-core helps to cut down on layer dependencies.
(From OE-Core rev: 0a8cdaa90f4dd2d09b0b471dafd868a4dcad4ed3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 910ffaf5beed42936588c95b0c7c1b1ad67f99d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Imports the pycryptodome recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").
These recipes are commonly used by other layers, so moving them into
OE-core helps to cut down on layer dependencies.
(From OE-Core rev: 27798f3da506fcae19b74deb17ef199131cff405)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a96f815c53364b119b5743b8b7100eb5588d5cf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e0d81ce76004 Linux 5.4.43
b5100186021a sched/fair: Fix enqueue_task_fair() warning some more
8b13f5657fa8 sched/fair: Fix reordering of enqueue/dequeue_task_fair()
a2ad232aa6a9 sched/fair: Reorder enqueue/dequeue_task_fair path
f4520daa3c5a tpm: check event log version before reading final events
68b7b8183c12 rxrpc: Fix ack discard
283eb0016f97 rxrpc: Trace discarded ACKs
f2da8c0dfe81 iio: adc: stm32-dfsdm: fix device used to request dma
7b5af65ca246 iio: adc: stm32-dfsdm: Use dma_request_chan() instead dma_request_slave_channel()
692001a867b6 iio: adc: stm32-adc: fix device used to request dma
8e8836b2b782 iio: adc: stm32-adc: Use dma_request_chan() instead dma_request_slave_channel()
1084eee4dc5d x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive tasks
860fe59783a9 flow_dissector: Drop BPF flow dissector prog ref on netns cleanup
bd6f0c799f4d s390/kexec_file: fix initrd location for kdump kernel
834d24ec3a0a rxrpc: Fix a memory leak in rxkad_verify_response()
23ae6e3e8aeb rxrpc: Fix the excessive initial retransmission timeout
c2a26769b43e kasan: disable branch tracing for core runtime
86217fecc4b7 rapidio: fix an error in get_user_pages_fast() error handling
689dacb2b09d device-dax: don't leak kernel memory to user space after unloading kmem
9e451933bba9 s390/kaslr: add support for R_390_JMP_SLOT relocation type
72f3241508ac s390/pci: Fix s390_mmio_read/write with MIO
9c84884cd5dc ipack: tpci200: fix error return code in tpci200_register()
46f47dda27bc mei: release me_cl object reference
f505a3e24c6a tty: serial: add missing spin_lock_init for SiFive serial console
a5b4b3f97de7 misc: rtsx: Add short delay after exit from ASPM
e64b205035fb iio: adc: ti-ads8344: Fix channel selection
9af65dc54b9b iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
d54e5a4ff04c iio: sca3000: Remove an erroneous 'get_device()'
56cff2ac7c9d staging: greybus: Fix uninitialized scalar variable
a41e02cb4232 staging: kpc2000: fix error return code in kp2000_pcie_probe()
dee81110a488 staging: iio: ad2s1210: Fix SPI reading
76296dc723ef media: fdp1: Fix R-Car M3-N naming in debug message
4adb7a2b3161 Revert "gfs2: Don't demote a glock until its revokes are written"
bb6524537dc2 kbuild: Remove debug info from kallsyms linking
ee71c590dd8d bpf: Avoid setting bpf insns pages read-only when prog is jited
4c732e81bd4d powerpc/64s: Disable STRICT_KERNEL_RWX
b67da9dbdb89 powerpc: Remove STRICT_KERNEL_RWX incompatibility with RELOCATABLE
9bcfbd8ba2b5 drm/i915: Propagate error from completed fences
5e171483e947 drm/i915/gvt: Init DPLL/DDI vreg for virtual display instead of inheritance.
0e1d5f67253e vsprintf: don't obfuscate NULL and error pointers
4b1b34621998 dmaengine: owl: Use correct lock in owl_dma_get_pchan()
0fcbe108b01a dmaengine: dmatest: Restore default for channel
57c32a52c3fe drm/etnaviv: Fix a leak in submit_pin_objects()
432b103596bd dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
870a45e0b507 apparmor: Fix aa_label refcnt leak in policy_update
054934aa9faa apparmor: fix potential label refcnt leak in aa_change_profile
97d817b9ef13 apparmor: Fix use-after-free in aa_audit_rule_init
3b1e38dfbc9f drm/etnaviv: fix perfmon domain interation
53683907ef68 arm64: Fix PTRACE_SYSEMU semantics
96e56055a2f0 scsi: target: Put lun_ref at end of tmr processing
818657105a0b scsi: qla2xxx: Do not log message when reading port speed via sysfs
d54c5eff8795 ALSA: hda/realtek - Add more fixup entries for Clevo machines
80f5822c2bf3 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Xtreme
1b17a0f98ad0 ALSA: pcm: fix incorrect hw_base increase
a44cb2581718 ALSA: iec1712: Initialize STDSP24 properly when using the model=staudio option
99e392a4979b KVM: x86: Fix pkru save/restore when guest CR4.PKE=0, move it to x86.c
1c3d707d7d12 ALSA: hda/realtek: Enable headset mic of ASUS UX581LV with ALC295
26a3a3053332 ALSA: hda/realtek - Enable headset mic of ASUS UX550GE with ALC295
c5742497dcd2 ALSA: hda/realtek - Enable headset mic of ASUS GL503VM with ALC295
2523e9010d2b ALSA: hda/realtek: Add quirk for Samsung Notebook
6cc4dd44e207 ALSA: hda/realtek - Add HP new mute led supported for ALC236
0d189b31c4d7 ALSA: hda/realtek - Add supported new mute Led for HP
69d5dc286d05 ALSA: hda: Manage concurrent reg access more properly
1efaaf74528c ALSA: hda: patch_realtek: fix empty macro usage in if block
749e58bd2b09 ALSA: hda - constify and cleanup static NodeID tables
02ebbd1da394 scripts/gdb: repair rb_first() and rb_last()
9eff404a4382 ARM: futex: Address build warning
67a5c3104d12 KVM: selftests: Fix build for evmcs.h
4f48af814798 drm/amd/display: Prevent dpcd reads with passive dongles
e0bb3075f91b iommu/amd: Call domain_flush_complete() in update_domain()
e1efb9893bdd platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
c8d323578e36 USB: core: Fix misleading driver bug report
42b32a43529e stmmac: fix pointer check after utilization in stmmac_interrupt
b68d27c5fffd ceph: fix double unlock in handle_cap_export()
df0df8ee2ac7 HID: quirks: Add HID_QUIRK_NO_INIT_REPORTS quirk for Dell K12A keyboard-dock
8a5de4a391e4 gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
7932168ec08e x86/apic: Move TSC deadline timer debug printk
1ae9f1a62a50 ftrace/selftest: make unresolved cases cause failure if --fail-unresolved set
2eac9d3dc23f ibmvnic: Skip fatal error reset after passive init
f82a3013226e x86/mm/cpa: Flush direct map alias during cpa
632db044ab99 HID: i2c-hid: reset Synaptics SYNA2393 on resume
acd3efa17d96 scsi: ibmvscsi: Fix WARN_ON during event pool release
6ef21295dc20 net/ena: Fix build warning in ena_xdp_set()
d0db69f9d132 component: Silence bind error on -EPROBE_DEFER
7a5f60dc3a67 aquantia: Fix the media type of AQC100 ethernet controller in the driver
445437b417b6 vhost/vsock: fix packet delivery order to monitoring devices
dcec6678c3b1 configfs: fix config_item refcnt leak in configfs_rmdir()
2b52a61adb38 scsi: qla2xxx: Delete all sessions before unregister local nvme port
d2430cb7f2d4 scsi: qla2xxx: Fix hang when issuing nvme disconnect-all in NPIV
7b481b802a8f HID: alps: ALPS_1657 is too specific; use U1_UNICORN_LEGACY instead
a08626f6e982 HID: alps: Add AUI1657 device ID
68988c00b153 HID: multitouch: add eGalaxTouch P80H84 support
cc6428803d22 gcc-common.h: Update for GCC 10
3c140d22e3c2 net: drop_monitor: use IS_REACHABLE() to guard net_dm_hw_report()
87863a7426b2 kbuild: avoid concurrency issue in parallel building dtbs and dtbs_check
44fd02a3d719 mtd: Fix mtd not registered due to nvmem name collision
496c7c61bd64 afs: Don't unlock fetched data pages until the op completes successfully
17c9595cca71 ubi: Fix seq_file usage in detailed_erase_block_info debugfs file
274cd3c7b5d3 i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
dd540f2d7c2d evm: Fix a small race in init_desc()
f96ab0d1f3ec iommu/amd: Fix over-read of ACPI UID from IVRS table
33769c19feba i2c: fix missing pm_runtime_put_sync in i2c_device_probe
9f885f17501d ubifs: remove broken lazytime support
ac6f94d3be65 fix multiplication overflow in copy_fdtable()
725b0bb0f94d mtd: spinand: Propagate ECC information to the MTD structure
e3637eb6a351 ACPI: EC: PM: Avoid flushing EC work when EC GPE is inactive
3be8ece11440 ubifs: fix wrong use of crypto_shash_descsize()
48bbd44f5fa9 ima: Fix return value of ima_write_policy()
1066327bf936 evm: Check also if *tfm is an error pointer in init_desc()
4aedc534b608 ima: Set file->f_mode instead of file->f_flags in ima_calc_file_hash()
ac46cea606d5 KVM: SVM: Fix potential memory leak in svm_cpu_init()
1bed86cfe5cb i2c: dev: Fix the race between the release of i2c_dev and cdev
(From OE-Core rev: ef5af31f406076107402694f5d6afb27b240eba6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9cd117dec502f40402ebd3a09ed3e8dba804ce2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the meta SRCREV to pickup the following fix:
commit 9e68afb48b16a447dcd3996ffa350f3e79e44257 (HEAD -> master)
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Thu May 28 11:22:22 2020 -0400
features: add reproducibility fragement
Creating an initial feature fragment that can be included when a
reproducible kernel build is desired. This is currently only one
option, but will have more in the future.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: 864cc7b3c349c94e34e3129053c2b22c8946c73d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eaa34c96b60e703c96495e60650adc6d149603f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had a commit that enabled IKHEADERS, since bpf requires them on
target.
This is still causing incremental reproducibility errors during the
module compilation phase of the build.
We are temporarily turning this off, so we can integrate -stable
and other related changes. A replacement feature "reproducibility"
is also being added to this can be conditionally enabled while
we debug.
(From OE-Core rev: 85c481d13814b889a3d86044dcaac7d4eb685ade)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5706788603b38ad4a0987e187a1c11c06f4d4e6c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto-rt/5.4:
3d70f110c590 Linux 5.4.40-rt24
6445e48533d9 Linux 5.4.39-rt23
0a6ba32d4177 Linux 5.4.37-rt22
35c686fb7671 Linux 5.4.34-rt21
e54886570abd Linux 5.4.33-rt20
307ba149ec47 v5.4.28-rt19
8d488719e24a mm/compaction: Disable compact_unevictable_allowed on RT (Update)
d1d2315e077c v5.4.28-rt18
78028bc22d31 v5.4.26-rt17
815bfc775961 swait: Remove the warning with more than two waiters
b23b7f974955 powerpc: Fix lazy preemption for powerpc 32bit
a79a552889de mm/page_alloc: Use migrate_disable() in drain_local_pages_wq()
5e488daa19cb mm: Revert the DEFINE_PER_CPU_PAGEVEC implementation
(From OE-Core rev: 9e088d38fbae9a646ed5e608acbb3d3ce172303d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0123efae31dab8bce15e11fcee0b139a61b67cd6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
1cdaf895c99d Linux 5.4.42
ecb3f529a554 bpf: Test_progs, fix test_get_stack_rawtp_err.c build
aee43146cc10 selftest/bpf: fix backported test_select_reuseport selftest changes
35d9107ad30b libbpf: Extract and generalize CPU mask parsing logic
10cfaa7456d7 Makefile: disallow data races on gcc-10 as well
9972e851b9f4 KVM: x86: Fix off-by-one error in kvm_vcpu_ioctl_x86_setup_mce
9d2487643b4f bpf: Fix sk_psock refcnt leak when receiving message
d41689a34a9d SUNRPC: Revert 241b1f419f0e ("SUNRPC: Remove xdr_buf_trim()")
3a8efe589bb6 ARM: dts: r8a7740: Add missing extal2 to CPG node
cd8ae9b73258 arm64: dts: renesas: r8a77980: Fix IPMMU VIP[01] nodes
c580f2fe3270 ARM: dts: r8a73a4: Add missing CMT1 interrupts
8972721aea41 arm64: dts: imx8mn: Change SDMA1 ahb clock for imx8mn
764715615178 arm64: dts: rockchip: Rename dwc3 device nodes on rk3399 to make dtc happy
64ad7ef3a6e5 arm64: dts: rockchip: Replace RK805 PMIC node name with "pmic" on rk3328 boards
af518b5b77fd arm64: dts: meson-g12-common: fix dwc2 clock names
9b9c52752a11 arm64: dts: meson-g12b-khadas-vim3: add missing frddr_a status property
01febb33cb6e clk: Unlink clock if failed to prepare or enable
e2084a8d5fee Revert "ALSA: hda/realtek: Fix pop noise on ALC225"
5e553801462b usb: gadget: legacy: fix error return code in cdc_bind()
7e5c1db8ad15 usb: gadget: legacy: fix error return code in gncm_bind()
8228b6736964 usb: gadget: audio: Fix a missing error return value in audio_bind()
8ef452001769 usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'
9f65d776756e fanotify: fix merging marks masks with FAN_ONDIR
20a6d2455cde dwc3: Remove check for HWO flag in dwc3_gadget_ep_reclaim_trb_sg()
4f6815e429a8 clk: rockchip: fix incorrect configuration of rk3228 aclk_gpu* clocks
553a2cbca7c3 exec: Move would_dump into flush_old_exec
136353c5066c x86/unwind/orc: Fix error handling in __unwind_start()
91b9ce04ff1f x86: Fix early boot crash on gcc-10, third try
f8e370ccab35 cifs: fix leaked reference on requeued write
4e06196336a1 powerpc/32s: Fix build failure with CONFIG_PPC_KUAP_DEBUG
57aa19acfc22 drm/amd/display: add basic atomic check for cursor plane
97e43314763d ARM: dts: imx6dl-yapp4: Fix Ursa board Ethernet connection
215589310fa2 ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries
e1409dc95410 ARM: dts: dra7: Fix bus_dma_limit for PCIe
da55eeb3245a Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()
c6a1ce81b43e usb: xhci: Fix NULL pointer dereference when enqueuing trbs from urb sg list
6bb054f006c3 USB: gadget: fix illegal array access in binding with UDC
e6be4400ac34 usb: cdns3: gadget: prev_req->trb is NULL for ep0
f1a9bed7969a usb: host: xhci-plat: keep runtime active when removing host
b96a62f506ee usb: core: hub: limit HUB_QUIRK_DISABLE_AUTOSUSPEND to USB5534B
93dda4f0e2ff ALSA: usb-audio: Add control message quirk delay for Kingston HyperX headset
3fa58fc9f8c4 ALSA: rawmidi: Fix racy buffer resize under concurrent accesses
04ccdf6b031d ALSA: hda/realtek - Add COEF workaround for ASUS ZenBook UX431DA
c9709800eeeb ALSA: hda/realtek - Limit int mic boost for Thinkpad T530
c737b7533596 USB: usbfs: fix mmap dma mismatch
0432f7632a24 usb: usbfs: correct kernel->user page attribute mismatch
dca0ae3900b3 gcc-10: avoid shadowing standard library 'free()' in crypto
6cbb91bdd3a2 gcc-10: mark more functions __init to avoid section mismatch warnings
7955081a3a65 gcc-10 warnings: fix low-hanging fruit
dff2ce17934c gcc-10: disable 'restrict' warning for now
b8e7b93333db gcc-10: disable 'stringop-overflow' warning for now
9ba07a72fc5e gcc-10: disable 'array-bounds' warning for now
a740b68fd169 gcc-10: disable 'zero-length-bounds' warning for now
8f6a84167e86 Stop the ad-hoc games with -Wno-maybe-initialized
ab638a49a9f3 net/rds: Use ERR_PTR for rds_message_alloc_sgs()
b597815ce1e8 pnp: Use list_for_each_entry() instead of open coding
d4e58131829f NFSv3: fix rpc receive buffer size for MOUNT call
e26e2a3febcb mm, memcg: fix inconsistent oom event behavior
46a22f3ea146 s390/ism: fix error return code in ism_probe()
e1608af17030 hwmon: (da9052) Synchronize access with mfd
6e7253dc4562 RDMA/iw_cxgb4: Fix incorrect function parameters
08f187dbd223 RDMA/core: Fix double put of resource
ee7ce7d7e7c7 IB/core: Fix potential NULL pointer dereference in pkey cache
b491aeec55fe IB/mlx4: Test return value of calls to ib_get_cached_pkey
eaad00390ff9 RDMA/rxe: Always return ERR_PTR from rxe_create_mmap_info()
da532ce587c7 netfilter: nft_set_rbtree: Add missing expired checks
1c235d0eb1f0 netfilter: nft_set_rbtree: Introduce and use nft_rbtree_interval_start()
6259b1c1bca5 SUNRPC: Signalled ASYNC tasks need to exit
d1538d8d6325 nfs: fix NULL deference in nfs4_get_valid_delegation
ea7c4d9e542f arm64: fix the flush_icache_range arguments in machine_kexec
1222b257654b drm/i915/gvt: Fix kernel oops for 3-level ppgtt guest
a308d6e6861d netfilter: conntrack: avoid gcc-10 zero-length-bounds warning
b526c01b38ae NFSv4: Fix fscache cookie aux_data to ensure change_attr is included
021f5799de53 nfs: fscache: use timespec64 in inode auxdata
ef8195ee1618 NFS: Fix fscache super_cookie index_key from changing after umount
32b9de3e935d drm/amdgpu: force fbdev into vram
e1b2b93243ca fork: prevent accidental access to clone3 features
f256dea07774 gfs2: More gfs2_find_jhead fixes
18541e49f70b mmc: block: Fix request completion in the CQE timeout path
e8eb122b9f43 mmc: core: Fix recursive locking issue in CQE recovery path
fdf547a591f5 mmc: core: Check request type before completing the request
3a8bc2ae2f79 mmc: sdhci-pci-gli: Fix can not access GL9750 after reboot from Windows 10
e0830bb37734 mmc: alcor: Fix a resource leak in the error path for ->probe()
62f217e0a9c8 bpf, sockmap: bpf_tcp_ingress needs to subtract bytes from sg.size
ce3193bf8964 bpf, sockmap: msg_pop_data can incorrecty set an sge length
af1f11fe6667 drm/i915: Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled
0d9bc7986366 i40iw: Fix error handling in i40iw_manage_arp_cache()
95827ac65244 ALSA: firewire-lib: fix 'function sizeof not defined' error of tracepoints format
5d47b3d6b4d2 bpf: Fix error return code in map_lookup_and_delete_elem()
5b96668b63c0 pinctrl: cherryview: Add missing spinlock usage in chv_gpio_irq_handler
aec927836c7d pinctrl: qcom: fix wrong write in update_dual_edge
604ad1bb8aae pinctrl: baytrail: Enable pin configuration setting for GPIO chip
960d609dd4dd pinctrl: sunrisepoint: Fix PAD lock register offset for SPT-H
e529b8db9684 ACPI: EC: PM: Avoid premature returns from acpi_s2idle_wake()
9e54afec08f7 IB/hfi1: Fix another case where pq is left on waitlist
d942a6a18463 mmc: sdhci-pci-gli: Fix no irq handler from suspend
171bf6ef038b gfs2: Another gfs2_walk_metadata fix
87954aacd585 ALSA: hda/realtek - Fix S3 pop noise on Dell Wyse
05aae468d31a ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
3c3ade92b62a drm/amdgpu: invalidate L2 before SDMA IBs (v2)
938489ef2902 drm/amdgpu: simplify padding calculations (v2)
eefe5e0bb7b7 drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper()
94cce94badf7 drm/amd/display: Update downspread percent to match spreadsheet for DCN2.1
f4164b29dc08 drm/amd/display: check if REFCLK_CNTL register is present
65f3108cbb1d drm/amd/powerplay: avoid using pm_en before it is initialized revised
8c5f11093ef4 ALSA: hda/hdmi: fix race in monitor detection during probe
4d1a83cb5afe cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once
d12d7bf92b08 selftests/ftrace: Check the first record for kprobe_args_type.tc
2b313699e7a9 dmaengine: mmp_tdma: Reset channel error on release
6c414ddee7f0 dmaengine: mmp_tdma: Do not ignore slave config validation errors
de76c0d4a03c dmaengine: pch_dma.c: Avoid data race between probe and irq handler
c096a8645e3f riscv: fix vdso build with lld
2fffdf4dded1 umh: fix memory leak on execve failure
44ee727013d5 r8169: re-establish support for RTL8401 chip version
e03d3510f45c nfp: abm: fix error return code in nfp_abm_vnic_alloc()
2fbd6eca3711 net: tcp: fix rx timestamp behavior for tcp_recvmsg
fc800ec491c3 netprio_cgroup: Fix unlimited memory leak of v2 cgroups
cab607a627cf net: ipv4: really enforce backoff for redirects
d375d99f8902 net: dsa: loop: Add module soft dependency
b2e8946250c3 hinic: fix a bug of ndo_stop
d07987924a04 dpaa2-eth: prevent array underflow in update_cls_rule()
84916465b0f0 virtio_net: fix lockdep warning on 32 bit
23300d6a39d7 tcp: fix SO_RCVLOWAT hangs with fat skbs
cb4f78986065 tcp: fix error recovery in tcp_zerocopy_receive()
f152793058b5 Revert "ipv6: add mtu lock check in __ip6_rt_update_pmtu"
5f93b45fa58c pppoe: only process PADT targeted at local interfaces
ecb8356aafba net: stmmac: fix num_por initialization
4300e210b005 net: phy: fix aneg restart in phy_ethtool_set_eee
debcbc56fdfc netlabel: cope with NULL catmap
60a4f2ce0596 net: fix a potential recursive NETDEV_FEAT_CHANGE
97e860545e24 dpaa2-eth: properly handle buffer size restrictions
425853cc1160 mmc: sdhci-acpi: Add SDHCI_QUIRK2_BROKEN_64_BIT_DMA for AMDI0040
a761f65879e8 selftests/bpf: fix goto cleanup label not defined
2d6d0ce4de03 scsi: sg: add sg_remove_request in sg_write
7d8da6d7d90c net_sched: fix tcm_parent in tc filter dump
e2824505a813 sun6i: dsi: fix gcc-4.8
645b44b6b3b3 virtio-blk: handle block_device_operations callbacks after hot unplug
fbe2c2c50914 drop_monitor: work around gcc-10 stringop-overflow warning
23a0a0914a1e ftrace/selftests: workaround cgroup RT scheduling issues
dbd667a322ac net: moxa: Fix a potential double 'free_irq()'
2bcd4df42d5d net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()'
e15d3d42900a SUNRPC: Fix GSS privacy computation of auth->au_ralign
3bf0794e7309 SUNRPC: Add "@len" parameter to gss_unwrap()
3c605abef3ee gpio: pca953x: Fix pca953x_gpio_set_config
163b48932571 KVM: arm: vgic: Synchronize the whole guest on GIC{D,R}_I{S,C}ACTIVER read
7abefa3f9a4b net: phy: microchip_t1: add lan87xx_phy_init to initialize the lan87xx phy.
a12f3ad8d952 shmem: fix possible deadlocks on shmlock_user_lock
723090ae8ea6 net: dsa: Do not make user port errors fatal
cbaf23699561 Linux 5.4.41
9bd5a84ceba3 fanotify: merge duplicate events on parent and child
4638e0ff0fa4 fsnotify: replace inode pointer with an object id
03447528a390 bdi: add a ->dev_name field to struct backing_dev_info
25390a31983c bdi: move bdi_dev_name out of line
c1af2c13a4ac mm, memcg: fix error return value of mem_cgroup_css_alloc()
1642f114ce2d scripts/decodecode: fix trapping instruction formatting
2e86e3841c3c iommu/virtio: Reverse arguments to list_add
1a31c4456af9 objtool: Fix stack offset tracking for indirect CFAs
30a38059cdd4 netfilter: nf_osf: avoid passing pointer to local var
4ccbd9c859dd netfilter: nat: never update the UDP checksum when it's 0
634c950c624d arch/x86/kvm/svm/sev.c: change flag passed to GUP fast in sev_pin_memory()
4cbb69b45cad KVM: x86: Fixes posted interrupt check for IRQs delivery modes
db00b1d9d71a x86/unwind/orc: Fix premature unwind stoppage due to IRET frames
c9473a0260b2 x86/unwind/orc: Fix error path for bad ORC entry type
1b4bd44645ac x86/unwind/orc: Prevent unwinding before ORC initialization
511261578b8b x86/unwind/orc: Don't skip the first frame for inactive tasks
162e9f141d96 x86/entry/64: Fix unwind hints in rewind_stack_do_exit()
16aace664b27 x86/entry/64: Fix unwind hints in kernel exit path
07c4cd680c0b x86/entry/64: Fix unwind hints in register clearing code
d8eb5a1cde35 batman-adv: Fix refcnt leak in batadv_v_ogm_process
13f968c8b762 batman-adv: Fix refcnt leak in batadv_store_throughput_override
b71348105899 batman-adv: Fix refcnt leak in batadv_show_throughput_override
bee7e9da58ba batman-adv: fix batadv_nc_random_weight_tq
34ca080088e2 iocost: protect iocg->abs_vdebt with iocg->waitq.lock
d8c7f015d1a9 riscv: set max_pfn to the PFN of the last page
480534e03061 coredump: fix crash when umh is disabled
b8fe132bae66 staging: gasket: Check the return value of gasket_get_bar_index()
53f453031a20 ceph: demote quotarealm lookup warning to a debug message
3fd9f902c08a ceph: fix endianness bug when handling MDS session feature bits
e991f7ded4e1 mm: limit boost_watermark on small zones
4b49a9660d26 mm/page_alloc: fix watchdog soft lockups during set_zone_contiguous()
ee922a2f6be9 eventpoll: fix missing wakeup for ovflist in ep_poll_callback
5d77631de15a epoll: atomically remove wait entry on wake up
1f3aa3e028c5 ipc/mqueue.c: change __do_notify() to bypass check_kill_permission()
65f96f4b797e drm: ingenic-drm: add MODULE_DEVICE_TABLE
0eae1647f145 arm64: hugetlb: avoid potential NULL dereference
e983c6064a0a KVM: arm64: Fix 32bit PC wrap-around
3ae9279d725a KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVER
152d97d0b26f KVM: VMX: Explicitly clear RFLAGS.CF and RFLAGS.ZF in VM-Exit RSB path
3f23f781290b KVM: s390: Remove false WARN_ON_ONCE for the PQAP instruction
eb0373fc3871 crypto: arch/nhpoly1305 - process in explicit 4k chunks
8b166a6f6286 tracing: Add a vmalloc_sync_mappings() for safe measure
72886ae16a75 USB: serial: garmin_gps: add sanity checking for data length
4f4dc27c09cd usb: chipidea: msm: Ensure proper controller reset using role switch API
2419a955172c USB: uas: add quirk for LaCie 2Big Quadra
b60a086ec733 HID: wacom: Report 2nd-gen Intuos Pro S center button status over BT
613045bfc63d HID: usbhid: Fix race between usbhid_close() and usbhid_stop()
1017955fab5b Revert "HID: wacom: generic: read the number of expected touches on a per collection basis"
a204d577be70 sctp: Fix bundling of SHUTDOWN with COOKIE-ACK
3fc16b5b1947 HID: wacom: Read HID_DG_CONTACTMAX directly for non-generic devices
0aeae7ad9450 net: mvpp2: cls: Prevent buffer overflow in mvpp2_ethtool_cls_rule_del()
b2930c86ee2b net: mvpp2: prevent buffer overflow in mvpp22_rss_ctx()
d595dd5ba909 net/mlx5: Fix command entry leak in Internal Error State
11dd1d0ebfdd net/mlx5: Fix forced completion access non initialized command entry
18cfbcdf1f41 net/mlx5: DR, On creation set CQ's arm_db member to right value
6ab4dd433b61 bnxt_en: Fix VLAN acceleration handling in bnxt_fix_features().
cf07e0ccffde bnxt_en: Return error when allocating zero size context memory.
76737d877fab bnxt_en: Improve AER slot reset.
ab1c944361b4 bnxt_en: Reduce BNXT_MSIX_VEC_MAX value to supported CQs per PF.
2be3a9e71ce4 bnxt_en: Fix VF anti-spoof filter setup.
a882d44e5bad tunnel: Propagate ECT(1) when decapsulating as recommended by RFC6040
e9edd5a0f5f5 tipc: fix partial topology connection closure
f2d581951775 sch_sfq: validate silly quantum values
017242e3bdb3 sch_choke: avoid potential panic in choke_reset()
66f7e30273ef nfp: abm: fix a memory leak bug
8fc441d16183 net: usb: qmi_wwan: add support for DW5816e
4107cd9a869f net/tls: Fix sk_psock refcnt leak when in tls_data_ready()
a15ccc88e516 net/tls: Fix sk_psock refcnt leak in bpf_exec_tx_verdict()
4124b1317f26 net: tc35815: Fix phydev supported/advertising mask
7bbf73e918be net: stricter validation of untrusted gso packets
b51b394f4ab1 net_sched: sch_skbprio: add message validation to skbprio_change()
c78c166748e9 net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc()
57f6c4340aad net: macsec: preserve ingress frame ordering
301d6eb32d81 net: macb: fix an issue about leak related system resources
5ffd49c52bad net: dsa: Do not leave DSA master with NULL netdev_ops
e781af2fdc2e neigh: send protocol value in neighbor create notification
89469cf72fae mlxsw: spectrum_acl_tcam: Position vchunk in a vregion list properly
5d7e1e23efb6 ipv6: Use global sernum for dst validation with nexthop objects
45b6af95aae7 fq_codel: fix TCA_FQ_CODEL_DROP_BATCH_SIZE sanity checks
429a89625693 dp83640: reverse arguments to list_add_tail
6ee2fdf2ba4d devlink: fix return value after hitting end in region read
b586a95e2606 tty: xilinx_uartps: Fix missing id assignment to the console
8ca4302bc663 vt: fix unicode console freeing with a common interface
f4d20b01eaf6 drm/amdgpu: drop redundant cg/pg ungate on runpm enter
c973b108912a drm/amdgpu: move kfd suspend after ip_suspend_phase1
8e16ede5b7a1 net: macb: Fix runtime PM refcounting
eb6f88cd81ac tracing/kprobes: Fix a double initialization typo
56fc76893f87 nvme: fix possible hang when ns scanning fails during error recovery
fb1b41128c70 nvme: refactor nvme_identify_ns_descs error handling
a5d53ad84eb5 USB: serial: qcserial: Add DW5816e support
(From OE-Core rev: 94b473a0c82d77b3a365cbeb6c99a3338b6c7524)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c4b48a05f54520b4d5fcb5b0e6f74857ca4f1d2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If CONFIG_IKHEADERS is set to =m, then reproducibility issues creep
into the modules build, since the variables we are setting for the
main kernel build are not present.
Since the source code must be available for a possibly git query
on the timestamp, there didn't seem to be an easy way to move the
environment variable setting to a common routine. As such, we
duplicate the block of code that exports the required variables for
reproducible builds. There is a maintenance risk to this, but any
issues should be easy enough to catch.
(From OE-Core rev: f511d78164581f80e7b8c592fe88ffbf38738150)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 82cdfcdccfedd320ebc0cdc778c7d4966198b96f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
f015b86259a5 Linux 5.4.40
2852b559afdf PM / devfreq: Add missing locking while setting suspend_freq
8e054bd6dfc4 udp: document udp_rcv_segment special case for looped packets
2a03c23b2015 tools headers UAPI: Sync copy of arm64's asm/unistd.h with the kernel sources
f11664da13b9 Revert "drm/amd/display: setting the DIG_MODE to the correct value."
c365ff781540 mm/mremap: Add comment explaining the untagging behaviour of mremap()
8f30c3687f09 libbpf: Fix readelf output parsing for Fedora
88348bd1f696 cgroup, netclassid: remove double cond_resched
702d710ffd83 mac80211: add ieee80211_is_any_nullfunc()
468465fdef4d ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()
da283f9be924 platform/x86: GPD pocket fan: Fix error message when temp-limits are out of range
03f235a5bd3a x86/kvm: fix a missing-prototypes "vmread_error"
85701f4768a1 ALSA: hda: Match both PCI ID and SSID for driver blacklist
b8b42c8dcf44 hexagon: define ioremap_uc
f31c9e904f1d hexagon: clean up ioremap
1bc508b2d16d mfd: intel-lpss: Use devm_ioremap_uc for MMIO
78b19f56b952 lib: devres: add a helper function for ioremap_uc
7a9b738c7511 Revert "software node: Simplify software_node_release() function"
b8bb9c3192f9 drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event
3fb4c93dc761 sctp: Fix SHUTDOWN CTSN Ack in the peer restart case
9da07c4aeaf7 drm/i915: Extend WaDisableDARBFClkGating to icl,ehl,tgl
d8e0b58fa471 net: systemport: suppress warnings on failed Rx SKB allocations
5c065ee4a07d net: bcmgenet: suppress warnings on failed Rx SKB allocations
fd2c9e605269 mac80211: sta_info: Add lockdep condition for RCU list usage
07fea3d3ef88 lib/mpi: Fix building for powerpc with clang
bacf98ee0003 tracing: Fix memory leaks in trace_events_hist.c
c46330d4dabf cifs: do not share tcons with DFS
84778248e013 scripts/config: allow colons in option strings for sed
b31e0bd4a97a cifs: protect updating server->dstaddr with a spinlock
0560b7c3ba48 ASoC: rsnd: Fix "status check failed" spam for multi-SSI
883d34cdefea ASoC: rsnd: Don't treat master SSI in multi SSI setup as parent
15de2df38652 net: stmmac: Fix sub-second increment
8d5a1ddaa9bb net: stmmac: fix enabling socfpga's ptp_ref_clock
d3539ea43a37 wimax/i2400m: Fix potential urb refcnt leak
f0d6b056bc18 drm/amdgpu: Correctly initialize thermal controller for GPUs with Powerplay table v0 (e.g Hawaii)
a09ba140db2f remoteproc: qcom_q6v5_mss: fix a bug in q6v5_probe()
b2978c307696 ASoC: codecs: hdac_hdmi: Fix incorrect use of list_for_each_entry
f9c3a17786fd ASoC: rsnd: Fix HDMI channel mapping for multi-SSI mode
26500b980bf8 ASoC: rsnd: Fix parent SSI start/stop in multi-SSI mode
5087c7f4e7f2 usb: dwc3: gadget: Properly set maxpacket limit
ab182c06fc22 ASoC: topology: Fix endianness issue
ae975c8e1062 ASoC: sgtl5000: Fix VAG power-on handling
3ea62d49613b selftests/ipc: Fix test failure seen after initial test run
a5dec15686e9 ASoC: topology: Check return value of soc_tplg_dai_config
fd8f4a3be50b ASoC: topology: Check return value of pcm_new_ver
0d452c7e309c ASoC: topology: Check soc_tplg_add_route return value
76336d4fa881 ASoC: topology: Check return value of soc_tplg_*_create
db80b7cb17d9 ASoC: topology: Check return value of soc_tplg_create_tlv
04da88c86c2e drm/bridge: analogix_dp: Split bind() into probe() and real bind()
336c7260a788 vhost: vsock: kick send_pkt worker once device is started
592465e6a54b Linux 5.4.39
eeef0d9fd40d selinux: properly handle multiple messages in selinux_netlink_send()
1de07eb54ab7 arm64: vdso: Add -fasynchronous-unwind-tables to cflags
73162ca8156f dmaengine: dmatest: Fix process hang when reading 'wait' parameter
c753a12c88e8 dmaengine: dmatest: Fix iteration non-stop logic
d458565e3c02 nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
779f155811eb nvme: prevent double free in nvme_alloc_ns() error handling
57165a241302 Fix use after free in get_tree_bdev()
c0be115eb22d ALSA: opti9xx: shut up gcc-10 range warning
3af9be5f5c66 i2c: aspeed: Avoid i2c interrupt status clear race condition.
501ecc8fc9e5 iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system
a0000d228dd3 scsi: target/iblock: fix WRITE SAME zeroing
de59f2fbe6ca iommu/qcom: Fix local_base status check
205757f476e8 vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
08e90b299d4e vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
44e2a98e2b58 i2c: iproc: generate stop event for slave writes
92c99197815d RDMA/cm: Fix an error check in cm_alloc_id_priv()
4c499dafdd63 RDMA/cm: Fix ordering of xa_alloc_cyclic() in ib_create_cm_id()
169b8b62717a RDMA/core: Fix race between destroy and release FD object
1e12524f09a1 RDMA/core: Prevent mixed use of FDs between shared ufiles
b7b72a16c5b0 RDMA/siw: Fix potential siw_mem refcnt leak in siw_fastreg_mr()
7665d88f9d0e RDMA/mlx4: Initialize ib_spec on the stack
80ba1153bc25 RDMA/mlx5: Set GRH fields in query QP on RoCE
1f5a2162516e scsi: qla2xxx: check UNLOADING before posting async work
faa8daca0226 scsi: qla2xxx: set UNLOADING before waiting for session deletion
4438f397ee4c ARM: dts: imx6qdl-sr-som-ti: indicate powering off wifi is safe
100cf0ba5b5d dm multipath: use updated MPATHF_QUEUE_IO on mapping for bio-based mpath
beed763ab934 dm writecache: fix data corruption when reloading the target
969b9cb1209b dm verity fec: fix hash block number in verity_fec_decode
c554ab856b66 PM: hibernate: Freeze kernel threads in software_resume()
8fc24d1029fd PM: ACPI: Output correct message on target power state
ca662b6014f3 IB/rdmavt: Always return ERR_PTR from rvt_create_mmap_info()
16cc37b3dc17 dlmfs_file_write(): fix the bogosity in handling non-zero *ppos
5049385407b4 Drivers: hv: vmbus: Fix Suspend-to-Idle for Generation-2 VM
95dd3099171e i2c: amd-mp2-pci: Fix Oops in amd_mp2_pci_init() error handling
ea63e38b29e7 ALSA: pcm: oss: Place the plugin buffer overflow checks correctly
c867614f196a ALSA: line6: Fix POD HD500 audio playback
c7577237c228 ALSA: hda/hdmi: fix without unlocked before return
6426aa65f7ca ALSA: usb-audio: Correct a typo of NuPrime DAC-10 USB ID
981b7194e82a ALSA: hda/realtek - Two front mics on a Lenovo ThinkCenter
35a9399714db crypto: caam - fix the address of the last entry of S/G
ca34751b5819 mmc: meson-mx-sdio: remove the broken ->card_busy() op
9e3315116f7e mmc: meson-mx-sdio: Set MMC_CAP_WAIT_WHILE_BUSY
80e99f42608d mmc: sdhci-msm: Enable host capabilities pertains to R1b response
d8f7e15a65dd mmc: sdhci-pci: Fix eMMC driver strength for BYT-based controllers
eed4792f9657 mmc: sdhci-xenon: fix annoying 1.8V regulator warning
31ba94b893b6 mmc: cqhci: Avoid false "cqhci: CQE stuck on" by not open-coding timeout loop
2b925c4600bf btrfs: transaction: Avoid deadlock due to bad initialization timing of fs_info::journal_info
67bc5f667a18 btrfs: fix partial loss of prealloc extent past i_size after fsync
636987650f6b btrfs: fix block group leak when removing fails
a378abbb8e39 btrfs: fix transaction leak in btrfs_recover_relocation
e5744821adc9 NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION
6eb95b35fd39 drm/qxl: qxl_release use after free
c465bc31ed9f drm/qxl: qxl_release leak in qxl_hw_surface_alloc()
4441fb2ab0fc drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
f25335a83cf4 drm/amd/display: Fix green screen issue after suspend
5ec7eb970df4 drm/edid: Fix off-by-one in DispID DTD pixel clock
ffd99c012a2e dma-buf: Fix SET_NAME ioctl uapi
(From OE-Core rev: bb126c867adbe3eca3f30670e7b2e84bf98e97cf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2fdd473db5446b0e96ad4f774121129fbf94e0e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
9895e0ac338a Linux 5.4.38
5a54c69c4ef8 Revert "ASoC: meson: axg-card: fix codec-to-codec link setup"
527c60e8b7a8 Linux 5.4.37
4e7fb753e803 ASoC: stm32: spdifrx: fix regmap status check
4104faaeeda0 ASoC: soc-core: disable route checks for legacy devices
8c472abaedc7 ext4: check for non-zero journal inum in ext4_calculate_overhead
93af898b251f qed: Fix use after free in qed_chain_free
f1610480602a net: use indirect call wrappers for skb_copy_datagram_iter()
ec9cf8afcd64 Crypto: chelsio - Fixes a hang issue during driver registration
b0946b45b85a qed: Fix race condition between scheduling and destroying the slowpath workqueue
d15fc1470441 taprio: do not use BIT() in TCA_TAPRIO_ATTR_FLAG_* definitions
f37079e9ea83 hwmon: (jc42) Fix name to have no illegal characters
c7b6c51298bd blk-mq: Put driver tag in blk_mq_dispatch_rq_list() when no budget
3e9299c28fc5 ext4: convert BUG_ON's to WARN_ON's in mballoc.c
1e4281eba3ff ext4: increase wait time needed before reuse of deleted inode numbers
0fe3908e6abc ext4: use matching invalidatepage in ext4_writepage
1876e0e654b8 arm64: Delete the space separator in __emit_inst
a719f7bf5c88 mac80211: fix channel switch trigger from unknown mesh peer
9178430df3f7 net: stmmac: socfpga: Allow all RGMII modes
daafdf87b898 ALSA: hda: call runtime_allow() for all hda controllers
d9d4ea17d6d6 xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status
8c627d4b15de objtool: Support Clang non-section symbols in ORC dump
820126d9a83d objtool: Fix CONFIG_UBSAN_TRAP unreachable warnings
1cc2460dad82 scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
62d350eb31d1 scsi: target: fix PR IN / READ FULL STATUS for FC
a323f69d00c6 ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported
bd074af53cb6 ALSA: hda: Keep the controller initialization even if no codecs found
135e10232fb5 ALSA: hda: Release resources at error in delayed probe
535ed3f01564 xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
ec6e5792d62d afs: Fix length of dump of bad YFSFetchStatus record
16976275b929 signal: check sig before setting info in kill_pid_usb_asyncio
f88761412b90 x86: hyperv: report value of misc_features
b5da1152f716 net: fec: set GPR bit on suspend by DT configuration.
316ad98983d9 libbpf: Initialize *nl_pid so gcc 10 is happy
3c9bbe7f44f6 bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B
ab6e8af64f39 xfs: clear PF_MEMALLOC before exiting xfsaild thread
e5329fcdc907 mm: shmem: disable interrupt when acquiring info->lock in userfaultfd_copy path
309a509dabd5 bpf, x86_32: Fix logic error in BPF_LDX zero-extension
d0b8695703f2 bpf, x86_32: Fix clobbering of dst for BPF_JSET
50c5d9146100 bpf, x86_32: Fix incorrect encoding in BPF_LDX zero-extension
ca3a2ca4cfa2 um: ensure `make ARCH=um mrproper` removes arch/$(SUBARCH)/include/generated/
9c5c94c5012c blk-iocost: Fix error on iocost_ioc_vrate_adj
b9c31556c37b PM: sleep: core: Switch back to async_schedule_dev()
36c436a8e46a netfilter: nat: fix error handling upon registering inet hook
9578a8c157b4 perf/core: fix parent pid/tid in task exit events
c04d01e918d8 sched/core: Fix reset-on-fork from RT with uclamp
040287785f42 net/mlx5: Fix failing fw tracer allocation on s390
a8b5611ffee3 s390/pci: do not set affinity for floating irqs
6cfb8c2ada58 cpumap: Avoid warning when CONFIG_DEBUG_PER_CPU_MAPS is enabled
05ae98547af9 ARM: dts: bcm283x: Disable dsi0 node
764a7d0a2756 PCI: Move Apex Edge TPU class quirk to fix BAR assignment
684dba87fdd7 PCI: Add ACS quirk for Zhaoxin Root/Downstream Ports
17d166e9535c PCI: Add Zhaoxin Vendor ID
d2481b5d1257 PCI: Unify ACS quirk desired vs provided checking
981fd6ad2a5a PCI: Make ACS quirk implementations more uniform
85a9e198f124 PCI: Add ACS quirk for Zhaoxin multi-function devices
d2b631a136e8 PCI: Avoid ASMedia XHCI USB PME# from D0 defect
246ff2a6f69e net/mlx5e: Get the latest values from counters in switchdev mode
2292e4049097 net/mlx5e: Don't trigger IRQ multiple times on XSK wakeup to avoid WQ overruns
b4284efb1e14 svcrdma: Fix leak of svc_rdma_recv_ctxt objects
53dbb934dd4f svcrdma: Fix trace point use-after-free race
ccd3b4bb9944 xfs: acquire superblock freeze protection on eofblocks scans
62f1cb491552 net/cxgb4: Check the return from t4_query_params properly
ce3460b90ed9 rxrpc: Fix DATA Tx to disable nofrag for UDP on AF_INET6 socket
6cdded333de6 i2c: altera: use proper variable to hold errno
db2426f86d44 bpf: Forbid XADD on spilled pointers for unprivileged users
f1317a4a2b9b nfsd: memory corruption in nfsd4_lock()
13b28f6b6778 drivers: soc: xilinx: fix firmware driver Kconfig dependency
1157d97cfa2b ASoC: wm8960: Fix wrong clock after suspend & resume
005aa9f0af9d ASoC: meson: axg-card: fix codec-to-codec link setup
08865eb796c4 ASoC: tas571x: disable regulators on failed probe
e9058b45556b ASoC: q6dsp6: q6afe-dai: add missing channels to MI2S DAIs
37405f2963c7 s390/ftrace: fix potential crashes when switching tracers
1f107e441bde counter: 104-quad-8: Add lock guards - generic interface
db66fd5fef68 propagate_one(): mnt_set_mountpoint() needs mount_lock
f9e41e4bbe61 iio:ad7797: Use correct attribute_group
f581eff93958 afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH
c2bdc86ec8ac afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate
9dcb1844f884 usb: gadget: udc: atmel: Fix vbus disconnect handling
7155416143dd usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete
8f4cd6f0ea82 kbuild: fix DT binding schema rule again to avoid needless rebuilds
7067a62563d2 usb: dwc3: gadget: Do link recovery for SS and SSP
a74a5435a610 ASoC: stm32: sai: fix sai probe
4a5c9ae67b12 printk: queue wake_up_klogd irq_work only if per-CPU areas are ready
276224b7a147 ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans()
4d23f544a328 remoteproc: Fix wrong rvring index computation
aa73bcc37686 Linux 5.4.36
44d9eb0ebe8f s390/mm: fix page table upgrade vs 2ndary address mode accesses
58b243cf2786 compat: ARM64: always include asm-generic/compat.h
3160e84abaf7 powerpc/mm: Fix CONFIG_PPC_KUAP_DEBUG on PPC32
b48331b52a28 powerpc/kuap: PPC_KUAP_DEBUG should depend on PPC_KUAP
c4606876164c Revert "serial: uartps: Register own uart console and driver structures"
02d32033b397 Revert "serial: uartps: Move Port ID to device data structure"
bbc0423c8968 Revert "serial: uartps: Change uart ID port allocation"
f7504efa6bf7 Revert "serial: uartps: Do not allow use aliases >= MAX_UART_INSTANCES"
3e64d4db7b10 Revert "serial: uartps: Fix error path when alloc failed"
6fcbf58b115c Revert "serial: uartps: Use the same dynamic major number for all ports"
1bb43b4d8c32 Revert "serial: uartps: Fix uartps_major handling"
3af0614df15c serial: sh-sci: Make sure status register SCxSR is read in correct sequence
fceab238c534 xhci: Don't clear hub TT buffer on ep0 protocol stall
54470b0bd16a xhci: prevent bus suspend if a roothub port detected a over-current condition
f385e765ac93 xhci: Fix handling halted endpoint even if endpoint ring appears empty
8dbfb11452c0 usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer
740c93814783 usb: typec: tcpm: Ignore CC and vbus changes in PORT_RESET change
11c2089767cd usb: f_fs: Clear OS Extended descriptor counts to zero in ffs_data_reset()
bf996950d8de usb: dwc3: gadget: Fix request completion check
a0f1f53ecd8d fpga: dfl: pci: fix return value of cci_pci_sriov_configure
22432bcf066c UAS: fix deadlock in error handling and PM flushing work
e1b656677f7d UAS: no use logging any details in case of ENODEV
f4d1cf2ef83c cdc-acm: introduce a cool down
892de572ea71 cdc-acm: close race betrween suspend() and acm_softint
23d44059bc44 staging: vt6656: Power save stop wake_up_count wrap around.
9f1a23cbef73 staging: vt6656: Fix pairwise key entry save.
0bcc6585717e staging: vt6656: Fix drivers TBTT timing counter.
74bbe9d99040 staging: vt6656: Fix calling conditions of vnt_set_bss_mode
ec5ad5e1958c staging: vt6656: Don't set RCR_MULTICAST or RCR_BROADCAST by default.
64882aa0c531 vt: don't use kmalloc() for the unicode screen buffer
b027b30d1428 vt: don't hardcode the mem allocation upper bound
8f8d7f07d951 staging: comedi: Fix comedi_device refcnt leak in comedi_open
279dd75cec55 staging: comedi: dt2815: fix writing hi byte of analog output
dba6465408b8 powerpc/setup_64: Set cache-line-size based on cache-block-size
921b7b175605 ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
eabc107d20da cifs: fix uninitialised lease_key in open_shroot()
562489ba1078 iwlwifi: mvm: fix inactive TID removal return value usage
f1926b14bd8f iwlwifi: mvm: Do not declare support for ACK Enabled Aggregation
c93fb506bfaf iwlwifi: mvm: limit maximum queue appropriately
4025ac3d7fb7 iwlwifi: mvm: beacon statistics shouldn't go backwards
222722be70de iwlwifi: pcie: actually release queue memory in TVQM
7e69c9e6bbf3 SUNRPC: Fix backchannel RPC soft lockups
d62d85260ac4 mac80211: populate debugfs only after cfg80211 init
f67f3317ceb3 ASoC: dapm: fixup dapm kcontrol widget
83f82fd5552c audit: check the length of userspace generated audit records
20821047aca4 signal: Avoid corrupting si_pid and si_uid in do_notify_parent
1b4e23a945bd usb-storage: Add unusual_devs entry for JMicron JMS566
9de9003b255e tty: rocket, avoid OOB access
f1c0d3243dbe tty: hvc: fix buffer overflow during hvc_alloc().
52ca311e5f82 KVM: VMX: Enable machine check support for 32bit targets
878127ac8b70 KVM: Check validity of resolved slot when searching memslots
347125705f02 KVM: s390: Return last valid slot if approx index is out-of-bounds
3fc644fd6100 tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
16244edc3bbe tpm: fix wrong return value in tpm_pcr_extend
86f1c523d422 tpm/tpm_tis: Free IRQ if probing fails
387039b25077 ALSA: usb-audio: Filter out unsupported sample rates on Focusrite devices
d5cd82153629 ALSA: usb-audio: Fix usb audio refcnt leak when getting spdif
dbb11f1d6d33 ALSA: hda/hdmi: Add module option to disable audio component binding
1e1f9d36280f ALSA: hda/realtek - Add new codec supported for ALC245
0939d06af06f ALSA: hda/realtek - Fix unexpected init_amp override
16e373fe61cb ALSA: usx2y: Fix potential NULL dereference
000515184f6f tools/vm: fix cross-compile build
5126bdeaf980 mm/ksm: fix NULL pointer dereference when KSM zero page is enabled
3c88e95cd167 mm/hugetlb: fix a addressing exception caused by huge_pte_offset
a77daafc2e37 coredump: fix null pointer dereference on coredump
fcfd63da5d82 staging: gasket: Fix incongruency in handling of sysfs entries creation
f4f235309b5c vmalloc: fix remap_vmalloc_range() bounds checks
3d15344e23c5 tty: serial: owl: add "much needed" clk_prepare_enable()
4fbf19bbba6a USB: hub: Revert commit bd0e6c9614b9 ("usb: hub: try old enumeration scheme first for high speed devices")
50ad463e20bf USB: hub: Fix handling of connect changes during sleep
b48193a7c303 USB: core: Fix free-while-in-use bug in the USB S-Glibrary
1d53402d89d7 USB: early: Handle AMD's spec-compliant identifiers, too
8409f83e3e81 USB: Add USB_QUIRK_DELAY_CTRL_MSG and USB_QUIRK_DELAY_INIT for Corsair K70 RGB RAPIDFIRE
b7758cd38b94 USB: sisusbvga: Change port variable from signed to unsigned
557f3f549217 iio: xilinx-xadc: Make sure not exceed maximum samplerate
b3e365a07016 iio: xilinx-xadc: Fix sequencer configuration for aux channels in simultaneous mode
cf2849c9ef46 iio: xilinx-xadc: Fix clearing interrupt when enabling trigger
6a956eb2e1a7 iio: xilinx-xadc: Fix ADC-B powerdown
f83a969fcb0b iio: adc: ti-ads8344: properly byte swap value
db168069b0d6 iio: adc: stm32-adc: fix sleep in atomic context
02311bc13344 iio: st_sensors: rely on odr mask to know if odr can be set
14952589c9d8 iio: core: remove extra semi-colon from devm_iio_device_register() macro
12c02c473e86 ALSA: usb-audio: Add connector notifier delegation
6ec99b94a3a0 ALSA: usb-audio: Add static mapping table for ALC1220-VB-based mobos
23abb5f2faea ALSA: hda: Remove ASUS ROG Zenith from the blacklist
419d8fb1630c KEYS: Avoid false positive ENOMEM error on key read
b1bcb485dd6b vrf: Check skb for XFRM_TRANSFORMED flag
dfbbb4557af4 xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
ace87b487a5f geneve: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
b977fe1c9e80 vxlan: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
51c935f6c6ef net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL
cb1a18a7d328 net: dsa: b53: Rework ARL bin logic
2cc27f102dcd net: dsa: b53: Fix ARL register definitions
1fae6eb0fc91 net: dsa: b53: Fix valid setting for MDB entries
2537dc9e2c03 net: dsa: b53: Lookup VID in ARL searches when VLAN is enabled
07856b2108cf vrf: Fix IPv6 with qdisc and xfrm
755425c1b004 team: fix hang in team_mode_get()
3f642d785a51 tcp: cache line align MAX_TCP_HEADER
8a60fad4495d selftests: Fix suppress test in fib_tests.sh
a3afaa5033f4 sched: etf: do not assume all sockets are full blown
5a2ddf8e5a5d net/x25: Fix x25_neigh refcnt leak when receiving frame
6885d58eb439 net: stmmac: dwmac-meson8b: Add missing boundary to RGMII TX clock array
4acc0b18f7af net: openvswitch: ovs_ct_exit to be done under ovs_lock
21b1a767eba6 net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node
befd63a980cc net/mlx4_en: avoid indirect call in TX completion
49bbf322316c net: bcmgenet: correct per TX/RX ring statistics
aa6a14bc4102 mlxsw: Fix some IS_ERR() vs NULL bugs
d5ba4c22928f macvlan: fix null dereference in macvlan_device_event()
70a37b9816f3 macsec: avoid to set wrong mtu
2d197d8e1aa4 ipv6: fix restrict IPV6_ADDRFORM operation
382f57b996aa ipv4: Update fib_select_default to handle nexthop objects
3b759befd7f2 cxgb4: fix large delays in PTP synchronization
d02f4242650d cxgb4: fix adapter crash due to wrong MC size
91097eba10d3 PCI/PM: Add missing link delays required by the PCIe spec
7720fd9c679e PCI/ASPM: Allow re-enabling Clock PM
3340d011cff4 scsi: smartpqi: fix problem with unique ID for physical device
d867f2757173 scsi: smartpqi: fix call trace in device discovery
8a20fb1c9a49 scsi: smartpqi: fix controller lockup observed during force reboot
3edd55247295 virtio-blk: improve virtqueue error to BLK_STS
2390698b9dbd tracing/selftests: Turn off timeout setting
ca958fe8af20 ASoC: SOF: trace: fix unconditional free in trace release
01fad934f1bd PCI: pciehp: Prevent deadlock on disconnect
39b9a0b3d24d libbpf: Fix readelf output parsing on powerpc with recent binutils
b91ae5994725 PCI/PM: Add pcie_wait_for_link_delay()
df38cda0144a drm/amd/display: Not doing optimize bandwidth if flip pending.
2be21320076d xhci: Finetune host initiated USB3 rootport link suspend and resume
ea6f7011c42d xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT_LS_U0
e650a264df6f xhci: Ensure link state is U3 after setting USB_SS_PORT_LS_U3
bdb61374da1b ALSA: usb-audio: Add Pioneer DJ DJM-250MK2 quirk
578aa47612f2 ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN MPWIN895CL tablet
632d9736d215 drm/amd/display: Calculate scaling ratios on every medium/full update
16c370534d6c perf/core: Disable page faults when getting phys address
41a3e446bc56 pwm: bcm2835: Dynamically allocate base
53cdc935c912 pwm: renesas-tpu: Fix late Runtime PM enablement
1bfb6423c6fc nvme: fix compat address handling in several ioctls
de1263d4306e powerpc/pseries: Fix MCE handling on pseries
107290a8f06b Revert "powerpc/64: irq_work avoid interrupt when called with hardware irqs enabled"
1712911bfb34 loop: Better discard support for block devices
ed61eec49a70 s390/cio: avoid duplicated 'ADD' uevents
ad1187668ffe s390/cio: generate delayed uevent for vfio-ccw subchannels
8652254e96a6 lib/raid6/test: fix build on distros whose /bin/sh is not bash
e84ef75fa184 kconfig: qconf: Fix a few alignment issues
cb5d9604038c ipc/util.c: sysvipc_find_ipc() should increase position index
70638a74c52a selftests: kmod: fix handling test numbers above 9
16846f6fcbcf kernel/gcov/fs.c: gcov_seq_next() should increase position index
1edfff795d4f dma-direct: fix data truncation in dma_direct_get_required_mask()
8300465623bf drm/amd/display: Update stream adjust in dc_stream_adjust_vmin_vmax
da2c733a7180 nvme: fix deadlock caused by ANA update wrong locking
90a33c23aad8 ASoC: Intel: atom: Take the drv->lock mutex before calling sst_send_slot_map()
1310d9655be0 tools/test/nvdimm: Fix out of tree build
713ad9b9d37a scsi: iscsi: Report unbind session event when the target has been removed
f507ae6e33cb nvme-tcp: fix possible crash in write_zeroes processing
a5f036adae09 pwm: rcar: Fix late Runtime PM enablement
b71ac8086a7b ceph: don't skip updating wanted caps when cap is stale
acbfccc6a3e3 ceph: return ceph_mdsc_do_request() errors from __get_parent()
fb669262fdef scsi: libfc: If PRLI rejected, move rport to PLOGI state
8427b05a7a1f scsi: lpfc: Fix crash in target side cable pulls hitting WAIT_FOR_UNREG
0c5733a96261 scsi: lpfc: Fix crash after handling a pci error
9d1062c4dd14 scsi: lpfc: Fix kasan slab-out-of-bounds error in lpfc_unreg_login
66491dadd125 watchdog: reset last_hw_keepalive time at start
7b709f1ba800 tools/testing/nvdimm: Fix compilation failure without CONFIG_DEV_DAX_PMEM_COMPAT
810045068bda arm64: Silence clang warning on mismatched value/register sizes
aa50d567ec4a arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space
6de0c621191a arm64: Fake the IminLine size on systems affected by Neoverse-N1 #1542419
f2791551cedb arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419
4b823bf7c2ca net, ip_tunnel: fix interface lookup with no key
5811f24abd27 f2fs: fix to avoid memory leakage in f2fs_listxattr
79ad14904152 ext4: fix extent_status fragmentation for plain files
0c418786cb3a Linux 5.4.35
a801a05ca714 bpf, test_verifier: switch bpf_get_stack's 0 s> r8 test
8781011a302b bpf: Test_progs, add test to catch retval refine error handling
37e1cdff90c1 bpf: Test_verifier, bpf_get_stack return value add <0
3bd5bcafbbf3 bpf: fix buggy r0 retval refinement for tracing helpers
f1afcf9488fc KEYS: Don't write out to userspace while holding key semaphore
5d53bfdce008 mtd: phram: fix a double free issue in error path
4191ebe1fc71 mtd: lpddr: Fix a double free in probe()
7d4adb1d3c69 docs: Fix path to MTD command line partition parser
318d5088fdfe mtd: spinand: Explicitly use MTD_OPS_RAW to write the bad block marker to OOB
700bccb8e9a2 mtd: rawnand: free the nand_device object
0c72ec11d8bd locktorture: Print ratio of acquisitions, not failures
01c9e2a9fc5c tty: evh_bytechan: Fix out of bounds accesses
f656649089a3 fbmem: Adjust indentation in fb_prepare_logo and fb_blank
47e4d791d514 iio: si1133: read 24-bit signed integer for measurement
a2a385aae551 ARM: dts: sunxi: Fix DE2 clocks register range
7e141c307834 fbdev: potential information leak in do_fb_ioctl()
f0938746879a dma-debug: fix displaying of dma allocation type
bc69709c54df net: dsa: bcm_sf2: Fix overflow checks
762d35aa906f drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging during init
a156e67acf6c f2fs: fix to wait all node page writeback
f08e4e70b0ac iommu/amd: Fix the configuration of GCR3 table root pointer
436af737c3c2 libnvdimm: Out of bounds read in __nd_ioctl()
dcb122749f58 power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.
760eecac993b csky: Fixup init_fpu compile warning with __init
1500c7003146 sunrpc: Fix gss_unwrap_resp_integ() again
ddb8812a21e1 ext2: fix debug reference to ext2_xattr_cache
24191c8c9bd2 iommu/vt-d: Fix page request descriptor size
a5a1d567a069 iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr()
21439dff919e ext2: fix empty body warnings when -Wextra is used
d00041a48c3e SUNRPC: fix krb5p mount to provide large enough buffer in rq_rcvsize
900cd0f6c688 iommu/vt-d: Fix mm reference leak
9c01a49a7117 iommu/virtio: Fix freeing of incomplete domains
475bec7063bc drm/vc4: Fix HDMI mode validation
b58244c482ce um: falloc.h needs to be directly included for older libc
6c3339269a8a ACPICA: Fixes for acpiExec namespace init file
9f8b1216dac9 f2fs: fix NULL pointer dereference in f2fs_write_begin()
57615a8561f0 csky: Fixup get wrong psr value from phyical reg
c848e00e3b95 NFS: Fix memory leaks in nfs_pageio_stop_mirroring()
2e03d3c569b6 drm/amdkfd: kfree the wrong pointer
e907a0d09b34 csky: Fixup cpu speculative execution to IO area
88591187bebc x86: ACPI: fix CPU hotplug deadlock
a9282e58238d leds: core: Fix warning message when init_data
ddf39dc2f7a3 drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges
f24d8de03b72 KVM: s390: vsie: Fix possible race when shadowing region 3 tables
3910babeac1a compiler.h: fix error in BUILD_BUG_ON() reporting
b525f94f16e5 percpu_counter: fix a data race at vm_committed_as
ffac60b8bc5f include/linux/swapops.h: correct guards for non_swap_entry()
2a40eaab1fc4 drm/nouveau/svm: fix vma range check for migration
f3955f1e58be drm/nouveau/svm: check for SVM initialized before migrating
a825ce86ebed mm/hugetlb: fix build failure with HUGETLB_PAGE but not HUGEBTLBFS
23e2519760f8 cifs: Allocate encryption header through kmalloc
6ba010ea4856 um: ubd: Prevent buffer overrun on command completion
b9f88c31b266 ext4: do not commit super on read-only bdev
4078dceb1228 s390/cpum_sf: Fix wrong page count in error message
fd80f4a6805c powerpc/maple: Fix declaration made after definition
bee9bc3e0248 powerpc/prom_init: Pass the "os-term" message to hypervisor
765052217847 btrfs: add RCU locks around block group initialization
285f25c97f24 hibernate: Allow uswsusp to write to swap
4753b111f003 s390/cpuinfo: fix wrong output when CPU0 is offline
380d12904603 f2fs: Add a new CP flag to help fsck fix resize SPO issues
066f1e4174f2 f2fs: Fix mount failure due to SPO after a successful online resize FS
ea468f37370a NFS: direct.c: Fix memory leak of dreq when nfs_get_lock_context fails
81b41f5ecc96 phy: uniphier-usb3ss: Add Pro5 support
3e85d501828c f2fs: fix to show norecovery mount option
ffbad91b66ce KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests
ea410f2a1fc8 ARM: dts: rockchip: fix lvds-encoder ports subnode for rk3188-bqedison2qc
59bafdc99440 NFSv4.2: error out when relink swapfile
264e3f1597e8 NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid()
07cd4e8f745c NFS: alloc_nfs_open_context() must use the file cred when available
66bfacd0f302 rtc: 88pm860x: fix possible race condition
56aaa0e8c92a dma-coherent: fix integer overflow in the reserved-memory dma allocation
960bf4e436ca soc: imx: gpc: fix power up sequencing
1e7abaf24875 arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay
d7b59cd020f7 arm64: tegra: Fix Tegra194 PCIe compatible string
5615f66bfdfc arm64: tegra: Add PCIe endpoint controllers nodes for Tegra194
540f9620f192 clk: tegra: Fix Tegra PMC clock out parents
b7dee304aa0e power: supply: bq27xxx_battery: Silence deferred-probe error
6a7721714835 arm64: dts: allwinner: a64: Fix display clock register range
5d2861f840bb ARM: dts: rockchip: fix vqmmc-supply property name for rk3188-bqedison2qc
1321fb4320e7 f2fs: fix the panic in do_checkpoint()
6d4330391c49 net/mlx5e: Enforce setting of a single FEC mode
0d03cbfdf364 clk: at91: usb: continue if clk_hw_round_rate() return zero
04e43c7c664a clk: Don't cache errors from clk_ops::get_phase()
83321ee302e3 drm/ttm: flush the fence on the bo after we individualize the reservation object
94ebb1eea0e7 x86/Hyper-V: Free hv_panic_page when fail to register kmsg dump
d662b44161e4 rbd: call rbd_dev_unprobe() after unwatching and flushing notifies
88a57e387cf0 rbd: avoid a deadlock on header_rwsem when flushing notifies
a362482b2325 block, bfq: invoke flush_idle_tree after reparent_active_queues in pd_offline
839b7cd1d8bc block, bfq: make reparent_leaf_entity actually work only on leaf entities
ad749ca022ad block, bfq: turn put_queue into release_process_ref in __bfq_bic_change_cgroup
00d392873771 afs: Fix race between post-modification dir edit and readdir/d_revalidate
42e343cf3285 afs: Fix afs_d_validate() to set the right directory version
8c3e4ba0fa7a afs: Fix rename operation status delivery
4eba6ec9644a afs: Fix decoding of inline abort codes from version 1 status records
0604b60ef9d7 afs: Fix missing XDR advance in xdr_decode_{AFS,YFS}FSFetchStatus()
4f7b1e892ed0 x86/Hyper-V: Report crash data in die() when panic_on_oops is set
5097186b279a x86/Hyper-V: Report crash register data when sysctl_record_panic_msg is not set
31ebf98817c6 x86/Hyper-V: Report crash register data or kmsg before running crash kernel
1ed38a98478f x86/Hyper-V: Trigger crash enlightenment only once during system crash.
9f38f7b46de0 x86/Hyper-V: Unload vmbus channel in hv panic callback
4c2a34f9f448 of: overlay: kmemleak in dup_and_fixup_symbol_prop()
93ef21bb1a72 of: unittest: kmemleak in of_unittest_overlay_high_level()
a1371954ee49 of: unittest: kmemleak in of_unittest_platform_populate()
dd3dd28241e0 of: unittest: kmemleak on changeset destroy
25c9cdef5748 xsk: Add missing check on user supplied headroom size
9244c79da15c ALSA: hda: Don't release card at firmware loading error
182fa4d72a7c irqchip/mbigen: Free msi_desc on device teardown
daefa51c4353 netfilter: nf_tables: report EOPNOTSUPP on unsupported flags/object type
aea3873fb02c kbuild, btf: Fix dependencies for DEBUG_INFO_BTF
e1e5c219f033 ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN.
ed0a5355aa62 ALSA: hda: Honor PM disablement in PM freeze and thaw_noirq ops
d8b667b45d72 scsi: sg: add sg_remove_request in sg_common_write
d979eda8a72b objtool: Fix switch table detection in .text.unlikely
2613535abd3b arm, bpf: Fix offset overflow for BPF_MEM BPF_DW
d4adee8e8f2f arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0
e7f6c25bafa6 xsk: Fix out of boundary write in __xsk_rcv_memcpy
9a9eae78529c watchdog: sp805: fix restart handler
41d097c83343 ext4: use non-movable memory for superblock readahead
(From OE-Core rev: dc05c81a0f74f7a7cc2852e5e66b871514b77817)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2503b1a55b3525ad8f97d3adafd442688dbd4397)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note that this patch affects qemuarm AND qemuarm64.
When booting a VM and during operation, the following message
periodically appears:
INIT: Id "hvc0" respawning too fast: disabled for 5 minutes
This is because hvc0 is specified in SERIAL_CONSOLES in qemuarm.conf
and qemuarm64.conf, but it is not in /proc/consoles and
SERIAL_CONSOLES_CHECK is not specified, leaving getty to attempt to
enable hvc0. Add SERIAL_CONSOLES_CHECK to both conf files so that
hvc0 isn't enabled if it hasn't been set there or in local.conf.
(From OE-Core rev: e2658a7d73b6f21939e644e533718cd05b288766)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 982b7f98b8423236cc986346379b1bde3694f131)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior to fetching, the system checks if the sstate file is present
either locally or on the mirror. If it is, then it goes to the fetch
stage. Up to three files can be fetched, sstate, sstate.siginfo and
sstate.sig (if signature validation is enabled).
The previous pstaging_fetch function would iterate over these, and if
a download error occurred would spew forth a great amount of fetcher
failure messages as well as stop fetching the next item in the set.
This was resolved by adding a fetcher.checkstatus() call prior to
the download. If the file isn't present, then the exception will
be triggered, and no fetcher failure messages will reach the user.
The exception handler is then modified to be a pass so that it will
loop and pull the rest of the files that that are requested.
Additionally, a check for the existance of the .sig file was added
to the sstate_installpkg to avoid an error trying to load the .sig
if it wasn't downloaded.
(From OE-Core rev: ec58532ab6fc6343144da67789c928c751d36c06)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a9085140434e2d26c0bb75bb53fcb7f7c19ef86d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a build break which rarely happens but is seen often enough
with 4.1 kernel based builds
/bin/sh: 1: scripts/basic/fixdep: Permission denied
scripts/Makefile.host:124: recipe for target 'scripts/dtc/srcpos.o' failed
make[3]: *** [scripts/dtc/srcpos.o] Error 126
this patch sequences the build targets so it can work reliably with
different kernel versions
Divide the target into scripts_basic scripts is not
strictly necessary and was simply what was used for
testing on kernel 4.1, which is quite an old kernel
perhaps just using scripts is sufficient, but it is not tested to not
known will cause the build race as seen above.
(From OE-Core rev: 8a7da39c04fbab1280c464f39a791e4fbd1e7da9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55ac6e2d251287419138931aa0d0894cf1267787)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When falling back from detecting ip from /proc/./cmdline the
output of runqemu is acutally
'Network configuration: ip=192.168.7.2::192.168.7.1::255.255.255.0'
which doesn't match the given regex and leading to run failure, although
IP is detectable.
Fix regex by inserting an optional 'ip=' prefix to first IP
(From OE-Core rev: 9c2efe41d5d894094552c4bbc4180675a5aac751)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 75f2471d15fab024775c59cb70c54e3f25f9ae72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was only used for pulling in zlib, but this is now
a direct dependency.
Also move the DEPENDS to a more common location in the file.
(From OE-Core rev: ce5500cc07da270322b67db5001fc1476b6bf2fe)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a99fd8b705be3b8c70cb0f17f60b013d989d625c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a terminal fails to spawn() we should continue looking.
gnome-terminal, in particular can be present but not start.
(From OE-Core rev: 5ca00faa9c085fef1781b66561de461e9cc5b117)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e4babdeee38d32002a4c9129e77466ae4156dd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only ptest logs are accessible with the log command, this
adds support so the ltp logs can be extracted too.
(From OE-Core rev: 0b513274a0ae722065cf1a605090000e854e2f81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64a2121a875ce128959ee0a62e310d5f91f87b0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've long since wondered why there was some odd output in result reports,
remove the leftover debug which was causing it.
(From OE-Core rev: 10d1d2ffa0906561d65886caee44652242139913)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66e96bf70753933714ff8edcc13a1f35a052656f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The argument urls of bb.fetch2.Fetch(urls, d) are duplicated to SRC_URI, which caused errors like:
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
The SCMs are:
git://github.com/docker/notary.git;destsuffix=git/src/github.com/docker/notary
git://github.com/docker/notary.git
The first one is from original SRC_URI, the second one is from the
variable 'urls', so cleanup SRC_URI before call bb.fetch2.Fetch() can fix the
problem.
(From OE-Core rev: a7f50876f95a9be9fe045af1e4efddfe53a983f5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b244c4f3427cd07376d4b8f7d27e38735bcc90e7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'inherit' directive may not be used in conf files as it's supposed
to be used for the inheritance of classes.
Correct form in conf file is INHERIT.
This commit adds:
- a sanity check to find whether the wrong case exists
- fail the build if so
- tell user about the difference in directives
[YOCTO #5426]
(From OE-Core rev: bc6e27aeed5d536d2b764949c307f260f78b7810)
Signed-off-by: Gregor Zatko <gzatko@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07bf9b460fe97dec86439302a83bbefa8bac9d70)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As in other places in the file, skip layers that don't define a
collection when searching for a layer to resolve a dependency. Fixes
KeyError exceptions when attempting to access the layer collections
later
(From OE-Core rev: ae65adf471a9ad04c6a44bf020a28f1006db106a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26090a2861ebe21224aaf89d7be0c0a89ca58e48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Certain recipes e.g. bash readline ( from meta-gplv2 ) download patches instead of having them in
metadata, this could fail cve_check
ERROR: readline-5.2-r9 do_cve_check: File Not found: qemuarm/build/../downloads/readline52-001
This patch ensures that download is done before running CVE scan, even
though these will be external patches and may not contain CVE tags as it
expects, but it will fix the run failures as seen above
(From OE-Core rev: dbf143d79476e54e8da93101fc16eaedeec88362)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e406fcb6c609a0d2456d7da0d2406d2d9fa52dd2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As these comments have been around since 2015 and apparently unused,
get rid of hundreds of them.
(From yocto-docs rev: 98687310b9e2d4cd3bd4c96e100877414dcf791c)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit afec5770a22ac51c956e87567bf39e71064e9f04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was, years ago, deprecated in favour of FEATURE_PACKAGES, so
remove all references, other than the entry in the migration section.
(From yocto-docs rev: 2deac02f283547f66d1f7a002f5bf07ddd449401)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The example service files are placed into /etc/avahi/services when we
run `make install` for avahi. This results in ssh and sftp-ssh services
being announced by default even if no ssh server is installed in an
image.
These example files should be moved away to another location such as
/usr/share/doc/avahi (taking inspiration from Arch Linux).
(From OE-Core rev: c88cf750f26f6786d6ba5b4f1f7e5d4f0c800e6e)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes the fixes for CVE-2020-5260 and CVE-2020-11008.
(From OE-Core rev: 46da8ac6d25bb75c625c2da1d36cbc693a7d442d)
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file-native when built on a Debian 10 host will embed a dependency to
'libbz2.so.1.0' (instead of 'libbz2.so.1'). This can cause issues
when sharing the sstate between hosts e.g.:
recipe-sysroot-native/usr/lib/rpm/rpmdeps:
error while loading shared libraries: libbz2.so.1.0: \
cannot open shared object file: No such file or directory
To avoid this situation, let's add the bzip2-replacement-native to the
file recipe's DEPENDS_class-native .
Details in https://bugzilla.yoctoproject.org/show_bug.cgi?id=13915 .
(From OE-Core rev: 5a2bc3bfa9e1a4f37b6e26a5c40a4a9c025d03f1)
Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a996574464028bd5d57b90920d0887d1a81e9e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is printed by testimage, but isn't actually saved.
It's a useful metric for tracking execution times.
(From OE-Core rev: 866c652c850d9e23300218fcbe0b9e4b3ade2ebf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fc19639f47b959a141dae231395bbababa644e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move logic checking that all packages licenses are only a subset of
recipe licenses from base.bbclass to the insane.bbclass so that it's
evaluated only once, during do_package_qa.
As explained in the linked bugzilla entry, if a package license is not
part of the recipe license, the warning message gets shown an
unreasonable amount of time because it's evaluated every time a recipe
is parsed.
[YOCTO #10130]
This also makes it possible to silence this error with INSANE_SKIP.
(From OE-Core rev: ae404ef230882e442e9390b314e1ce023fdbbd1b)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 852408ed4be1f64c57e196688728b7ed223d3493)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libubootenv depends on zlib as it calls at least crc32() from
there and links against it. Add the DEPENDS entry.
(From OE-Core rev: dc5babe9472ba7379edbb17b6cbac44604606b26)
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit db513f9ec59b7ac526b2cdc42b0eb2573e134bc4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the missing rdepends to fix below error:
# python3
[snip]
>>> import setuptools.lib2to3_ex
[snip]
ModuleNotFoundError: No module named 'lib2to3'
ModuleNotFoundError: No module named 'pickle'
(From OE-Core rev: d19d1ccca3f86a59a72023727d3d804c2e9d18dc)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit be5c3c989d75290863cc7aef9949cf6e82d3070f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To ensure that archives are captured for all dependencies of a typical
bitbake build we add do_deploy_archives to the list of recursive
dependencies of do_build. Without this, archives may be missed for
recipes such as gcc-source which do not create packages or populate a
sysroot.
do_deploy_archives is also added to the recursive dependencies of
do_populate_sdk so that all sources required for an SDK can be captured.
(From OE-Core rev: 66a2e4bcafb3f8835bb21d73a9e78e7d9d15bbd3)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e1feb6030cd8e77c553ec10a366cbeb7e902bada)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Explicitly make the BUILT_SOURCES which
are the generated headers such as stdio.h,
fcntl.h and etc to be the dependencies of
the gl_LIBOBJS such as libbison_a-sprintf.o,
libbison_a-printf.o and etc to guarantee the
BUILT_SOURCES is generated before begin to
compile EXTRA_lib_libbison_a_SOURCES such as
fprintf.c in parallel builid, otherwise there
may come below error:
| muscle-tab.c:(.text+0x77a): undefined reference to `rpl_sprintf'
It does the same for src_bison_OBJECTS and
lib_libbison_a_OBJECTS to make sure BUILT_SOURCES
generated before begin to compile src_bison_SOURCES
which contains AnnotationList.c and etc.
BTW, the MOSTLYCLEANFILES also contains the
generated header needs to be created early
in the build process, so add it also in to
avoid below error:
| ./lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory
[YOCTO #13825]
(From OE-Core rev: 99ddfee2a2434d282749e2062987067f70b0ef54)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 43d74b11095092b13f94074785d0306484fabea6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to build gcr if no commmand gpg on build host:
| meson.build:44:0: ERROR: Program(s) ['gpg2', 'gpg'] not found or not executable
Add dependency gnupg-native to fix the error.
(From OE-Core rev: da7360247995d7c8e79dfcaa0c0761952a9013f1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e4a6eda4c246b2bca059defed796bdab19a7ab5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A few options of file configure are set to auto, which can lead to
unpredictable effects when something in the sysroot does provide
things that satisfy the autotools checks.
In the worst case this will lead to package-qa failures as libraries are
not set in RDEPENDS but configured for the tool.
To mitigate changes of accidental configure set explicit options via
newly introduced PACKAGECONFIG variables for bzip, lzma and zlib
support, where the default is just zlib, as it was before
(From OE-Core rev: 5bfdb6bfbd6f1de10d415228e5a5ebe01a623e2a)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some pypi packages do have suffixes like dev, or a0 or b1.
When doing a version check on these, the version will get falsely
identified as major release versions.
Add a terminating slash to rule out those false positives
(From OE-Core rev: 0603f6d9f2abfa67b99b1bc39228f6aa16a0370d)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevents git commands run in a recipe from moving up past ${WORKDIR}
when searching for a .git directory, and thus prevents them from
detecting the parent OE-core .git directory. Fixes several
reproducibility issues where recipes would use the OE-core version as
the recipe version due to git walking up the tree.
(From OE-Core rev: 02ecf3e2a98a614805f6f2574c2bf14162192d01)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the past kernel built object files were named 'built-in.o'.
Nowadays it is 'built-in.a'.
The script is modified to work with both. I expect
it will not happen that there are built-in.a and built-in.o
files in the same kernel.
(From OE-Core rev: 8a883c3b0773960908491c03c46e7ed320e41dc5)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, the opkg-key command is not included in pokg package because
it is only installed when gpg support is enabled. We'd better check if
it exists before run 'opkg-key populate' in pkg_postinst.
(From OE-Core rev: 174c27e4edea0af92f60779cf3f63d21f6bce6fe)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When vpnc support is included through PACKAGECONFIG, there
is now an extra vpn-script coming after the atest upgrade,
include that script into FILES so it gets packaged.
(From OE-Core rev: 8587149c49dd8d1e1a0a0b5cf81e458bfa88547e)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backports a patch from upstream to fix a reproducibility problem where
paths would be encoded in the binary.
Drops an obsolete patch that conflicted with the backport
(From OE-Core rev: b8f5114aabf6bbbc4adf5802a6707efaf18ba2ee)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
6ccc74c083c0 Linux 5.4.34
b538aacc9400 x86/microcode/AMD: Increase microcode PATCH_MAX_SIZE
856a74fd7e61 scsi: target: fix hang when multiple threads try to destroy the same iscsi session
992e469b4c44 scsi: target: remove boilerplate code
4b3380e007b2 x86/resctrl: Fix invalid attempt at removing the default resource group
3652782e3a87 x86/resctrl: Preserve CDP enable over CPU hotplug
6b5e8e7cbe24 irqchip/ti-sci-inta: Fix processing of masked irqs
9d2759006e29 ext4: do not zeroout extents beyond i_disksize
653b42530952 i2c: designware: platdrv: Remove DPM_FLAG_SMART_SUSPEND flag on BYT and CHT
e2b80bf26956 drm/amdgpu: fix the hw hang during perform system reboot and reset
251f13126e23 drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
eecd70c77ff3 net/mlx5e: Use preactivate hook to set the indirection table
57f578bce415 net/mlx5e: Rename hw_modify to preactivate
67284c11399f net/mlx5e: Encapsulate updating netdev queues into a function
cae385538886 mac80211_hwsim: Use kstrndup() in place of kasprintf()
a8ce3412e8a2 mac80211: fix race in ieee80211_register_hw()
21350f28b226 nl80211: fix NL80211_ATTR_FTM_RESPONDER policy
aa5b11bb333c btrfs: check commit root generation in should_ignore_root
0026e356e51a tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
a0aaafe7ce4b keys: Fix proc_keys_next to increase position index
f32a339e0321 arm64: vdso: don't free unallocated pages
5209e5f05bf2 ALSA: usb-audio: Check mapping at creating connector controls, too
250db0305392 ALSA: usb-audio: Don't create jack controls for PCM terminals
aae6e154680f ALSA: usb-audio: Don't override ignore_ctl_error value from the map
9acfd1ac016a ALSA: usb-audio: Filter error from connector kctl ops, too
0eb7bcf3ad32 ALSA: hda/realtek - Enable the headset mic on Asus FX505DT
549a48900d8e ASoC: Intel: mrfld: return error codes when an error occurs
86ec55651fd2 ASoC: Intel: mrfld: fix incorrect check on p->sink
538b623fed6d usb: dwc3: gadget: Don't clear flags before transfer ended
3bffb20603cd arm64: dts: librem5-devkit: add a vbus supply to usb0
3a8dc1e91561 ARM: dts: imx7-colibri: fix muxing of usbc_det pin
c2c5d07090d4 clk: at91: usb: use proper usbs_mask
90c1f740ddf8 clk: at91: sam9x60: fix usb clock parents
c874d9d116d8 ext4: fix incorrect inodes per group in error message
dd7b410c9b01 ext4: fix incorrect group count in ext4_fill_super error message
44c70ed66c93 net/bpfilter: remove superfluous testing message
229563dc6b04 pwm: pca9685: Fix PWM/GPIO inter-operation
0a4c06f0db06 perf report: Fix no branch type statistics report issue
4542e583e2b8 acpi/nfit: improve bounds checking for 'func'
5815a5d70def jbd2: improve comments about freeing data buffers whose page mapping is NULL
8078d3af4af7 platform/chrome: cros_ec_rpmsg: Fix race with host event
777c8c9f11a8 scsi: ufs: Fix ufshcd_hold() caused scheduling while atomic
66458aa271b0 ovl: fix value of i_ino for lower hardlink corner case
c85a7109f905 Revert "ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()"
4f2fb2a1990a net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes
a06a51d59292 net/mlx5e: Fix pfnum in devlink port attribute
e25122586403 net/mlx5e: Fix nest_level for vlan pop action
cb8892f52ec9 net/mlx5e: Add missing release firmware call
34310505d404 net/mlx5: Fix frequent ioread PCI access during recovery
1ff0732cf805 net: ethernet: mediatek: move mt7623 settings out off the mt7530
f749a8bfdd38 net: dsa: mt7530: move mt7623 settings out off the mt7530
bb54dcca3fb5 net: tun: record RX queue in skb before do_xdp_generic()
f6b264f2a04c net: revert default NAPI poll timeout to 2 jiffies
61260486790e net: qrtr: send msgs from local of same id as broadcast
81dc4e9bff98 net: phy: micrel: use genphy_read_status for KSZ9131
a9a851f0ec67 net: ipv6: do not consider routes via gateways for anycast address check
22e56cb2f951 net: ipv4: devinet: Fix crash when add/del multicast IP with autojoin
3ca854743110 net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode
016e3531d5c1 l2tp: Allow management of tunnels and session in user namespace
22ea267a9cd6 hsr: check protocol version in hsr_newlink()
ced57064a085 amd-xgbe: Use __napi_schedule() in BH context
dc4059d21d87 Linux 5.4.33
484cc15ad00f scsi: lpfc: fix inlining of lpfc_sli4_cleanup_poll_list()
8dead2c275e4 ASoC: stm32: sai: Add missing cleanup
aed5ee6befcc efi/x86: Fix the deletion of variables in mixed mode
0c839eee166a mfd: dln2: Fix sanity checking for endpoints
b70eb420e96d bpf: Fix tnum constraints for 32-bit comparisons
26711cc7e064 mmc: sdhci: Refactor sdhci_set_timeout()
56a296657e4b mmc: sdhci: Convert sdhci_set_timeout_irq() to non-static
c1f3e1d8d7e6 powerpc/kasan: Fix kasan_remap_early_shadow_ro()
36b0b1f63994 drm/i915/icl+: Don't enable DDI IO power on a TypeC port in TBT mode
bdac1d76a310 drm/amdgpu: fix gfx hang during suspend with video playback (v2)
d1bbdf003c05 drm/dp_mst: Fix clearing payload state on topology disable
7676e69c67e3 Revert "drm/dp_mst: Remove VCPI while disabling topology mgr"
ba74ab0c29fc scsi: lpfc: Fix broken Credit Recovery after driver load
33ebae4f3ba6 scsi: lpfc: Fix configuration of BB credit recovery in service parameters
037b0b5521a4 scsi: lpfc: Fix Fabric hostname registration if system hostname changes
f48e7593523e scsi: lpfc: Add registration for CPU Offline/Online events
33344a7661a1 dm clone: Add missing casts to prevent overflows and data corruption
2d7eb7ee36a3 dm clone: Fix handling of partial region discards
dcf2f00b0869 dm clone: replace spin_lock_irqsave with spin_lock_irq
fddfa591da8e dm zoned: remove duplicate nr_rnd_zones increase in dmz_init_zone()
1ba26c2aedb4 arm64: Always force a branch protection mode when the compiler has one
ba7581be850b powerpc: Make setjmp/longjmp signature standard
3457b2232eaf scsi: mpt3sas: Fix kernel panic observed on soft HBA unplug
e294f8a5ad31 powerpc/64: Prevent stack protection in early boot
fc8755dc01d1 powerpc/kprobes: Ignore traps that happened in real mode
ed6f6b2b39af powerpc/xive: Fix xmon support on the PowerNV platform
1ab730b65946 powerpc/64: Setup a paca before parsing device tree etc.
9240f83aa9c7 powerpc/xive: Use XIVE_BAD_IRQ instead of zero to catch non configured IPIs
bd0fa144737c powerpc/hash64/devmap: Use H_PAGE_THP_HUGE when setting up huge devmap PTE entries
81b9336ab20e powerpc/fsl_booke: Avoid creating duplicate tlb1 entry
38aa7f32dfd8 powerpc/64/tm: Don't let userspace set regs->trap via sigreturn
0abc07d23c51 xen/blkfront: fix memory allocation flags in blkfront_setup_indirect()
5fdf01181cb8 ipmi: fix hung processes in __get_guid()
d0b9bd4804a7 libata: Return correct status in sata_pmp_eh_recover_pm() when ATA_DFLAG_DETACH is set
ec2c054e87a5 hfsplus: fix crash and filesystem corruption when deleting files
af80e6f70f72 cpufreq: powernv: Fix use-after-free
9cc4f52d34a2 kmod: make request_module() return an error when autoloading is disabled
bf4fcd52742e clk: ingenic/TCU: Fix round_rate returning error
9e8388fdf4de clk: ingenic/jz4770: Exit with error if CGU init failed
7bcca67bdee8 ftrace/kprobe: Show the maxactive number on kprobe_events
7dad5beb8dfd Input: i8042 - add Acer Aspire 5738z to nomux list
efb9e9f723f5 s390/diag: fix display of diagnose call statistics
453fb8b20db4 perf tools: Support Python 3.8+ in Makefile
beb3ef51cfd8 ocfs2: no need try to truncate file beyond i_size
47199f4b87eb fs/filesystems.c: downgrade user-reachable WARN_ONCE() to pr_warn_once()
6772387e8201 ext4: fix a data race at inode->i_blocks
699d2c4d667e NFS: Fix a page leak in nfs_destroy_unlinked_subrequests()
6b64cbd05807 NFS: Fix use-after-free issues in nfs_pageio_add_request()
98a817eda5bc nfsd: fsnotify on rmdir under nfsd/clients/
27993365c009 powerpc/pseries: Avoid NULL pointer dereference when drmem is unavailable
4e4c6760fe03 drm/amdgpu: unify fw_write_wait for new gfx9 asics
45bc323b8102 drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK
fe0ec6f90e4d drm: Remove PageReserved manipulation from drm_pci_alloc
b716a5f5ec65 drm/etnaviv: rework perfmon query infrastructure
463a2dddb4f9 drm/i915/gem: Flush all the reloc_gpu batch
cda1eda28f1d vfio: platform: Switch to platform_get_irq_optional()
b5eec37a3b85 selftests/powerpc: Add tlbie_test in .gitignore
e1ec78f93042 selftests/vm: fix map_hugetlb length used for testing read and write
336b96a68170 selftests: vm: drop dependencies on page flags from mlock2 tests
20a62e9073f3 arm64: armv8_deprecated: Fix undef_hook mask for thumb setend
3d66a67f7310 arm64: dts: ti: k3-am65: Add clocks to dwc3 nodes
9d971b0059a2 ARM: dts: exynos: Fix polarity of the LCD SPI bus on UniversalC210 board
e5b9c1027ee8 scsi: lpfc: Fix lpfc_io_buf resource leak in lpfc_get_scsi_buf_s4 error path
73a122c2636d scsi: ufs: fix Auto-Hibern8 error detection
0ad68e6212ad scsi: zfcp: fix missing erp_lock in port recovery trigger for point-to-point
8179a260313e crypto: ccree - dec auth tag size from cryptlen map
9135cd1b0f64 crypto: ccree - only try to map auth tag if needed
a86744642789 crypto: ccree - protect against empty or NULL scatterlists
f3f13f979448 crypto: caam - update xts sector size for large input length
bc8413b626dd crypto: caam/qi2 - fix chacha20 data size error
07378b099139 xarray: Fix early termination of xas_for_each_marked
8f4c8e92bdac XArray: Fix xas_pause for large multi-index entries
a1ffc47f22a8 dm clone metadata: Fix return type of dm_clone_nr_of_hydrated_regions()
996f8f1ba72a dm clone: Add overflow check for number of regions
2e703059348d dm verity fec: fix memory leak in verity_fec_dtr
833309f3fb51 dm integrity: fix a crash with unusually large tag size
bef0d2f5fdcb dm writecache: add cond_resched to avoid CPU hangs
5c84ab9c96d7 mm, memcg: do not high throttle allocators based on wraparound
935e87b20c56 arm64: dts: allwinner: h5: Fix PMU compatible
1dbfae009525 sched/core: Remove duplicate assignment in sched_tick_remote()
8b068046321f arm64: dts: allwinner: h6: Fix PMU compatible
27dbb3633809 net: qualcomm: rmnet: Allow configuration updates to existing devices
add09c86cd3e tools: gpio: Fix out-of-tree build regression
a0f079ac13be powerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init()
e0ae9da3fb2f mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions
7661469ef56e io_uring: honor original task RLIMIT_FSIZE
a181a74610e6 erofs: correct the remaining shrink objects
433868b19ce0 crypto: mxs-dcp - fix scatterlist linearization for hash
248414f50596 crypto: rng - Fix a refcounting bug in crypto_rng_reset()
6b936b1872ba remoteproc: Fix NULL pointer dereference in rproc_virtio_notify
5b677eddc547 remoteproc: qcom_q6v5_mss: Reload the mba region on coredump
241f681d19e1 remoteproc: qcom_q6v5_mss: Don't reassign mpss region on shutdown
87a9058d5552 btrfs: use nofs allocations for running delayed items
0425813c2279 btrfs: fix missing semaphore unlock in btrfs_sync_file
08e69ab983da btrfs: unset reloc control if we fail to recover
098d3da1ad30 btrfs: fix missing file extent item for hole after ranged fsync
b436fbff6fca btrfs: drop block from cache on error in relocation
dd68ba0d7355 btrfs: set update the uuid generation as soon as possible
441b83a84208 btrfs: reloc: clean dirty subvols if we fail to start a transaction
1bd44cada415 Btrfs: fix crash during unmount due to race with delayed inode workers
941dabde6c1a btrfs: Don't submit any btree write bio if the fs has errors
0297b7f9842e mtd: spinand: Do not erase the block before writing a bad block marker
4da7c98c3081 mtd: spinand: Stop using spinand->oobbuf for buffering bad block markers
c138ad0741fc CIFS: Fix bug which the return value by asynchronous read is error
9b35348318d1 smb3: fix performance regression with setting mtime
40888c31aca3 KVM: VMX: fix crash cleanup when KVM wasn't used
93a2b7368862 KVM: VMX: Add a trampoline to fix VMREAD error handling
771b9374a529 KVM: x86: Gracefully handle __vmalloc() failure during VM allocation
455f37affe13 KVM: VMX: Always VMCLEAR in-use VMCSes during crash with kexec support
bcd1d7462aba KVM: x86: Allocate new rmap and large page tracking when moving memslot
0c7fb8c91c0f KVM: s390: vsie: Fix delivery of addressing exceptions
654b70e84710 KVM: s390: vsie: Fix region 1 ASCE sanity shadow address checks
2c5bfcda8791 KVM: nVMX: Properly handle userspace interrupt window request
99a890ed7009 platform/x86: asus-wmi: Support laptops where the first battery is named BATT
bd90b96e3486 x86/entry/32: Add missing ASM_CLAC to general_protection entry
3dc06261a41f x86/tsc_msr: Make MSR derived TSC frequency more accurate
41a7f842e312 x86/tsc_msr: Fix MSR_FSB_FREQ mask for Cherry Trail devices
6c63cf15d066 x86/tsc_msr: Use named struct initializers
5f2d04139aa5 signal: Extend exec_id to 64bits
0a993df8d609 ath9k: Handle txpower changes even when TPC is disabled
d941b33bdc68 PM: sleep: wakeup: Skip wakeup_source_sysfs_remove() if device is not there
4fcbc35fab57 PM / Domains: Allow no domain-idle-states DT property in genpd when parsing
5bd5307cd264 MIPS: OCTEON: irq: Fix potential NULL pointer dereference
ed374eee8ce6 MIPS/tlbex: Fix LDDIR usage in setup_pw() for Loongson-3
4acbbe98e06a pstore: pstore_ftrace_seq_next should increase position index
38119a689766 io_uring: remove bogus RLIMIT_NOFILE check in file registration
6124e10dbc4f irqchip/versatile-fpga: Apply clear-mask earlier
3f3700c4697b genirq/debugfs: Add missing sanity checks to interrupt injection
6ecc37daf64e cpu/hotplug: Ignore pm_wakeup_pending() for disable_nonboot_cpus()
4b67e5afc2a0 KEYS: reaching the keys quotas correctly
f7384f90ecc7 tpm: tpm2_bios_measurements_next should increase position index
27544e1bdcc6 tpm: tpm1_bios_measurements_next should increase position index
96e05bb57b40 tpm: Don't make log failures fatal
524089fa70ef sched/fair: Fix enqueue_task_fair warning
8b6f8619fc96 PCI: endpoint: Fix for concurrent memory allocation in OB address region
96843346b201 PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM
55b61a08bf86 PCI: Add boot interrupt quirk mechanism for Xeon chipsets
72d52a779e99 PCI/ASPM: Clear the correct bits when enabling L1 substates
463181e64f5f PCI: pciehp: Fix indefinite wait on sysfs requests
c755ca32c8cd efi/x86: Add TPM related EFI tables to unencrypted mapping checks
91bed1f1fb97 nvme-fc: Revert "add module to ops template to allow module references"
0eb4d8b985be nvmet-tcp: fix maxh2cdata icresp parameter
b3c7227ad4c6 thermal: devfreq_cooling: inline all stubs for CONFIG_DEVFREQ_THERMAL=n
e7251a88d387 ACPI: PM: s2idle: Refine active GPEs check
dd993e283bc3 ACPICA: Allow acpi_any_gpe_status_set() to skip one GPE
1efd20ea57d4 acpi/x86: ignore unspecified bit positions in the ACPI global lock field
52e6985f2c91 seccomp: Add missing compat_ioctl for notify
15ae94fe2211 media: ti-vpe: cal: fix a kernel oops when unloading module
3a59d985ceb1 media: ti-vpe: cal: fix disable_irqs to only the intended target
46b0e2900ee2 media: hantro: Read be32 words starting at every fourth byte
7ac962c5b730 media: venus: firmware: Ignore secure call error on first resume
be9956bac91a ALSA: hda/realtek - Add quirk for MSI GL63
09e7b678f3e0 ALSA: hda/realtek - Add quirk for Lenovo Carbon X1 8th gen
f5462668ad94 ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise fixups
a92931dea6b1 ALSA: hda/realtek - Set principled PC Beep configuration for ALC256
0f18192b6924 ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
3e7167475236 ALSA: hda/realtek - a fake key event is triggered by running shutup
faea94956333 ALSA: hda/realtek: Enable mute LED on an HP system
1dfcd70d1fcc ALSA: pcm: oss: Fix regression by buffer overflow fix
e3ab9c5540e3 ALSA: ice1724: Fix invalid access for enumerated ctl items
6a9ba565b41f ALSA: hda: Fix potential access overflow in beep helper
f4f0a1f017e0 ALSA: hda: Add driver blacklist
1ee0023c340e ALSA: usb-audio: Add mixer workaround for TRX40 and co
78a92756fc2c usb: gadget: composite: Inform controller driver of self-powered
a385ebdaa4dc usb: gadget: f_fs: Fix use after free issue as part of queue failure
9a8b1ba9d41f ASoC: topology: use name_prefix for new kcontrol
f467e054c03f ASoC: dpcm: allow start or stop during pause for backend
af0b76f9f632 ASoC: dapm: connect virtual mux with default value
803db8a07868 ASoC: fix regwmask
acec0e9a916a btrfs: track reloc roots based on their commit root bytenr
9632851a5326 btrfs: restart relocate_tree_blocks properly
ddc25a38ab36 btrfs: remove a BUG_ON() from merge_reloc_roots()
679885143c04 btrfs: qgroup: ensure qgroup_rescan_running is only set when the worker is at least queued
b37de1b1e882 block, bfq: fix use-after-free in bfq_idle_slice_timer_body
bd9afea9bde7 locking/lockdep: Avoid recursion in lockdep_count_{for,back}ward_deps()
b9da72cb7019 spi: spi-fsl-dspi: Replace interruptible wait queue with a simple completion
64a97384d4f4 firmware: fix a double abort case with fw_load_sysfs_fallback
2d29a61a14fa md: check arrays is suspended in mddev_detach before call quiesce operations
6420b2e5fa66 irqchip/gic-v4: Provide irq_retrigger to avoid circular locking dependency
80e85ab88b3f usb: dwc3: core: add support for disabling SS instances in park mode
b6257832dd45 media: i2c: ov5695: Fix power on and off sequences
510b4e069508 block: Fix use-after-free issue accessing struct io_cq
b9d5ced37ac7 genirq/irqdomain: Check pointer in irq_domain_alloc_irqs_hierarchy()
bceda1dd4716 efi/x86: Ignore the memory attributes table on i386
fc427b7a0266 x86/boot: Use unsigned comparison for addresses
f6bb3ea812f0 cpufreq: imx6q: fix error handling
c5bcaacd0640 gfs2: Don't demote a glock until its revokes are written
46bbc5526dd7 gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty
aa547b9dc20f pstore/platform: fix potential mem leak if pstore_init_fs failed
347f091094ab libata: Remove extra scsi_host_put() in ata_scsi_add_hosts()
288761c9f0a2 media: i2c: video-i2c: fix build errors due to 'imply hwmon'
fb80a18584a4 block, bfq: move forward the getting of an extra ref in bfq_bfqq_move
d1d846fb02a8 PCI/switchtec: Fix init_completion race condition with poll_wait()
75434bcc6593 selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault
dd39eadc71d4 sched: Avoid scale real weight down to zero
f7557078e16e media: allegro: fix type of gop_length in channel_create message
2902207377f8 time/sched_clock: Expire timer in hardirq context
3f755f5233a2 irqchip/versatile-fpga: Handle chained IRQs properly
c8b81c33c5cb debugfs: Check module state before warning in {full/open}_proxy_open()
fd66df97dce9 block: keep bdi->io_pages in sync with max_sectors_kb for stacked devices
e88ee287fd82 dma-mapping: Fix dma_pgprot() for unencrypted coherent pages
aa04e8d359d7 x86: Don't let pgprot_modify() change the page encryption bit
ce7a61a0d57d ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()
99e20a79d215 xhci: bail out early if driver can't accress host in resume
61ed3dcad80c media: imx: imx7-media-csi: Fix video field handling
dd051f1af594 media: imx: imx7_mipi_csis: Power off the source when stopping streaming
502b83e73e35 null_blk: fix spurious IO errors after failed past-wp access
38c1299f8c5c null_blk: Handle null_add_dev() failures properly
becd9a906657 null_blk: Fix the null_add_dev() error path
f9ee512dd913 firmware: arm_sdei: fix double-lock on hibernate with shared events
7bf2c31ba0bb media: venus: hfi_parser: Ignore HEVC encoding for V1
0d3d868b34af staging: wilc1000: avoid double unlocking of 'wilc->hif_cs' mutex
d5bc44e6b0d4 cpufreq: imx6q: Fixes unwanted cpu overclocking on i.MX6ULL
33dbe5867c39 media: rc: add keymap for Videostrong KII Pro
a5ef462303e0 i2c: pca-platform: Use platform_irq_get_optional
54d09aab81aa i2c: st: fix missing struct parameter description
28f5b6ee1c2f qlcnic: Fix bad kzalloc null test
d7f6f2b0be09 cfg80211: Do not warn on same channel at the end of CSA
068168461e68 drm/scheduler: fix rare NULL ptr race
f5429ec64f4f cxgb4/ptp: pass the sign of offset delta in FW CMD
d2037f68ae03 selftests/net: add definition for SOL_DCCP to fix compilation errors for old libc
9a3f55fc0f46 hinic: fix wrong value of MIN_SKB_LEN
a8f9fe793001 hinic: fix wrong para of wait_for_completion_timeout
243ebc24e01c hinic: fix out-of-order excution in arm cpu
5edd115ba09e hinic: fix the bug of clearing event queue
d63fac896335 hinic: fix a bug of waitting for IO stopped
ad4ad8253f89 net: vxge: fix wrong __VA_ARGS__ usage
b9c961998565 net: stmmac: platform: Fix misleading interrupt error msg
f96f2c885eda rxrpc: Fix call interruptibility handling
f8da7f442861 rxrpc: Abstract out the calculation of whether there's Tx space
96860db5c09f soc: fsl: dpio: register dpio irq handlers after dpio create
10e15e1b9297 Input: tm2-touchkey - add support for Coreriver TC360 variant
ed1c4d2ca9da iwlwifi: mvm: Fix rate scale NSS configuration
fd29a0242f86 bpf: Fix deadlock with rq_lock in bpf_send_signal()
5c234312e805 ARM: dts: Fix dm814x Ethernet by changing to use rgmii-id mode
d04ffa50f901 bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads
7092cc4590c0 ARM: dts: sun8i-a83t-tbs-a711: HM5065 doesn't like such a high voltage
(From OE-Core rev: 1a50634e56dfcb63eac0df1aa9cd7e6fb7bd470a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
bc844d58f697 Linux 5.4.32
ad5676629a12 iommu/vt-d: Allow devices with RMRRs to use identity domain
04ad505eed58 drm/i915: Fix ref->mutex deadlock in i915_active_wait()
047affa0ef00 fbcon: fix null-ptr-deref in fbcon_switch
d4083258db04 blk-mq: Keep set->nr_hw_queues and set->map[].nr_queues in sync
d020ff5060a4 RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
b40f1ae359f2 Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
7f5432c2f446 RDMA/siw: Fix passive connection establishment
09583e3f0402 RDMA/cma: Teach lockdep about the order of rtnl and lock
51795bcf595d RDMA/ucma: Put a lock around every call to the rdma_cm layer
ab6ee4330288 include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG for swap
193490dbe5ba ceph: canonicalize server path in place
56385788f7f6 ceph: remove the extra slashes in the server path
7dafb2c6fb46 ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A
cf7005662673 ARM: imx: Enable ARM_ERRATA_814220 for i.MX6UL and i.MX7D
4ac80b02f10d IB/mlx5: Replace tunnel mpls capability bits for tunnel_offloads
ccc2b645de20 IB/hfi1: Fix memory leaks in sysfs registration and unregistration
cd38d8b231f1 IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
9351dee1cc24 ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
e30a21c6fea5 platform/x86: intel_int0002_vgpio: Use acpi_register_wakeup_handler()
9da847d65f37 ACPI: PM: Add acpi_[un]register_wakeup_handler()
41a0cfa05c05 hwrng: imx-rngc - fix an error path
dfa210cf9f94 tools/accounting/getdelays.c: fix netlink attribute length
ea84a26ab633 slub: improve bit diffusion for freelist ptr obfuscation
8b0f08036659 uapi: rename ext2_swab() to swab() and share globally in swab.h
94d2d84bcafa usb: dwc3: gadget: Wrap around when skip TRBs
170f88a47b9f random: always use batched entropy for get_random_u{32,64}
5e331978200e s390: prevent leaking kernel address in BEAR
74107d56d1e8 r8169: change back SG and TSO to be disabled by default
5249653d971d mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE
671331c11c39 tun: Don't put_page() for all negative return values from XDP program
fdb6a094ba41 slcan: Don't transmit uninitialized stack data in padding
feed32e3d6fe net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
049b9fa3ef65 net_sched: fix a missing refcnt in tcindex_init()
1891d57f89aa net_sched: add a temporary refcnt for struct tcindex_data
1189ba9eedac net: phy: micrel: kszphy_resume(): add delay after genphy_resume() before accessing PHY registers
7d3d99f579e8 net: dsa: mt7530: fix null pointer dereferencing in port5 setup
bce7ce18bd18 net: dsa: bcm_sf2: Ensure correct sub-node is parsed
040f7a27583f net: dsa: bcm_sf2: Do not register slave MDIO bus with OF
bbbdd7956bab ipv6: don't auto-add link-local address to lag ports
77cf80793692 cxgb4: fix MPS index overwrite when setting MAC address
3fcd53b1d859 net: phy: realtek: fix handling of RTL8105e-integrated PHY
de850633a01f Linux 5.4.31
c3f87e03f90f mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
c3d4e6fc4b37 padata: always acquire cpu_hotplug_lock before pinst->lock
238112fcf391 net: Fix Tx hash bound checking
15ee8da79ee3 i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device
079c8da9e5ac watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional
b42afa3475bf watchdog: iTCO_wdt: Export vendorsupport
4ebd16641797 tcp: fix TFO SYNACK undo to avoid double-timestamp-undo
a6b1820d3330 IB/hfi1: Ensure pq is not left on waitlist
c4168080f1d4 rxrpc: Fix sendmsg(MSG_WAITALL) handling
be8a3aecd21a iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails
b4190809a17b iwlwifi: yoyo: don't add TLV offset when reading FIFOs
00e332e42bbe iwlwifi: consider HE capability when setting LDPC
5f843cb77142 net/mlx5e: kTLS, Fix wrong value in record tracker enum
ea26f82a0422 soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper
f6c8f128856b ALSA: hda/ca0132 - Add Recon3Di quirk to handle integrated sound on EVGA X99 Classified motherboard
2892100bc85a Revert "dm: always call blk_queue_split() in dm_process_bio()"
7c6ae8ae0ac5 power: supply: axp288_charger: Add special handling for HP Pavilion x2 10
899c38d93000 extcon: axp288: Add wakeup support
4d60b72514c2 nvmem: check for NULL reg_read and reg_write before dereferencing
98b32db072e9 mei: me: add cedar fork device ids
1843cba24aef coresight: do not use the BIT() macro in the UAPI header
b5212116392e PCI: sysfs: Revert "rescan" file renames
aa98c16a5b7c misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
a5d697c1e92d misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
82f6c72e5d4d misc: rtsx: set correct pcr_ops for rts522A
cec4be18d136 brcmfmac: abort and release host after error
625b940a28e0 padata: fix uninitialized return value in padata_replace()
16696ee7b581 XArray: Fix xa_find_next for large multi-index entries
4eb33cb9b566 net/mlx5e: kTLS, Fix TCP seq off-by-1 issue in TX resync flow
8792e1ac5f48 tools/power turbostat: Fix 32-bit capabilities warning
09116eeea6a5 tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks
0ba0ce3cbb86 tools/power turbostat: Fix gcc build warnings
7ebc1e53a46b drm/amdgpu: fix typo for vcn1 idle check
d2faee42f9e7 initramfs: restore default compression behavior
4a8ba74c1c64 drm/bochs: downgrade pci_request_region failure from error to warning
f8abcff4fd0d drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017
205b5f80c74f kconfig: introduce m32-flag and m64-flag
91358d0f36fa nvme-rdma: Avoid double freeing of async event data
ad13e142e024 Linux 5.4.30
9e62b6673d14 arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode
c399a50ae878 arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id
5aa29219206a ARM: dts: sun8i: r40: Move AHCI device node based on address order
8f1199341837 ARM: dts: N900: fix onenand timings
89ecba47b391 ARM: dts: imx6: phycore-som: fix arm and soc minimum voltage
bb4ec20d1687 ARM: bcm2835-rpi-zero-w: Add missing pinctrl name
e58eb564e1fc ARM: dts: oxnas: Fix clear-mask property
a1081413e834 perf map: Fix off by one in strncpy() size argument
451bf4d9592a arm64: alternative: fix build with clang integrated assembler
693860e79552 libceph: fix alloc_msg_with_page_vector() memory leaks
61bbc823a17a clk: ti: am43xx: Fix clock parent for RTC clock
b2efabe3f88c clk: imx: Align imx sc clock parent msg structs to 4
4a3c7e1c807f clk: imx: Align imx sc clock msg structs to 4
08479b1391cb net: ks8851-ml: Fix IO operations, again
62465fd66323 gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 CHT + AXP288 model
877f28596da2 bpf: Explicitly memset some bpf info structures declared on the stack
e92528a8984e bpf: Explicitly memset the bpf_attr structure
d3e215554a6c platform/x86: pmc_atom: Add Lex 2I385SW to critclk_systems DMI table
3f4ba176c623 vt: vt_ioctl: fix use-after-free in vt_in_use()
acf0e9401931 vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
d1b6ab26c850 vt: vt_ioctl: remove unnecessary console allocation checks
c897e625f94b vt: switch vt_dont_switch to bool
e7244ce86ceb vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
383c71b7314f vt: selection, introduce vc_is_sel
125dd8c48b19 serial: sprd: Fix a dereference warning
5b1bd4900fed mac80211: fix authentication with iwlwifi/mvm
5863d2b27fb2 mac80211: Check port authorization in the ieee80211_tx_dequeue() case
73fea3292b49 Linux 5.4.29
f8c60f7a0051 net: Fix CONFIG_NET_CLS_ACT=n and CONFIG_NFT_FWD_NETDEV={y, m} build
5f80d17c517d media: v4l2-core: fix a use-after-free bug of sd->devnode
e7cd85f398cd media: xirlink_cit: add missing descriptor sanity checks
4490085a9e2d media: stv06xx: add missing descriptor sanity checks
d111431a4420 media: dib0700: fix rc endpoint lookup
e4af1cf37b90 media: ov519: add missing endpoint sanity checks
b25af84517de libfs: fix infoleak in simple_attr_read()
dcf2d659add5 ahci: Add Intel Comet Lake H RAID PCI ID
89d4acabb2f6 staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
c44ea4fe738b staging: wlan-ng: fix ODEBUG bug in prism2sta_disconnect_usb
0ec1ab1b15d2 staging: rtl8188eu: Add ASUS USB-N10 Nano B1 to device table
fea3939c6ccc staging: kpc2000: prevent underflow in cpld_reconfigure()
b958dea86c26 media: usbtv: fix control-message timeouts
275316b63165 media: flexcop-usb: fix endpoint sanity check
5102000134f4 usb: musb: fix crash with highmen PIO and usbmon
f32219427ca1 USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback
004b43fdfcf4 USB: cdc-acm: restore capability check order
4003d59a00e2 USB: serial: option: add Wistron Neweb D19Q1
d5fec27c54e7 USB: serial: option: add BroadMobi BM806U
6eff944ff084 USB: serial: option: add support for ASKEY WWHC050
8d62a8c7489a bpf: Undo incorrect __reg_bound_offset32 handling
f23f37fe702f clocksource/drivers/hyper-v: Untangle stimers and timesync from clocksources
791c420f4228 r8169: fix PHY driver check on platforms w/o module softdeps
d8166d4b4203 vti6: Fix memory leak of skb if input policy check fails
9c4f1506b477 ARM: dts: sun8i-a83t-tbs-a711: Fix USB OTG mode detection
7f884cb145dc bpf, sockmap: Remove bucket->lock from sock_{hash|map}_free
657559d632c2 bpf/btf: Fix BTF verification of enum members in struct/union
188aae1f3d5f bpf: Initialize storage pointers to NULL to prevent freeing garbage pointer
c68e1117f4e4 bpf, x32: Fix bug with JMP32 JSET BPF_X checking upper bits
74617178d694 i2c: nvidia-gpu: Handle timeout correctly in gpu_i2c_check_status()
6734a326cb13 netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress
5be3b97a1f18 netfilter: nft_fwd_netdev: validate family and chain type
4e8bba9420e2 netfilter: flowtable: reload ip{v6}h in nf_flow_tuple_ip{v6}
0bc1c7f6358c mac80211: set IEEE80211_TX_CTRL_PORT_CTRL_PROTO for nl80211 TX
74fdc220e2f1 ieee80211: fix HE SPR size calculation
eaca61f5f850 afs: Fix unpinned address list during probing
455f5192a10d afs: Fix some tracing details
c743855a0ebe afs: Fix client call Rx-phase signal handling
21af83e17ffa xfrm: policy: Fix doulbe free in xfrm_policy_timer
160c2ffa7016 xfrm: add the missing verify_sec_ctx_len check in xfrm_add_acquire
a5c5cf6f24bb xfrm: fix uctx len check in verify_sec_ctx_len
1b92d81d4cc2 RDMA/mlx5: Block delay drop to unprivileged users
1babd2c979aa RDMA/mlx5: Fix access to wrong pointer while performing flush due to error
9961c56955a4 RDMA/mlx5: Fix the number of hwcounters of a dynamic counter
f8f90690df59 vti[6]: fix packet tx through bpf_redirect() in XinY cases
c467570443bb xfrm: handle NETDEV_UNREGISTER for xfrm device
86c7d38c2baf genirq: Fix reference leaks on irq affinity notifiers
fe6010e47ddc afs: Fix handling of an abort from a service handler
d9e974eea8f1 RDMA/core: Ensure security pkey modify is not lost
768e582a9970 bpf: Fix cgroup ref leak in cgroup_bpf_inherit on out-of-memory
0dcf81d2c12f gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 BYT + AXP288 model
43d2a61ceb09 gpiolib: acpi: Rework honor_wakeup option into an ignore_wake option
323a89bff42b gpiolib: acpi: Correct comment for HP x2 10 honor_wakeup quirk
159aef18f05c mm: fork: fix kernel_stack memcg stats for various stack implementations
cc5da743a456 mm/sparse: fix kernel crash with pfn_section_valid check
238dd5ab0080 drivers/base/memory.c: indicate all memory blocks as removable
da458bbfb6cf mm/swapfile.c: move inode_lock out of claim_swapfile
33c8bc8aa7b2 mac80211: mark station unauthorized before key removal
d6b1f3fc76c4 mac80211: drop data frames without key on encrypted links
4a89bb3fca20 nl80211: fix NL80211_ATTR_CHANNEL_WIDTH attribute type
b34e20c78f1c scsi: sd: Fix optimal I/O size for devices that change reported values
35b34d264cb3 scripts/dtc: Remove redundant YYLOC global declaration
683cf6637730 tools: Let O= makes handle a relative path with -C option
2fe72de89cf7 rtlwifi: rtl8188ee: Fix regression due to commit d1d1a96bdb44
a2d866c50a35 perf probe: Do not depend on dwfl_module_addrsym()
5f2b792d3125 perf probe: Fix to delete multiple probe event
94a4104bf10e x86/ioremap: Fix CONFIG_EFI=n build
174da11b6474 ARM: dts: omap5: Add bus_dma_limit for L3 bus
e41cd3b598ae ARM: dts: dra7: Add bus_dma_limit for L3 bus
7cdaa5cd79ab ceph: fix memory leak in ceph_cleanup_snapid_map()
ed24820d1b0c ceph: check POOL_FLAG_FULL/NEARFULL in addition to OSDMAP_FULL/NEARFULL
44960e1c39d8 RDMA/mad: Do not crash if the rdma device does not have a umad interface
34aa3d5b84d5 RDMA/nl: Do not permit empty devices names during RDMA_NLDEV_CMD_NEWLINK/SET
9924d9fac61b gpiolib: Fix irq_disable() semantics
10d5de234df4 RDMA/core: Fix missing error check on dev_set_name()
b0a2af91cd78 IB/rdmavt: Free kernel completion queue when done
99058b8beef5 Input: avoid BIT() macro usage in the serio.h UAPI header
597d6fb4815c Input: synaptics - enable RMI on HP Envy 13-ad105ng
381c88a6b948 Input: fix stale timestamp on key autorepeat events
cd18a7f6a789 Input: raydium_i2c_ts - fix error codes in raydium_i2c_boot_trigger()
d8f58a0f533a i2c: hix5hd2: add missed clk_disable_unprepare in remove
65047f7538ba iwlwifi: mvm: fix non-ACPI function
72a0cfeb513c iommu/vt-d: Populate debugfs if IOMMUs are detected
cb17ed60ec39 iommu/vt-d: Fix debugfs register reads
e5ea0d970f33 net: hns3: fix "tc qdisc del" failed issue
24e72d55bc0b sxgbe: Fix off by one in samsung driver strncpy size arg
753ea21f2ac3 dpaa_eth: Remove unnecessary boolean expression in dpaa_get_headroom
27030150699b mac80211: Do not send mesh HWMP PREQ if HWMP is disabled
5ecb28b15678 scsi: ipr: Fix softlockup when rescanning devices in petitboot
ee3bc486643d s390/qeth: handle error when backing RX buffer
8b6cccd9bd84 s390/qeth: don't reset default_out_queue
f8de95a236f6 iommu/vt-d: Silence RCU-list debugging warnings
957e6f437d02 drm/exynos: Fix cleanup of IOMMU related objects
70e0a720038e drm/amdgpu: correct ROM_INDEX/DATA offset for VEGA20
2e89e4e7f7e1 drm/amd/display: update soc bb for nv14
8dab286ab527 fsl/fman: detect FMan erratum A050385
406f1ac075fe arm64: dts: ls1043a: FMan erratum A050385
c211a30c1846 dt-bindings: net: FMan erratum A050385
b82e91ae6384 cgroup1: don't call release_agent when it is ""
0cd633314661 drivers/of/of_mdio.c:fix of_mdiobus_register()
dda4fca30906 cpupower: avoid multiple definition with gcc -fno-common
7f9c2d71cfd3 nfs: add minor version to nfs_server_key for fscache
b51274fabedc cgroup-v1: cgroup_pidlist_next should update position index
74f554af848d net/mlx5e: Do not recover from a non-fatal syndrome
f94d69e5f682 net/mlx5e: Fix ICOSQ recovery flow with Striding RQ
bd81b9ba546a net/mlx5e: Fix missing reset of SW metadata in Striding RQ reset
d8338b5f373a net/mlx5e: Enhance ICOSQ WQE info fields
63a0fc3b0047 net/mlx5: DR, Fix postsend actions write length
c3c9927d0a8f hsr: set .netnsok flag
1a0fdef2d52d hsr: add restart routine into hsr_get_node_list()
80aa1e38e16b hsr: use rcu_read_lock() in hsr_get_node_{list/status}()
e4723e0a858e net: ip_gre: Accept IFLA_INFO_DATA-less configuration
85aa84d3c587 net: ip_gre: Separate ERSPAN newlink / changelink callbacks
62e3ffa4ea4e bnxt_en: Reset rings if ring reservation fails during open()
0234e8ebb7f4 bnxt_en: Free context memory after disabling PCI in probe error path.
797d6f91c399 bnxt_en: Return error if bnxt_alloc_ctx_mem() fails.
ae4565168af3 bnxt_en: fix memory leaks in bnxt_dcbnl_ieee_getets()
2ac37a531115 bnxt_en: Fix Priority Bytes and Packets counters in ethtool -S.
53d0bf064c9f vxlan: check return value of gro_cells_init()
a6ce82deba5c tcp: repair: fix TCP_QUEUE_SEQ implementation
27cf5410a9e1 tcp: ensure skb->dev is NULL before leaving TCP stack
c94b94626876 tcp: also NULL skb->dev when copy was needed
49d2333f97f0 slcan: not call free_netdev before rtnl_unlock in slcan_open
4cc2498b7ebb r8169: re-enable MSI on RTL8168c
3428faf70c59 NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
3d9cc478af25 net: stmmac: dwmac-rk: fix error path in rk_gmac_probe
d23faf32e577 net_sched: keep alloc_hash updated after hash allocation
5317abb870fe net_sched: hold rtnl lock in tcindex_partial_destroy_work()
ff28c6195814 net_sched: cls_route: remove the right filter from hashtable
a631b9668460 net/sched: act_ct: Fix leak of ct zone template on replace
312805c93bf6 net: qmi_wwan: add support for ASKEY WWHC050
522d2dc17967 net: phy: mdio-mux-bcm-iproc: check clk_prepare_enable() return value
f806b9e84057 net: phy: mdio-bcm-unimac: Fix clock handling
9fe154ee3fd5 net: phy: dp83867: w/a for fld detect threshold bootstrapping issue
86137342fd4c net/packet: tpacket_rcv: avoid a producer race condition
bb8c787be0e3 net: mvneta: Fix the case where the last poll did not process all rx
a2a3baa29914 net: ena: Add PCI shutdown handler to allow safe kexec
e586427a0abb net: dsa: tag_8021q: replace dsa_8021q_remove_header with __skb_vlan_pop
0ec037c1353c net: dsa: mt7530: Change the LINK bit to reflect the link status
60e975088be8 net: dsa: Fix duplicate frames flooded by learning
7c6fe9b2af79 net: cbs: Fix software cbs to consider packet sending time
712c39d9319a net/bpfilter: fix dprintf usage for /dev/kmsg
85675064133e mlxsw: spectrum_mr: Fix list iteration in error path
5a1a00f6ac32 mlxsw: pci: Only issue reset when system is ready
6e75284e2480 macsec: restrict to ethernet devices
51db2db8fe68 ipv4: fix a RCU-list lock in inet_dump_fib()
b67aa57f4a9d hsr: fix general protection fault in hsr_addr_is_self()
6fe31c7ce0ed geneve: move debug check after netdev unregister
b5c9652ada33 cxgb4: fix Txq restart check during backpressure
e92a0e7fba68 cxgb4: fix throughput drop during Tx backpressure
b0ab8700283c ACPI: PM: s2idle: Rework ACPI events synchronization
127882d10931 mmc: sdhci-tegra: Fix busy detection by enabling MMC_CAP_NEED_RSP_BUSY
71d89344af0b mmc: sdhci-omap: Fix busy detection by enabling MMC_CAP_NEED_RSP_BUSY
bf8b920f474e mmc: core: Respect MMC_CAP_NEED_RSP_BUSY for eMMC sleep command
3b9b71adbec4 mmc: core: Respect MMC_CAP_NEED_RSP_BUSY for erase/trim/discard
d9c4f387e22a mmc: core: Allow host controllers to require R1B for CMD6
(From OE-Core rev: bc1ae928b0aea450d703ab2bc415c20db4cfb407)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
462afcd6e7ea Linux 5.4.28
7b2cdbd67ff0 staging: greybus: loopback_test: fix potential path truncations
8e79f440edb5 staging: greybus: loopback_test: fix potential path truncation
58ffe6b0245e drm/bridge: dw-hdmi: fix AVI frame colorimetry
c965a0299c61 nvmet-tcp: set MSG_MORE only if we actually have more to send
d3eb4daa333f arm64: smp: fix crash_smp_send_stop() behaviour
6080e0a9d107 arm64: smp: fix smp_send_stop() behaviour
c61417fef99a ALSA: hda/realtek: Fix pop noise on ALC225
163489b64361 futex: Unbreak futex hashing
553d46b07dc4 futex: Fix inode life-time issue
66f28e110565 x86/mm: split vmalloc_sync_all()
9dfed456e1eb page-flags: fix a crash at SetPageError(THP_SWAP)
32991c960d0b mm, slub: prevent kmalloc_node crashes and memory leaks
623515739282 mm: slub: be more careful about the double cmpxchg of freelist
8e709bbe41d6 epoll: fix possible lost wakeup on epoll_ctl() path
69f434a05fb4 mm: do not allow MADV_PAGEOUT for CoW pages
c3f54f0a68bf mm/hotplug: fix hot remove failure in SPARSEMEM|!VMEMMAP case
61cfbcce9e09 mm, memcg: throttle allocators based on ancestral memory.high
77c4bc4bf612 mm, memcg: fix corruption on 64-bit divisor in memory.high throttling
ceca26903bd7 memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_event
2439259c32c8 stm class: sys-t: Fix the use of time_after()
f7ef7a020f3b drm/lease: fix WARNING in idr_destroy
b4e798cab8e9 drm/amd/amdgpu: Fix GPR read from debugfs (v2)
eaa7fe20231a btrfs: fix log context list corruption after rename whiteout error
039547fbd1e8 xhci: Do not open code __print_symbolic() in xhci trace events
ac9d3279514c arm64: compat: Fix syscall number of compat_clock_getres
70ca8a95df81 rtc: max8907: add missing select REGMAP_IRQ
eba75a365f55 modpost: move the namespace field in Module.symvers last
69a9b971406f intel_th: pci: Add Elkhart Lake CPU support
3bdc0f68a170 intel_th: Fix user-visible error codes
97097054a1f0 intel_th: msu: Fix the unexpected state warning
07c70054ba24 staging/speakup: fix get_word non-space look-ahead
35da67a8a50c staging: greybus: loopback_test: fix poll-mask build breakage
fbe68a636982 staging: rtl8188eu: Add device id for MERCUSYS MW150US v2
5f9579641df2 kbuild: Disable -Wpointer-to-enum-cast
0f5be2f69e89 CIFS: fiemap: do not return EINVAL if get nothing
48a9bc9534f3 mmc: sdhci-cadence: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN for UniPhier
8aafd5a0c63c mmc: sdhci-of-at91: fix cd-gpios for SAMA5D2
0c4e0f0d2e51 mmc: rtsx_pci: Fix support for speed-modes that relies on tuning
dbb328d1a87d iio: light: vcnl4000: update sampling periods for vcnl4040
c3540b094edb iio: light: vcnl4000: update sampling periods for vcnl4200
7ad22950caf5 iio: adc: at91-sama5d2_adc: fix differential channels in triggered mode
4d71a4f76179 iio: adc: stm32-dfsdm: fix sleep in atomic context
a79f53a2f5af iio: magnetometer: ak8974: Fix negative raw values in sysfs
6387b4002357 iio: accel: adxl372: Set iio_chan BE
3c69b794f96e iio: trigger: stm32-timer: disable master mode when stopping
eb5f46b0cc55 iio: st_sensors: remap SMO8840 to LIS2DH12
69399842e4a9 iio: chemical: sps30: fix missing triggered buffer dependency
51d590fadc14 tty: fix compat TIOCGSERIAL checking wrong function ptr
a754de70f6d6 tty: fix compat TIOCGSERIAL leaking uninitialized memory
279cdccb6dc7 ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
07ec940ceda5 ALSA: pcm: oss: Avoid plugin buffer overflow
59e4624e664c ALSA: seq: oss: Fix running status after receiving sysex
f439c2ece795 ALSA: seq: virmidi: Fix running status after receiving sysex
e2f1c2d0b6db ALSA: hda/realtek - Enable the headset of Acer N50-600 with ALC662
f0e819900968 ALSA: hda/realtek - Enable headset mic of Acer X2660G with ALC662
2d994c9cefc4 ALSA: line6: Fix endless MIDI read loop
64ab82cf614f USB: cdc-acm: fix rounding error in TIOCSSERIAL
9ed83da8cd97 USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
186b9564cf5e usb: typec: ucsi: displayport: Fix a potential race during registration
ff1d876e9f4f usb: typec: ucsi: displayport: Fix NULL pointer dereference
7b5aab752efc usb: xhci: apply XHCI_SUSPEND_DELAY to AMD XHCI controller 1022:145c
6e1167db8d21 USB: serial: pl2303: add device-id for HP LD381
ade2ca96e7a6 usb: host: xhci-plat: add a shutdown
bace91138933 USB: serial: option: add ME910G1 ECM composition 0x110b
2601053cafb4 usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters
d742e9874048 USB: Disable LPM on WD19's Realtek Hub
712d9c2e92ea Revert "drm/fbdev: Fallback to non tiled mode if all tiles not present"
c71986d18dea binderfs: use refcount for binder control devices too
169bf660646a parse-maintainers: Mark as executable
4db2f87e15c8 block, bfq: fix overwrite of bfq_group pointer in bfq_find_set_group()
5d33ba6f385f xenbus: req->err should be updated before req->state
7a79e217e3a5 xenbus: req->body should be updated before req->state
25c3f96370a1 drm/amd/display: fix dcc swath size calculations on dcn1
46c5b0d8dfbb drm/amd/display: Clear link settings on MST disable connector
e53a333014a3 drm/amdgpu: clean wptr on wb when gpu recovery
b557b2f00682 riscv: Fix range looking for kernel image memblock
1c2106d2d9c1 riscv: Force flat memory model with no-mmu
0bc9de1b1c1b spi: spi_register_controller(): free bus id on error paths
af7dd05d7c8f ASoC: stm32: sai: manage rebind issue
a3f349393eed riscv: avoid the PIC offset of static percpu data in module beyond 2G limits
1804cdf99fdb dm integrity: use dm_bio_record and dm_bio_restore
2e7e6de9ae38 dm bio record: save/restore bi_end_io and bi_integrity
886a8fb13d0c altera-stapl: altera_get_note: prevent write beyond end of 'key'
2c4e36033ace drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer
1002a094e066 drivers/perf: fsl_imx8_ddr: Correct the CLEAR bit definition
0f6ae2cba3b8 drm/exynos: hdmi: don't leak enable HDMI_EN regulator if probe fails
53138bea67b2 drm/exynos: dsi: fix workaround for the legacy clock name
41f88dc1adcc drm/exynos: dsi: propagate error value and silence meaningless warning
0c30297dddc0 spi/zynqmp: remove entry that causes a cs glitch
b8ba4d74f9f3 spi: pxa2xx: Add CS control clock quirk
416e1f433c70 ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
74219d52d4e7 cifs: add missing mount option to /proc/mounts
ddd8b3ed509a cifs: fix potential mismatch of UNC paths
a7393e6f2ecf powerpc: Include .BTF section
9eee3e21a59d spi: qup: call spi_qup_pm_resume_runtime before suspending
1d4f214c8820 ARM: dts: dra7-l4: mark timer13-16 as pwm capable
5f657e5303d3 phy: ti: gmii-sel: do not fail in case of gmii
ee1245396b6e phy: ti: gmii-sel: fix set of copy-paste errors
4d9020c3d802 drm/mediatek: Find the cursor plane instead of hard coding it
61c895d0f726 spi: spi-omap2-mcspi: Support probe deferral for DMA channels
f9f635c04769 locks: reinstate locks_delete_block optimization
384e15fc4226 locks: fix a potential use-after-free problem when wakeup a waiter
(From OE-Core rev: ceadc52e8c7bd03ca45c342bdabfa770ac32bc71)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently only VERSION_ID field is sanitized, but os-release (5) has
more fields with the same requirement. Moreover, those fields come
unquoted in most distributions, because quotes are not needed for a
values without whitespaces.
(From OE-Core rev: ea39b2edecc00cc2340328893cdfbefed5d3b981)
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches from upstream to fix a build error in the kill utility.
Fixes:
| In file included from ../util-linux-2.35.1/misc-utils/kill.c:57:
| ../util-linux-2.35.1/include/pidfd-utils.h: In function ‘pidfd_open’:
| ../util-linux-2.35.1/include/pidfd-utils.h:19:17: error: ‘SYS_pidfd_open’ undeclared (first use in this function); did you mean ‘pidfd_open’?
(From OE-Core rev: 9620c4e6e0e184b2b3907c8f8da4b7b54b97354e)
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Initialize libgcrypt on first use otherwise
there comes below warning when check the status
of the ninfod.service.
# systemctl status ninfod.service
* ninfod.service - Respond to IPv6 Node Information Queries
Loaded: loaded (/lib/systemd/system/ninfod.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-04-29 05:18:21 UTC; 36s ago
Docs: man:ninfod(8)
Main PID: 347 (ninfod)
Tasks: 1 (limit: 9382)
Memory: 1.2M
CGroup: /system.slice/ninfod.service
`-347 /sbin/ninfod -d
Apr 29 05:18:21 intel-x86-64 systemd[1]: Started Respond to IPv6 Node Information Queries.
Apr 29 05:18:24 intel-x86-64 ninfod[347]: Libgcrypt warning: missing initialization - please fix the application
Reference: 4f489a8c79
(From OE-Core rev: 8648c6497d1904b988059cbd72d1592caa8708d0)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A nativesdk BBCLASSEXTEND was added to gcc-target without realising this
would pass arch=native through to it for x86-64. This heavily optimises
gcc output for the host its running on meaning it can't be reused via
sstate on other machines.
Add class-target overrides here to get the desired behaviour. All
targets have been covered for completeness.
(From OE-Core rev: 3fff2c9400f2f64cbc8cc450b5ab29505eacbdd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to compile pseudo-native on centos 7:
| ports/linux/pseudo_wrappers.c: In function ‘prctl’:
| ports/linux/pseudo_wrappers.c:129:14: error: ‘SECCOMP_SET_MODE_FILTER’ undeclared (first use in this function)
| if (cmd == SECCOMP_SET_MODE_FILTER) {
| ^
Add macro guard for the definition to avoid the failure.
(From OE-Core rev: 9fff03afb8e67b360042e80fda8213a67472b9ec)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you fail to setup the tap devices, runqemu will error quickly
however stdout/stderr are not shown to the user, instead a SystemExit
traceback is shown. This could explain some long since unexplained
failures on the autobuilder.
Rework the error handling so SystemExit isn't used and the
standard log failure messages can be shown. The code could
likely ultimatley need some restructuring to work effectively.
(From OE-Core rev: 83b8e66b66aa9848ed9c8761a21cb47c6443d0c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had a mystery failure on the autobuilder where runqemu appeared to
be failing as a logfile directory no longer existed. The key to
reproducing was running a runqemu where the image was deleted (as
devtool does), then running another runqemu test. E.g.:
'oe-selftest -r devtool.DevtoolExtractTests.test_devtool_deploy_target wic.Wic2.test_qemu_efi'
This then tries to write to the logfile from the first test, the
image directory was deleted and we get strange failures.
The fix is to remove the logging handler when qemu is stopped.
(From OE-Core rev: 924b020eacf111b4fd4d731b363084e254a3422d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are different providers of a file and they are swiched when the
recipe isn't machine specific, we can get tracebacks due to the overlapping
files. The issue is that the previous provider isn't uninstalled since
the system can't tell whether some later task needs them.
By tracking which tasks we depend upon, the code can now choose to
uninstall more things since a later task can reinstall if/as needed.
The code here was to protect against code with two different tasks
running in parallel which is still protected agaisnt.
[YOCTO #13702]
(From OE-Core rev: 86f36e3f93cdb2f5882b72e736a770aa6f46100d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sysroot-test depends on virtual/sysroot-test which we build for one machine,
switch machine, switch provider of virtual/sysroot-test and check that the
sysroot is correctly cleaned up. The files in the two providers overlap
so can cause errors if the sysroot code doesn't function correctly.
Yes, sysroot-test should be machine specific really to avoid this, however
the sysroot cleanup should also work.
This adds a test for bug:
[YOCTO #13702]
(From OE-Core rev: 31a8b4935e673aba8a1147c4a2fb510b1a8bc3ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
run-postinsts is only expected to run once, but during startup, but if
any dependency is pulled into a transaction, even once it has been
marked disabled, then it can be restarted.
This leads to occasional failures during QA if an ssh session starts
whilst the existing transaction is still running:
Finished Run pending postinsts.
run-postinsts.service: Succeeded.
Condition check resulted in Commit a transient machine-id on disk being skipped.
Condition check resulted in Bind mount volatile /srv being skipped.
Condition check resulted in Bind mount volatile /var/spool being skipped.
Condition check resulted in Bind mount volatile /var/lib being skipped.
Condition check resulted in Bind mount volatile /var/cache being skipped.
Condition check resulted in Platform Persistent Storage Archival being skipped.
Condition check resulted in Rebuild Hardware Database being skipped.
Starting Run pending postinsts...
Condition check resulted in Kernel Configuration File System being skipped.
Condition check resulted in FUSE Control File System being skipped.
Condition check resulted in Load Kernel Modules being skipped.
Condition check resulted in File System Check on Root Device being skipped.
Condition check resulted in Huge Pages File System being skipped.
Condition check resulted in Journal Audit Socket being skipped.
dropbear@125-192.168.7.2:22-192.168.7.1:44226.service: Succeeded.
Condition check resulted in Platform Persistent Storage Archival being skipped.
Started SSH Per-Connection Server (192.168.7.1:44226).
dropbear@124-192.168.7.2:22-192.168.7.1:44224.service: Succeeded.
Started SSH Per-Connection Server (192.168.7.1:44224).
Condition check resulted in Commit a transient machine-id on disk being skipped.
Condition check resulted in Bind mount volatile /srv being skipped.
Condition check resulted in Bind mount volatile /var/spool being skipped.
Condition check resulted in Bind mount volatile /var/lib being skipped.
Condition check resulted in Bind mount volatile /var/cache being skipped.
Condition check resulted in Platform Persistent Storage Archival being skipped.
Condition check resulted in Rebuild Hardware Database being skipped.
Failed to start Run pending postinsts.
run-postinsts.service: Failed with result 'start-limit-hit'.
run-postinsts.service: Start request repeated too quickly.
Setting RemainAfterExit ensures that the unit remains active and is not
gratuitously restarted, unless done so explicitly using systemctl
restart.
(From OE-Core rev: 6e78fd580a8c6ed9d886b8431974baf6c988831c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python's unittest will not propagate exceptions upside
of itself, but rather will just catch and print them.
The working way to make it stop is to send a SIGINT
(e.g. simulate a ctrl-c press), which will make it exit
with a KeyboardInterrupt exception.
This also makes pressing ctrl-c twice from bitbake work
again (previously hanging instances of bitbake and qemu were
left around, and bitbake would no longer start until they
were killed manually).
(From OE-Core rev: 72a19f5f0f4bc4472d13b29e46a5c1673977e37a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling, do not change scripts to use host
versions of perl and gawk.
Also, use INSANE_SKIP to suppress QA complaints if perl
or gawk are not on the target.
(From OE-Core rev: 9a96733e29daf84cca9212538f3fc5bd7bb144f4)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Shebang lines longer than 128 characters can give an error
depending on the operating system.
This implements a test that signals an error when locating a
faulty shebang.
YOCTO: #11053
(From OE-Core rev: 9ed54437b00aed1d41993f7658820d8adfb09282)
Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
some architectures e.g. mips complain in linking apps which have shared
libs that are linking with libiberty.a fixes errors like below
libiberty/../../libiberty/hashtab.c:285:(.text+0xf8): relocation R_MIPS_26 against `htab_create_typed_alloc' cannot be used when making a shared object; recompile with -fPIC
(From OE-Core rev: 4e64f0bc62fd81f91d75a1f46230fff7c71650e2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE uses libiberty from binutils, since its properly compiled as pic
archive and applications and other libraries needing libiberty can
properly link with it.
With this option applied, explicit delete of libiberty headers and
libraries is not required in install step, since they wont get installed
in first place.
(From OE-Core rev: b6f1def25cbb477549fad48e9586cef3ada2f9e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go compiler is including go/src/cmd modules in -dev package which is in
conflict with go-runtime-dev which provides exact same copy of this
module along with other runtime modules, as a result when both go-dev and
go-runtime-dev are included in image then it results in rootfs failures,
here lets make go depend on go-runtime and dont install the cmd module
here explicitly.
(From OE-Core rev: 1ace1655f8ae08c07c8875be53b641e7c2564ded)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After below commit introduced, the LICENSE
field changed from BSD-4-Clause to bzip-1.0.6.
669600ef9b bzip2/pbzip2: Correct license information
But actually it should be bzip2-1.0.6,
update it to fix the below license warning:
WARNING: pbzip2-native-1.1.13-r0 do_populate_lic: pbzip2-native: No generic license file exists for: bzip-1.0.6 in any provider
(From OE-Core rev: 1b0312ec6f546fce0610d08ba754f500f3df4147)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license of pbzip2 looks slightly BSD like but is in fact the bzip2
license. The SPDX identifier for this is "bzip-1.0.6" since there is
another version of the bzip license out there.
To clear up all the confusion, use the SPDX license name and update
both recipes to refer to it. The copyright information is slightly
different between the codebases but the license looks the same.
(From OE-Core rev: 05fdae7687d22e9f3476c807a15906a1f80e4daa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On ubuntu 18.04.1, it does not provides `mdir' by default
which caused `wic ls **.wic' failed on fat partition
...
$ wic ls build/tmp-glibc/deploy/images/xilinx-zynqmp/wrlinux-image-std-xilinx-zynqmp.wic
ERROR: Can't find executable 'mdir'
...
Add nativesdk-mtools to buildtools-tarball and use buildtools
to provide mdir
(From OE-Core rev: 605c81ff90760cdf4a1247df777d5ce8e12d6f6f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is no soundcards on the target (e.g. qemu), the pkp_postinst
function will report an error:
alsactl: load_state:1735: No soundcards found...
pkg_run_script: package "alsa-state" postinst script returned status 19.
opkg_configure: alsa-state.postinst returned 19.
Pass '-g' option to alsactl to ignore this error.
(From OE-Core rev: b2a3cf79cf564a76727bd7dbb21ba9b3d20cf5d4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pathlib module is for Object-oriented filesystem paths
It also provides a lot of handy utilities for checking on
paths. This seems to justify adding it to the core package
along side os, sys, and the other *path libraries.
[YOCTO #13670]
(From OE-Core rev: 81bec2f08229723b550a0cc33d1c77f82432814d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release:
ver 0.31:
Fix issue with verification of the second certificate in chain.
Fix issue with handling trusted CA matching in verification.
(From OE-Core rev: c1892a1074560e27671975f4b9fb92468d9874da)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Documentation says that if you exit 0 in a pkg_postinst it will marked as
installed.
If you exit 0, before running postinst-intercepts defer_to_first_boot, the
pkg_postinst_ontarget script will not be present on target.
The "exit 0" in tzdata makes it difficult to have a bbappend with a
pkg_postinst_target step when you have `INSTALL_TIMEZONE_FILE = 0`
(From OE-Core rev: ebf675abd0a077bc9aa71acf62b0477a84e1f536)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coroutines in ruby 2.7+ needs ucontext APIs which are not available in
musl but an external library is available to provide them so use it
Use cached values for ac_cv_func_isnan and ac_cv_func_isinf this is not
detected correctly by configure on musl
on ARM drop using old arm32 implementation of coroutine which is slow and
inefficient
(From OE-Core rev: a2b1af47316a9f5c522db0c9feff1fbe0d39e022)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Updated copyright years [1]
Latest master 0.10.x+ has added support for mips/mips64, which should
help compile ruby on musl for these architectures
Switch SRC_URI to github upstream URI
Check for common arches before checking others in map_kernel_arch
Drop already upstreamed patches
[1] d31eaabbaf
(From OE-Core rev: 5dbb7d5bb9509dd455673a326c9191dec6f3092c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Builds like native-openjdk, really wants a to link
some tools against the static version. Since when
using the extended tarball, its the only place to
get it, add the library.
(From OE-Core rev: dfeca4d1e2442192aa40c420648cae2914c30be5)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_kernel_configme was recently removed from SRCTREECOVEREDTASKS so this
task still runs when externalsrc is used. This task normally runs after
do_patch but when externalsrc is used, do_patch is removed and this ordering
restriction does nothing. This allows bitbake to execute do_kernel_configme
too early, causing races with do_unpack.
This is fixed by adding in a dependency on do_unpack when externalsrc is
used.
(From OE-Core rev: 75b47388fb18aaf58db311e570c009350d64084f)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The common u-boot.inc can be used by multiple recipes in the same build for
different cores and/or multiple stages of the bootloader. Naming initial-env
with ${PN} prefix avoids clashes in deploy and rootfs between those recipes.
This fixes 69b3b093079c2ca2744d6c02747c5d1b5d3e7ecf that unconditionally
builds, installs and deploys u-boot-initial-env in the common u-boot.inc.
(From OE-Core rev: 78c55eac69dc4b6ae28d7e7911adb59430376b23)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is a datastore within a datastore (e.g. BB_ORIGENV) then
get-hash() doesn;t correclty handle the contents using the memory
address instead of the contents.
This is a patch from dominik.jaeger@nokia.com which addresses
this problem. Its been low priority since we don't include
BB_ORIGENV anywhere this would cause an issue as standard.
[YOCTO #12473]
(Bitbake rev: 1a8bcfc1eb89ccff834ba68fb514330b510976a2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some companies are using large numbers of patch files in SRC_URI.
Rightly or wrongly that exposes a performance problem where the code
does not handle the large string manipulations in a way which works
efficienty in python.
This is a modified version of a patch from z00539568
<zhangyifan46@huawei.com153340508@qq.com which addresses the performance
problem. I modified it to use a more advanced regex, retain the "*" check
and cache the regex.
[YOCTO #13824]
(Bitbake rev: c07f374998903359ed55f263c86466d05aa39b68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a website is behind a CDN like Cloudflare there may be a "Browser
Integrity Check" or other test applied to requests before they are
allowed through to the server. Downloading via wget passes these tests
as headers are set appropriately, however the Python urllib module may
fail these tests unless additional headers are set. This causes
Wget.checkstatus() to fail where Wget.download() would actually succeed.
For Cloudflare in particular a valid User-Agent is needed, it's easy to
add this to the headers in Wget.checkstatus(). The user agent string is
copied from Wget._fetch_index().
(Bitbake rev: 4679d3cdb9cdf23f3962aa61c599ad7474591f9f)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [tinfoil: Simplify remote datastore connections][1] and
[tinfoil: Add back ability to parse on top of a datastore][2] applied,
bitbake run command parseRecipeFile with param config_data.dsindex rather
than config_data.
While calling tinfoil.parse_recipe_file() with one config_data (with the same
config_data.dsindex) to parse multiple recipes, it will mess up insane check.
It broke update_layer.py on layerindex, here are the simplified steps:
[snip]
t= bb.tinfoil.Tinfoil()
t.prepare()
data = bb.data.createCopy(t.config_data)
fn = "path_to/oe-core/meta/recipes-graphics/images/core-image-clutter.bb"
t.parse_recipe_file(fn, appends=False, config_data=data)
fn = "path_to/oe-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb"
t.parse_recipe_file(fn, appends=False, config_data=data)
| File "path_to/oe-core/meta/classes/insane.bbclass", line 1303,
in __anon_1304__path_to_oe_core_meta_classes_insane_bbclass
| bb.fatal("Fatal QA errors found, failing task.")
[snip]
In above failure, RDEPENDS is assigned `${PACKAGE_INSTALL} ${LINGUAS_INSTALL}
${IMAGE_INSTALL_DEBUGFS}' in core-image-clutter.bb, but it broke insane check
on packagegroup-core-x11-base.bb
>From commit [remotedata: enable transporting datastore from the client to
the server][3], it create a new DataSmart to save receive_datastore's remote_data
Similarly, make a copy of config_data(with different config_data.dsindex) could
fix the issue.
[1] http://git.openembedded.org/bitbake/commit/?id=85e03a64dd0a4ebe71009ec4bdf4192c04a9786e
[2] http://git.openembedded.org/bitbake/commit/?id=4618da2094189e4d814b7d65672cb65c86c0626a
[3] http://git.openembedded.org/bitbake/commit/?id=784d2f1a024efe632fc9049ce5b78692d419d938
(Bitbake rev: a3074807974536e370289c25fddcb9ad93cbc137)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This outdated section contradicts the real behavior expressed in the next
paragraph
(From yocto-docs rev: 77e8a9e03b3bb6e6b6b2adf7796740fb362f189b)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the npm:// URL and the generated npm recipe, and remove
references to NPM_SHRINKWRAP, NPM_LOCKDOWN and lockdown functionality in
general.
(From yocto-docs rev: bc09233543abbf28adfcc1e214f85ef4c7c56639)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the glossary entry for PACKAGECONFIG in two ways:
1) Explain the recent sixth argument, which identifies conflicting
features for a given feature.
2) Use a different example, as the librsvg "croco" feature no
longer works that way.
(From yocto-docs rev: af9bf61a54c059e72c807ca8061a57d6fe74c5fa)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For stylistic reasons, clarify the use of both IMAGE_FEATURES versus
EXTRA_IMAGE_FEATURES when configuring a read-only rootfs.
(From yocto-docs rev: 4111e4e70a87400671455ddd873d802d40d6b587)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the missing feature 'negative offsets' which was present
in the orginal U-Boot based tools.
git change log:
* f4b9cde Allow negative offsets
* 45bf92a Detect sector size if not found in config
* 9f59db6 uboot_env: remove unused variables
* 65d243e README: libubootenv is now in oe-core
(From OE-Core rev: 72006a6034385d345ed273bcef3f465df8bb332a)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
along with systemd upgrade, error message related change
network interface have changed, update it.
(From OE-Core rev: a8b2cd7470bcc25527577b95a26a0a528949232d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit[27aec88 dhclient: not always skip
the nfsroot interface] which used to address the IP
address renew issue when boot a system in a nfsroot fs
and altogether boot with ip=dhcp.
But reported by some tester, the above commit introduces
below issue when run ltp test on a nfsroot system which
boot with ip=dhcp:
nfs: server 192.168.100.1 not responding, still trying
nfs: server 192.168.100.1 not responding, still trying
[snip]
So revert the above commit now to avoid blocking test.
(From OE-Core rev: 5c172e0e8f8d02fe1dacec9d3574671baf9ad075)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 36993eea89d1c011397b7692b9b8d61b499d0171.
After discussion on the mailing list it was felt these changes
were not ready yet.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit efdcf94801f6abe8e4099e324d9a3deccd8d4384.
After discussion on the mailing list it was felt these
changes were not ready yet.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The apmd recipe is no longer appropriate to demonstrate the use of
SRC_URI checksum names as it has only a single SRC_URI URL, so pick a
more illuminating recipe.
(From yocto-docs rev: 7f391a0656442e7ee2f3dd48b848befb7f461aec)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Section 3.3.5, "Fetching Code", uses the cdrtools recipe as an example
for showing the use of PV, but that's a bad example since the current
cdrtools recipe file contains:
SRC_URI = " \
${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2 \
...
PV = "3.01a31+really3.01"
REALPV = "3.01"
which is not exactly the point the dev manual is trying to make, so
replace with simpler strace recipe.
(From yocto-docs rev: d865b0288a4162a8d4df9a2abde43875e3dc2ced)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option was removed recently as we didn't realise the layerindex
relies upon it. Add back the API which it turns out can be supported
as long as we assume the datastore passed in is a remote datastore
which it usually would be unless created locally.
(Bitbake rev: 4618da2094189e4d814b7d65672cb65c86c0626a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a variable is in the signature whitelist, we'd currently expand
it, then later ignore the data. This is problemtic for code which
has effects when expanded, recently source date epoch in OE-Core
for example.
We don't actually need to do this, if we pass the whitelist into
the earlier function it can avoid the expansion. This also also
give a small performance boost since we avoid running code in some
cases.
[YOCTO #13581]
(Bitbake rev: f483ee4a869fb1dafbe4bdf2da228cdaa40b38bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At least with my current setup and acc. the manual, the images are named
like image-dbg.rootfs.tar.bz2.
The filter has two bugs:
- expects something like -dbg.tar
- tar without compression suffix is not allowed
(From OE-Core rev: e5fb903db308c508fc44bada89fd0210810301a9)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With --force-overwrite (implied by --force-all), dpkg will not abort
when a package overwrites files from different packages. As this can
also lead to "The following package disappeared from your system as
all files have been overwritten by other packages: <package>" and
subsequently broken dependencies, this makes the simple case of
conflicting files hard to debug.
Instead of finding all possibly required force options, only disable
overwrite for now.
(From OE-Core rev: 4292387ef6c4e80428bad6a07c844a288b27d9a1)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, this unit is packaged into udev-hwdb which then adds it as rdep
instead of rrecommends to systemd itself, this meant that even if we
added udev-hwdb to BAD_RECOMMENDATIONS, it would not be respected since
its a rdep, therefore move the service unit file into udev package
instead, this decouples the hard runtime dependency and restores the bad
recommendations expectations
(From OE-Core rev: bfaaefe8346e9f0eab153981fe6a3cc63590afb5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a file does not exist, either because it has been removed outside
bitbake, or because only some of the files have been moved to a
different location, delete it from the pseudo-db is the user decides to
fix the database.
(From OE-Core rev: 79f7212ae71a4eb9e7abfe2c333b035ccc10e5c5)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option adds the content of a rootfs on a specific location on the
rootfs.
It is very useful for making a partition that contains the rootfs for a
host and a target Eg:
/ -> Roofs for the host
/export/ -> Rootfs for the target (which will netboot)
Although today we support making a partition for "/export" this might
not be compatible with some upgrade systems, or we might be limited by
the number of partitions.
With this patch we can use something like:
part / --source rootfs --embed-rootfs target-image /export --embed-rootfs target-image2 /export2
on the .wks file.
(From OE-Core rev: efdcf94801f6abe8e4099e324d9a3deccd8d4384)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parameters include_path or exclude_path are passed to the rootfs
plugin, it will copy the partition content into a folder and make all
the modifications there.
This is done using copyhardlinktree(), which does not take into
consideration the content of the pseudo folder, which contains the
information about the right permissions and ownership of the folders.
This results in a rootfs owned by the user that is running the wic
command (usually UID 1000), which makes some rootfs unbootable.
To fix this we copy the content of the pseudo folders to the new folder
and modify the pseudo database using the "pseudo -B" command.
(From OE-Core rev: 36993eea89d1c011397b7692b9b8d61b499d0171)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pseudo changes the syscall access patterns which makes it incompatible with
seccomp. Therefore intercept the seccomp syscall and alter it, pretending that
seccomp was setup when in fact we do nothing. If we error as unsupported,
utilities like file will exit with errors so we can't just disable it.
This works around issues on platforms where seccomp is enabled in file
(e.g. archlinux).
(From OE-Core rev: bc895522eb940539a0e3cb6192c4a64f13ca8d6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump tar, Python versions and add new gcc requirement.
Update reference from 'required-git-tar-and-python-versions'
to 'required-git-tar-python-and-gcc-versions'
(From yocto-docs rev: ca6334c1653d5e2abfe77865391509a8cd516d88)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump tar, Python versions and add new gcc requirement.
Update reference from 'required-git-tar-and-python-versions'
to 'required-git-tar-python-and-gcc-versions'
(From yocto-docs rev: 18b11662c7c9ab7828d2709eed4090116a751e14)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add instructions to use 'install-buildtools' and
'buildtools-extended-tarball'.
Add gcc 5.0 requirement and call out how to
use above to prepare host development system.
(From yocto-docs rev: c6dbd9bf6860ffea1bc025907343373439d91737)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
jessie-backports is no longer supported, so python3-git and
pylint3 are not installable via apt-get (or at least not
without disabling security checks by using archive.debian.org)
Add note to use pip3 to install instead.
(From yocto-docs rev: 19a02c5c6ef9a317c2339c2ec71200e51335e32f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CentOS-7 has different requirements than the much
newer CentOS-8. Add a section for CentOS-8 and
make the old section CentOS-7 specific.
NOTE: at the time this was written, the 'fop'
package is not yet available in epel-8. As
a Fedora packager, that will change.
(From yocto-docs rev: caf08811a23a29965ec915459019796a0c882d4d)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update Centos-7 to require python3, not python.
CentOS-8 has different installation requirements than
either CentOS-7 or Fedora (although it is closer to
Fedora).
Allow for differentiation between CentOS versions.
(From yocto-docs rev: 615fc45108d10e842679b3d8a38b53074d3eed4b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the author indo and use variables for author and email to make it
easier to change in future.
(From yocto-docs rev: 4fdf2a060705fa00b11b5a9d270f4ffa506c9927)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KBUILD_DEFCONFIG is meant to refer to an *in-tree* defconfig file, not
an external one.
(From yocto-docs rev: 34202eee3fc2bb4e0b92374822bff87fd3af1ebc)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Migration to YP 2.5 contains incorrect description of routine for
delaying to first boot.
(From yocto-docs rev: 08f71ec137822c0c19b56956d7045dfb73a544d7)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the example used in explaining the PROVIDES variable to one
that actually exists, and point out that "+=" is unnecessary, a simple
assignment is sufficient.
(From yocto-docs rev: 80cd888ee81757bc5281f174b26974391ee45522)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor tweaks to chapter 5 of reference manual, including:
- grammar
- adding slashes to directory names for consistency
- collapse trivial paras into one
(From yocto-docs rev: 96b75e723bff042183f70a858d09df4aad094578)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given the defined DocBook entity:
<!ENTITY YOCTO_DOCS_URL "&YOCTO_HOME_URL;/docs">
replace numerous instances of the more verbose
"&YOCTO_HOME_URL;/documentation", which is a redirect, anyway.
rday
(From yocto-docs rev: 53fa17321624028b12d880bc4236fbef46675eb4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make it clear to the reader that they can use the much shorter form of
${PN} for the base packagegroup name, rather than typing it out in
full.
(From yocto-docs rev: 19915978c30bbf37b65d9887c78a23394779f079)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add explanation of missing checks performed by yocto-check-layer, and
fix one typo.
(From yocto-docs rev: 231bb92fa4a9c044894f845b8d6d0b9498abfc49)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given that the section in question is describing how to configure
dependencies based on the machine type, it seems inappropriate to use
an example that depends on the choice of C library, so grab a snippet
from linux-yocto.inc to really drive the point home.
(From yocto-docs rev: 66bfec015f61a690f96cf8e28b80869c77327e6d)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link used in the documentation points to a file
that no longer exists on the crops repository.
Use the poky-container repo instead since it is more
accurate and updated
(From yocto-docs rev: 5d16ccecf0b198af0f78a4cce28532ab9dca739f)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link used in the documentation points to a file
that no longer exists on the crops repository.
Use the poky-container repo instead since it is more
accurate and updated.
(From yocto-docs rev: c5e21f5d18f4fc069ccc05cd82819eda291fcf9d)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The link used in the documentation points to a file
that no longer exists on the crops repository.
Use the poky-container repo instead since it is more
accurate and updated.
(From yocto-docs rev: 98d2a2161a30d9080bc7dea8ae7964893563b1e2)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"QemuTarget" was obsolete and replaced by "qemu".
Replacing the refer of "QemuTarget" with "qemu".
(From yocto-docs rev: f89d18adb62bc864e7890a613ff860bd3e4279ed)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"QemuTarget" was obsolete and replaced by "qemu".
Replacing the refer of "QemuTarget" with "qemu".
(From yocto-docs rev: 87691219dfe312c0db0af1fa30cc3505298a27af)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"SimpleRemoteTarget" was obsolete and replaced by "simpleremote".
Replacing the refer of "SimpleRemoteTarget" by "simpleremote".
(From yocto-docs rev: 41823811229754805c682ecec6903399bfe606fe)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"SimpleRemoteTarget" was obsolete and replaced by "simpleremote".
Replacing the refer of "SimpleRemoteTarget" by "simpleremote".
(From yocto-docs rev: 1779a6d699ae7a6e51f8b92516eea948c1767400)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to the architectural changes between Windows Subsystem for Linux v2,
and WSL v1 it should now be possible to run bitbake on the several distros
offered through the Microsoft Store.
WSLv2 is available on Windows 10 build number > 18917
The current build number may be checked by opening a cmd prompt on Windows
and running:
C:\Users\myuser>ver
Microsoft Windows [Version 10.0.19041.113]
If a distro has already been installed via the Microsoft Store, then we can
check which WSL version its using by opening a Windows Powershell (notice this
is a powershell and not a cmd prompt):
C:\WINDOWS\system32> wsl -l -v
NAME STATE VERSION
* Ubuntu Running 2
Debian Stopped 1
In this case it shows two distros installed, Ubuntu running WSLv2 and
Debian running WSLv1
To change the version of WSL being used by a certain distro run:
C:\WINDOWS\system32> wsl --set-version <Distro> 2
e.g
C:\WINDOWS\system32> wsl --set-version Debian 2
For more information on installing WSLv2 please look at:
https://docs.microsoft.com/en-us/windows/wsl/wsl2-install
There are some caveats related to the way storage is handled by WSLv2 though,
and at this point these have to be managed by the user manually, the storage
space used by WSL is not reflected immediately and since bitbake heavily uses
storage, after several builds this can prove to be a bit of an issue.
WSLv2 uses a VHDX file for storage, this issue can be easily avoided by
optimizing this file every now and then, this can be done via the following:
1.- Find the location of your VHDX file:
- Get the distro app package directory.
- Open Windows Powershell as Administrator and run:
Get-AppxPackage -Name "*<DISTRO>*" | Select PackageFamilyName
e.g.:
PS C:\WINDOWS\system32> Get-AppxPackage -Name "*Ubuntu*" | Select PackageFamilyName
PackageFamilyName
-----------------
CanonicalGroupLimited.UbuntuonWindows_79abcdefgh
Replace the PackageFamilyName (and your user) on the following path:
C:\Users\<user>\AppData\Local\Packages\<PackageFamilyName>\LocalState\
e.g.
ls C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\
Mode LastWriteTime Length Name
-a---- 3/14/2020 9:52 PM 57418973184 ext4.vhdx
The VHDX file path is:
C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\ext4.vhdx
2.- Optimize your VHDX file (Also on Powershell):
- Make sure WSL is shutdown
wsl --shutdown
- Optimize it
optimize-vhd -Path C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\ext4.vhdx -Mode full
A progress bar should be shown while optimizing the VHDX file.
As an example, after building core-image-sato, removing the TMPDIR did not reflect
any changes on Windows Explorer for storage space being used, after optimizing the
VHDX file, 14 extra GB were shown as free.
So, as long as the the user optimizes its storage, the builds should run smoothly.
This patch warns the user that is running bitbake under WSLv2, that they should
optimize the VHDX file eventually to avoid storage issues.
The same check previoulsy used for WSLv1 works for WSLv2, checking for the kernel
version:
WSLv1:
Linux version 4.4.0-19041-Microsoft (Microsoft@Microsoft.com)
WSLv2:
Linux version 4.19.84-microsoft-standard (oe-user@oe-host)
Builds have been tested under Ubuntu and Debian distros offered and installed through
the Microsoft Store, and other distros should be able to run builds just as fine.
Performance wise, using the same hardware, and same configuration a comparison between
builds using native Linux vs WSLv2 for the following targets has been performed:
- core-image-minimal
- core-image-sato
- core-image-sato-sdk
- meta-toolchain
No real evidence of any performance changes could be found, with WSLv2 builds running even
faster in some cases.
Running a recently built image can be done just as smoothly, if using "nographic" as
argument for runqemu, or if its a graphical image, installing an X server and running
runqemu runs just as fine.
Happy bitbaking.
(From OE-Core rev: c42cec0c1c57c4e67dc7cdb07c5e4aba14a847d3)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid confusing messages caused by EIO on reading
/proc/sys/net/ipv6/conf/*/stable_secret if those are not set yet.
Make it behave the same as procps(>=3.3.13).
Fixes:
$ sysctl -a | grep ipv6.conf | grep stable_secret
sysctl: error reading key 'net.ipv6.conf.all.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.default.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.eth0.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.lo.stable_secret': Input/output error
(From OE-Core rev: ff074f495dd4bb637618f790dd30e51e542cd30a)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Musl version is just a wrapper to strtod and not an exposed API
(From OE-Core rev: 660fdaa95858485b1caa779f1137a933c1f5d5f6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent versions of ICU (64+) provides a tool for configuring ICU
locale data file with finer granularity [1]
Default generated size for libicudata.so.66.1 is ~27M, which is quite
large for embedded systems and all of them may not even need all locale
data.
This patch calls the icudata buildtool during configure on the icudata
and utilizes a filter called 'filter.json` ( empty by default) to
create the data, default behavior should remain same but someone can
add a filter.json in own layer to configure this data, e.g.
{
"localeFilter": {
"filterType": "language",
"whitelist": [
"en",
"de",
"it"
]
}
}
would only generate the locale data for english/german/italian
This would reduce the size of libicudata.so.66.1 to 12M
Ensure that icudata is generated using host-tools so it can deal with
endianness correctly, when host and target systems have different
endianness
install the icudtata file back into in/ folder so that main build
can now pickup this data file instead of regenerating it and wiping
out the filter changes that are expected to take effect
Use native compiler tools
Update the big-endian support patch to apply to latest Makefile.in
from icudata source and mark it as backport
defer applying 0001-Fix-big-endian-build.patch after moving new data/ in
[1] https://github.com/unicode-org/icu/blob/master/docs/userguide/icu_data/buildtool.md
(From OE-Core rev: 5e5be67744d7ddf5a9ac433ecba02f697a84a325)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Suggested-by: Wouter Meek <w.meek@metrological.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Deleting sources is a rough way of dealing with disabling components,
using configure option is elegant way and we also keep the sources
unchanged, this should not cause any funcitonal changes otherwise
(From OE-Core rev: 1921711c9e7a915dbf04c3909bee39450c907845)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our least common denominator supported distro is debian-8
which has python 3.4. The whole point of the install-buildtools
script is to make it easier on the user to install buildtools
tarball. So it needs to run on Python 3.4.
The way we checked if the install was successful in the prior
version of the script was not workable in python 3.4. Since
the environment-setup-... script is currently just exporting
environment variables, use os.environ to do the equivalent from
values gleaned via regex from the environment-setup-... file.
Corrected a couple minor whitespace errors
NOTE: License changed to GPL-2.0-only due to inclusion of code
copied directly from bitbake/lib/bb/utils.py. This avoids the
need to depend on bitbake, which is now Python 3.5+ only.
(From OE-Core rev: 869020dac889e9ed79a294f308a87cfd946a68bd)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It can be frustrating if this sanity check triggers, but you
don't know why; you haven't explicitly set any SDK vars, or
similar.
At least echo out the offending value, so the end user has
a bit more information to go on.
Before:
SDK_VENDOR should be of the form '-foosdk' with a single dash
After:
SDK_VENDOR should be of the form '-foosdk' with a single dash; found '-overc-sdk'
Cc: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: e238fa177bd72bc5d165fbe4f640132267a1d3fd)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The alternative ld.so patch is set up so the linker will search
the nativesdk sysroot before searching the host filesystem.
However the patch concatenates <sysroot>/etc and /etc/ld.so.conf
leading to a path that does not exist:
3061991 openat(AT_FDCWD, "/buildtools/sysroots/x86_64-pokysdk-linux/etc/etc/ld.so.conf",
O_RDONLY) = -1 ENOENT (No such file or directory)
In native-nspr, the build uses -lpthread, which triggers a search for librt, but because
of the above it drags in the system librt leading to errors as follows:
/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/
9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: /lib64/librt.so.1:
undefined reference to `__clock_getcpuclockid@GLIBC_PRIVATE'
update concatenation to correctly construct the path to the nativesdk ld.so.conf
[YOCTO #13853]
(From OE-Core rev: d085da8300abb72e14957ecedf40189b25088d4b)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There appears to be no need for the use of REALPV in the recipe for
cdrtools-native as the downloaded tarball has the official version in
it.
(From OE-Core rev: d99309924fd33342748bd572816b2682bc7e32ab)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport fixes introduced in 2.63.6 for memory leaks and memory corruption in
GMainContext
Upstream merge: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1353
Fixes SIGSEGV in GStreamer:
Thread 2 "multihandlesink" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff6bb9700 (LWP 18045)]
0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146
2146 ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146
#1 0x00007ffff7d65bb6 in g_source_iter_next (iter=iter@entry=0x7ffff6bb8db0, source=source@entry=0x7ffff6bb8da8) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:980
#2 0x00007ffff7d67ef3 in g_main_context_prepare (context=context@entry=0x55555561c800, priority=priority@entry=0x7ffff6bb8e30) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:944
#3 0x00007ffff7d6896b in g_main_context_iterate (context=context@entry=0x55555561c800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3900
#4 0x00007ffff7d68b4c in g_main_context_iteration (context=0x55555561c800, may_block=may_block@entry=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3981
#5 0x00007ffff6be4482 in gst_multi_socket_sink_thread (mhsink=0x555555679ab0 [GstMultiSocketSink]) at ../../../gst-plugins-base-1.14.4/gst/tcp/gstmultisocketsink.c:1164
#6 0x00007ffff7d8fb35 in g_thread_proxy (data=0x55555565c770) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gthread.c:784
#7 0x00007ffff7841ebd in start_thread (arg=<optimized out>) at pthread_create.c:486
#8 0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
#8 0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(From OE-Core rev: 62eb45e6455df99b0c8b61bfb90858bb656bd724)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During a busybox upgrade on a ipk based system, it is possible
that busybox is the only shell in the system. During the uninstall
the alternative for /bin/sh is removed and everything after that
goes down hill.
* Add a check to verify if busybox is the shell, and save it to
the busyboxrm directory created in tmp. Then add an alternative
for /bin/sh that points to that busybox at the lowest priority.
* Add PATH to the busyboxrm directory using shell(as during an upgrade
busybox and its links are missing).
* When install over remove extra busybox if present.
deb and rpm are uneffected by the bug because they both drag in bash,
however neither upgrade seemed to have issue with the changes.
[YOCTO 13850]
(From OE-Core rev: a9d2af8f5b3da8239cf00a52883ca596a19ea23a)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, CMake has two ways of finding Python executables:
FindPythonInterp and FindPython/FindPython3. FindPythonInterp is
deprecated and may be removed at some point. Currently, python3native
sets PYTHON_EXECUTABLE, which FindPythonInterp uses. This is a problem
for a few reasons:
- Setting PYTHON_EXECUTABLE as an environment variable doesn't work, as
CMake needs it to be set as an explicit CMake option via -D.
- Projects using the newer FindPython/FindPython3 don't pickup the right
Python, as the newer routines use Python_EXECUTABLE and
Python3_EXECUTABLE.
Fix this by setting PYTHON_EXECUTABLE, Python_EXECUTABLE, and
Python3_EXECUTABLE using -D options to EXTRA_OECMAKE.
The CMake routines are documented below:
https://cmake.org/cmake/help/latest/module/FindPythonInterp.htmlhttps://cmake.org/cmake/help/latest/module/FindPython.htmlhttps://cmake.org/cmake/help/latest/module/FindPython3.html
(From OE-Core rev: a22200a646eaf42cd4902a2fe3358d29717ac129)
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with Ubuntu 20.04 which is using python 3.8 I'm seeing a lot of errors like:
ERROR: libxml2-2.9.10-r0 do_package: Can NOT get PRAUTO, exception No module named '_sysconfigdata'
not sure what caused this from python 3.8, but this seems to work
* PRserv is enabled with:
PRSERV_HOST = "localhost:0"
(From OE-Core rev: 4b26eaf7152fb712aba47a0c746333578f58ee8d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix logic for CVE DB update so that when the CPE version is '-',
it keeps the version as '-' in the DB file too and leave other
operation as blank.
(From OE-Core rev: 0ec35b00d65c70485eb1efe602d9fca53e926811)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After polling various develoeprs, its clear that many layers are struggling
with gcc 4.8 and its better for the project to adopt 5.0 as a minimum
version at this point in time. We should have technology like
buildtools-extended-tarball available to ensure things still work on Centos 7
and Debian 8.
(From OE-Core rev: abc741af16311cb473b7e3185ae34265b243d804)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add iproute2 RDEPENDS for dhcp-client as
/sbin/dhclient-systemd-wrapper which called
by dhclient.service depends on ip command which
provided by iproute2 package when systemd enabled
in DISTRO_FEATURES.
(From OE-Core rev: 0c91fcba446418ad1f71d3df9aa3b186bbd353c7)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't skip the nfsroot interface when use dhcp
to get the address for nfsroot interface as the
nfsroot interface may need dhclient to renew
the lease.
(From OE-Core rev: 27aec88c2ff4588acacadbe1cd61d7ce233fc817)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One significant change from previous OE-Core releases was the move from
u-boot-fw-utils to libubootenv which offers a generic and not machine
specific alternative. However, it is not fully functional as currently
we don't provide the default environment nor the required configuration
file to be used by it.
This change address this and include on the default u-boot.inc the
needed code to generate, install and deploy the default environment.
(From OE-Core rev: 69b3b093079c2ca2744d6c02747c5d1b5d3e7ecf)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix error like:
Makefile.perf:597: recipe for target
'intel_x86_64-wrs-linux/perf/1.0-r9/perf-1.0/perf-in.o] Error 2
Makefile.perf:220: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:69: recipe for target 'all' failed
make: *** [all] Error 2
during rebuilding, when kernel version changed, some
source files also maybe changed. It could happened
that the source under ${S} messed up with some already
dropped files and also new files. Fix by clean the ${S}
before copy source files.
(From OE-Core rev: 57b4745cca8d486c1f20b8f01f4a25cb59c4b968)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes build errors seen in no-x11/no-wayland configuration ( eglfs
) and when QT5 support is enabled
(From OE-Core rev: 03e498cd7e35902202579d404f4aad5c92664f18)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following manpage conflicts:
* check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man1/tftp.1
But that file is already provided by package * tftp-hpa-doc
* check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man8/tftpd.8
But that file is already provided by package * tftp-hpa-doc
* check_data_file_clashes: Package netkit-telnet-doc wants to install file /usr/share/man/man8/telnetd.8
But that file is already provided by package * inetutils-doc
(From OE-Core rev: fc14bfd60ad86094f65ebefbd10dbddc112d2698)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic look for external layer source plugin under scripts/lib/
while other tools look for lib/.
allow wic to check for source plugin at both scripts/lib/ and
lib/ to align with other tools while avoid breaking any existing
source plugin in external layer.
[YOCTO #13056]
(From OE-Core rev: 986baff26bd96a6265f5fe2d631818fff9f66374)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using gnu_hash style is unsupported on gold for now therefore disable
building gold on mips/glibc
Certain applications poke for presence of gold linker and silently use
it (webkit), therefore its best to disable building it
(From OE-Core rev: b1b98ed4fafa9d37f71cbfe18f7a00ce2643449e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As opkglibdir starts with a /, os.path.join will ignore
self.target_rootfs, leading to an attempt to remove /var/lib/opkg.
This only fails if it exists on the host, explaining why this remained
undiscovered for long.
(From OE-Core rev: fc974977cea389f54e7fc7de7b1c8fd3d8bafe58)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there already is a package providing (and conflicting against)
packages what should be installed, apt will try remove the conflicting
package (target-sdk-provides-dummy) and any that depend on it (like apt
and dpkg). This usually fails because of the protection of essential
packages. In that case, no -dev/-dbg packages are installed to the SDK.
Avoid this problem by checking which packages are already provided and
removing them from the list to be installed. Also sort the list to make
it easier to read when debugging.
(From OE-Core rev: 3ffb339dd55f8ca7c952fd3390608510f772e19f)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed for a later change to avoid installing packages which are
already provided by an installed package.
(From OE-Core rev: ad72dfaaa2caf2c39d033dc1682f0bbbbe45dbbd)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 7d214b34e11dc57316ed5c1c7747c4601286f6d2, only the code in the
for loop was modified to store the pkgarch value. The code used if there
was no empty line at the end was not modified.
Instead of fixing the duplicated code, remove it and just make sure that
a final empty line is processed.
(From OE-Core rev: a7b93c695b23d015607b179d98526b9b14c03d45)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
apt install can decide to remove already installed packages if there are
conflicts. Avoid this by explicitly specifying --no-remove. This will
then cause a "E: Packages need to be removed but remove is disabled."
message.
(From OE-Core rev: 9605a488b55042add012e9aeef13ab3f4e70e6e5)
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the minimum python version isn't met, show a pointer to the new
install-buildtools script.
(From OE-Core rev: 38e3d5bd3d05ed00a2fc55e3729cb8a6d4e4132f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also un-breaks python3 ptest which got broken
with 1.1.1e update.
(From OE-Core rev: b4ddf5b9d8cd769b7026663f93c8bc69b55d8cbf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add ability to check md5sum (yocto-3.1_M2 and before) or sha256
(yocto-3.1_M3 and beyond).
Make regex for path in checksum file optional, since
for yocto-3.1_M3 the format is <checksum> <filename>,
but prior releases was <checksum> <path><filename>
(From OE-Core rev: cb1c98f38755b8340140125064c21e407f39db74)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is known that old versions of gcc prior to 4.8 causes builds to fail.
Add a test for BUILD_CC == 'gcc' and gcc < 4.8 and recommend using
scripts/install-buildtools or user built buildtools-extended-tarball.
Use the new get_host_compiler_version function from lib/oe/utils.py
NOTE: another solution is to install devtoolset-6+ from scl [1], but
this is a rather large install (> 1 Gb) and fairly invasive.
[1] https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
Adding this code means we can increase the minimum version easily
in the future too (which will soon be needed).
RP: Change minimum version from 5.0 to 4.8 for initial patch
(From OE-Core rev: 3bb3b9cbad82b2f09386153226d1d4e769b7347b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add helper function to get the host compiler and version.
Do not assume compiler is gcc.
NOTE: cannot set env to d.getVar("PATH") as that does not contain
the session PATH which was set by environment-setup-... which
breaks the install-buildtools use-case
(From OE-Core rev: 88712929354ff9c876bb1e48b6f15c33af5f2bbc)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For old tar version (< 1.28), recommend using
scripts/install-buildtools
Drop check for tar version 1.24. Dubious extra value.
(From OE-Core rev: 7a66434cf11b7f051699b774e4fccd6738351368)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Install directory defaults to scripts/../buildtools
e.g. --directory is set by default
This avoids the user having to type in their sudo password
to install in /opt/poky/<installer-version>
* Use "." rather than "source" for sourcing the environment script
as not all distros (e.g. Debian) have "source" by default.
* Add buildtools/ to .gitignore
* Fix typos in example usage (--install-version -> --installer-version)
[YOCTO #13832]
(From OE-Core rev: c6c3a58dbf0ca6c4a41df7ff50fa56d39d7ee23f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contains the firmware for the audio, compute and modem/wireless in SDM845 platforms.
(From OE-Core rev: 1bc608b35ce22f65596d29b4944a2a82d0cd8c39)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CPE version could be '-' to mean no version info.
Current cve_check treat it as not valid and does not report these
CVE but some of these could be a valid vulnerabilities.
Since non-valid CVE can be whitelisted, so treat '-' as all version
and report all these CVE to capture possible vulnerabilities.
Non-valid CVE to be whitelisted separately.
[YOCTO #13617]
(From OE-Core rev: c69ee3594079589d27c10db32bc288566ebde9ef)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pseudo-native is special in that bitbake ends up executing it from the
sysroot-components directory before we have any workdirs for the bitbake
fakeroot worker. Since we switched to dynamically linking sqlite, it
means sqlite from the host system may be found, we really want the version
in sysroot-components. Trying to run tasks to create some special environment
for pseudo is hard and error prone. The simplest fix is to add an RPATH to
the binary so that it can correctly find the sqlite we want.
Unfortunately passing $ORIGIN into make doesn't work so well with shell
quoting so we have to fix that during do_install.
[YOCTO #13814]
(From OE-Core rev: 3937ca9e2dfabb1ce9bce1d536b60b1e2a43739b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original patch "bpo-36852: proper detection of mips architecture
for soft float" uses AC_CANONICAL_TARGET to determine the platform
triplet. While AC_CANONICAL_TARGET exports i686 as target_cpu, gcc
is using i386 instead. We fall back here to i386, as it is conform
to the previous behavior.
Upstream Status: Submitted [https://github.com/python/cpython/pull/13196]
(From OE-Core rev: 6beab388e73b3ac6157650855a6c1fb1d71e8015)
Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 4e692daf66d2c9d51d418706e20f4527505dc0bd.
The patch did not take into consideration of read-only rootfs, causing
the following regression.
ERROR "The following packages could not be configured offline and rootfs is read-only: ['100-ifupdown']"
The original patch was added to resolve problem running `ifup eth1' on
a systemd based rootfs. However, when using systemd, we do not use ifup
to manage our network interfaces.
(From OE-Core rev: d687794d98f5956a205c049658f2a0f3c5bc0a3f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd sets net.core.default_qdisc = fq_codel, include
kernel-module-sch-fq-codel in RRECOMMENDS to satify this
(From OE-Core rev: 2544593dc53f9eca964817390577b3b04e87796f)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd supports a distribution hwdb.bin in /usr/lib/udev/hwdb.bin,
which is used if /etc/udev/hwdb.bin is not present. When generating the
install time hwdb, for systemd, ensure that we put it in /usr/lib/udev,
which then ensures that at boot time we do not regenerate it, unless the
system is marked for update.
This allows fragments dropped into /etc/udev/hwdb.d to be processed
correctly, but without requiring a first boot time build:
root@qemumips:~# systemctl status systemd-hwdb-update.service
* systemd-hwdb-update.service - Rebuild Hardware Database
Loaded: loaded (/usr/lib/systemd/system/systemd-hwdb-update.service; static; vendor preset: disabled)
Active: inactive (dead)
Condition: start condition failed at Wed 2020-03-04 15:18:11 UTC; 44s ago
|- ConditionPathExists=|!/usr/lib/udev/hwdb.bin was not met
|- ConditionPathExists=|/etc/udev/hwdb.bin was not met
`- ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d was not met
Docs: man:hwdb(7)
man:systemd-hwdb(8)
(From OE-Core rev: 78ff610e571e4d739326520c391a37ee1f1290ae)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use rootlibexecdir consistently rather than nonarch_base_libdir for udev
rules.
(From OE-Core rev: f9081994db3872af993d21db259a628cd834973f)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
udev is packaged before systemd so any wildcard inclusions in FILES will
override later specifics. List all udev rules explicitly so that the
systemd specific rules, packaged alongside systemd, appear in the
correct package.
(From OE-Core rev: bfff3d0c63026122b102c53a0261abd9f09124db)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By using PACKAGE_BEFORE_PN rather than =+ it's clearer how we expect the
package ordering to work. It also avoids the possibilty that dev/dbg/etc.
artefacts attempt to package as part of these packages.
(From OE-Core rev: fb64a50c3ab385d5bfd33dd669b6148e43b43770)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to build mesa-gl without X11 enabled, results in numerous errors
about being incorrectly configured, such as:
ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa
A rendering engine must be available, so per the error we enable osmesa
if X11 is not available. Once 'osmesa' is enabled we also need to make
sure that swrast for DRI is also available.
(From OE-Core rev: cd6bab044288779a67b94353ff91935f59bfcb56)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upon inspection its clear the way the keys for this cache were being handled
would break it and cause the cache to never be used. Fix this.
(Bitbake rev: 9a5dd1be63395c76d3fac2c3c7ba6557fe47b442)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing leading spaces or replace += usage with a leading space.
(From OE-Core rev: 91f464177ed7ed59a4405a39a366b387338ae923)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add mention/description of missing IMAGE_FEATURES.
(From OE-Core rev: 9f126a97d61bed481b64351fdcf27beaf6365a52)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libtool patch will result in configure file regeneration, instead of
doing that at build time, do it in patch itself, this avoids running
autoconf before configure step.
Since binutils needs specific version of autoconf ( which is 2.69 )
this will break on systems using newer or older verisons of autoconf
in current state.
(From OE-Core rev: 525d703d6f846e9706481a816910aef2ee70fb54)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add sysvinit PACKAGECONFIG which disables all sysvinit handling in
systemd if it isn't present.
Consolidate sysvinit handling so that when it's disabled we exclude all
sysvinit features.
(From OE-Core rev: 39ece7b3e604c9dfa046841e099e2a47b713f62c)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 5a0d5de68957ed11407694cf1acee1ab1cb4be79 ("build: Require at least version 0.29 when building with external ELL") in iwd [1]
ell version 0.29 is required.
Also, this is a bug fix release, see after:
ver 0.30:
Fix issue with missing export of RTNL helper functions.
ver 0.29:
Fix issue with time overflow on 32-bit systems.
Add support for RTNL helper functionality.
[1] - https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=5a0d5de68957ed11407694cf1acee1ab1cb4be79
(From OE-Core rev: 0c3bb2908f526b1195f1e7c6363c430c484d8670)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13609]
avahi_0.7.bb defines 9 PACKAGES. However, avahi.inc generically sets
LICENSE to "GPLv2+ & LGPLv2.1+". The library specific
packages should be LGPLv2.1+ only.
(From OE-Core rev: bd10fa54a94e9ae44defddae573ce67d33a11979)
Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add userdb packageconfig to control the building of the pam_userdb.so module.
This depends on dbm support being compiled in for the berkley db package.
Also, remove "--with-db-uniquename=_pam" from EXTRA_OECONF. It makes the checks
for libdb fail because it searches for the wrong symbols in libdb (and libdb
was not configured with --with-uniquename=_pam option).
db.do_configure:
checking if --with-uniquename=NAME option specified... no
libpam.do_configure:
checking for db_create_pam... no
checking for db_create... no
checking for dbm_store_pam... no
checking for dbm_store... no
checking for dbm_store in -lndbm... no
(From OE-Core rev: 3130f43c51fb9b2aed9bb7805a820ea90e68276a)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add "dbm" packageconfig to enable legacy dbm support in libdb. This support is
needed to build libpam pam_userdb.so plugin.
(From OE-Core rev: 841573cea6d06dcba45227a8126153b0629b1b0c)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since kernel commit b24ee6c64ca7 ("NFS: allow deprecation of NFS UDP protocol"),
NFS UDP has been disabled by default due to the potential data corruption caused
by fragmentation during high loads. So now we cannot boot up with nfs mode and
default kernel.
We'd better turn to use TCP accordingly.
(From OE-Core rev: 73a54595d8ddf237d685ea9cb46df0cecac0280d)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when do_populate_cve_db forced stop at certain point, the
DB execution are stoped however the temporary database
file (DB-JOURNAL) are not removed. This db-journal file
indicates that DB is incomplete and set DB in readonly
mode. So when db-journal exist, remove both DB and the
db-journal and build the DB again from scratch.
[YOCTO #13682]
(From OE-Core rev: 70713df25b8ae27a21e53b0b9234567d7053800a)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a system with selinux turned on, trying to access a directory
that is in a tree that doesn't exist returns the error permission
denined rather then no such file or directory, which causes git
to die.
git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
fatal: unable to access '/opt/poky/3.0+snapshot/sysroots/x86_64-pokysdk-linux/etc/gitconfig': Permission denied
Switch to using the system gitconfig of the host.
(From OE-Core rev: 5e44fb4dd106e3c4b9f072b25a93e54fa7bb1bce)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling for Thumb or Thumb2, frame pointers _must_ be disabled
since the Thumb frame pointer in r7 clashes with pulseaudio's use of inline
asm to make syscalls (where r7 is used for the syscall NR).
In most cases, frame pointers will be disabled automatically due to
the optimisation level, but appending an explicit -fomit-frame-pointer
to CFLAGS handles cases where optimisation is set to -O0 or frame
pointers have been enabled by -fno-omit-frame-pointer earlier in
CFLAGS, etc.
References:
https://www.openwall.com/lists/musl/2017/10/09/2
(From OE-Core rev: b199a9dbc3440d7c4fad8d8baeea931a6b7381c1)
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update importing a build directory to support where bblayers.conf
sets BBLAYERS to a value that includes a variable reference e.g.:
BBLAYERS = "${TOPDIR}/../meta \
${TOPDIR}/../meta-selftest"
[YOCTO #13707]
(Bitbake rev: 5bd29d448a31c132afd6fc0127029e246759b87b)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When selecting reverse runtime dependencies, filter on simply 'depends_on'
instead of the obsolete 'depends_on__name' or 'depends_on__size'.
[YOCTO #13717]
(Bitbake rev: 085940c12619549be3fbd4ead9379ab0a97ac5bf)
Signed-off-by: Ahmed.Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Directly support the various 'manage' commands from the Toaster
executable, so that users do not have to manually set up the required
environment and paths.
Examples:
$ . toaster manage createsuperuser
$ . toaster manage lsupdates
[YOCTO #13170]
(Bitbake rev: fd844e55bb885a51fe5ef8da1f625b34e646cf5f)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test is randomly modifying file data and some of these random
modifications cause OOM failures. There is no way to preserve and repeat
what was modified, so the test needs to re-engineered to do
proper fuzzing.
See here for details:
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/146
(From OE-Core rev: 732a9c83e946580607af3478cdc765d6541e3f64)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Utils can not detect GCC 10 correctly due to wrong regex.
It generates this error "ERROR: Can't get compiler version from gcc --version output"
Sub-version numbers should be 1 or more digits instead of 1 only.
(From OE-Core rev: 186fe4a3d390a52b87282c3e694ce3251e45ee78)
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@mind.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE's packaging functions assume that the opkg-utils python scipts are
always provided by opkg-utils-native, so the scripts should be removed
for class-target only.
(From OE-Core rev: dc243da47e10cc11dce4e2d3b9d59b96e23a0ce2)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ifunc patch is needed to address a glibc ptests failure on riscv
long double double patch is backported to let 2.31 build with gcc10
(From OE-Core rev: 5ab732a1a1c57bc9f9a5e71230eccee217110ade)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise .gir files installed in the sysroot will not be found when
multilib is in use.
for vapigen, it need to find .vapi and .gir files under XDG_DATA_DIRS,
for gobject-introspection, multilib configurations use libdir rather
than datadir
(From OE-Core rev: b88f0590b4606d8adc8d728086a22325c1ae56b1)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For distros such as CentOS-7 where the default buildtools are too
old we need to make it easy for users to install a pre-built SDK
with all of "build-essentials" included.
Other uses may include building older Yocto Project releases with
a distro where buildtools are too new.
For convenience, the standard buildtools installation is also
supported.
NOTE: extended buildtools is the default, e.g.
--with-extended-buildtools is on by default
Example usage (extended buildtools from milestone):
(1) using --url and --filename
$ install-buildtools \
--url http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-3.1_M2/buildtools \
--filename x86_64-buildtools-extended-nativesdk-standalone-3.0+snapshot-20200122.sh
(2) using --base-url, --release, --installer-version and --build-date
$ install-buildtools \
--base-url http://downloads.yoctoproject.org/releases/yocto \
--release yocto-3.1_M2 \
--install-version 3.0+snapshot
--build-date 202000122
Example usage (standard buildtools from release):
(3) using --url and --filename
$ install-buildtools --without-extended-buildtools \
--url http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.2/buildtools \
--filename x86_64-buildtools-nativesdk-standalone-3.0.2.sh
(4) using --base-url, --release and --installer-version
$ install-buildtools --without-extended-buildtools \
--base-url http://downloads.yoctoproject.org/releases/yocto \
--release yocto-3.0.2 \
--install-version 3.0.2
[YOCTO #13832]
(From OE-Core rev: 2d0aea6a73c427ce6aa17dc71e0783977a52bb2b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the json result output dir in the oeqe runtime context to create
testresults.json file by default for exported runtime test runs.
Use current datetime for the json result property name (not DATETIME
from build) to allow multiple result entries.
(From OE-Core rev: e6c73ed8d3c5d45f387cab619ca73c21e850582f)
Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Stopping systemd-timesyncd doesn't prevent it being restarted by a
different transaction within systemd. Disable the service instead during
the date test to ensure it can't be restarted.
(From OE-Core rev: 3dd4e637c11abdd6341a3e0c6b67639d3d703862)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
psplash is only expected to run during startup, but if any dependency is
pulled into a transaction and the unit is inactive, then it can be
restarted.
Set RemainAfterExit to ensure that the unit remains active and is not
gratuitously restarted.
Drop the nonexistent systemd-start.service from the unit.
(From OE-Core rev: 618bd9a10c27d13a4420638d82618ac41935cfda)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetcher GITDIR variable wase dropped a while back, drop the
obsolete reference to it (thanks Robert Day).
(From OE-Core rev: de035e687e26cef96e9b737c47bfc291bdfbea48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These fetcher *DIR variables were dropped a while back, drop the docs
that reference them (thanks Robert Day).
(From OE-Core rev: 609fcfe1f1490e9d9c35e40a0606a3b6b86bd78c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Spaces were previously converted to dashes, and underscores caused the
next character in the title/key to be printed using subscript due to the
enhanced string support in gnuplot.
(From OE-Core rev: 1719f7062988889b7e24b871dc2f0e50c7bff07e)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Spilts out the inc file for u-boot-tools so that BSPs can include it for
their forked version of the tools, just like u-boot.inc.
As an example, this recipe [1] builds mkimage u-boot as part of the
u-boot recipe itself. This is incorrect because u-boot is a target
recipe, which means that the uninative loader transformations do not get
applied when the recipe is restored from sstate, breaking the mkimage
command breaks. The correct solution is to have a u-boot-tools-imx
recipe that pulls in their custom u-boot source; this inc file makes
that much easier to maintain.
[1]: aa27fc6209/recipes-bsp/u-boot/u-boot-imx_2019.04.bb
(From OE-Core rev: 2f3bd198d9b1e85f17f7a587b1690ab196ab0300)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
prevent cve-check from fatal error cause by network issue.
[YOCTO #13680]
(From OE-Core rev: da358e415726f836e6b3e69ad7fbeffb50bd402d)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
03142acba06e ARM: 8918/2: only build return_address() if needed
(From OE-Core rev: 6639ad938f5db86d8d30b867a17a26c082cc05ca)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to linux-yocto/5.4:
9065d188f874 KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
(From OE-Core rev: ac42114430c9cccb21c296c12f31f405ccb99329)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem reported that kernel selftests are failing after some of the recent
-stable udpates, and identified the followig commits to solve the
issues:
4cd12df48b83 selftest/bpf: Use CHECK macro instead of RET_IF
84591c1cb409 Revert "selftests/bpf: Fix perf_buffer test on systems w/ offline CPUs"
844b959f96bd Revert "selftests/bpf: Skip perf hw events test if the setup disabled it"
(From OE-Core rev: 8ee272e6fdbc65097a3aa3e2456598dd089793eb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had reverted this commit in v5.2, and it is still required in 5.4.
The following config commit is also included in this change:
bsp/ti-am335x: drop some invalid cfg options
(From OE-Core rev: 43ec35f7cc4f222ad91efdd56f8eea901db52def)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the SRC_URI is switched to be git based, QEMU will automatically update
itself at compile time for select git submodules. This by passes the
bitbake git fetcher. These modules are always present in the release
tarballs, so only are problematic when used with git based SRC_URIs.
These switches will have no effect on a tarball based SRC_URI.
(From OE-Core rev: 53b38a89fc7ccbceefd1a3a79bd376d9f6419565)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The security flags were missing from the SDK toolchain
because they were added specifically to class-target.
Add them to class-cross-canadian as well (since the SDK environment
file is created from cross-canadian target flags).
(From OE-Core rev: cd46e8f890069a40d1e9048cfa0f378dec1dc5e9)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Antoine Manache <a.manache@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per mailing list discussion, the cache policy was behaving correctly before
and wouldn't expect to update after the initial fetch even for AUTOREV.
This reverts commit ba093a38539960e645e994a66ed7872a604c00a9.
(Bitbake rev: 51f827911b7202de3e855e683fdbd732d7a84e09)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Poking changes into config_data and expecting them to appear in the recipe
is a bad idea, place the data in recipedata directly instead.
(From OE-Core rev: 191dd811900ace0e0af2e97221e10461fae0d9bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake dropped support for this piece of functionality (the test was
the only user), drop the test too.
(From OE-Core rev: 9ba0708e34eb038dc3ea5a877a5837c534cf165f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some usages need to iterate the datastore. This is slow and not recommended
but support this.
(Bitbake rev: 38b4e330c6c2007e8ead878e1d9e9580d3b19c7b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current approach to remote datastores used in tinfoil is breaking. For
example, adding a devupstream extension to a recipe with a git upstream,
making it the preferred version and then running "devtool modify" on it
causes get_srcrev() circular dependency issues. The problem is the override
handling in the datastore is broken.
This gets broken since remotedata:recieve_datastore() sets d.dict but doesn't
update d.overridedata (or d.inchistory or d.varhistory). We could play
whack-a-mole but the current implementation seems to be flawed to me. It
also doesn't cover, or only partially covers some datastore operations and
each needs new dedicated command API.
Instead, step back and reimplement the way the datastore connector works.
With this change, the datastore is either remote or local but the data is not
spread on two sides of the connection. All the API is proxied over the connection
by a single function for the datastore (and two to support variable history
and include history).
This code does not support using the datastore as a parameter to any data store
functions. We did have one case of that but its just bad code and can be
replaced.
The result is something which is much simpler and less invasive to the datastore
code itself, meaning its behaviour should be much more consistent. The existing
tests for the remote data no longer make any sense and are removed.
The one bug this code would have is if key/value pairs are returned over the IPC
and those values contained a DataSmart object since we don't recurse into return
values to find such things. Nothing appears to do that currently so lets worry
about it if its ever an issue. This change should simplfy a ton of other issues
and avoid a ton of other bugs so is a huge net gain.
Tested with bitbake's and OE's selftests.
(Bitbake rev: 85e03a64dd0a4ebe71009ec4bdf4192c04a9786e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The datastore is already available to this function internally so don't
also try and pass the datastore as a parameter. This is clearly broken
API when you look at the existing calls to it.
This then doesn't break the planned tinfoil data connector changes.
(Bitbake rev: af1654498ee5b47368a41dad2d2b7b6abc19ff15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This parameter is unused except for a single selftest and is problematic
with regard to fixing some other bugs. Remove it for now, if really needed
we could re-implement it in some other way in the future. Experience
tells us we likely don't want to support this kind of change to the metadata
anyway as its not as useful as it first sounds/appears.
(Bitbake rev: f2341dc46b6abfc08a4d01c7abdd3d4630577999)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The updates to the tests are done in do_install instead of do_install_ptest,
so the changes need to consider ptest not being turned on.
(From OE-Core rev: 6baaf3a530d5e4d6015c1dc53a2849a20bafafe4)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix indentation in buildstats.sh and buildstats-plot.sh
to convert every line to 4 spaces indentation.
(From OE-Core rev: 3971572042ae9bc8226eb92892bb71010287e0a8)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option to filter the stats results for a single recipe, allowing
to easilly visuality the task resource consumption per recipe.
This is specially useful when debugging the performance of
the overall bitbake build system.
(From OE-Core rev: b4bf898d53af60f5d69b50ec5cdd7f9b3870f2dd)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add option to accumulate stats values per recipe, allowing
to sum related values such as memory (main process + childs).
This is specially useful when debugging the performance of
the overall bitbake build system.
(From OE-Core rev: e6f1aea6260343cb5194f7f8ab70213b705ab441)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Extend buildstats-plot.sh script to also accept the name
of the tasks as parameter.
This value will be passed directly to buildstats.sh is
already provides this option.
(From OE-Core rev: 495b6d3d85d2d14d54e324d8da43311a23fdfca6)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the internal call to buildstats.sh by also providing
the buildstats folder location in the system, which might
differ from the default location.
(From OE-Core rev: 9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d)
Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing a warning for something which is harmless just causes the
people monitoring the autobuilder more work. Silently ignore this race.
(From OE-Core rev: 2246c8d2466d3876fd1b27fd1943aa4bbf28e14e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
ERROR: nfs-utils-2.4.3-r0 do_package: QA Issue: nfs-utils:
Files/directories were installed but not shipped in any package:
/usr/lib/libnfsidmap/nsswitch.so
/usr/lib/libnfsidmap/static.so
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within do_install.
nfs-utils: 2 installed and not shipped files. [installed-vs-shipped]
Add rdep on python3-core for PACKAGECONFIG[nfsv4] to fix:
ERROR: nfs-utils-2.4.3-r0 do_package_qa: QA Issue: /usr/sbin/clddb-tool
contained in package nfs-utils requires /usr/bin/python3, but no
providers found in RDEPENDS_nfs-utils? [file-rdeps]
Add rdep on libdevmapper for PACKAGECONFIG[nfsv41] to fix:
ERROR: nfs-utils-2.4.3-r0 do_package_qa: QA Issue: /usr/sbin/blkmapd
contained in package nfs-utils requires libdevmapper.so.1.02()(64bit),
but no providers found in RDEPENDS_nfs-utils? [file-rdeps]
(From OE-Core rev: 17b44d51eaf71ae6d04034454dcb68f508b85258)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run ifup if /etc/network/interfaces doesn't exist:
| ifup: couldn't open interfaces file "/etc/network/interfaces": No such
| file or directory
Create the config file if not exist.
(From OE-Core rev: 4e692daf66d2c9d51d418706e20f4527505dc0bd)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unfortunately, a couple of tests sporadically fail still;
bugs have been filed, but they will take time to resolve.
(From OE-Core rev: 6b408f40b6c214d05433c41f0cd6200c715cc615)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
extended partition should reserve at least 2 unallocated sectors
between the start of the extended partition and the start of a
logical partition.
[YOCTO #13658]
(From OE-Core rev: 884c8a0e50a49bdca5e048197a9dc0ff37cc8d1a)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the latest v5.4-rt release:
2659f7a7212c v5.4.26-rt16
60c22c68d486 v5.4.24-rt15
efa03618228 mm: Warn on memory allocation in non-preemptible context on RT
908775cdf21e v5.4.24-rt14
b4edc32e2e46 v5.4.22-rt13
49a5b8ead027 tracing: make preempt_lazy and migrate_disable counter smaller
8f2ed8895c0c drm/vmwgfx: Drop preempt_disable() in vmw_fifo_ping_host()
b558bcd37e5d bpf: Update the "bpf: Make BPF and PREEMPT_RT co-exist" series
d197132b1dd5 v5.4.22-rt12
(From OE-Core rev: a8db5643bd14a5a2e8e60012dd1551f6d867acc2)
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:
585e0cc08069 Linux 5.4.27
20ba40d262b0 ipv4: ensure rcu_read_lock() in cipso_v4_error()
81e0dac3780a ARM: 8961/2: Fix Kbuild issue caused by per-task stack protector GCC plugin
1dc67950e2d1 HID: add ALWAYS_POLL quirk to lenovo pixart mouse
5d961582ea88 HID: google: add moonball USB id
ae119b7e1247 mm: slub: add missing TID bump in kmem_cache_alloc_bulk()
47b6d269dbbd ARM: 8958/1: rename missed uaccess .fixup section
1a9e78628d44 ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()
881876bee657 net: qrtr: fix len of skb_put_padto in qrtr_node_enqueue
235fb892d846 blk-mq: insert flush request to the front of dispatch queue
dbce8292217a jbd2: fix data races at struct journal_head
99746e92fa4c sfc: fix timestamp reconstruction at 16-bit rollover points
e2b8b042c98b net: rmnet: fix packet forwarding in rmnet bridge mode
34c550ebb219 net: rmnet: fix bridge mode bugs
8eccc6d06ea1 net: rmnet: use upper/lower device infrastructure
835bbd892683 net: rmnet: do not allow to change mux id if mux id is duplicated
5ce5e95d72f1 net: rmnet: remove rcu_read_lock in rmnet_force_unassociate_device()
002b4bd9b51d net: rmnet: fix suspicious RCU usage
8a027eee62f7 net: rmnet: fix NULL pointer dereference in rmnet_changelink()
006cd2426a05 net: rmnet: fix NULL pointer dereference in rmnet_newlink()
cfc7f5fe5c61 hinic: fix a bug of rss configuration
e6f52d5ce172 hinic: fix a bug of setting hw_ioctxt
65340b196811 hinic: fix a irq affinity bug
1c7dde0a9bfc net: phy: mscc: fix firmware paths
4d6ee3123d65 slip: not call free_netdev before rtnl_unlock in slip_open
d1984c92f072 signal: avoid double atomic counter increments for user accounting
df8e98b00941 kbuild: add dt_binding_check to PHONY in a correct place
fd1f29f2a824 kbuild: add dtbs_check to PHONY
bbf3acbb8a77 drm/amdgpu: fix memory leak during TDR test(v2)
74c77d6a4ea9 blk-mq: insert passthrough request into hctx->dispatch directly
74886a6d9de8 net: ll_temac: Handle DMA halt condition caused by buffer underrun
c2cffaea4fde net: ll_temac: Fix RX buffer descriptor handling on GFP_ATOMIC pressure
6e3b69543b5e net: ll_temac: Add more error handling of dma_map_single() calls
0c050d655475 net: ll_temac: Fix race condition causing TX hang
a342bb7b9902 mac80211: rx: avoid RCU list traversal under mutex
5d92d834aa27 net: ks8851-ml: Fix IRQ handling and locking
d939f3389f9b net: usb: qmi_wwan: restore mtu min/max values after raw_ip switch
6c663120ecdb scsi: libfc: free response frame from GPN_ID
079e9ad79410 cfg80211: check reg_rule for NULL in handle_channel_custom()
a6f7e69cfafd tracing: Fix number printing bug in print_synth_event()
c35aa36fec91 selftests/rseq: Fix out-of-tree compilation
dd0d2d6ab6a2 HID: hid-bigbenff: fix race condition for scheduled work during removal
ccb747d805d3 HID: hid-bigbenff: call hid_hw_stop() in case of error
1bc271dd397d HID: hid-bigbenff: fix general protection fault caused by double kfree
190e929e6cba HID: i2c-hid: add Trekstor Surfbook E11B to descriptor override
87bd74b77531 ACPI: watchdog: Set default timeout in probe
65b44497414b HID: apple: Add support for recent firmware on Magic Keyboards
20eed7692749 ACPI: watchdog: Allow disabling WDAT at boot
f3c478104a9a drm/amdgpu: Fix TLB invalidation request when using semaphore
f6fccb0a0e59 netfilter: xt_hashlimit: unregister proc file before releasing mutex
536942bf70b5 netfilter: hashlimit: do not use indirect calls during gc
257edc6db943 Linux 5.4.26
881f9469cc9f net/smc: cancel event worker during device removal
dbaba2a4db6e net/smc: check for valid ib_client_data
aa38bea47fd2 ipv6: restrict IPV6_ADDRFORM operation
62fd4e348df2 iommu/amd: Fix IOMMU AVIC not properly update the is_run bit in IRTE
8753b0cad128 i2c: acpi: put device when verifying client fails
03d524d70ecf iommu/vt-d: Ignore devices with out-of-spec domain number
9493a6361d81 iommu/vt-d: Fix the wrong printing in RHSA parsing
2d106e75da45 netfilter: nft_chain_nat: inet family is missing module ownership
56e84ae47481 netfilter: nf_tables: dump NFTA_CHAIN_FLAGS attribute
15ec06c6a894 netfilter: nft_tunnel: add missing attribute validation for tunnels
e92dea63e278 netfilter: nft_payload: add missing attribute validation for payload csum flags
896d11cdcab9 netfilter: cthelper: add missing attribute validation for cthelper
c61868ef2795 perf bench futex-wake: Restore thread count default to online CPU count
b57542934121 nl80211: add missing attribute validation for channel switch
5bd0ee5727d2 nl80211: add missing attribute validation for beacon report scanning
b0fd0b85c377 nl80211: add missing attribute validation for critical protocol indication
c684f4f68c0a i2c: gpio: suppress error on probe defer
4f60640723cf iommu/vt-d: Fix RCU-list bugs in intel_iommu_init()
b8c3cbca80e8 driver code: clarify and fix platform device DMA mask allocation
a9fef78caac0 drm/i915/gvt: Fix unnecessary schedule timer when no vGPU exits
f5ace0987a69 pinctrl: core: Remove extra kref_get which blocks hogs being freed
d2df67d7411e drm/i915/gvt: Fix dma-buf display blur issue on CFL
a6ea1df94903 virtio_ring: Fix mem leak with vring_new_virtqueue()
b758686cf05a pinctrl: imx: scu: Align imx sc msg structs to 4
66ee6b9b91b1 pinctrl: meson-gxl: fix GPIOX sdio pins
93b8be43c9df clk: imx8mn: Fix incorrect clock defines
130bd50d009c batman-adv: Don't schedule OGM for disabled interface
8159e369d1e6 iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page
28ffabf65e42 iommu/vt-d: Fix RCU list debugging warnings
798c1441bde8 iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taint
77abae8657c5 iommu/dma: Fix MSI reservation allocation
923f2b3ab352 x86/mce: Fix logic and comments around MSR_PPIN_CTL
53644e59c1c5 perf/amd/uncore: Replace manual sampling check with CAP_NO_INTERRUPT flag
02013734629b mt76: fix array overflow on receiving too many fragments for a packet
1357bf0ca50f i2c: designware-pci: Fix BUG_ON during device removal
849233b7421c efi: Add a sanity check to efivar_store_raw()
594b38226f84 efi: Fix a race and a buffer overflow while reading efivars via sysfs
680613f44162 x86/ioremap: Map EFI runtime services data as encrypted for SEV
f19bbb24a108 macintosh: windfarm: fix MODINFO regression
ea1299be02e1 fscrypt: don't evict dirty inodes after removing key
b7e54dd751fa blk-iocost: fix incorrect vtime comparison in iocg_is_idle()
0c47d02ad451 ipmi_si: Avoid spurious errors for optional IRQs
fbbacd0dcbc3 s390/dasd: fix data corruption for thin provisioned devices
63050b3dc02f fuse: fix stack use after return
f2947aa48017 ARC: define __ALIGN_STR and __ALIGN symbols for ARC
4873041d3723 KVM: nVMX: avoid NULL pointer dereference with incorrect EVMCS GPAs
84c6ce00e29b KVM: x86: clear stale x86_emulate_ctxt->intercept value
9719442f9e24 gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
918ba24a9bbf cifs_atomic_open(): fix double-put on late allocation failure
3625e9dfd80a ktest: Add timeout for ssh sync testing
a67ada0dcd9a pinctrl: falcon: fix syntax error
1961b5bb6ac8 mmc: sdhci-pci-gli: Enable MSI interrupt for GL975x
0e57e9f70247 drm/i915: Defer semaphore priority bumping to a workqueue
105d663d8430 drm/i915: be more solid in checking the alignment
40c4ad7f1b15 drm/amd/display: remove duplicated assignment to grph_obj_type
22540ca3d00d workqueue: don't use wq_select_unbound_cpu() for bound works
70612567f6ce netfilter: x_tables: xt_mttg_seq_next should increase position index
bfacd2806769 netfilter: xt_recent: recent_seq_next should increase position index
16c0ae0a0437 netfilter: synproxy: synproxy_cpu_seq_next should increase position index
1c6e75702fd1 netfilter: nf_conntrack: ct_cpu_seq_next should increase position index
3ca828bd0fcb iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add_taint
ad29b9fd6672 virtio-blk: fix hw_queue stopped on arbitrary error
c656fc438758 iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices
55c81e9b1b5c netfilter: nf_tables: fix infinite loop when expr is not available
72655d842636 cgroup: Iterate tasks that did not finish do_exit()
cb81ee946e15 cgroup: cgroup_procs_next should increase position index
6b22fba4c15b net: phy: Avoid multiple suspends
1375e2ca1f2d net: dsa: Don't instantiate phylink for CPU/DSA ports unless needed
dd359b5a7bd4 selftests/net/fib_tests: update addr_metric_test for peer route testing
8759b193d8f8 net/ipv6: remove the old peer route if change it to a new one
2eaf298d121f net/ipv6: need update peer route when modify metric
886345d9305a net: phy: fix MDIO bus PM PHY resuming
4d365c7b4747 net: phy: avoid clearing PHY interrupts twice in irq handler
7030138e3c6d nfc: add missing attribute validation for vendor subcommand
c9f29e311fc2 nfc: add missing attribute validation for deactivate target
4cba04a3272b nfc: add missing attribute validation for SE API
4c16ef8ee16c tipc: add missing attribute validation for MTU property
6049f6122a51 team: add missing attribute validation for array index
cae05c2998ae team: add missing attribute validation for port ifindex
e31cd96bce59 net: taprio: add missing attribute validation for txtime delay
7b8f902c5130 net: fq: add missing attribute validation for orphan mask
05b1a3781204 macsec: add missing attribute validation for port
f77e588fb745 can: add missing attribute validation for termination
e9438d517277 nl802154: add missing attribute validation for dev_type
84eaa53dbea8 nl802154: add missing attribute validation
e80e3f725244 fib: add missing attribute validation for tun_id
dd4708377988 devlink: validate length of region addr/len
4136c4ee4159 devlink: validate length of param values
c0a7416a5403 net: memcg: fix lockdep splat in inet_csk_accept()
4a1444818200 net: memcg: late association of sock to memcg
01f4cb0005a7 cgroup: memcg: net: do not associate sock with unrelated cgroup
4461ae0c15f6 bnxt_en: fix error handling when flashing from file
97207f491014 bnxt_en: reinitialize IRQs when MTU is modified
51925ac4c547 bonding/alb: make sure arp header is pulled before accessing it
6c7247106941 taprio: Fix sending packets without dequeueing them
ea5d05c59430 slip: make slhc_compress() more robust against malicious packets
312a5fa6877e sfc: detach from cb_page in efx_copy_channel()
d21ba36e4091 r8152: check disconnect status after long sleep
6ea05d53b996 net: systemport: fix index check to avoid an array out of bounds access
62a24fad9610 net: stmmac: dwmac1000: Disable ACS if enhanced descs are not used
d0042bc982f1 net: phy: bcm63xx: fix OOPS due to missing driver name
a200e439c08b net/packet: tpacket_rcv: do not increment ring index on drop
5afc3791c83e net: nfc: fix bounds checking bugs on "pipe"
f815f9a89536 net: macsec: update SCI upon MAC address change.
04f430a90bf0 netlink: Use netlink header as base to calculate bad attribute offset
608f54653eaf net/ipv6: use configured metric when add peer route
8f4cd4bed97b net: hns3: fix a not link up issue when fibre port supports autoneg
e9d416dba4cc net: fec: validate the new settings in fec_enet_set_coalesce()
9739d3d1bbb1 net: dsa: mv88e6xxx: fix lockup on warm boot
9dd6cb14dd01 net: dsa: fix phylink_start()/phylink_stop() calls
7b5db04f24a2 macvlan: add cond_resched() during multicast processing
f992458686b8 ipvlan: don't deref eth hdr before checking it's set
1f72737eecd7 ipvlan: do not use cond_resched_rcu() in ipvlan_process_multicast()
c46034cfa1d4 ipvlan: do not add hardware address of master to its unicast filter list
e4d08bef04df ipvlan: add cond_resched_rcu() while processing muticast backlog
1f905985fe19 ipv6/addrconf: call ipv6_mc_up() for non-Ethernet interface
8be8c4555431 inet_diag: return classid for all socket types
aece82f5de2a gre: fix uninit-value in __iptunnel_pull_header
0a062dd0d460 cgroup, netclassid: periodically release file_lock on classid updating
8d22f4147325 ALSA: hda/realtek - Fixed one of HP ALC671 platform Headset Mic supported
986af74c63a8 ALSA: hda/realtek - Add Headset Mic supported for HP cPC
effe2041c3bf ALSA: hda/realtek - More constifications
8f310017aab2 virtio_balloon: Adjust label in virtballoon_probe
18fe53f6dfbc Linux 5.4.25
564f7c2b5691 drm/virtio: module_param_named() requires linux/moduleparam.h
09a8dd779e47 csky: Implement copy_thread_tls
e28c9b3caf6b block, bfq: remove ifdefs from around gets/puts of bfq groups
92ed51e65167 block, bfq: get a ref to a group when adding it to a service tree
e657b1f6b9f4 efi: READ_ONCE rng seed size before munmap
cca130fc00cd efi/x86: Handle by-ref arguments covering multiple pages in mixed mode
61a7f1e13b92 efi/x86: Align GUIDs to their size in the mixed mode runtime wrapper
da44902fcfdd powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems
90335d6681ea EDAC/synopsys: Do not print an error with back-to-back snprintf() calls
956ba569cc60 bus: ti-sysc: Fix 1-wire reset quirk
8937a74575e1 arm64: dts: meson: fix gxm-khadas-vim2 wifi
5293e17978c4 dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()
08d67499d2d2 dma-buf: free dmabuf->name in dma_buf_release()
709c6990aec7 hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
61f64d9de25a ARM: dts: imx7-colibri: Fix frequency for sd/mmc
1439f05ce981 ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source
9113989a57c2 ARM: dts: am437x-idk-evm: Fix incorrect OPP node names
dc06a0977754 ARM: imx: build v7_cpu_resume() unconditionally
dc04fb60d718 IB/hfi1, qib: Ensure RCU is locked when accessing list
3286ef3a1605 RMDA/cm: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen()
3d5d75f8c26e regulator: stm32-vrefbuf: fix a possible overshoot when re-enabling
baec58de4ab5 RDMA/core: Fix protection fault in ib_mr_pool_destroy
785823b3b2bc RDMA/iwcm: Fix iwcm work deallocation
a793097d7c16 RDMA/siw: Fix failure handling during device creation
10faa91ce493 RDMA/nldev: Fix crash when set a QP to a new counter but QPN is missing
4a2acf74a816 RDMA/rw: Fix error flow during RDMA context initialization
194f9e8e3d13 Revert "RDMA/cma: Simplify rdma_resolve_addr() error flow"
80ccc2588f6a soc: imx-scu: Align imx sc msg structs to 4
30eb1ea78a58 firmware: imx: Align imx_sc_msg_req_cpu_start to 4
a3bede27ca04 firmware: imx: scu-pd: Align imx sc msg structs to 4
1bebf41fb8c1 firmware: imx: misc: Align imx sc msg structs to 4
67a6b0adb1ac arm64: dts: imx8qxp-mek: Remove unexisting Ethernet PHY
14bd791e38c6 ARM: dts: imx6: phycore-som: fix emmc supply
4115c053a35e phy: mapphone-mdm6600: Fix write timeouts with shorter GPIO toggle interval
6cc80013ad37 phy: mapphone-mdm6600: Fix timeouts by adding wake-up handling
362fbe8e9dd6 drm/i915/selftests: Fix return in assert_mmap_offset()
2845fe63f751 drm/i915: Program MBUS with rmw during initialization
609b392e8523 drm/sun4i: de2/de3: Remove unsupported VI layer formats
a49ddfae6c1a drm/sun4i: Fix DE2 VI layer format support
dfe25f9a1c26 drm/sun4i: Add separate DE3 VI layer formats
d9163ba414d8 drm: kirin: Revert "Fix for hikey620 display offset problem"
95e0c61d7f66 drm/panfrost: Don't try to map on error faults
2ce46334cc87 spi: atmel-quadspi: fix possible MMIO window size overrun
278025119968 ASoC: dapm: Correct DAPM handling of active widgets during shutdown
a87fe1f24fe7 ASoC: Intel: Skylake: Fix available clock counter incrementation
94c472e7b4e1 ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path
757ed44a19a3 ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output
b408bfa79b5e powerpc/mm: Fix missing KUAP disable in flush_coherent_icache()
42dac16dc4b0 powerpc: Convert flush_icache_range & friends to C
ec21f6d52bd4 powerpc: define helpers to get L1 icache sizes
bbc02b018d73 ASoC: intel: skl: Fix possible buffer overflow in debug outputs
1dd4d68f19cf ASoC: intel: skl: Fix pin debug prints
488c6c340df5 ASoC: SOF: Fix snd_sof_ipc_stream_posn()
e259388d69f5 ASoC: topology: Fix memleak in soc_tplg_manifest_load()
a6e3b2aedf8a ASoC: topology: Fix memleak in soc_tplg_link_elems_load()
9998ebb5e73c drm/virtio: fix resource id creation race
d41f6cfd9aa7 drm/virtio: make resource id workaround runtime switchable.
ad7f9c865af7 spi: bcm63xx-hsspi: Really keep pll clk enabled
12e7f2771650 ARM: dts: ls1021a: Restore MDIO compatible to gianfar
422d098fe633 arm64: dts: meson-sm1-sei610: add missing interrupt-names
2a767bab5ac0 dm: fix congested_fn for request-based device
5c929bcb7af9 dm zoned: Fix reference counter initial value of chunk works
7b753d805e1a dm writecache: verify watermark during resume
86543852e43b dm: report suspended device during destroy
e600edc7d835 dm cache: fix a crash due to incorrect work item cancelling
a7ab1264e830 dm integrity: fix invalid table returned due to argument count mismatch
f9d35915324c dm integrity: fix a deadlock due to offloading to an incorrect workqueue
5b3f03f6e232 dm integrity: fix recalculation when moving from journal mode to bitmap mode
ac5e2d2d5fc6 dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list
454ee4a82050 dmaengine: tegra-apb: Fix use-after-free
1cdb96461185 dmaengine: imx-sdma: Fix the event id check to include RX event for UART6
772e5f29c942 dmaengine: imx-sdma: fix context cache
31c5755caf69 s390/mm: fix panic in gup_fast on large pud
88fbd1d31291 s390/pci: Fix unexpected write combine on resource
c8f3adc4069d x86/pkeys: Manually set X86_FEATURE_OSPKE to preserve existing changes
83b2a8fe43bd spi: spidev: Fix CS polarity if GPIO descriptors are used
fc73ded13f16 perf arm-spe: Fix endless record after being terminated
8ae75e508894 perf cs-etm: Fix endless record after being terminated
d15530fc9250 perf intel-bts: Fix endless record after being terminated
7d3adab14857 perf intel-pt: Fix endless record after being terminated
8fd458b647f5 media: v4l2-mem2mem.c: fix broken links
cd48f84cf7ce media: vicodec: process all 4 components for RGB32 formats
37c554b3fe98 media: mc-entity.c: use & to check pad flags, not ==
9be09b4583f1 media: hantro: Fix broken media controller links
9a9c13ad21a8 vt: selection, push sel_lock up
119ee545581a vt: selection, push console lock down
4387bfa60520 vt: selection, close sel_buffer race
e64fbf0e9f2d serial: 8250_exar: add support for ACCES cards
5932199be8ed tty: serial: fsl_lpuart: free IDs allocated by IDA
143217fe63b1 tty:serial:mvebu-uart:fix a wrong return
cdca61a19081 arm: dts: dra76x: Fix mmc3 max-frequency
637627d832bd arm64: dts: socfpga: agilex: Fix gmac compatible
0c8eccc28e69 btrfs: fix RAID direct I/O reads with alternate csums
557693d1d3a7 fat: fix uninit-memory access for partial initialized inode
d467fbc93cdb mm, hotplug: fix page online with DEBUG_PAGEALLOC compiled but not enabled
c2043281943e mm: fix possible PMD dirty bit lost in set_pmd_migration_entry()
4b62bbcc8618 mm, numa: fix bad pmd by atomically check for pmd_trans_huge when marking page tables prot_numa
5d230547476e vgacon: Fix a UAF in vgacon_invert_region
c8137e78b8c6 usb: core: port: do error out if usb_autopm_get_interface() fails
739721ebbc26 usb: core: hub: do error out if usb_autopm_get_interface() fails
dc96ee7948d7 usb: core: hub: fix unhandled return by employing a void function
cb05b3e1b16a usb: cdns3: gadget: toggle cycle bit before reset endpoint
39b57e6ab298 usb: cdns3: gadget: link trb should point to next request
f1809fb28cab usb: dwc3: gadget: Update chain bit correctly when using sg list
807569e0dc58 usb: quirks: add NO_LPM quirk for Logitech Screen Share
c71ce693e4e7 usb: storage: Add quirk for Samsung Fit flash
e76e39f7c65b cifs: fix rename() by ensuring source handle opened with DELETE bit
98cc1bd575d2 cifs: don't leak -EAGAIN for stat() during reconnect
6369c1e0b646 ALSA: hda/realtek - Enable the headset of ASUS B9450FA with ALC294
332464f910a7 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master
6cb8b8760b7b ALSA: hda/realtek - Add Headset Button supported for ThinkPad X1
f35e259c5444 ALSA: hda/realtek - Add Headset Mic supported
f30f3aa5c3b9 binder: prevent UAF for binderfs devices II
a2d63e7734ed binder: prevent UAF for binderfs devices
3227ecd0ef53 firmware: imx: scu: Ensure sequential TX
0f121ace25f1 selftests: forwarding: vxlan_bridge_1d: use more proper tos value
2ab5bd41c6d7 arch/csky: fix some Kconfig typos
479466726bf1 csky: Fixup compile warning for three unimplemented syscalls
3469dfd86e09 csky: Fixup ftrace modify panic
c7ce725c525a csky/smp: Fixup boot failed when CONFIG_SMP
eb2ac8c497cd csky: Set regs->usp to kernel sp, when the exception is from kernel
6db7f3bdc153 csky/mm: Fixup export invalid_pte_table symbol
229fa6c8d284 net: thunderx: workaround BGX TX Underflow issue
a90f613e1b44 x86/xen: Distribute switch variables for initialization
10b00764ed11 ice: Don't tell the OS that link is going down
9b6be0d2f942 nvme: Fix uninitialized-variable warning
b290fb0b7971 s390/qdio: fill SL with absolute addresses
ad50dbbf5729 x86/boot/compressed: Don't declare __force_order in kaslr_64.c
ccef9c5f646b nvme-pci: Use single IRQ vector for old Apple models
e13797d5ec54 nvme/pci: Add sleep quirk for Samsung and Toshiba drives
9b412c4aa34b iommu/amd: Disable IOMMU on Stoney Ridge systems
236efa8971f8 net/mlx5: DR, Fix matching on vport gvmi
4a1e1dda56e2 efi: Only print errors about failing to get certs if EFI vars are found
4d459c82abec s390: make 'install' not depend on vmlinux
25fb2908b9c4 s390/cio: cio_ignore_proc_seq_next should increase position index
764fc2ea82d8 watchdog: da9062: do not ping the hw during stop()
1b1939fedc86 net: ethernet: dm9000: Handle -EPROBE_DEFER in dm9000_parse_dt()
05e26a842a47 net: ks8851-ml: Fix 16-bit IO operation
63c064a83568 net: ks8851-ml: Fix 16-bit data access
8e8396edb093 net: ks8851-ml: Remove 8-bit bus accessors
30f5a66eebc9 net: atlantic: check rpc result and wait for rpc address
58eecbf16e97 selftests: forwarding: vxlan_bridge_1d: fix tos value
5c0f7f2097b8 selftests: forwarding: use proto icmp for {gretap, ip6gretap}_mac testing
d04dd98b9b37 drm/msm/dsi/pll: call vco set rate explicitly
b6e3a6be56bd drm/msm/dsi: save pll state before dsi host is powered off
26bfd300f7fd scsi: megaraid_sas: silence a warning
f7c069e31daa drm/modes: Allow DRM_MODE_ROTATE_0 when applying video mode parameters
9a426889f435 drm/modes: Make sure to parse valid rotation value from cmdline
85c17bb5bf0f drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI
49c1c5f5fc62 drm/msm/mdp5: rate limit pp done timeout warnings
68b73cd158d8 habanalabs: patched cb equals user cb in device memset
83946b4c96ee habanalabs: do not halt CoreSight during hard reset
4b183f6748ac habanalabs: halt the engines before hard-reset
5d48ee321160 usb: gadget: serial: fix Tx stall after buffer overflow
a3a7d31645e5 usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
aae7167626ce usb: gadget: composite: Support more than 500mA MaxPower
dbeec9bda6cf selftests: fix too long argument
c2d5c4df27e0 serial: ar933x_uart: set UART_CS_{RX,TX}_READY_ORIDE
1cb3c0cecc31 ALSA: hda: do not override bus codec_mask in link_get()
82782235544f blktrace: fix dereference after null check
4771b3f60633 kprobes: Fix optimize_kprobe()/unoptimize_kprobe() cancellation logic
c2a5e97de44a kbuild: fix 'No such file or directory' warning when cleaning
0769cdddb88d RDMA/core: Fix use of logical OR in get_new_pps
f7ed42f10334 RDMA/core: Fix pkey and port assignment in get_new_pps
9d729f5aa06f dm thin metadata: fix lockdep complaint
95aeaec9e63d net: stmmac: fix notifier registration
551132b2943f net: dsa: bcm_sf2: Forcibly configure IMP port for 1Gb/sec
2f87f58ca901 ALSA: hda/realtek - Fix a regression for mute led on Lenovo Carbon X1
63f42809f0f3 block, bfq: do not insert oom queue into position tree
594fca1d04fb block, bfq: get extra ref to prevent a queue from being freed during a group move
cff670b3eb68 Linux 5.4.24
6f9cff84dde8 blktrace: Protect q->blk_trace with RCU
cad53d5e2e23 kvm: nVMX: VMWRITE checks unsupported field before read-only field
119b1e588a76 kvm: nVMX: VMWRITE checks VMCS-link pointer before VMCS field
0bae7e7fac97 mm, thp: fix defrag setting if newline is not used
0eb282cb1ff7 mm/huge_memory.c: use head to check huge zero page
8cb5db61afa3 mm/gup: allow FOLL_FORCE for get_user_pages_fast()
2bb9bfcde8b5 mm/debug.c: always print flags in dump_page()
2482da809fd3 locking/lockdep: Fix lockdep_stats indentation problem
0d70361dec88 xfs: clear kernel only flags in XFS_IOC_ATTRMULTI_BY_HANDLE
7906e29efaf1 bus: tegra-aconnect: Remove PM_CLK dependency
dd3fd6dec30c netfilter: nf_flowtable: fix documentation
beffc17b843c netfilter: nft_tunnel: no need to call htons() when dumping ports
860a70e2a6f6 thermal: brcmstb_thermal: Do not use DT coefficients
c981ab6a1c08 thermal: db8500: Depromote debug print
8e78726fb7e8 ubifs: Fix ino_t format warnings in orphan_delete()
ef0dcab6d21c rcu: Allow only one expedited GP to run concurrently with wakeups
2aa7abbdc297 KVM: x86: Remove spurious clearing of async #PF MSR
64521f9b2ca9 KVM: x86: Remove spurious kvm_mmu_unload() from vcpu destruction path
56671961b34d x86/resctrl: Check monitoring static key in the MBM overflow handler
d847804f8f8a perf ui gtk: Add missing zalloc object
27f7e492d8fe perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc
f68b6a015a81 pwm: omap-dmtimer: put_device() after of_find_device_by_node()
1fabae5c846f lib/vdso: Update coarse timekeeper unconditionally
91ebef8618bf lib/vdso: Make __arch_update_vdso_data() logic understandable
74c515e04911 kprobes: Set unoptimized flag after unoptimizing code
e8807eb1e688 ima: ima/lsm policy rule loading logic bug fixes
caadb4b91b41 drivers: net: xgene: Fix the order of the arguments of 'alloc_etherdev_mqs()'
c2e2f561d27f RDMA/hns: Bugfix for posting a wqe with sge
3065f57761bd RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs
7fd3329a4df0 f2fs: fix to add swap extent correctly
a25ae553903d sched/fair: Optimize select_idle_cpu
ea307804e4fc KVM: Check for a bad hva before dropping into the ghc slow path
487113220d0b KVM: SVM: Override default MMIO mask if memory encryption is enabled
4aa42ab64edd mwifiex: delete unused mwifiex_get_intf_num()
6d807dd31955 mwifiex: drop most magic numbers from mwifiex_process_tdls_action_frame()
8a7d7fa16150 namei: only return -ECHILD from follow_dotdot_rcu()
c15a3d8f5ecc kbuild: make single target builds even faster
2e54f93a3b9b kbuild: remove unneeded variable, single-all
ecd77a3261ab kbuild: move headers_check rule to usr/include/Makefile
ef134d8b493c kbuild: remove header compile test
20e559d8f745 selftests: Install settings files to fix TIMEOUT failures
483724e27eb5 net: ena: make ena rxfh support ETH_RSS_HASH_NO_CHANGE
21709608638e net/smc: no peer ID in CLC decline for SMCD
10e0190f0b96 net: atlantic: fix out of range usage of active_vlans array
10b2668cb3db net: atlantic: fix potential error handling
be96a355858a net: atlantic: fix use after free kasan warn
5306d0c41979 net: netlink: cap max groups which will be considered in netlink_bind()
5b04f396f002 s390/qeth: vnicc Fix EOPNOTSUPP precedence
567b108c9425 nvme-pci: Hold cq_poll_lock while completing CQEs
fbc28154dec9 usb: charger: assign specific number for enum value
e65381111339 hv_netvsc: Fix unwanted wakeup in netvsc_attach()
f5cfa47505ac kbuild: fix DT binding schema rule to detect command line changes
f2688e753764 mac80211: Remove a redundant mutex unlock
813757b78216 nl80211: fix potential leak in AP start
8100d19dc0fb drm/i915/gvt: Separate display reset from ALL_ENGINES reset
30b8a98a1ab3 drm/i915/gvt: Fix orphan vgpu dmabuf_objs' lifetime
55105073e43c i2c: jz4780: silence log flood on txabrt
bda7565d4e15 i2c: altera: Fix potential integer overflow
7cf412def885 MIPS: VPE: Fix a double free and a memory leak in 'release_vpe()'
d5684b0515fc HID: hiddev: Fix race in in hiddev_disconnect()
e7c5c8fd532d HID: alps: Fix an error handling path in 'alps_input_configured()'
782077bff3a6 netfilter: xt_hashlimit: reduce hashlimit_mutex scope for htable_put()
6c717726f341 netfilter: ipset: Fix forceadd evaluation path
f09fbb1175cf vhost: Check docket sk_family instead of call getname
68c601f2a208 net/smc: transfer fasync_list in case of fallback
5dd9488ae410 netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports
7eaf718b83ff io_uring: fix 32-bit compatability with sendmsg/recvmsg
9629f47d7d1c cpufreq: Fix policy initialization for internal governor drivers
386a71f635b4 amdgpu/gmc_v9: save/restore sdpif regs during S3
8e7ddaf759c6 Revert "PM / devfreq: Modify the device name as devfreq(X) for sysfs"
b20f83ef019a tracing: Disable trace_printk() on post poned tests
176cacef0119 macintosh: therm_windtunnel: fix regression when instantiating devices
73c8048e277e drm/radeon: Inline drm_get_pci_dev
582ce26a7e24 drm/amdgpu: Drop DRIVER_USE_AGP
d310188d4ef6 HID: core: increase HID report buffer size to 8KiB
819f8ab78a31 HID: core: fix off-by-one memset in hid_report_raw_event()
a30a85e74dcd HID: ite: Only bind to keyboard USB interface on Acer SW5-012 keyboard dock
9154d430dcbd KVM: VMX: check descriptor table exits on instruction emulation
07fec9a84c15 ACPI: watchdog: Fix gas->access_width usage
6b077e6fa7e2 ACPICA: Introduce ACPI_ACCESS_BYTE_WIDTH() macro
82a6cb7a8ade audit: always check the netlink payload length in audit_receive_msg()
37f4c2775267 audit: fix error handling in audit_data_to_entry()
1e74ccd38e19 ext4: potential crash on allocation error in ext4_alloc_flex_bg_array()
36d7477fabed nvme/pci: move cqe check after device shutdown
b1fd0e551eeb nvme: prevent warning triggered by nvme_stop_keep_alive
d4d26a5069da nvme/tcp: fix bug on double requeue when send fails
3b4cf3b98895 net: hns3: fix a copying IPv6 address error in hclge_fd_get_flow_tuples()
87a5534a1ae4 net: hns3: add management table after IMP reset
e98e13176e27 mac80211: fix wrong 160/80+80 MHz setting
f0593f5b1b64 cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE
99b2040d1b6b cifs: Fix mode output in debugging statements
7072ad3b1d6c ice: update Unit Load Status bitmask to check after reset
b81cc04e2aef net: ena: ena-com.c: prevent NULL pointer dereference
d737658c9a11 net: ena: ethtool: use correct value for crc32 hash
b7f8a4e82a41 net: ena: fix corruption of dev_idx_to_host_tbl
5408a8088d59 net: ena: fix incorrectly saving queue numbers when setting RSS indirection table
fdc142e4c282 net: ena: rss: store hash function as values and not bits
eb9b6ff1fd71 net: ena: rss: fix failure to get indirection table
6ab7207ad11d net: ena: rss: do not allocate key when not supported
d6f54019b964 net: ena: fix incorrect default RSS key
6088f3f70186 net: ena: add missing ethtool TX timestamping indication
1c27b8d64571 net: ena: fix uses of round_jiffies()
5bc08766658f net: ena: fix potential crash when rxfh key is NULL
c17f8a738f59 i40e: Fix the conditional for i40e_vc_validate_vqs_bitmaps
136702882691 soc/tegra: fuse: Fix build with Tegra194 configuration
3c4b25053248 amdgpu: Prevent build errors regarding soft/hard-float FP ABI tags
cd32771da12c drm/amd/display: Add initialitions for PLL2 clock source
147fcd07ceba drm/amd/display: Limit minimum DPPCLK to 100MHz.
2e5154923c1f drm/amd/display: Check engine is not NULL before acquiring
eb62f4c2eb9a RDMA/siw: Remove unwanted WARN_ON in siw_cm_llp_data_ready()
083afcaccb58 drm/amd/display: Do not set optimized_require to false after plane disable
3bf72abda2dc ARM: dts: sti: fixup sound frame-inversion for stihxxx-b2120.dtsi
b520f78ba428 ceph: do not execute direct write in parallel if O_APPEND is specified
3b0a0bd12963 perf/x86/msr: Add Tremont support
d1fdeaf6e9fe perf/x86/cstate: Add Tremont support
6b1ca90fa4d7 perf/x86/intel: Add Elkhart Lake support
75061b865142 perf/smmuv3: Use platform_get_irq_optional() for wired interrupt
862e4c3a4b00 NFSv4: Fix races between open and dentry revalidation
6eceafad2fff qmi_wwan: unconditionally reject 2 ep interfaces
f5fe94e8dcfe qmi_wwan: re-add DW5821e pre-production variant
a1b2925e6bc8 s390/zcrypt: fix card and queue total counter wrap
fd206c770d41 cfg80211: check wiphy driver existence for drvinfo report
5d6df86cad5e mac80211: consider more elements in parsing CRC
bb232821faf5 dax: pass NOWAIT flag to iomap_apply
36b5fcc140a7 sched/fair: Prevent unlimited runtime on throttled group
166d6008fa2a timers/nohz: Update NOHZ load in remote tick
5a309e3bf1e8 sched/core: Don't skip remote tick for idle CPUs
b855c6399c1f drm/msm: Set dma maximum segment size for mdss
66bc95c1955a ipmi:ssif: Handle a possible NULL pointer reference
8097108725c3 ipv6: Fix nlmsg_flags when splitting a multipath route
5b3beff4e8f9 ipv6: Fix route replacement with dev-only route
5a908830e69b bonding: fix lockdep warning in bond_get_stats()
97e5c947ad35 net: export netdev_next_lower_dev_rcu()
d59a701d4cae bonding: add missing netdev_update_lockdep_key()
177489edbe24 bnxt_en: Issue PCIe FLR in kdump kernel to cleanup pending DMAs.
7daf11d64b8a bnxt_en: Improve device shutdown method.
c360e0530107 sctp: move the format error check out of __sctp_sf_do_9_1_abort
e72258bf6a57 udp: rehash on disconnect
63d5320a0c9b Revert "net: dev: introduce support for sch BYPASS for lockless qdisc"
129a1e235cc9 qede: Fix race between rdma destroy workqueue and link change event
45f0d4b40131 nfc: pn544: Fix occasional HW initialization failure
f3844aed8e86 net/tls: Fix to avoid gettig invalid tls record
50acd32ea7f6 net: sched: correct flower port blocking
bd53844bc91e net: phy: restore mdio regs in the iproc mdio driver
248b7751391f net: mscc: fix in frame extraction
e99e2f59d9a2 net: macb: ensure interface is not suspended on at91rm9200
9310357f6151 net: fib_rules: Correctly set table field when table number exceeds 8 bits
59b5714c6779 net: dsa: b53: Ensure the default VID is untagged
728afb955b57 EDAC: skx_common: downgrade message importance on missing PCI device
cac68d12c531 io_uring: grab ->fs as part of async offload
(From OE-Core rev: 3c8c0c82d163a9ef8e6d71583d65587b9be70eae)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the revision on linux-yocto-dev to reflect the updated state
of -dev.
The aufs/yaffs2 features are in place, but -rt is not yet available,
so the branches are placeholders for future updates.
This has been tested across all supported architectures and reference
qemu platforms, as well as with closely coupled userspace packages.
We tweak the LICENSE_CHECKSUM as well, since upstream has added an
informational note to the file, but the license is otherwise unchanged.
(From OE-Core rev: ca3d2db0e87168f3e1d6baa2e691ee0399db81d7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add PACKAGECONFIG option for xkbcommon
qemu-keymap.c:16:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
* Add PACKAGECONFIG option and patch for libudev
commands-posix.c:53:10: fatal error: libudev.h: No such file or directory
* Add PACKAGECONFIG option for libxml2
util/osdep.c:136: undefined reference to `fcntl64'
- Without specifying libxml2, configure searches the system and pulls in the system
libxml2 if it is present. In the process it adds -L/usr/lib64 which causes the
system libc to be linked instead of the one from the extended tarball.
None of the above libraries appear to be included in the depends for any of the qemu
builds, so if they are getting linked in, its probably not intentionally.
(From OE-Core rev: 3f1fd15cf0df4a4b12d49ac795b1c9e02de61429)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building an SDK on a machine with 8GB RAM resulted in excessive swapping
due to the xz compressor using ~20GB of memory. This is because xz is
being called with "-T 0 -9".
To allow tuning the compression versus memory usage, introduce a variable
named SDK_XZ_OPTIONS that defaults to a more sane default:
SDK_XZ_OPTIONS ?= "${XZ_DEFAULTS} ${SDK_XZ_COMPRESSION_LEVEL}"
The use of XZ_DEFAULTS fixes the excessive memory usage.
The SDK_XZ_COMPRESSION_LEVEL variable allows overriding the speed vs
compression. In an office or development environment the extra time
spent on compressing a few percent more is just not worth it.
(From OE-Core rev: 25533a48a19e3e6eb9f96be51b1373830b5bb9f0)
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
centos7 doesn't have python3 intalled by default, so running
the script errors in novel ways if it is not installed.
(From OE-Core rev: 1e6061a4d223dc104039728ba169dbe63e74f750)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should help gcc detect and use target ISA on x86_64 machines when
-march is not used on cmdline
[YOCTO #139]
(From OE-Core rev: f9e410521c92e2458ba7e2ca63d28434618b9f25)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases, we run into parallel build failures where BUILT_SOURCES
is skipped, as a result required header files are not generated and the
build fails with missing header errors like
../bison-3.5.2/lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory
#include "uniwidth.h"
^~~~~~~~~~~~
compilation terminated.
BUILT_SOURCES should be built automatically with `make all` [1] therefore
ensure that make is invoked with `all` target
bison-native parallel build fails when -l<n> is passed globally from
build environment, errors like below due to race starts to show up
Therefore removes a previous load limit if set
[1] https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html#Built-Sources-Example
(From OE-Core rev: 1b8451aa4ba2b42b1eb1dc938fa3397d3434839a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-License-Update: Copyright year updated to 2020.
(From OE-Core rev: d8b928f60e1274edc3d97f14ebe60e81aa0057f1)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Fixed-compilation-with-current-mesa-versions.patch
removed since it is included in 2.2.0
(From OE-Core rev: 39e59246cb8e3b5b65ad10935e08078f5053e350)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2020-0556-1.patch
CVE-2020-0556-2.patch
removed since they are included in 5.54
(From OE-Core rev: 5552caed72169d397ce0bdf436216ec320a29751)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ldso is always stored in /lib regardless of multilib
add ld-musl-${MUSL_LDSO_ARCH}.path to aid ldso finding default library
loading paths, it helps when using multilib, where system libraries are
moved to lib32 or lib64 paths under / or /usr
[YOCTO #11971]
(From OE-Core rev: bfa1ea82bb2ec9d1ae6da0a442bed519a6464698)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_musl_loader_arch returns the arch part of ldso for musl, this is
used in get_musl_loader() as well as independently usable, which is
needed for multilib support in musl. Musl stores all ldso in /lib
be it multilib or not, therefore do not use base_libdir instead directly
use /lib
[YOCTO #11971]
(From OE-Core rev: 0b694592c417c1d21913905f5032d300c9635866)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The source code such as update-passwd.c states the license to be under
GPL v2 only and does not contain the "or later" clause so correct the
recipe LICENSE field to match.
(From OE-Core rev: fd1bda7bf0b750ea8ee62c116bec6b9ed1ba963d)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade to version 2.11.2 in order to fix some build errors
with latest 5.4 kernel.
- conflicting types for 'trace_fast_page_fault'
Reproductible on kernel greater than v5.4.19, starting with commit
8a1cd01bee ("KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on
32-bit KVM")
Error messages:
lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6:
error:
130 | void trace_##_name(_proto);
tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21:
note: previous definition of 'trace_fast_page_fault' was here
233 | static inline void trace_##name(proto)
- conflicting types for 'trace_rcu_dyntick'
Reproductible on kernel greater than v5.4.22, starting with commit
6cf539a87a ("rcu: Fix data-race due to atomic_t copy-by-value")
Error messages:
lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6:
error: conflicting types for 'trace_rcu_dyntick'
130 | void trace_##_name
tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21:
note: previous definition of 'trace_rcu_dyntick' was here
233 | static inline void trace_##name(proto)
(From OE-Core rev: 8fcc33aea08fc1e82818893feb7b01c7cc1e6416)
Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libdir is hardcoded to /lib which is not going to work in multilib
scene, patch makefile to add a variable to override the libdir from env
(From OE-Core rev: 75b29a68f11f9c10a89ba413abd1023cfcf90982)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Emulating more than one network interface with runqemu is a bit tricky,
but possible. For example, the following leads to an emulated device with
eth0 and eth1:
QB_NETWORK_DEVICE_prepend = " \
-device virtio-net-device,mac=52:54:00:12:34:03 \
"
or
QB_NETWORK_DEVICE_append = " \
-device virtio-net-pci,mac=52:54:00:12:34:03 \
"
When booting Qemu with two NICs, the kernel does not know which
interface the specified ip=192.168.7.... command line argument
should be applied. This delays the boot process for a very long
time and a guest wihtout IP configuration.
This add two new configuraton parameters to runqemu:
QB_CMDLINE_IP_SLIRP and QB_CMDLINE_IP_TAP to explicitely specify the ip=
kernel command line arguments for tap and slirp mode.
Note: Simply adding "::eth0" broke some builds on the Yocto autobuilder.
(From OE-Core rev: 59bfdc331c1494c05ab38804b281878a1f571f6d)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On recent distros the following error appears without rpcgen host tool:
ERROR: The following required tools (as specified by HOSTTOOLS)
appear to be unavailable in PATH, please install them in order to
proceed:
rpcgen
(From yocto-docs rev: 66a491e77e1b97a831515d4ac8e0245540d7242a)
Signed-off-by: Goran Cengic <cengic@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
References to undefined variables are preserved as is and do not
expand to nothing as in GNU Make.
(Bitbake rev: 4780df48d5998d619dc36b699400e344187fc134)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the layer core name to the new release name.
(From OE-Core rev: 090bb3b44ba0cc01c29942c00d43e910d1ff735e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
time.clock() was removed in python 3.8, use one of its recommended replacements
to fix failures on python 3.8 systems.
(From OE-Core rev: f1d4ecce7d3968c5e08c268e3329041d4b647cf6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many of ltp's tests are of syscalls and libc content. Enable installing
mulitpule abi's.
Use prefix consistently rather then hardcoded /opt/ltp everywhere.
(From OE-Core rev: 66809f9257d667a0a0814f5c6d804f93cd4ad6e1)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on the recommendation in musl mailing list[1] All symlinks have
been removed from musl recipe.
Move stub libraries into -dev package
having them treated as normal .a which they are not, is not correct and
packages shoves them into static archives, which are not installed on
target usually unless asked for
this should help in linking with -lm, -lpthread etc. on target
[1]: https://www.openwall.com/lists/musl/2020/03/10/11
(From OE-Core rev: 8d068bd3adec64d451cf9cd4ae6b0803a7152463)
Signed-off-by: Jan Kaisrlik <ja.kaisrlik@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
THE LICENSE checksum changed in this update due to copyright notice
added for 2020.
(From OE-Core rev: 3513721b5dd660c7e6a8038b89ca17f1b76f7f9b)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If console=null systemd-udevd throws an assertion which prevents the
system from booting. This patch redirects stdin, stdout and stderr to
/dev/null in case that the console can't be opened so that udevd still
boots.
A systemd issue was reported here. However, they will not fix this
specific use-case:
https://github.com/systemd/systemd/issues/13332
(From OE-Core rev: dd6ee0b06cd8df6204cf600050516d15172302ea)
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was discovered that BlueZ's HID and HOGP profiles implementations
don't specifically require bonding between the device and the host.
This creates an opportunity for an malicious device to connect to a
target host to either impersonate an existing HID device without
security or to cause an SDP or GATT service discovery to take place
which would allow HID reports to be injected to the input subsystem from
a non-bonded source.
(From OE-Core rev: d598f8eee0741148416e8660e10c716654205cb5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When booting weston images this error is seen commonly, but Qemu boots
the image fine, session seat error is thrown by libweston perhaps using
--seat option or setting XDG_SEAT variable in weston.ini could fix it
[YOCTO #13828]
(From OE-Core rev: 1f9d36722132c93c19651ea59062b3d5be01bb72)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* checked all hunks: backported patches can go
* for machines with neon in TUNE_FEATURES enable new configure option
--enable-arm-neon. If enabled, license must be extended to MIT
* license checksum changed by copyright year
(From OE-Core rev: aaa1c3ee0fe782fb08a58f100bc04686824de815)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we enabled drm/kms backend for qemux86, it does not work with musl
fdbdev worked ok, we see this error
[18:58:45.628] launching '/usr/libexec/weston-desktop-shell'
[18:58:45.737] atomic: couldn't commit new state: Invalid argument
[18:58:45.737] repaint-flush failed: Invalid argument
There seems to be some problem with atomics in libdrm, until that gets
diagnosed, simple solution is to not use it on musl when drm backend is used
thats why WESTON_DISABLE_ATOMIC=Y is set in environment file for such
cases
(From OE-Core rev: e571ef707d76cf3aceb0d56fd588b37f9b5092ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although the script was running with Python3, almost no detailed
output was generated.
(From OE-Core rev: bd17a7e60264bb40df340fa38c425a7d7372516e)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates tinfoil to match recent changes to the logging code
in knotty.
(Bitbake rev: e67dfa4a4d0d63e4752655f25367582e5a95f1da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The logging module provides a shutdown() function that does the same
thing in a much better way
(Bitbake rev: 970cd2fc4f0bbc93069dee5a15a608dd76081c67)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The BitBake.verbconsole needs to be treated like a console output logger
(meaning that the TerminalFilter attaches an InteractConsoleLogFilter to
it), even if it's not directly attached to the root 'BitBake' logger.
First, assign a special "is_console" property to the relevant handlers,
then look for the property in the handlers from the configuration object
return by bb.msg.setLoggingConfig(). Finally, pass the list of all
handlers to the TerminalFilter object; it doesn't care about the
difference between console and errconsole, so pass all the relevant
handlers as a list.
This fixes cases where the console output was corrupted when messages
were sent to the 'BitBake.verbconsole' handler.
(Bitbake rev: 2010be588c74a99256df7b565a309c84c2973546)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Returns the configuration object from setLoggingConfig(). This object
has a config dictionary that contains all of the created handlers,
filters and loggers, which makes it much easier to pull out items with
specific names.
(Bitbake rev: 93c98a85cb10d3795b3cebc9cd97214d0f4748e5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates hash equivalence logging so that the interesting VERBOSE
messages are always logged to the consolelog file so that issues in
individual user builds can be diagnosed. The autobuilder logging config
then updates this so that they also are shown on stdout, since the
consolelog file is not capture there.
In order to facilitate this, 2 new logging handlers were added,
"BitBake.verbconsole" and "BitBake.verbconsolelog". Neither of these
handlers are attached to anything by default, but they will log any
messages that wouldn't otherwise be logged by the normal console or
consolelog handlers. Users can attach whatever loggers the desire to
this handler to get them to appear on the console or in the consolelog,
as demonstrated by the autobuilderlog.json file.
(Bitbake rev: 766587c0baaaeb5cda3e9454395edbb70e33f756)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a configuration file that the autobuilder can use to capture
interesting logging domains above the ones that show up for normal users
on stdout/stderr.
(Bitbake rev: 2259b5172b37442a4e0420a16a7bde9e21ffa086)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lowers the level of the log message when setscene tasks have completed.
This message can occur multiple times when hash equivalence is enabled,
since the runqueue switches between executing setscene tasks and normal
tasks. Since this is primarily of use when debugging hash equivalence,
use the hash equivalence logger at VERBOSE level.
[YOCTO #13813]
(Bitbake rev: 7dd5b3900622008ff34ec70d71c6e994f460a46f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a function that can be used by UI front ends to merge logging
configuration fragments.
(Bitbake rev: e860d93b76c142fdae90226bc68e4fe6e7b6a9db)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds code to close all loggers when bitbake exits. This prevents
unclosed file ResourceWarnings. A form of this closing existed
previously, but was removed in the new logging code.
(Bitbake rev: b3f3779adf63c0d970462a558a6205da1d30c0ed)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds documentation describing how to use the BB_LOGCONFIG variable to
enable custom logging.
(Bitbake rev: e22565968828c86983162e67f52ebb106242ca76)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lowers the level at which hash equivalence messages are logged so as to
not annoy the majority of users. The autobuilder can use a custom
logging configuration to log these to a file for debugging (see
contrib/autobuilderlog.json)
[YOCTO #13813]
(Bitbake rev: 2ddb649ea31afe052f08e3969e36abf6fb515bc2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switches the hash equivalence logging to use a different logger so that
it can be easily filtered out with python's structured logging.
(Bitbake rev: 20bb29ef973e9c5483eb50a74550ea207637367b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the default log filter here is unnecessary because there are no
defined logging domains when it is called, which means it does no actual
filtering.
(Bitbake rev: dcdb8f2c14f09ce34d0a1facc33a441570912c05)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sets up logging in knotty to use python's structured logging config and
the bb.msg.setLoggingConfig() helper to setup logging. This allows the
user to specify additional logging mechanism in a config file with
BB_LOGCONFIG
(Bitbake rev: 646a68a49364b50a42168b4b16308f7217eec0dc)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passing around the log formatter variable was unnecessary since the log
levels of interest can be accesses as class members of
bb.msg.BBLogFormatter. Switching to do this will make using the
structured python logging much easier, since it can be difficult to
extract out the formatter for a specific handler.
(Bitbake rev: c1c867df24b4ef204027d485acac7c75c63f2bc0)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a helper function to setup the structure logging information in
bitbake. The helper function takes a default configuration and an
optional path to a user config file that can be merged into the default.
(Bitbake rev: 14c98d36b74c1599b4649078170b6e72df79ba2a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the filter are described using the python logging structure,
these classes are no longer needed.
(Bitbake rev: 2cb16e0c61609f3fb8a86530ddedf8ad0e69428e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds generic filter utilities that can be used to filter when the log
level is greater than or equal to a defined value, or below a defined
value, as well as a generic function to translate a string to a logging
level (or bitbake logging level)
(Bitbake rev: 8ebe8a7662200fad9b88be8b08376262a61c85c4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a comment section that can be easily uncommented to enable dumping
the logging tree. This module is extremely useful for debugging issued
with logging configuration
(Bitbake rev: 30461310915f911b80f92e03df694af7c1eb1f46)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a __repr__ function for BBLogFormatter. This allows it to get a
human readable string when printed using the logging_tree module
(Bitbake rev: 5ff962dca71f4ef16a3aa11b41a23f2227fe8c21)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Passes around the actual logging level as the default log level variable
instead of the debug count. This makes it easier to deal with logging
levels since the conversion from debug count and verbose flag only has
to occur once when logging is initialized and after that actual log
levels can be used
(Bitbake rev: 41bd155faf7f65cb0727fcce972715769b26ca89)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handles the log messages from the bitbake server with the specific
logger that the event originated from. This allows hierarchical logging
configurations to work as expected.
(Bitbake rev: 9624d42133e024fd044d0d089c7017ed53eed874)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Converts the default domain variable to a dictionary where the keys are
the logging domains and the values are the logging level (instead of the
debug count). This makes it easier to deal with the logging domains and
the awkward conversion from a list to a dictionary only needs to be done
once when logging is initialized. Finally, other code has been written
that already assumes this variable is a dictionary, see:
f04cd93109 ("bitbake: lib/bb: Optimise out debug messages from cooker")
(Bitbake rev: f32a8bc7ff7a0b0750b6934a96f5d48391b1383a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an extra comment about the implications of changing DEPENDS.
(From OE-Core rev: ce20c915019d350bf9663b2f27eccf3cef2e29fc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should allow the logging configurations to be specificed from the
environment, for example for autobuilder setups.
(From OE-Core rev: 66c9234b71791d2aab87068496aebdbd4eb1f5e2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When add below line to local.conf to enable debug build:
DEBUG_BUILD = "1"
There comes below failure when run "bitbake babeltrace2"
| ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted':
| ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| 702 | !ds_index_entries_equal(entry, other_entry)) {
So initialize the other_entry pointer to fix the above error.
(From OE-Core rev: 1b98db372a1fdaecf9bb897b0ee4b2e72af22f81)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the option --json-result-dir to oeqa core context to enable
testresults.json creation for test runs via testexport.
Eg. oe-test runtime --json-result-dir .
(From OE-Core rev: 9d8edf33d1f5d89b310923b0aa3cc967317c7c49)
Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't force users to have input device in your targets. As the default
option require-input is set to true, Weston only starts if we have a
device in /dev/input/event* and this not a requirement for all applications,
e.g. kiosk browser.
(From OE-Core rev: 43f40613ecedb8c3a9e3aaac0630464efc7525e3)
Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix cmake file references of image dir path
(From OE-Core rev: e12caa834bef6b5d0cad7e96f79374a0dbf86aea)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Script points to native python3
(From OE-Core rev: 132c7ecd13955b20141fa01241f47753af60cb77)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
path to pkg-config and python3 encoded in scripts
(From OE-Core rev: d5b051cb9226a3c6b75f1e72a946e5f4e920d9a5)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Man pages are copied in to the target filesystem from the configured
build, which leaks paths in to the work directory
(From OE-Core rev: c4f6b04450ef658d99c0d15f3ce9058c4a770152)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tests/qemu-iotests/common.env is generated from configure which
we pass ${HOSTTOOLS_DIR}/python3 as our python to use, which gets
copied into the ptests. Correct python3 path.
(From OE-Core rev: e8e5765cf2ad324a84634877eebc8289f1bc934f)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gen_tests script encodes its full path to itself in each script
(From OE-Core rev: 9e2db0ab1d4cacedde59e8915dff9a091e1c2d2b)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specify exclusive package configs for glew and curl to make sure that
conflict package configs will NOT set at same time.
(From OE-Core rev: 8579673bdb314dbc554f40fc4c4c1db3d0bb0d63)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are mutually exclusive PACKAGECONFIGs in recipes. Though it
declares that package configs are exclusive, it can't prevent users to
set them at same time. Extend PACKAGECONFIG to support specifying
conflicted package configs.
(From OE-Core rev: 734475b3f86d88a548bc9eb91d836bd1b9335e9f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a shallow mirror tarball is used to satisfy a gitsm URI it needs to
be unpacked temporarily so that the .gitmodules file can be examined.
(Bitbake rev: 3987db953e414255ce278bc25a5f6cec0f2a30c7)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the "Manual Notes" section of numerous YP manuals with a
reference to the recently-introduced YP documentation mailing list.
(From yocto-docs rev: a10fe36c864b8f1a71c6a8eb7e1f6a4eef2f5171)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ubuntu 20.04 doesn't have python package and therefore this list fails
to install, python3 is required anyway so removing python is perhaps ok
(From yocto-docs rev: a41567a4ee462c704a29ad5944a0c824d7eb840c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-yocto commit 69ddecdb1516 [local.conf.sample: change default
MACHINE to qemux86-64] switched the default MACHINE from 'qemux86' to
'qemux86-64' but some documents which either explicitly mentioned the
default, or where this was implicit didn't receive an equivalent
update.
Where it made sense we continue this change in default to the docs. In
other places, such as the kernel-dev manual, we note the new default
and instruct the user how to switch back to 'qemux86'. Eventually we
should probably update the kernel-dev manual to use the default, but
for now the intention was to limit the impact of these changes.
Note that ext3 has also been replaced with ext4 for image generation,
so while we are modifying runqemu lines to qemux86-64 we also make the
change to reference ext4 such that the runqemu commands will function
properly.
(From yocto-docs rev: 8c1d8ab1170f47a2c2692beb903ab0b7c6835b7b)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is sometimes more appropriate to define the licenses that are
allowed to be used rather than the ones that are not permitted. This
adds a tips on how this can be achieved by using AVAILABLE_LICENSES
and some Python set arithmetics.
(From yocto-docs rev: dd26d8a9f89402a9828bf02f2e65054d4c0f406f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update USERADD_ERROR_DYNAMIC[doc] and the first paragraph to match
the definition in meta/conf/documentation.conf.
* Add a note explaining the differences in behavior when setting
USERADD_ERROR_DYNAMIC to "warn" and "error" respectively.
[YOCTO #12932]
(From yocto-docs rev: 28cd546f3fe1eadd73ba71f9fe9a558538e69b0f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was used only by nss.
(From OE-Core rev: baecda5b32b66d09dadccbcbe706c5ec0a270568)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm was the last user in OE-core.
(From OE-Core rev: 15aa3bdf798b0e45a20f877e203f3750b623754f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The line numbers are influenced by the gcc version on the host used to generate
the code. Remove these to ensure the shipped source code is the same.
(From OE-Core rev: 5c3d3440809e9d76377af653ac8c5307bc1a01b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build host configuration isn't reproducible as it varies depending
on the gcc version of the build host. This information isn't useful on the
target anyway so remove it.
(From OE-Core rev: f9154b2c3eff8434914710ab453e13cf338597ec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new ptest dependencies present some challenges, in particular libmodule-build-perl
which effectively depends on gcc. In multilib images, this results in both
libXX-gcc-symlinks and libYY-gcc-symlinks being installed which conflict. This also
makes little sense.
The easiest way to fix this is to disable the automatic -dev package dependencies
and manually specify the correct ones.
(From OE-Core rev: 5463971d45b21512210cf20f3902baf95eacd4c6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coreutils has a large number of tests, including some added by the
Makefile flags RUN_EXPENSIVE_TESTS and RUN_VERY_EXPENSIVE_TESTS that
significantly increase runtime (and that have been disabled). Note
that the coreutils ptest directory is given blanket permissions at
runtime with chmod -R 777 to ensure that the user created for the
tests will be able to run the test scripts and create the necessary
files in the process.
There is still room to improve the results of this ptest without
the aforementioned additions. Of the tests marked SKIP, there are
30 tests that are currently counted as SKIP because they require
sudo permissions, and another 21 that require membership in
multiple user groups. It is important to know that coreutils has
tests for both root and non-root users. Testing showed that 42
tests are skipped when running as root versus 30 when running as a
non-root user, so the decision was made to run the suite as the
latter. Additionally, gdb, valgrind, and strace could be included
in the RDEPENDS list to increase pass rate, but their total
contribution is 13 tests, so they were omitted to reduce image size.
Finally, note that at least one ptest (misc/head-write-error.sh) is
prone to ERROR on builds of core-image-minimal if extra space is
not provided with IMAGE_ROOTFS_EXTRA_SPACE.
(From OE-Core rev: 9a703f8e05d9e7e609d0e04278be290d4051ec31)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For legacy bios boot configurations, syslinux supports multiple
labels with per-label APPEND definitions. grub-efi-cfg supports
multiple labels, but only a single APPEND definition.
Enable optional per-label APPEND definitions for grub EFI, with
variable names prefixed by "grub_" to isolate grub definitions from
syslinux defintions.
Example use from an ISO image recipe that inherits grub-efi-cfg:
LABELS_LIVE="foo bar"
APPEND_grub_foo = "linuxcmdline"
No change in behavior for those using APPEND without overrides.
(From OE-Core rev: 20ad7705d1060300d53304c259b1f07d04b86eba)
Signed-off-by: Rich Persaud <rp@stacktrust.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If sysconfdir is not present in the image filesystem then the temporary
creation of a prelink.conf will fail. Fix this by creating sysconfdir
temporarily if needed beforehand and then remove any directories that
were created afterwards.
fixes: OpenXT OXT-1751
(From OE-Core rev: 6bf3e3db355643c4b2e20346230c09e45e519035)
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps compile the testcase with musl on 32bit arches
(From OE-Core rev: ac5a65cb5fdb315df2cb016d0cc5c3389c7971f0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The eSDK installation code checks installed locales with the locale command which is
from glibc-utils. Add this so that we find the correct locales from the buildtools.
(From OE-Core rev: 7d35e4bc6ff94a2d03c48827d7d60a6855c9029d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale binary reported incorrect locale lists in relocated toolchains
as some path references were not relocated by this patch. Fix this missing
relocations so the locale binary correctly reports the locales.
(From OE-Core rev: f7a6a72880009380ae81bc7fc863921a26811c8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Trying to create a clean PATH breaks cases where we install a buildtools tarball
on hosts to provide newer versions of gcc. Rework the fix for #8698 to clean up
directories in PATH which don't exist isntead. Do it with python as the shell
version was too fraught with corner cases.
(From OE-Core rev: 7674b63819aa7ca95ca5ca5477a5cce32e9691eb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to test the SDK with PATH from the original host, not with our own
tools injected via HOSTTOOLS. It even uses some tools which aren't in
HOSTTOOLS.
This is necessary after changing the SDK to not reset PATH to the system
default which is bad for other reasons and brings the testing into sync
with that change.
(From OE-Core rev: 87c9602fd0dedc7bcf75b822aaf5f6ebfc17737c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids the seeing broken replacements like:
oe-selftest-centos/build/build-st-926tools/sysroots/x86_64-pokysdk-linux/etc/ssl/certs/ca-certificates.crt
which understandably break builds.
(From OE-Core rev: 04ee0e8b95cd8ed890374e0007f976684206b630)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The source directory is not always a git repository, so when querying
git for data to set SOURCE_DATE_EPOCH, specify ${S}/.git as the git
directory to prevent retrieving incorrect data from any parent directory.
Fixes the following errors with the prior logic when building a kernel
that is not obtained from a git repository:
1. With TMPDIR set to a directory outside any git repository on a
mounted filesystem, reproducible builds fail in do_compile with this git
error:
fatal: not a git repository (or any parent up to mount point <abspath>)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
aborting before the error handling logic.
2. With TMPDIR located within a subdirectory of a git repository, the
SOURCE_DATE_EPOCH timestamp would be that of said repository rather than
that of the kernel.
(From OE-Core rev: 270ae94fe345b9ce98d822034cbfad7e24c5f393)
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The nativesdk variant is needed by the buildtools-tarball, when
p11-kit feature is enabled for gnutls. The error message is:
Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-wget', 'nativesdk-gnutls', 'nativesdk-p11-kit']
(From OE-Core rev: 744f2472df627cd85dd11aa9da445a2a1af196ed)
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The merging of config fragments is performend in the do_kernel_configme
task and so config fragments will not be supported when this task is
removed from the dependency tree.
kernel-yocto adds additional tasks which may modify the source directory
to SRCTREECOVEREDTASKS so that they are removed when using externalsrc.
However, do_kernel_configme should be safe to use, the only modification
to the source tree is the potential creation of the '.kernel-meta'
directory and the '.metadir' file.
(From OE-Core rev: 44f04c039a4d61dd18666e42b9b9865cbc3ada9e)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the externalsrc class is used the tasks listed in
SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
externalsrc is used for the kernel then this will include
virtual/kernel:do_patch.
We can depend on do_shared_workdir instead as this will survive when
externalsrc is used.
(From OE-Core rev: eab605bab94552046ec4adae5debe026cc03bb4c)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the externalsrc class is used the tasks listed in
SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
externalsrc is used for the kernel then this will include
virtual/kernel:do_patch.
We can depend on do_shared_workdir instead as this will survive when
externalsrc is used.
(From OE-Core rev: 2c17d35cc7b9c5e01fd5829858d2f0234e7ac8d6)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if an existing TMPDIR is rebuilt, do_fetch/do_unpack can rerun
but SDE would remain unchanged. This leads to different results compared
to a fresh build. An example change which triggered this is:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cb4e69e6346a9fbeebf83a5d5397cacbd41d48b5
Instead, delete any existing SDE and recalculate if we're reunning.
Also rename and drop the do_ prefix since these are for tasks,
not functions.
(From OE-Core rev: 5d579fc2fe71637fc6e071aa66542befa39ac8bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If configure is rerun it finds msgfmt from gettext-native which is installed
during package_write_ipk|deb and means builds are not determinisic.
Whether msgfmt is needed is debatable (libc.mo files aren't generated without
it), however, we should at least be consistent which this patch ensures.
(From OE-Core rev: 9ffd08cf7d472e6572ee8f04781f410c9d657188)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* passing PERL=perl breaks c_rehash calls from dash (works fine with bash)
dash doesn't like
#!perl
shebang
PERL="/usr/bin/env perl"
unfortunately just passing PERL like this doesn't pass do_configure:
Creating Makefile
sh: 1: /usr/bin/env perl: not found
WARNING: exit code 1 from a shell command.
But passing it as:
HASHBANGPERL="/usr/bin/env perl" PERL=perl
seems to work.
(From OE-Core rev: 79350826396a882d115caafd88b0a49c91a4fa6c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang defines __arm which is interpreted as non-posix by make build
system but thats not correct when using clang so patch addresses that
(From OE-Core rev: e225278a8a894389add56d14908398c14512f6c9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuarm64 on aarch64 host errors out when using kvm
qemu-system-aarch64: PMU: KVM_SET_DEVICE_ATTR: Invalid argument
qemu-system-aarch64: failed to set irq for PMU
Aborted
machines with GICv3 that don’t support GICv2 guests you must have ‘-machine gic-version=3’ on the QEMU command line.
(From OE-Core rev: 17e93c6464184d137b9590f17bfa879ae79d0cfc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PF is already captured, but it's a pain to try to parse out PN and PV,
which can be helpful to have available.
(Bitbake rev: 2885034f42a1dce7586e081a0461b8932a3593bf)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously --runonly=do_task would give a misleading error like:
ERROR: Could not find any tasks with the tasknames ['do_task'] to run
within the recipes of the taskgraphs of the targets...
The problem is that BitBake tried to find "do_do_task". So teach it to
only add the do_ prefix if it's not already there.
(Bitbake rev: 694904bde980606dc67c201da61f4fb685679b17)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to the show-recipes subcommand that allows the user to
specify which multiconfig should be shown.
(Bitbake rev: 83256115c7b1fdf3fa5129cfba6b9e7cba2ae0da)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds support for the Tinfoil cache adaptor to be bound to a specific
multiconfig and invoke the appropriate commands for that multiconfig
instead of the default. The cooker adapter now creates a cache adapter
for each multiconfig specified in BBMULTICONFIG so that each multiconfig
is present.
(Bitbake rev: d515481681dca4a0bc733c6ad8a8498a82e3d9b9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cooker had a multiconfig parameter for the findProviders() and
findBestProviders() API, but it was being ignored.
(Bitbake rev: ea0b68ac2b77676ed1c63f0ee1ae5d300f2b4696)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a multiconfig selection parameter to the findProviders command.
This allows a client to find the providers for a specific multiconfig
instead of the base configuration.
(Bitbake rev: 95bb446137734865f3fe04fe97681d90250deb11)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wl1271-nvs.bin belongs to the wl18xx driver (and respective
package created here), see kernel source.
Due to the way packages are assembled here it ends up in the
wrong package, though.
Fix by placing it in the -common package as it's merely a
symlink to wl127x-nvs.bin (which does belong to the wl12xx),
so that both drivers have access to it.
(From OE-Core rev: e0cc3cb406efedad8673ff48fae7c9288172fc6d)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that this recipe uses make install, we don't manually
create symlinks for firmware files for older kernel in
do_install(). As such, the FILES statement can be updated
as well.
(From OE-Core rev: 4c60fa1d71eb40fb36fb336b55579979308be0a6)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
change whitelisted CVE status from "Patched" to "Whitelisted".
[Yocto #13687]
(From OE-Core rev: 181bdd670492525f9488d52c3ebb9a1b142e35ea)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not always override templateconf.cfg content. Add option to use
already existing file.
(From OE-Core rev: e524e49ef22fd69882d5d2d01cd84db790e9cb88)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FIRMWAREDIR defaults to /lib, failing when usrmerge is enabled:
ERROR: linux-firmware-1_20200122-r0 do_install: Execution of '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/temp/run.do_install.31218' failed with exit code 1:
mkdir -p /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
./copy-firmware.sh /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
cp: target '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/usr/lib/firmware/' is not a directory
(From OE-Core rev: e51b82b05678a2602afce0ad892d84125620cf73)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On the system whose cpu doesn't support rdrand,
there comes below message when start rngd service
#systemctl status rngd
[snip]
Feb 25 05:08:14 qemux86-64 rngd[133]: [rdrand]: Initialization Failed
[snip]
Actually the failed message doesn't matter as it
only indicates one entropy source as rdrand fails
to initialize and won't affect rngd function.
So add to ignore the failure message to fix below
error during do_testimage:
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
File "/buildarea/layers/oe-core/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
return func(*args, **kwargs)
File "/buildarea/layers/oe-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 370, in test_parselogs
self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /buildarea/tmp/work/qemux86-64-wrs-linux/wrlinux-image-std/1.0-r5/target_logs/daemon.log
Central error: 2020-03-06T09:45:12.774286+00:00 qemux86-64 rngd[134]: [rdrand]: Initialization Failed
Reference: https://github.com/nhorman/rng-tools/pull/84
(From OE-Core rev: 09c4f9068858bf59eb60584a497f987bdd1e196e)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now this function has a summary parameter we can drop this check.
It could well be why the mysterious "locked sigs" selftest fails
intermittently if this function were called with a single hash
to check.
[YOCTO #13605] (with luck)
(From OE-Core rev: 02aabe0e59f73bf206d9bada1e7089832ceed254)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.2 recipes have been dropped from oe-core, so we drop the
5.2 bbappends to match.
(From meta-yocto rev: 1da347d7c9b50974648bf216b766bcb958159fa0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensures that gcc can use right operand constraints
(From OE-Core rev: 03e6d0f787cbd62156a163bfbcaed68bfcd379e8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing import os statement to the oeqa runtime ptest.py
(From OE-Core rev: e41c92c60694052c8292c1ea6b3d0b427aafafd7)
Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In our build environment we use wrapper script
for perl in non-standard configuration with
extra variables set (provided by custom
buildtools-tarball).
In this case openssl fails to build because
by default it's Configure script detects and uses
perl executable directly (with absolute path)
obviously missing extra settings from wrapper
script.
Pass PERL=perl environment variable to Configure,
so it won't try to use perl executable directly
but will use what is provided from environment.
(From OE-Core rev: 2b087fef6820da8a6d86ca763bd7730dcac30849)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated mesa and mesa-gl recipes to 20.0 release.
The license checksum difference is due to a small change in the license
formatting. The asterisk for footnotes was changed to a '[1]'
See: 199572b65b
glxgears runs successfully at 60 fps on a rpi4.
(From OE-Core rev: 0ee03e11bc2ae3faa6a2fcfdfae2ea35f7ba70ba)
Signed-off-by: Nathan Hartman <hnathan918@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Babeltrace 1 vs. Babeltrace 2
The Babeltrace project exists since 2010. In 2020, Babeltrace 2 was released.
Babeltrace 2 is a complete rewrite of the library, Python bindings, and CLI. It
is plugin based and offers much more features and potential than Babeltrace 1.
Because Babeltrace 2 is still a young released project, some distributions still
provide packages for the Babeltrace 1 project. Both projects can coexist on the
same system as there are no common installed files.
(From OE-Core rev: be52889ba5e5a2cf02f50b3f3acee8ca72ec494d)
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Xen recipe has been divided into separate recipes for the hypervisor
and tools in meta-virtualization commit 545461ba, so the package name
references in the qemu recipe need to be updated to the new xen-tools
packages. This change allows the temporary bbappend applied to qemu in
meta-virtualization in that change to be retired.
(From OE-Core rev: e7a7ce0999de3c562e7288538641087cf6d55d1f)
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turns off readline for both native and target.
Also corrected a typo with enable-libgdbm-compat
(From OE-Core rev: 5a9f81f73e9397b90e4d6d0eed859e53915cdb46)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
linux-yocto 5.4 will serve as the versioned reference kernel in
the upcoming release, and -dev will serve as the "newer" kernel.
As such, we drop v5.2 from master, but will continue to update
and support it in released branches.
(From OE-Core rev: e71cda699189d3762d8af88d3ccdc0b0430b973c)
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:
bfe3046ecafd Linux 5.4.23
bb7ffcbec227 ASoC: SOF: Intel: hda: Add iDisp4 DAI
fb81480206ae bpf: Selftests build error in sockmap_basic.c
19be2b3eea34 s390/mm: Explicitly compare PAGE_DEFAULT_KEY against zero in storage_key_init_range
148c8531b69c s390/kaslr: Fix casts in get_random
e26be2667399 net/mlx5e: Fix crash in recovery flow without devlink reporter
fca1cdd3417e net/mlx5: Fix sleep while atomic in mlx5_eswitch_get_vepa
06320052ee69 net/mlx5e: Reset RQ doorbell counter before moving RQ state from RST to RDY
773dfd2223e3 xen: Enable interrupts when calling _cond_resched()
9724b3f28dab ata: ahci: Add shutdown to freeze hardware resources of ahci
8eb92c122840 io_uring: prevent sq_thread from spinning when it should stop
b0f5f25c5541 rxrpc: Fix call RCU cleanup using non-bh-safe locks
829e0a0ae2dc netfilter: xt_hashlimit: limit the max size of hashtable
86502c68b81e ALSA: seq: Fix concurrent access to queue current tick/time
2b550d1c7ac6 ALSA: seq: Avoid concurrent access to queue flags
84e041a5df79 ALSA: rawmidi: Avoid bit fields for state flags
c7deb9612e35 io_uring: fix __io_iopoll_check deadlock in io_sq_thread
d562fdad84dd arm64: lse: Fix LSE atomics with LLVM
8132323eb397 bpf, offload: Replace bitwise AND by logical AND in bpf_prog_offload_info_fill
2463a30f6678 genirq/proc: Reject invalid affinity masks (again)
c23074e20989 crypto: rename sm3-256 to sm3 in hash_algo_name
8278f34f6ca8 iommu/vt-d: Fix compile warning from intel-svm.h
cfde4697ea4d ecryptfs: replace BUG_ON with error handling code
4c585d1e98d9 ASoC: fsl_sai: Fix exiting path on probing failure
59c723344aec ASoC: atmel: fix atmel_ssc_set_audio link failure
125b4a5345e2 staging: greybus: use after free in gb_audio_manager_remove_all()
2ca19dfafc04 staging: rtl8723bs: fix copy of overlapping memory
e6535a8c5d98 usb: dwc2: Fix in ISOC request length checking
ceb1997a2ec3 usb: gadget: composite: Fix bMaxPower for SuperSpeedPlus
826a43b22ce6 scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
d92e714a463d scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout"
42b4f3c8ec0b drm/msm/dpu: fix BGR565 vs RGB565 confusion
337cbf3ea855 drm/i915/gt: Protect defer_request() from new waiters
93805d430c53 drm/bridge: tc358767: fix poll timeouts
7de50906e772 drm/i915/gvt: more locking for ppgtt mm LRU list
19f8fb273193 drm/i915/execlists: Always force a context reload when rewinding RING_TAIL
1e0175a15474 drm/i915/gt: Detect if we miss WaIdleLiteRestore
341c8e03a90a Revert "dmaengine: imx-sdma: Fix memory leak"
9ad7f8df34d2 Btrfs: fix deadlock during fast fsync when logging prealloc extents beyond eof
73e1f2663273 btrfs: don't set path->leave_spinning for truncate
d3d0fb9d42d3 Btrfs: fix race between shrinking truncate and fiemap
c383f8ad2a12 Btrfs: fix btrfs_wait_ordered_range() so that it waits for all ordered extents
9af8e258895f btrfs: do not check delayed items are empty for single transaction cleanup
6065ca5d013d btrfs: reset fs_root to NULL on error in open_ctree
37a2e704807a btrfs: fix bytes_may_use underflow in prealloc error condtition
40ea30638d20 btrfs: destroy qgroup extent records on transaction abort
7e946e30a46d KVM: apic: avoid calculating pending eoi from an uninitialized val
dc5537061baf KVM: nVMX: handle nested posted interrupts when apicv is disabled for L1
16f8553f75b5 KVM: nVMX: clear PIN_BASED_POSTED_INTR from nested pinbased_ctls only when apicv is globally disabled
0f042f5e98f1 KVM: nVMX: Check IO instruction VM-exit conditions
c4064f14f744 KVM: nVMX: Refactor IO bitmap checks into helper function
e5d25003d059 ext4: fix race between writepages and enabling EXT4_EXTENTS_FL
5195dc6e9365 ext4: rename s_journal_flag_rwsem to s_writepages_rwsem
6ccdd6616a1c ext4: fix mount failure with quota configured as module
eac2bb1042b2 ext4: fix potential race between s_flex_groups online resizing and access
58631f8cbc24 ext4: fix potential race between s_group_info online resizing and access
bb43897de9b3 ext4: fix potential race between online resizing and write operations
ded8c21ac49c ext4: add cond_resched() to __ext4_find_entry()
1673674ccd86 ext4: fix a data race in EXT4_I(inode)->i_disksize
56b3949a2b5f KVM: x86: don't notify userspace IOAPIC on edge-triggered interrupt EOI
24dfae91a23a KVM: nVMX: Don't emulate instructions in guest mode
e61c236dcf34 sched/psi: Fix OOB write when writing 0 bytes to PSI files
26ae0493c181 drm/i915: Update drm/i915 bug filing URL
2104c4905a08 drm/i915: Wean off drm_pci_alloc/drm_pci_free
3e740fa80cc8 drm/nouveau/kms/gv100-: Re-set LUT after clearing for modesets
5e7dda6ddad1 drm/amdgpu/gfx10: disable gfxoff when reading rlc clock
7e482baf6d70 drm/amdgpu/gfx9: disable gfxoff when reading rlc clock
f141fac489ee drm/amdgpu/soc15: fix xclk for raven
95236ae76bf8 mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()
9bb971b33565 lib/stackdepot.c: fix global out-of-bounds in stack_slabs
ef32399bf729 mm/sparsemem: pfn_to_page is not valid yet on SPARSEMEM
198f5aa0f73e mm/vmscan.c: don't round up scan size for online memory cgroup
8735a5b6e1fb genirq/irqdomain: Make sure all irq domain flags are distinct
6e304262e393 nvme-multipath: Fix memory leak with ana_log_buf
e078c8d8971b mm/memcontrol.c: lost css_put in memcg_expand_shrinker_maps()
aa4f749f8136 Revert "ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()"
7b77e5a08224 ACPI: PM: s2idle: Check fixed wakeup events in acpi_s2idle_wake()
f18121a59b5a MAINTAINERS: Update drm/i915 bug filing URL
cf3c30a7112c serdev: ttyport: restore client ops on deregistration
80990c30b776 tty: serial: qcom_geni_serial: Fix RX cancel command failure
5b0af5e58368 tty: serial: imx: setup the correct sg entry for tx dma
671ea19c3214 tty/serial: atmel: manage shutdown in case of RS485 or ISO7816 mode
5ae6e5683755 serial: 8250: Check UPF_IRQ_SHARED in advance
e0253c422024 x86/cpu/amd: Enable the fixed Instructions Retired counter IRPERF
88e4901d3ebd x86/mce/amd: Fix kobject lifetime
de2cce5ae563 x86/mce/amd: Publish the bank pointer only after setup has succeeded
6df12de90e74 x86/ima: use correct identifier for SetupMode variable
453692eb5a38 jbd2: fix ocfs2 corrupt when clearing block group bits
98583fb54c2b arm64: memory: Add missing brackets to untagged_addr() macro
9b9374cf1ea7 powerpc/hugetlb: Fix 8M hugepages on 8xx
723a44f2288e powerpc/hugetlb: Fix 512k hugepages on 8xx with 16k page size
2ffeef3db358 powerpc/entry: Fix an #if which should be an #ifdef in entry_32.S
04e3f1d1e135 powerpc/tm: Fix clearing MSR[TS] in current when reclaiming on signal delivery
a03b3cea86fd powerpc/eeh: Fix deadlock handling dead PHB
9e1fab44502c powerpc/8xx: Fix clearing of bits 20-23 in ITLB miss
2558e71bbfc5 drm/panfrost: perfcnt: Reserve/use the AS attached to the perfcnt MMU context
3b8edaada13e staging: rtl8723bs: Fix potential overuse of kernel memory
4113e08e75d3 staging: rtl8723bs: Fix potential security hole
de63cd8b5521 staging: rtl8188eu: Fix potential overuse of kernel memory
ddedb84fcdc8 staging: rtl8188eu: Fix potential security hole
91aa9e475827 scsi: Revert "target/core: Inline transport_lun_remove_cmd()"
24aeb16934e8 usb: dwc3: debug: fix string position formatting mixup with ret and len
6dbf3ea0f566 usb: dwc3: gadget: Check for IOC/LST bit in TRB->ctrl fields
256cc85f6f86 usb: dwc2: Fix SET/CLEAR_FEATURE and GET_STATUS flows
c2f07cb7e317 USB: hub: Fix the broken detection of USB3 device in SMSC hub
e5d078af8e5f USB: hub: Don't record a connect-change event during reset-resume
5af8add0167c USB: Fix novation SourceControl XL after suspend
b3c64c8b2fab usb: uas: fix a plug & unplug racing
e805982b13e3 USB: quirks: blacklist duplicate ep on Sound Devices USBPre2
4c02497e8f65 USB: core: add endpoint-blacklist quirk
f9965af8e493 usb: host: xhci: update event ring dequeue pointer on purpose
5d0faf16f960 xhci: Fix memory leak when caching protocol extended capability PSI tables - take 2
ef69cf19bda8 xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms
02e326360053 xhci: fix runtime pm enabling for quirky Intel hosts
512dae7753cd xhci: Force Maximum Packet size for Full-speed bulk devices to valid range.
22ff13ac65cb staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.
41a53f5b68ec staging: android: ashmem: Disallow ashmem memory from being remapped
897d5aaf3397 vt: vt_ioctl: fix race in VT_RESIZEX
21275a431289 vt: selection, handle pending signals in paste_selection
a2c3858faf3a vt: fix scrollback flushing on background consoles
1eb78bc92c84 floppy: check FDC index for errors before assigning it
c5455e3fab20 e1000e: Use rtnl_lock to prevent race conditions between net and pci/pm
47a7a44650c1 USB: misc: iowarrior: add support for the 100 device
9b5e87086fa9 USB: misc: iowarrior: add support for the 28 and 28L devices
c8e28d325c97 USB: misc: iowarrior: add support for 2 OEMed devices
cfda8551dd59 thunderbolt: Prevent crash if non-active NVMem file is read
802a8369d21f btrfs: handle logged extent failure properly
3c4ef8ac8f4b ecryptfs: fix a memory leak bug in ecryptfs_init_messaging()
7e1dbc6656ff ecryptfs: fix a memory leak bug in parse_tag_1_packet()
909149bf61da tpm: Initialize crypto_id of allocated_banks to HASH_ALGO__LAST
9f83363875be ASoC: sun8i-codec: Fix setting DAI data format
3de0bbe21312 ASoC: codec2codec: avoid invalid/double-free of pcm runtime
c45877ca9f62 ALSA: hda/realtek - Apply quirk for yet another MSI laptop
9dc3b7a5833a ALSA: hda/realtek - Apply quirk for MSI GP63, too
80c1e9c4c484 ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
b76e00b67dc6 iommu/qcom: Fix bogus detach logic
f22dcb31727e Linux 5.4.22
105542cea2ea rtc: Kconfig: select REGMAP_I2C when necessary
cea9007ebb95 bcache: properly initialize 'path' and 'err' in register_bcache()
7967c3299e3f drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)
51c9c98a7bbe s390/pci: Recover handle in clp_set_pci_fn()
332c8b5bc358 mlxsw: spectrum_dpipe: Add missing error path
399ca7ee9130 fuse: don't overflow LLONG_MAX with end offset
77912b69a989 virtio_balloon: prevent pfn array overflow
9c80ae965082 cifs: log warning message (once) if out of disk space
3f14879fd6ce i40e: Relax i40e_xsk_wakeup's return value when PF is busy
6fa2bb0d06ca help_next should increase position index
6b851823ceaa NFS: Fix memory leaks
0562d37d143a drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage
c3e3d17d0c5b drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency
17bddc85f980 brd: check and limit max_part par
7291351c00e1 microblaze: Prevent the overflow of the start
7ceb32672b1e asm-generic/tlb: add missing CONFIG symbol
7a48064a42e0 iwlwifi: mvm: Check the sta is not NULL in iwl_mvm_cfg_he_sta()
1656781d15c0 iwlwifi: mvm: Fix thermal zone registration
0448387729d9 nvme-pci: remove nvmeq->tags
1d0fbf3e2687 nvmet: Pass lockdep expression to RCU lists
d5461fdd9645 irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL
793137b0511c bcache: fix incorrect data type usage in btree_flush_write()
57a180a630d8 bcache: explicity type cast in bset_bkey_last()
374eec821858 bcache: fix memory corruption in bch_cache_accounting_clear()
dc8c75f35374 reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()
23b88b51de5c lib/scatterlist.c: adjust indentation in __sg_alloc_table
5a553bd43f59 ocfs2: fix a NULL pointer dereference when call ocfs2_update_inode_fsync_trans()
799c4c1e389f ocfs2: make local header paths relative to C files
7a97311de48d btrfs: do not do delalloc reservation under page lock
a531e6ba85a0 powerpc: Do not consider weak unresolved symbol relocations as bad
528c36e14b17 radeon: insert 10ms sleep in dce5_crtc_load_lut
224c0751dfb7 trigger_next should increase position index
e349287276c2 ftrace: fpid_next() should increase position index
8a7bfa3d97dc char: hpet: Fix out-of-bounds read bug
427f39e23326 drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
39c6932240c5 irqchip/gic-v3: Only provision redistributors that are enabled in ACPI
074c4c43fce2 drm/amd/display: do not allocate display_mode_lib unnecessarily
1687b204ae83 rbd: work around -Wuninitialized warning
bd4e1894166b ceph: check availability of mds cluster on mount after wait timeout
7288d5338c85 powerpc/mm: Don't log user reads to 0xffffffff
3ce3df5d00d0 bpf: map_seq_next should always increase position index
9a178494d05b cifs: fix NULL dereference in match_prepath
9c5ede115a6e cifs: Fix mount options set in automount
1d8e40cf86e4 cifs: fix unitialized variable poential problem with network I/O cache lock patch
a2763f62baa4 iwlegacy: ensure loop counter addr does not wrap and cause an infinite loop
034c5f26d2bf rtw88: fix potential NULL skb access in TX ISR
e7e4d0eaa639 hostap: Adjust indentation in prism2_hostapd_add_sta
32662df2d0bc ALSA: usb-audio: add quirks for Line6 Helix devices fw>=2.82
2ccaac382af0 ARM: 8951/1: Fix Kexec compilation issue.
16ec28640dc6 selftests/eeh: Bump EEH wait time to 60s
93df1b23b157 powerpc/pseries/lparcfg: Fix display of Maximum Memory
411327180703 jbd2: make sure ESHUTDOWN to be recorded in the journal superblock
314e25f4b0cf jbd2: switch to use jbd2_journal_abort() when failed to submit the commit record
b911c5e8686a selftests: bpf: Reset global state between reuseport test runs
251c53a92b54 alarmtimer: Make alarmtimer platform device child of RTC device
777baa1baf63 iommu/vt-d: Remove unnecessary WARN_ON_ONCE()
b5f6bf0fdd71 bcache: fix use-after-free in register_bcache()
393b8509be33 bcache: rework error unwinding in register_bcache
f7d8ebf26d23 bcache: cached_dev_free needs to put the sb page
714cd4a5127a btrfs: Fix split-brain handling when changing FSID to metadata uuid
dc22bc8a8626 btrfs: separate definition of assertion failure handlers
3420f1b304b3 media: uvcvideo: Add a quirk to force GEO GC6500 Camera bits-per-pixel value
3f6c8de753ed powerpc/sriov: Remove VF eeh_dev state when disabling SR-IOV
9d5fc7f14ef2 drm/nouveau/mmu: fix comptag memory leak
707518c16ba4 sunrpc: Fix potential leaks in sunrpc_cache_unhash()
46503858e275 ALSA: hda - Add docking station support for Lenovo Thinkpad T420s
ea038a5270b5 bpf, btf: Always output invariant hit in pahole DWARF to BTF transform
f11aefc9961d driver core: platform: fix u32 greater or equal to zero comparison
843eb0a8cf53 s390/ftrace: generate traced function stack frame
68c3cc414e08 s390: adjust -mpacked-stack support check for clang 10
838bddc295a0 x86/decoder: Add TEST opcode to Group3-2
a4f6948e57f0 objtool: Fix ARCH=x86_64 build error
59e2355bdfc5 kbuild: use -S instead of -E for precise cc-option test in Kconfig
ba6ad897c3dc spi: spi-fsl-qspi: Ensure width is respected in spi-mem operations
dbdc1c12966e ALSA: hda/hdmi - add retry logic to parse_intel_hdmi()
fa7d320dbbbe irqchip/mbigen: Set driver .suppress_bind_attrs to avoid remove problems
27f3dc35fd59 regulator: core: Fix exported symbols to the exported GPL version
18eca3cb5dd9 remoteproc: Initialize rproc_class before use
496d6c021828 module: avoid setting info->name early in case we can fall back to info->mod->name
7303a0b0a537 btrfs: device stats, log when stats are zeroed
f9ab58f9a2ab btrfs: safely advance counter when looking up bio csums
ebf8e5411888 btrfs: fix possible NULL-pointer dereference in integrity checks
50b93369668b pwm: Remove set but not set variable 'pwm'
adf4ab6d8312 ide: serverworks: potential overflow in svwks_set_pio_mode()
e5c8d3abd927 cmd64x: potential buffer overflow in cmd64x_program_timings()
419035d75dbe pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional
e7e6b53fea10 x86/mm: Fix NX bit clearing issue in kernel_map_pages_in_pgd
225a5b5bee00 f2fs: fix memleak of kobject
337c7b95e16e regulator: vctrl-regulator: Avoid deadlock getting and setting the voltage
bf754c88865d ASoC: SOF: Intel: hda: Fix SKL dai count
84255fe86d07 debugobjects: Fix various data races
0b2ecef39d8e watchdog/softlockup: Enforce that timestamp is valid on boot
d8a6a443ff0a perf/x86/amd: Constrain Large Increment per Cycle events
f2323c374e49 sched/topology: Assert non-NUMA topology masks don't (partially) overlap
5d13f62b9ef6 sched/core: Fix size of rq::uclamp initialization
8da6ae7dcb16 arm64: dts: ti: k3-j721e-main: Add missing power-domains for smmu
88cf251d3c0d KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'
d4870a4343f3 EDAC/sifive: Fix return value check in ecc_register()
0a8f90d5654d drm/amd/display: fixup DML dependencies
304982d21e2b arm64: fix alternatives with LLVM's integrated assembler
f68668292496 arm64: lse: fix LSE atomics with LLVM's integrated assembler
b04235f1e11d RDMA/mlx5: Don't fake udata for kernel path
da2d50868e59 ALSA: usb-audio: add implicit fb quirk for MOTU M Series
5a6f5b327fce crypto: essiv - fix AEAD capitalization and preposition use in help text
817faa4ed433 scsi: iscsi: Don't destroy session if there are outstanding connections
12b685be50c7 scsi: ufs-mediatek: add apply_dev_quirks variant operation
4fa2dd4eebfd scsi: ufs: pass device information to apply_dev_quirks
0016939be0ee f2fs: free sysfs kobject
06c34c604b13 f2fs: set I_LINKABLE early to avoid wrong access by vfs
f51caa62dea1 ALSA: usb-audio: unlock on error in probe
480494e28a51 iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE
23d3f191a576 kbuild: remove *.tmp file when filechk fails
1fc9746acbb2 usb: musb: omap2430: Get rid of musb .set_vbus for omap2430 glue
9112d1ef5a1b perf/imx_ddr: Fix cpu hotplug state cleanup
994b203b619d drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
13d368cd1e13 gpiolib: Set lockdep class for hierarchical irq domains
7f0d9ac2621e dm thin: don't allow changing data device during thin-pool reload
74f42a77318e drm/nouveau/fault/gv100-: fix memory leak on module unload
18792937b064 drm/nouveau/drm/ttm: Remove set but not used variable 'mem'
a94c84c5c4bc drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler
93672fa5b9b3 drm/nouveau/gr/gk20a,gm200-: add terminators to method lists read from fw
63e00e2c80e5 drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()
760baae7ab35 vme: bridges: reduce stack usage
76fac0e735c7 bpf: Return -EBADRQC for invalid map type in __bpf_tx_xdp_map
be1113b4b415 ASoC: SOF: Intel: hda-dai: fix compilation warning in pcm_prepare
a8b37e32415e driver core: Print device when resources present in really_probe()
3f6af05d1d1b driver core: platform: Prevent resouce overflow from causing infinite loops
11c759264c32 visorbus: fix uninitialized variable access
83f964dd14a7 misc: xilinx_sdfec: fix xsdfec_poll()'s return type
9087af8639c2 tty: synclink_gt: Adjust indentation in several functions
71faeca11055 tty: synclinkmp: Adjust indentation in several functions
a922fa72a860 raid6/test: fix a compilation warning
6cfe307b5be7 ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
5bff3c470f84 ALSA: usb-audio: Add boot quirk for MOTU M Series
d691d1e5836d ARM: dts: rockchip: add reg property to brcmf sub node for rk3188-bqedison2qc
7c32c479b1e0 arm64: dts: rockchip: add reg property to brcmf sub-nodes
f9de6fb6e679 arm64: dts: rockchip: fix dwmmc clock name for px30
989a495ed9a3 clocksource: davinci: only enable clockevents once tim34 is initialized
48be6f9d2f7e wan: ixp4xx_hss: fix compile-testing on 64-bit
73f48c1004d4 x86/nmi: Remove irq_work from the long duration NMI handler
b075c29e816c bnxt: Detach page from page pool before sending up the stack
1e703d621b9c Input: edt-ft5x06 - work around first register access error
2b1fd461067f rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
5f0a4eba2a88 efi/x86: Don't panic or BUG() on non-critical error conditions
5cf01eacd5c2 soc/tegra: fuse: Correct straps' address for older Tegra124 device trees
75d916c3b393 IB/hfi1: Add RcvShortLengthErrCnt to hfi1stats
9cfe6c21ff17 IB/hfi1: Add software counter for ctxt0 seq drop
8689967be56d staging: rtl8188: avoid excessive stack usage
bfe29951e250 drm/mediatek: Add gamma property according to hardware capability
6ceef50235d1 udf: Fix free space reporting for metadata and virtual partitions
03560e4a19fe usbip: Fix unsafe unaligned pointer usage
e653e1c05423 ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco
6e86c4ce5d3a usb: dwc3: use proper initializers for property entries
ab7edf7fa651 drm: remove the newline for CRC source name.
9d89ff3d27e0 RDMA/hns: Avoid printing address of mtt page
5a2a529974e1 mlx5: work around high stack usage with gcc
010cdc1be053 drm/amdkfd: Fix permissions of hang_hws
960671ac5065 iommu/vt-d: Avoid sending invalid page response
2aab9e9d1f3d iommu/vt-d: Match CPU and IOMMU paging mode
4ffdfc414d81 ACPI: button: Add DMI quirk for Razer Blade Stealth 13 late 2019 lid switch
e9e24f2ca9a6 ASoC: Intel: sof_rt5682: Ignore the speaker amp when there isn't one.
d00a15040454 vfio/spapr/nvlink2: Skip unpinning pages on error exit
e44b48f5bb64 tools lib api fs: Fix gcc9 stringop-truncation compilation error
3e32b1282b11 net: phy: fixed_phy: fix use-after-free when checking link GPIO
4070a491bfcf ALSA: sh: Fix compile warning wrt const
cf24ed82438c ALSA: hda/realtek - Apply mic mute LED quirk for Dell E7xx laptops, too
2417ea1d07a5 clk: uniphier: Add SCSSI clock gate for each channel
6447bfe82922 clk: Use parent node pointer during registration if necessary
6c7984312d35 ALSA: sh: Fix unused variable warnings
9f87fff25159 clk: sunxi-ng: add mux and pll notifiers for A64 CPU clock
d1d92e97260f RDMA/rxe: Fix error type of mmap_offset
c87c4d442b9f fbdev: fix numbering of fbcon options
67ca691658f5 ASoC: soc-topology: fix endianness issues
04361b8961d6 reset: uniphier: Add SCSSI reset control for each channel
e39aac0e65f1 pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs
9ed73297980b drm/fbdev: Fallback to non tiled mode if all tiles not present
d3db7b78e7d6 PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency
704582e6a714 PM / devfreq: exynos-ppmu: Fix excessive stack usage
bc866376d7cd x86/vdso: Provide missing include file
b5fe09b676de crypto: chtls - Fixed memory leak
a739564c4c53 net: phy: realtek: add logging for the RGMII TX delay configuration
4783bf08f8d2 bpf: Print error message for bpftool cgroup show
8a7aa4feeaea dmaengine: imx-sdma: Fix memory leak
f99958a96c7f dmaengine: Store module owner in dma_device struct
93a3eff6fab3 clk: actually call the clock init before any other callback of the clock
fa0150ba88fa iommu/iova: Silence warnings under memory pressure
8c358435459b iommu/amd: Only support x2APIC with IVHD type 11h/40h
b1b7add9d2de iommu/amd: Check feature support bit before accessing MSI capability registers
0c09d9dc8440 arm64: dts: qcom: db845c: Enable ath10k 8bit host-cap quirk
ce591c921944 scsi: lpfc: Fix: Rework setting of fdmi symbolic node name registration
111749fba968 selinux: ensure we cleanup the internal AVC counters on error in avc_update()
069d2385f381 ARM: dts: r8a7779: Add device node for ARM global timer
f9b42cb09d8b clk: renesas: rcar-gen3: Allow changing the RPC[D2] clocks
d80f9dfe47ce drm/mediatek: handle events when enabling/disabling crtc
57cd234da28c crypto: inside-secure - add unspecified HAS_IOMEM dependency
df0f4455a12f scsi: aic7xxx: Adjust indentation in ahc_find_syncrate
f6ebbf46c3a8 scsi: ufs: Complete pending requests in host reset and restore path
8728001e1e41 nfsd: Clone should commit src file metadata too
d67d31cb0e92 ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
3fa5ba7b1912 clk: qcom: smd: Add missing bimc clock
43ef7ad610dc drm/amdgpu: fix KIQ ring test fail in TDR of SRIOV
75423fdad259 orinoco: avoid assertion in case of NULL pointer
5a14db967b72 rtlwifi: rtl_pci: Fix -Wcast-function-type
f20bc906af52 iwlegacy: Fix -Wcast-function-type
3acea3092a33 ipw2x00: Fix -Wcast-function-type
bc8746721cdf b43legacy: Fix -Wcast-function-type
90053ff023da PCI: Add DMA alias quirk for PLX PEX NTB
27a35f09367f PCI: Add nr_devfns parameter to pci_add_dma_alias()
dd77f77004b6 ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status
b6c857e5e500 netfilter: nft_tunnel: add the missing ERSPAN_VERSION nla_policy
1e2b6e5f32aa fore200e: Fix incorrect checks of NULL pointer dereference
58bc57b373e0 r8169: check that Realtek PHY driver module is loaded
cdd5b09bcbc0 samples/bpf: Set -fno-stack-protector when building BPF programs
af77e76625be reiserfs: Fix spurious unlock in reiserfs_fill_super() error handling
6107a895e383 media: v4l2-device.h: Explicitly compare grp{id,mask} to zero in v4l2_device macros
cf03458ab2cf selftests/net: make so_txtime more robust to timer variance
687ef9c269b6 gpu/drm: ingenic: Avoid null pointer deference in plane atomic update
e07c107a2483 Revert "nfp: abm: fix memory leak in nfp_abm_u32_knode_replace"
6a05af0b718a PCI: Increase D3 delay for AMD Ryzen5/7 XHCI controllers
5700b8073f03 PCI: Add generic quirk for increasing D3hot delay
1e7b1684de37 media: cx23885: Add support for AVerMedia CE310B
a3a7f90936d7 PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in
76ce0e269b4a bus: ti-sysc: Implement quirk handling for CLKDM_NOAUTO
2fc336213605 ARM: dts: imx6: rdu2: Limit USBH1 to Full Speed
f3e63a4ddf19 ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3
dbe3806c7191 ARM: exynos_defconfig: Bring back explicitly wanted options
4ece124849a2 clk: imx: Add correct failure handling for clk based helpers
0685dfa0a2ff padata: validate cpumask without removed CPU during offline
c3a007435359 arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core
0e44cd879ba1 selinux: ensure we cleanup the internal AVC counters on error in avc_insert()
5fed8c513adb opp: Free static OPPs on errors while adding them
ef6b35dfe142 arm: dts: allwinner: H3: Add PMU node
5a241d7bf1e6 arm64: dts: allwinner: H5: Add PMU node
02dfae36b03f arm64: dts: allwinner: H6: Add PMU mode
5f0a50b0a37d NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().
53d9b08dc80d net/wan/fsl_ucc_hdlc: reject muram offsets above 64K
12ba455b1d28 regulator: rk808: Lower log level on optional GPIOs being not available
bae02d239a38 ASoC: intel: sof_rt5682: Add support for tgl-max98357a-rt5682
fa54ae038c95 ASoC: intel: sof_rt5682: Add quirk for number of HDMI DAI's
4c50665fc968 modules: lockdep: Suppress suspicious RCU usage warning
fa0316aaf094 arm64: dts: rockchip: Fix NanoPC-T4 cooling maps
3a28e0701264 drm/panel: simple: Add Logic PD Type 28 display support
c3c3f3449b8c drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREG
ddbdf757a7ef ath10k: correct the tlv len of ath10k_wmi_tlv_op_gen_config_pno_start
69c12b79e9e2 drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table
ad9728b377a6 bpf, sockhash: Synchronize_rcu before free'ing map
25c85d8574d8 drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode
dff5d0fc77a5 clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
8d122cd0d266 clk: qcom: Don't overwrite 'cfg' in clk_rcg2_dfs_populate_freq()
8ba34cdadba3 kconfig: fix broken dependency in randconfig-generated .config
39a708219509 block, bfq: do not plug I/O for bfq_queues with no proc refs
b0d5c881d36e drivers/block/zram/zram_drv.c: fix error return codes not being returned in writeback_store
53aaa9f1a638 Btrfs: keep pages dirty when using btrfs_writepage_fixup_worker
3aa694d0e112 KVM: s390: ENOTSUPP -> EOPNOTSUPP fixups
25cbba5d4e14 nbd: add a flush_workqueue in nbd_start_device
201fdd62bb23 tracing: Simplify assignment parsing for hist triggers
7bc84d854017 drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zero
806f57ec2b52 rtc: i2c/spi: Avoid inclusion of REGMAP support when not needed
b752d473b1fb selftests: settings: tests can be in subsubdirs
6f65dd66ea6f brcmfmac: sdio: Fix OOB interrupt initialization on brcm43362
abf8d588e3b1 rtw88: fix rate mask for 1SS chip
3eee03d0ffb8 ath10k: Correct the DMA direction for management tx buffers
494c30b80550 ext4, jbd2: ensure panic when aborting with zero errno
8343f165f3d4 ARM: 8952/1: Disable kmemleak on XIP kernels
8c72748e9f6a tracing: Fix very unlikely race of registering two stat tracers
75225eee8715 tracing: Fix tracing_stat return values in error handling paths
8be3ac46ef80 powerpc/iov: Move VF pdev fixup into pcibios_fixup_iov()
256e52a1a915 s390/pci: Fix possible deadlock in recover_store()
37ea6d15b197 wan/hdlc_x25: fix skb handling
77b131f652d4 dmaengine: fsl-qdma: fix duplicated argument to &&
d30a4882e630 udf: Allow writing to 'Rewritable' partitions
a3536e5589c7 pwm: omap-dmtimer: Simplify error handling
971579fae1b4 x86/sysfb: Fix check for bad VRAM size
7828a927b850 clk: ti: dra7: fix parent for gmac_clkctrl
2d7fa7564bc4 ext4: fix deadlock allocating bio_post_read_ctx from mempool
c982320078dd jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when load journal
56953ccd7f00 kselftest: Minimise dependency of get_size on C library interfaces
6aa96ec9c196 drm/amd/display: Clear state after exiting fixed active VRR state
c7fc72092134 clocksource/drivers/bcm2835_timer: Fix memory leak of timer
9f0414eed212 usb: dwc2: Fix IN FIFO allocation
2cea5895b69d usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe()
531d0ac5fbbd drm/nouveau/nouveau: fix incorrect sizeof on args.src an args.dst
d34ecf4949de spi: fsl-lpspi: fix only one cs-gpio working
9f3a2e147f0e drm/amdgpu/sriov: workaround on rev_id for Navi12 under sriov
750a95d63746 uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()
b2f28d11f2a1 raid6/test: fix a compilation error
448563605d98 net: ethernet: ixp4xx: Standard module init
b5d649f14470 sparc: Add .exit.data section.
c09d0bd924ac MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()
ed140997f80c efi/x86: Map the entire EFI vendor string before copying it
04a5bebd7789 pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins
9ad79d4fa032 IB/core: Let IB core distribute cache update events
f606721660a6 kernel/module: Fix memleak in module_add_modinfo_attrs()
fc3c0fc85d69 media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run()
bc4730880281 char/random: silence a lockdep splat with printk()
0b455673e7c4 x86/fpu: Deactivate FPU state after failure during state load
9b743915bd00 iommu/vt-d: Fix off-by-one in PASID allocation
739abce96dd0 gpio: gpio-grgpio: fix possible sleep-in-atomic-context bugs in grgpio_irq_map/unmap()
e715aa99c502 clk: meson: meson8b: make the CCF use the glitch-free mali mux
271b18405eb0 powerpc/powernv/iov: Ensure the pdn for VFs always contains a valid PE number
2f812301bacf clk: at91: sam9x60: fix programmable clock prescaler
e1e1cdbc646f media: sun4i-csi: Fix [HV]sync polarity handling
65fbde986aef media: sun4i-csi: Fix data sampling polarity handling
f5076ea1bc9d media: sun4i-csi: Deal with DRAM offset
cb514c01f6e4 media: i2c: mt9v032: fix enum mbus codes and frame sizes
ecb8ea6f93e5 media: ov5640: Fix check for PLL1 exceeding max allowed rate
9c76a7b28edc pxa168fb: Fix the function used to release some memory in an error handling path
4a8bb7ce9f0b drm/msm/adreno: fix zap vs no-zap handling
4aa148666a70 drm/mipi_dbi: Fix off-by-one bugs in mipi_dbi_blank()
d21cc4ea7a82 printk: fix exclusive_console replaying
f46afae807aa pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs
fcc0000109b0 gianfar: Fix TX timestamping with a stacked DSA driver
c324effa6d9d ALSA: ctl: allow TLV read operation for callback type of element in locked case
4125714ce1d6 ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT
348a7ccdb9f0 leds: pca963x: Fix open-drain initialization
4e2d5e3eb865 drm/amd/display: Map ODM memory correctly when doing ODM combine
b3224bf30709 PCI: Fix pci_add_dma_alias() bitmask size
071963d37143 brcmfmac: Fix use after free in brcmf_sdio_readframes()
55195593a8c6 brcmfmac: Fix memory leak in brcmf_p2p_create_p2pdev()
c4d0a90b5029 cpu/hotplug, stop_machine: Fix stop_machine vs hotplug order
4d7f8ca608b2 clk: meson: pll: Fix by 0 division in __pll_params_to_rate()
343fc9a26887 media: meson: add missing allocation failure check on new_buf
85275286d118 f2fs: call f2fs_balance_fs outside of locked page
678b25bfd983 f2fs: preallocate DIO blocks when forcing buffered_io
255edefeb0b8 rcu: Fix data-race due to atomic_t copy-by-value
b7725deb9d61 rcu: Fix missed wakeup of exp_wq waiters
3ece067c12e1 rcu/nocb: Fix dump_tree hierarchy print always active
2339f7a55c84 drm/qxl: Complete exception handling in qxl_device_init()
3deb6e993ec4 wil6210: fix break that is never reached because of zero'ing of a retry counter
281ebbcdee49 ath10k: Fix qmi init error handling
726196728c2c drm/gma500: Fixup fbdev stolen size usage evaluation
60e055d59d0e net/sched: flower: add missing validation of TCA_FLOWER_FLAGS
58cd462bc5b1 net/sched: matchall: add missing validation of TCA_MATCHALL_FLAGS
d9bc012b4a47 net: dsa: tag_qca: Make sure there is headroom for tag
42dd56266b9f net/smc: fix leak of kernel memory to user space
f1f2eea30d19 enic: prevent waking up stopped tx queues over watchdog reset
8f22873582a7 core: Don't skip generic XDP program execution for cloned SKBs
2d636a1263be Linux 5.4.21
c10cfc131c0b mmc: core: Rework wp-gpio handling
b0ad23142a2a gpio: add gpiod_toggle_active_low()
2cbbe28c734b KVM: x86/mmu: Fix struct guest_walker arrays for 5-level paging
ac3aea49cc35 ext4: choose hardlimit when softlimit is larger than hardlimit in ext4_statfs_project()
9275ae515385 jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer
f09998f7a11f jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
0e365eafbcaa Revert "drm/sun4i: drv: Allow framebuffer modifiers in mode config"
590d35beddcc NFSv4.1 make cachethis=no for writes
7bee7eabf0ed perf stat: Don't report a null stalled cycles per insn metric
1164c3380958 KVM: x86: Mask off reserved bit from #DB exception payload
ec86856b4672 arm64: dts: fast models: Fix FVP PCI interrupt-map property
51a610a5c88d cifs: fix mount option display for sec=krb5i
db5a68ffad2a mac80211: fix quiet mode activation in action frames
671338889e8f hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
98509dfe6f25 perf/x86/intel: Fix inaccurate period in context switch for auto-reload
1d2a31baf6b6 spmi: pmic-arb: Set lockdep class for hierarchical irq domains
9f6f61c61a84 sched/uclamp: Reject negative values in cpu_uclamp_write()
115402ee80ce s390/time: Fix clk type in get_tod_clock
ae88de70c254 RDMA/core: Fix protection fault in get_pkey_idx_qp_list
2c753af06f23 RDMA/rxe: Fix soft lockup problem due to using tasklets in softirq
8662e612ae4c RDMA/hfi1: Fix memory leak in _dev_comp_vect_mappings_create
b860a4524217 RDMA/iw_cxgb4: initiate CLOSE when entering TERM
c60c4b4b6bf2 RDMA/core: Fix invalid memory access in spec_filter_size
8a14f01c4d0f IB/umad: Fix kernel crash while unloading ib_umad
6603342a6060 IB/rdmavt: Reset all QPs when the device is shut down
b16dfda32ca5 IB/hfi1: Close window for pq and request coliding
327f33e54c7f IB/hfi1: Acquire lock to release TID entries when user file is closed
e30e30c042fe IB/mlx5: Return failure when rts2rts_qp_counters_set_id is not supported
cf0ea974b6a2 drivers: ipmi: fix off-by-one bounds check that leads to a out-of-bounds write
5e9f573dc8e7 nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info
fa3c053b8313 bus: moxtet: fix potential stack buffer overflow
279c15b917ec drm/panfrost: Make sure the shrinker does not reclaim referenced BOs
3ea7f138cec1 drm/vgem: Close use-after-free race in vgem_gem_create
9ea66515918e s390/uv: Fix handling of length extensions
9e6874da9446 s390/pkey: fix missing length of protected key on return
ebc3ddc1a255 perf/x86/amd: Add missing L2 misses event spec to AMD Family 17h's event map
db6f68908bce KVM: nVMX: Use correct root level for nested EPT shadow page tables
ce8b9b8032bd EDAC/mc: Fix use-after-free and memleaks during device removal
b2e977a9731f EDAC/sysfs: Remove csrow objects on errors
03f6c2bf9562 cifs: make sure we do not overflow the max EA buffer size
ff04f342f8c4 xprtrdma: Fix DMA scatter-gather list mapping imbalance
22f15745c4e7 arm64: ssbs: Fix context-switch when SSBS is present on all CPUs
4267ba3bac6d gpio: xilinx: Fix bug where the wrong GPIO register is written to
8791bb8f8471 ARM: npcm: Bring back GPIOLIB support
cafaf6bcce60 btrfs: log message when rw remount is attempted with unclean tree-log
2655c88c03e8 btrfs: print message when tree-log replay starts
f3cdf024ed19 btrfs: ref-verify: fix memory leaks
bf4a9715a914 Btrfs: fix race between using extent maps and merging them
c43f560acc85 ext4: improve explanation of a mount failure caused by a misconfigured kernel
94f0fe04da78 ext4: add cond_resched() to ext4_protect_reserved_inode
5b0a26514d6c ext4: fix checksum errors with indexed dirs
449e607322d7 ext4: fix support for inode sizes > 1024 bytes
f080204b677d ext4: don't assume that mmp_nodename/bdevname have NUL
86c30da1b684 ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000
67d49871f8e4 ALSA: usb-audio: sound: usb: usb true/false for bool return type
c3b35c87e5b6 ACPI: PM: s2idle: Prevent spurious SCIs from waking up the system
303740645567 ACPICA: Introduce acpi_any_gpe_status_set()
0671627a5faa ACPI: PM: s2idle: Avoid possible race related to the EC GPE
b9f78af90d92 ACPI: EC: Fix flushing of pending work
25487999ca3a ALSA: usb-audio: Apply sample rate quirk for Audioengine D1
2b7e7004970a ALSA: hda/realtek - Fix silent output on MSI-GL73
1e73c5eae8c6 ALSA: hda/realtek - Add more codec supported Headset Button
c28273b42c95 ALSA: usb-audio: Fix UAC2/3 effect unit parsing
2323beb68436 Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list
efca0d73501a Input: synaptics - enable SMBus on ThinkPad L470
c6426ba5731b Input: synaptics - switch T470s to RMI4 by default
(From OE-Core rev: aef943886969fb4c411eb4dc2fd6fb5063ce0064)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The specific issue here is rpc/rpc.h, but its likely more general.
/usr/include is searched for rpc/rpc.h and if it exists on the
system, it changes behavior. If you are using the extended buildtools
tarball on a machine that has /usr/include/rpc/rpc.h, it will decide
that is good enough and not continue to search. nis fails to build
because /usr/include and /usr/lib are not part of the include/link
paths for the buildtools tarball compiler(nor should they be).
This makes it so python3-native will not build if you are using the
extended buildtools tarball, but from a larger issue perspective it
is building in likely different ways depending on what machine it
is building on.
libtirpc is already a depend so we shouldn't need the hosts rpc/rcp.h.
(From OE-Core rev: f37dfc7907ae7bac08d40468ddde2e5b8bba030c)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't happen with make install, hence all the -license packages
are missing, since they'd otherwise be empty.
(From OE-Core rev: 456a1431dd7d8472830b8716e80e64a888617354)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Copying the source tree over was missing important symlinks
that since recent updates can only be created with make install.
(From OE-Core rev: 8764cc85f3ef570f1c220c3c200d6e02d3e7a260)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_kernel_checkout and do_symlink_kernsrc are both modifying ${S}, they
could conflict with eacher other, move do_kernel_checkout after
do_symlink_kernsrc does fix that.
(From OE-Core rev: 965090f42bc0576e938a0575b7938a1ff60b0018)
Signed-off-by: Ming Liu <liu.ming@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
virtual/crypt-native is assume provided in bitbake.conf, so
buildtools-extended-tarball shoud provide crypt since it doesn't
use the host's headers/libraries.
[YOCTO #13714]
(From OE-Core rev: da948b25d5ef452fb35275d108e18d2a2829f4fb)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
legitimize_package_name wants the actual value of KERNEL_REVISION, so
use d.getVar() to fetch it as is done elsewhere in the file. Failing to
do so can result it weird errors at parsing time.
(From OE-Core rev: 9bff4d14693c1890fc181ec68c9f883dc4e4accf)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, delete html docs as they have sysroot
paths in them, and adjust build configuration to not
refer to host paths either.
(From OE-Core rev: 7f58aed9d7b07d9f86717fc0c45b31b1887eb36a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport from git.kernel.dk. Changed shebangs to use python3.
(From OE-Core rev: 2c0ca4632f6c2ce645412ca975a70b3088c27916)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The number of threads used, and the amount of memory allowed
to be used, should not affect sstate signatures, as they
don't affect the outcome of the compression if xz operates
in multi-threaded mode [1].
Otherwise, it becomes impossible to re-use sstate from
automated builders on developer's machines (as the former
might execute bitbake with certain constraints different
compared to developer's machines).
This is in particular a problem with the opkg package writing
backend, as the OPKGBUILDCMD depends on XZ_DEFAULTS. Without
the vardepexclude, there is no re-use possible of the
package_write_ipk sstate.
Whitelist the maximum number of threads and the memory limit
given assumptions outlined in [2] below.
(From OE-Core rev: 7927d5f6eaab48578b23db9a4c38e2f87f011353)
Signed-off-by: André Draszik <git@andred.net>
[1] When starting out in multi-threaded mode, the output is always
deterministic, as even if xz scales down to single-threaded later,
the archives are still split into blocks and size information is
still added, thus keeping them compatible with multi-threaded mode.
Also, when starting out in multi-threaded mode, xz never scales
down the compression level to accomodate memory usage restrictions,
it just scales down the number of threads and errors out if it
can not accomodate the memory limit.
[2] Assumptions
* We only support multi-threaded mode (threads >= 2), builds
should not try to use xz in single-threaded mode
* The thread limit should be set via XZ_THREADS, not via
modifying XZ_DEFAULTS or XZ_OPTS, or any other way
* The thread limit should not be set to xz's magic value
zero (0), as that will lead to single-threaded mode on
single-core systems.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xz archives can be non-deterministic / non-reproducible:
a) archives are created differently in single- vs
multi-threaded modes
b) xz will scale down the compression level so as to
be try to work within any memory limit given to
it when operating in single-threaded mode
This means that due to bitbake's default of using as many
threads as there are cores in the system, files compressed
with xz will be different if built on a multi-core system
compared to single-core systems. They will also potentially
be different if built on single-core systems with different
amounts of physical memory, due to bitbake's default of
limiting xz's memory consumption.
Force multi-threaded operation by default, even on single-core
systems, so as to ensure archives are created in the same
way in all cases.
(From OE-Core rev: d96aa8594c8d7531da34645cadbac4f7549d8ae6)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will be needed for making xz compression more deterministic,
as xz archives are created differently in single- vs multi-threaded
modes.
This means that due to bitbake's default of using as many threads
as there are cores in the system, files compressed with xz
will be different if built on a multi-core system compared to
single-core systems.
Allowing cpu_count() here to return a lower bound, will allow
forcing xz to always use multi-threaded operation.
(From OE-Core rev: c6dda204e15c5b27559f7617b18a7b3ce604e2f8)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
version 2.x.x will be added with a new babeltrace2 recipe
(From OE-Core rev: 0616a5dbc61561fefcd1822ce263837437466df2)
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It seems this service needs both Requires: and After: according to the definitions
in the systemd docs, else we see boot race failures.
(From OE-Core rev: d6b1809e8cd7ca78c5b442177393d4299a96ec65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux Kernel 4.4 is an LTS kernel so people may still
build it with OE.
Thus make copying of some files optional:
- arm64 module.lds file first appeared with kernel v4.6 commit
fd045f6cd98e arm64: add support for module PLTs"
- arm32 *.tbl files first appeared in kernel v4.10 in
commit 96a8fae0fe09 "ARM: convert to generated
system call tables"
(From OE-Core rev: 3329dd6ea914c5fadbf63ecbfde9c66472df19ee)
Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update SRCREV to pick up:
c359546 Fix psplash-systemd failures
3c0a4f3 Remove generated psplash-poky-img.h
Also:
* set the unit type in psplash-start.service to "notify" to
complete the psplash-systemd race fix
* remove the rest of the now unnecessary has_png logic bits
* change the generated image header destination to B instead of S
since that now works after the recent makefile changes, and will
avoid unnecessarily polluting the source tree
(From OE-Core rev: 6f31da5632220a09ac65b8f361cdc9c64e64ce35)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building lzip-native just for being able to build make is not
worth saving 1 MB download, especially since this creates a
bottleneck for the whole build.
(From OE-Core rev: 136314ffd107654b7673d937acafb7f4a81ac5a9)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add pixmap to PACKAGECONFIG defaults to allow consumers to
render color emojis without distro changes.
(From OE-Core rev: 01d404302238b0ad570192118617083440d1d50a)
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the requested partition does not exist in this request "wic ls {path}:pnum"
display a nice message not a trackback
Also fix displaying the pnum and not "%s"
(From OE-Core rev: 15d1722950a22649905cf8a5789d3cfe48a2a892)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wayland-protocols 1.20 is now available.
This release is a brown paper bag release adding the missing README.md,
GOVERNANCE.md and MEMBERS.md files to the tarball. Distributions that
distribute one or more of these files should ignore the 1.19 release and
move directly to 1.20.
https://lists.freedesktop.org/archives/wayland-devel/2020-February/041269.html
(From OE-Core rev: 7bd664600cce0fba4e256c690078ef69e39be299)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Relicensed under the BSD-3-Clause license since v2.1
Remove patches applied upstream.
Since version v2.1, klogd was removed from the sysklogd project since
syslogd performs logging of kernel messages.
So, this patch remove klogd support.
(From OE-Core rev: c28457322eb6a141d0e8c66fc1c7eee681c0fe88)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed ffsb copying file and associated runtest file fs_ext4
(both removed in this release).
Added LIBS=-lfts for MUSL.
Removed patches (accepted upstream)
* 0001-mkswap01.sh-Add-udevadm-trigger-before-swap-verifica.patch
* 0001-testcases-fix-an-absent-format-string-issue.patch
* 0001-nm01-Remove-prefix-zeros-of-the-addresses-output-by-.patch
Merged patches
* 0006-rt_tgsigqueueinfo-disable-test-on-musl.patch
(into 0001-build-Add-option-to-select-libc-implementation.patch as they
touch the same files)
Refreshed patches (some tests have been fixed for musl)
* 0001-Add-more-musl-exclusions.patch
* 0001-build-Add-option-to-select-libc-implementation.patch
* 0002-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch
IMHO this one shouldn't be needed not, but CI still fails without it
Updated status
* 0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
* 0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch
(From OE-Core rev: 62e2063698477a13c55ae370451e52a2f1e18e45)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If for example a tinfoil connection edits the datastore, a subsequent
connection can be "corrupted" by those changes. By setting the parse
status of the caches as False at exit, the behaviour becomes the same
as a newly setup server as a new data store is setup.
This avoids problems in tests when BB_SERVER_TIMEOUT is set as the
server is properly reset between connections.
[YOCTO #13812]
(Bitbake rev: e66759106e21da2b34a6cdec7aa681ad2204da54)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently bitbake will list many checksums for a recipe when none are
present, encouraging users to add them all to a recipe. We don't
need/want them all.
We used to show md5 and sha256 but given the concerns about md5,
switch to showing just sha256 going forward which seems like the
sensible one to standardise upon.
There will be no change to existing recipe functionality.
(Bitbake rev: 47f0c849ed13ba554d9523b926d92405e8251702)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
since commit 03154d2cf25c1d5ce908da9e72d324004b8d5722 ("sfdisk: add -J between mutually exclusive options")
in util-linux [1], the '-J' can't be used with the '-d' option anymore.
So, since we're using json format output, drop the '-d' option.
Fixes:
ERROR: _exec_cmd: <snip>/usr/sbin/sfdisk -dJ <snip>/core-image-minimal-qemux86-64.wic returned '1' instead of 0
output: sfdisk: mutually exclusive arguments: --list-free --json --dump
[1] - 03154d2cf2 (diff-31d5cc325380dbdafe64d0e019846f12)
(From OE-Core rev: 49e7f3e8e3a775510d8b0e2826a06d000934706b)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: add GPLv3 text in README.licensing
Also:
- Drop upstreamed patch
- Backport an upstream patch to fix an issue with 'sfdisk'
- Use 'disable-hwclock-gplv3' explicitly.
Since commit 7a3000f7ba548cf7d74ac77cc63fe8de228a669e ("hwclock: use parse_date function") hwclock is linked
with parse_date.y from gnullib. This gnulib code is distributed with GPLv3.
So, we have to use '--disable-hwclock-gplv3' to exclude this code.
See full changelog https://lore.kernel.org/util-linux/20200131095846.ogjtqrs7ai774tka@ws.net.home/T/#u
(From OE-Core rev: 324f33ba5a77d498cfff81c6857c78ad13b27125)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is no longer needed with the upgraded glibc version.
(From OE-Core rev: 2d51abf53e063ce6328290de728b5870530aa86a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc version has moved on to 2.31.x
(From OE-Core rev: ef681222a918030d726a79cf04111fb5d0b66355)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should fix the mips make 4.3 issue on target
Changes in this delta
* 71f2b249a2 malloc/tst-mallocfork2: Kill lingering process for unexpected failures
* 5d31b083e4 riscv: Avoid clobbering register parameters in syscall
* f4f8843515 microblaze: Avoid clobbering register parameters in syscall
* aa638b86b2 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523]
* ae1b6b13d4 mips: Use 'long int' and 'long long int' in linux syscall code
(From OE-Core rev: 79b23077288dd557842f987e558262d7d8522e25)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Downloading a file called "LICENSE" into DL_DIR is 'problematic' and collides with the
file from other versions of the recipe at best.
Rename it to something more specific to avoid collision problems.
(From OE-Core rev: 3ef237f2cd1836f4c9f584837fb25762fe4d4332)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will be needed again when using patchlevel versions again.
Also make it more generic.
(From OE-Core rev: 7939288700ad35ed43e5988371e16d5afc594a57)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Image files are always generated now so make the gdk-pixbuf dependency
required.
(From OE-Core rev: f273684f75c050ce3c7c4d93d73a27c973f84df5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add patch to fix missing sys/time.h include in tests/atk_test_util.h
Release notes:
043b793de2/NEWS
License-Update: Changed to LGPL-2.1+
(From OE-Core rev: dd78eeef75cb94f14dda8ae50c0a0bee1fcfca07)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After make-4.3 migration child_execute_job function started
using posix_spawn function, which happens to be broken on mips.
It manifests itself as when make executed by root, it switches
real user id to wrong value because of some issues with direct
setresuid system call done in glibc __spawni_child function
through inline assemble and/or gcc compiling it produces wrong
code. I.e instead of passing -1 posix_spawn function incorrectly
passes 127 as ruid. Subsequently job started by make can fail
with permission issue because they run under wrong user.
For now workaround is used by explicitly disabling posix_spawn
call use by make on mips through configure variable.
(From OE-Core rev: de5572deff36ecf7dd209600a94b3b7fb991cdc1)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Announcement: https://lists.gnu.org/archive/html/bug-make/2020-01/msg00057.html
1) Remove upstream provided patches 0001-glob-Do-not-assume-glibc-glob-internals.patch
and 0002-glob-Do-not-assume-glibc-glob-internals.patch.
2) License has been changed to GPLv3 only
3) Important bug-fix is
* https://lists.gnu.org/archive/html/bug-make/2018-09/msg00006.html
4) Backward-incompatibilities:
* Number signs (#) appearing inside a macro reference or function invocation
no longer introduce comments and should not be escaped with backslashes
* Previously appending using '+=' to an empty variable would result in a value
starting with a space. Now the initial space is only added if the variable
already contains some value. Similarly, appending an empty string does not
add a trailing space.
Fix incompatibility issues between gnulib bundled with updated make fix issues
in w32 compat sources.
(From OE-Core rev: 4a5d4cf0cc8a4a6af76f23dd8a29627042230f98)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow sstate use in Tumbleweed and other distros as they update glibc.
(From OE-Core rev: ccb374c279b260b1fd3460f6bfd1567240816055)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream release notes:
"
0.4231 - Wed Jan 29 08:47:56 CET 2020
- Released 0.42_30 without code changes
0.42_30 - Wed Jul 31 13:15:39 CEST 2019
- Add dependency on ExtUtils::PL2Bat
"
Add ptest RDEPENDS:
- ExtUtils::Command::MM for t/compat.t
- gcc, make didn't seem like enough for ptest, replace with
packagegroup-core-buildessential which definitely works
- perl-dev for EXTERN.h in t/xs.t
Add INSANE_SKIP dev-deps for the -ptest package because of perl-dev
Five tests from t/help.t are skipped because they are TODO
t/par.t is skipped because PAR::Dist (0.17+) is not present
t/ppm.t is skipped because "HTML support not installed"
All other tests pass.
(From OE-Core rev: 7c22dc2e34af2530a73f3af2876f0f5f5b65c7c8)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bfd_stdint.h encodes the name of the compiler in the header
which is different between mutlilibs. Remvoe target prefix to
make the headers match.
(From OE-Core rev: 62cd67ac4ca39edac3c57f648669f1427b6fe7dd)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cups-config encodes the library dir in the script.
(From OE-Core rev: 0e19b25fbf1d760c06dd6a2cb8e291c7482330c4)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
apu-1-config encodes library path in to script
27c27
< libdir="/usr/lib64"
(From OE-Core rev: 3682d0ca3ffeb84fd2f935a9c9b253e015c9e137)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have had similar problems with missing atomics on arm6 that arm5
has.
(From OE-Core rev: 3971b6278f88b7f780f6d03847c2fed6bfd98d8c)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
buildtools-extended does not provide libcrypt, and some native
applications require it, like clang. While it would likely make sense to
include nativesdk-libxcrypt in the buildtools it would also likely make
sense to remove the dependancy on the host libcrypt for those
applications that need it.
(From OE-Core rev: 4fa12fac6d320723d08fa7ab1635f63fbe01ad4d)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
ef3886a722c8 Linux 5.2.32
ce5a5accc87e dm thin: fix use-after-free in metadata_pre_commit_callback
9aafc6574336 cifs: Fix memory allocation in __smb2_handle_cancelled_cmd()
e177f6d8471e drm/amd/display: add default clocks if not able to fetch them
dba8b53f1ef4 drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()
bd427585578d drm/radeon: fix r1xx/r2xx register checker for POT textures
b56603ead990 drm/i915/fbc: Disable fbc by default on all glk+
5ce9d8bdf796 drm/nouveau/kms/nv50-: Limit MST BPC to 8
86bdcc48feb0 drm/nouveau/kms/nv50-: Store the bpc we're using in nv50_head_atom
b039a9b6d8f4 drm/nouveau/kms/nv50-: Call outp_atomic_check_view() before handling PBN
03e122dbc136 scsi: qla2xxx: Fix incorrect SFUB length used for Secure Flash Update MB Cmd
8bf5409573de scsi: qla2xxx: Correctly retrieve and interpret active flash region
7af719a2ca84 scsi: qla2xxx: Change discovery state before PLOGI
1fea09aa4b42 scsi: qla2xxx: Added support for MPI and PEP regions for ISP28XX
30205f999d12 scsi: qla2xxx: Initialize free_work before flushing it
39ec6bc75116 scsi: qla2xxx: Ignore NULL pointer in tcm_qla2xxx_free_mcmd
1f08dd5fa5c5 scsi: iscsi: Fix a potential deadlock in the timeout handler
42a2fbbc708f dm thin: Flush data device before committing metadata
56d35c21552b dm thin metadata: Add support for a pre-commit callback
d658f6349a2f dm btree: increase rebalance threshold in __rebalance2()
3aca6fce0d4e dm mpath: remove harmful bio-based optimization
2363f92cde9c drm: meson: venc: cvbs: fix CVBS mode matching
2878bba5052a dma-buf: Fix memory leak in sync_file_merge()
b10d7f86b5ca vfio/pci: call irq_bypass_unregister_producer() before freeing irq
099085c85deb ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume()
674f30df2798 ARM: dts: s3c64xx: Fix init order of clock providers
7fe7993bd757 cifs: Fix retrieval of DFS referrals in cifs_mount()
6fef05311f57 CIFS: Fix NULL pointer dereference in mid callback
42d37a87a332 CIFS: Do not miss cancelled OPEN responses
ca8deb792b01 CIFS: Close open handle after interrupted close
df192003fb6b CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
40ae22555ce3 cifs: Don't display RDMA transport on reconnect
969925ff652b cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state
82fe0b779a89 cifs: smbd: Return -EINVAL when the number of iovs exceeds SMBDIRECT_MAX_SGE
d88fc76297a7 cifs: smbd: Add messages on RDMA session destroy and reconnection
f1bede222a44 cifs: smbd: Only queue work for error recovery on memory registration
118c2599caf3 cifs: smbd: Return -EAGAIN when transport is reconnecting
2c3c6e2691ff rpmsg: glink: Free pending deferred work on remove
7286d52aa88c rpmsg: glink: Don't send pending rx_done during remove
eed61c8c6667 rpmsg: glink: Fix rpmsg_register_device err handling
00b748a63488 rpmsg: glink: Put an extra reference during cleanup
ebb78ad8b431 rpmsg: glink: Fix use after free in open_ack TIMEOUT case
b3f09043fc81 rpmsg: glink: Fix reuse intents memory leak issue
5bfb2ef7a181 rpmsg: glink: Set tail pointer to 0 at end of FIFO
63045fa07fba xtensa: fix syscall_set_return_value
9247f95643ef xtensa: fix TLB sanity checker
c848ea0969ce gfs2: fix glock reference problem in gfs2_trans_remove_revoke
eb30a9e18f47 xtensa: use MEMBLOCK_ALLOC_ANYWHERE for KASAN shadow map
adff286a3be5 PCI: Apply Cavium ACS quirk to ThunderX2 and ThunderX3
f28f30c5255c PCI: rcar: Fix missing MACCTLR register setting in initialization sequence
cb5cb799bf0b PCI: Do not use bus number zero from EA capability
d291c94f8e57 PCI/MSI: Fix incorrect MSI-X masking on resume
eb24be2871ad PCI: Fix Intel ACS quirk UPDCR register address
06ad330304d2 PCI: pciehp: Avoid returning prematurely from sysfs requests
5d558c8b1439 PCI/PM: Always return devices to D0 when thawing
84dfe86a3851 PCI/switchtec: Read all 64 bits of part_event_bitmap
0db244d3995f mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response
845b2cbece34 mmc: block: Make card_busy_detect() a bit more generic
5db0e71cbee1 libertas: make lbs_ibss_join_existing() return error code on rates overflow
36e460a8c861 libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held
2aabb3fcd7fe libertas: Fix two buffer overflows at parsing bss descriptor
8866a53c5e7a Linux 5.2.31
33a9ecf23bdb hsr: fix a NULL pointer dereference in hsr_dev_xmit()
c5eba532e308 gre: refetch erspan header from skb->data after pskb_may_pull()
8477c46262fa tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
d46e87f84fd4 tcp: tighten acceptance of ACKs not matching a child socket
06b27e9e4496 tcp: fix rejected syncookies due to stale timestamps
d3ce127be5c7 net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
31ecfe259fba net: ipv6: add net argument to ip6_dst_lookup_flow
1a45655b78c5 net/mlx5e: Query global pause state before setting prio2buffer
10ac0045c8a7 tipc: fix ordering of tipc module init and exit routine
f8089e38f286 tcp: md5: fix potential overestimation of TCP option space
c9b8428b8b42 openvswitch: support asymmetric conntrack
ab45bc5d7c6f net/tls: Fix return values to avoid ENOTSUPP
aaa20d4352a1 net: thunderx: start phy before starting autonegotiation
aebf8e234674 net: sched: fix dump qlen for sch_mq/sch_mqprio with NOLOCK subqueues
876e02c6b8de net: ethernet: ti: cpsw: fix extra rx interrupt
75b099157e3b net: dsa: fix flow dissection on Tx path
b8c2a07d7fc9 net: bridge: deny dev_set_mac_address() when unregistering
ef141fca118c mqprio: Fix out-of-bounds access in mqprio_dump
a0484dba9932 inet: protect against too small mtu values.
7d923144ef6e net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add()
c0f777b6c28d SUNRPC: Fix another issue with MIC buffer space
cce35a47eb7c raid5: need to set STRIPE_HANDLE for batch head
2b15565d1a62 workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
2fb67c1da0c0 blk-mq: make sure that line break can be printed
588d5a85b106 ext4: fix a bug in ext4_wait_for_tail_page_commit
87b234005394 splice: only read in as much information as there is pipe buffer space
de86c841c81b rtc: disable uie before setting time and enable after
d4e7102cc326 mm/shmem.c: cast the type of unmap_start to u64
922a48c3e94d s390/kaslr: store KASLR offset for early dumps
3b7d69248f06 s390/smp,vdso: fix ASCE handling
546e9a689d3e firmware: qcom: scm: Ensure 'a0' status code is treated as signed
a9b6310e93a4 ext4: work around deleting a file with i_nlink == 0 safely
609a4e56145d mm: memcg/slab: wait for !root kmem_cache refcnt killing on root kmem_cache destruction
3d5c91034234 mfd: rk808: Fix RK818 ID template
fbac2f7aa1c3 mm, memfd: fix COW issue on MAP_PRIVATE and F_SEAL_FUTURE_WRITE mappings
118197756683 powerpc: Fix vDSO clock_getres()
9ba5c6dcb3b7 powerpc: Avoid clang warnings around setjmp and longjmp
7c36247732a2 omap: pdata-quirks: remove openpandora quirks for mmc3 and wl1251
1eff30510478 omap: pdata-quirks: revert pandora specific gpiod additions
5dbe853560e4 iio: ad7949: fix channels mixups
7df6007288fd iio: ad7949: kill pointless "readback"-handling code
109dbc91c5a8 iio: imu: st_lsm6dsx: fix ODR check in st_lsm6dsx_write_raw
6305866e630c iio: imu: st_lsm6dsx: move odr_table in st_lsm6dsx_sensor_settings
9073b0be6589 scsi: lpfc: Fix bad ndlp ptr in xri aborted handling
13f83b3a2688 reiserfs: fix extended attributes on the root directory
e026fc523a75 ext4: Fix credit estimate for final inode freeing
b09b4d152aa2 quota: fix livelock in dquot_writeback_dquots
513bcf5ee8e0 seccomp: avoid overflow in implicit constant conversion
ae57738ec38a ext2: check err when partial != NULL
b7c24d8c06b8 quota: Check that quota is not dirty before release
42e495b46f80 video/hdmi: Fix AVI bar unpack
6739872abdfd powerpc/xive: Skip ioremap() of ESB pages for LSI interrupts
7d55c5e73263 powerpc: Allow flush_icache_range to work across ranges >4GB
be0cd7e9b258 powerpc/xive: Prevent page fault issues in the machine crash handler
99d2164e4865 powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
f0f08beb3fa0 stm class: Lose the protocol driver when dropping its reference
c0919315b735 ppdev: fix PPGETTIME/PPSETTIME ioctls
86de25118e9c RDMA/core: Fix ib_dma_max_seg_size()
f5aae41d4eac ARM: dts: omap3-tao3530: Fix incorrect MMC card detection GPIO polarity
5cc72ba36683 mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid of pandora_wl1251_init_card
f15fa36b9c6b pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
da352a4b5493 pinctrl: samsung: Fix device node refcount leaks in init code
738e8de6b8d2 pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init
53149343fc98 pinctrl: samsung: Fix device node refcount leaks in Exynos wakeup controller init
43cb61f4878b pinctrl: samsung: Add of_node_put() before return in error path
72f6c3180468 pinctrl: armada-37xx: Fix irq mask access in armada_37xx_irq_set_type()
e264e3ae1165 pinctrl: rza2: Fix gpio name typos
61a4f44dc075 ACPI: PM: Avoid attaching ACPI PM domain to certain devices
0a041ba2564a ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()
b56eca6bf2e4 ACPI: OSL: only free map once in osl.c
2ba38c34447d ACPI / hotplug / PCI: Allocate resources directly under the non-hotplug bridge
0a4cab60dde2 ACPI: LPSS: Add dmi quirk for skipping _DEP check for some device-links
487afadea2fd ACPI: LPSS: Add LNXVIDEO -> BYT I2C1 to lpss_device_links
9af85668040a ACPI: LPSS: Add LNXVIDEO -> BYT I2C7 to lpss_device_links
e055c1890429 ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI
5eac1d4c2450 ALSA: oxfw: fix return value in error path of isochronous resources reservation
33e6efad9334 cpufreq: powernv: fix stack bloat and hard limit on number of CPUs
7240e6e25891 PM / devfreq: Lock devfreq in trans_stat_show
92741be9a736 intel_th: pci: Add Tiger Lake CPU support
69d1163cd0f4 intel_th: pci: Add Ice Lake CPU support
5ac267cabcd9 intel_th: Fix a double put_device() in error path
a3784ad079c6 powerpc/perf: Disable trace_imc pmu
08ded9339d52 cpuidle: teo: Fix "early hits" handling for disabled idle states
30b23caa5deb cpuidle: teo: Consider hits and misses metrics of disabled states
0df48241b6ab cpuidle: teo: Rename local variable in teo_select()
db302e3bb162 cpuidle: teo: Ignore disabled idle states that are too deep
ade564919a0c cpuidle: Do not unset the driver if it is there already
f2a7f16026f9 media: cec.h: CEC_OP_REC_FLAG_ values were swapped
342c964a9895 media: radio: wl1273: fix interrupt masking on release
780fe9f19c38 media: bdisp: fix memleak on release
348cecf72f8e s390/mm: properly clear _PAGE_NOEXEC bit when it is not supported
9ec8636ef00a ar5523: check NULL before memcpy() in ar5523_cmd()
6fc971f1d831 wil6210: check len before memcpy() calls
ba29035eb4bc cgroup: pids: use atomic64_t for pids->limit
873f0623fcbe blk-mq: avoid sysfs buffer overflow with too many CPU cores
758af427f60f md: improve handling of bio with REQ_PREFLUSH in md_flush_request()
3882ad8fadb0 ASoC: fsl_audmix: Add spin lock to protect tdms
141bba39e422 ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report
a99f0045c434 ASoC: rt5645: Fixed typo for buddy jack support.
1ecdb55a6de6 ASoC: rt5645: Fixed buddy jack support.
d78e1588f356 workqueue: Fix pwq ref leak in rescuer_thread()
86226c42d8f7 workqueue: Fix spurious sanity check failures in destroy_workqueue()
7b79872cb160 dm zoned: reduce overhead of backing device checks
b7c4feffa872 dm writecache: handle REQ_FUA
fa700de0abd2 hwrng: omap - Fix RNG wait loop timeout
903867fe506a ovl: relax WARN_ON() on rename to self
8b2e7fec9f26 ovl: fix corner case of non-unique st_dev;st_ino
c73fe5396edf ovl: fix lookup failure on multi lower squashfs
15fe8b7f7962 lib: raid6: fix awk build warnings
b8f32a0e26fb rtlwifi: rtl8192de: Fix missing enable interrupt flag
0917a96e2d3a rtlwifi: rtl8192de: Fix missing callback that tests for hw release of buffer
32c6c1de1c05 rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address
f1da748f078d btrfs: record all roots for rename exchange on a subvol
017f00a09704 Btrfs: send, skip backreference walking for extents with many references
f08e9d661548 btrfs: Remove btrfs_bio::flags member
f01ca4344ffe btrfs: Avoid getting stuck during cyclic writebacks
07383f0fced7 Btrfs: fix negative subv_writers counter and data space leak after buffered write
69608bab8b1b Btrfs: fix metadata space leak on fixup worker failure to set range as delalloc
6bab2f18b421 btrfs: use refcount_inc_not_zero in kill_all_nodes
b703482bc2ec btrfs: check page->mapping when loading free space cache
11b102bc593e iwlwifi: pcie: fix support for transmitting SKBs with fraglist
7a569d85c92b usb: typec: fix use after free in typec_register_port()
254d37011ab2 phy: renesas: rcar-gen3-usb2: Fix sysfs interface of "role"
26593100f6a1 usb: dwc3: ep0: Clear started flag on completion
d2e949f9d6c5 usb: dwc3: gadget: Clear started flag for non-IOC
077399428186 usb: dwc3: gadget: Fix logical condition
545da1614800 usb: dwc3: pci: add ID for the Intel Comet Lake -H variant
393edc8f15ca virtio-balloon: fix managed page counts when migrating pages between zones
15c579c3d104 virt_wifi: fix use-after-free in virt_wifi_newlink()
3891c22e7b74 mtd: rawnand: Change calculating of position page containing BBM
175a15f4c288 mtd: spear_smi: Fix Write Burst mode
5738119a60ed brcmfmac: disable PCIe interrupts before bus reset
ab35b8b9a235 EDAC/altera: Use fast register IO for S10 IRQs
deda3f6b06dc tpm: add check after commands attribs tab allocation
ebb7dae402e3 usb: mon: Fix a deadlock in usbmon between mmap and read
650d955bc548 usb: core: urb: fix URB structure initialization function
d54daa869ed5 USB: adutux: fix interface sanity check
3e4a4cb54c04 usb: roles: fix a potential use after free
14fa9bcb6a07 USB: serial: io_edgeport: fix epic endpoint lookup
174f3783b4f0 USB: idmouse: fix interface sanity checks
6facde75d1c8 USB: atm: ueagle-atm: add missing endpoint check
b4972eba6831 iio: adc: ad7124: Enable internal reference
b609ee0b3024 iio: adc: ad7606: fix reading unnecessary data from device
bc27d17532dd iio: imu: inv_mpu6050: fix temperature reporting using bad unit
edfeae1a5a70 iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
76a78a37799d iio: adis16480: Fix scales factors
a8f0c5837cca iio: adis16480: Add debugfs_reg_access entry
a02348d262b3 ARM: dts: pandora-common: define wl1251 as child node of mmc3
43a05d85e421 interconnect: qcom: sdm845: Walk the list safely on node removal
3ea35e60e8c8 xhci: make sure interrupts are restored to correct state
0df691c29da9 xhci: handle some XHCI_TRUST_TX_LENGTH quirks cases as default behaviour.
d10974513d17 xhci: Increase STS_HALT timeout in xhci_suspend()
40ccc7fb3125 xhci: fix USB3 device initiated resume race with roothub autosuspend
8f015d20b7d5 xhci: Fix memory leak in xhci_add_in_port()
de53955ea0d3 usb: xhci: only set D3hot for pci device
13d723a6c22c staging: gigaset: add endpoint-type sanity check
ed9145e7d4a4 staging: gigaset: fix illegal free on probe errors
a193faef6209 staging: gigaset: fix general protection fault on probe
a48994561cab staging: vchiq: call unregister_chrdev_region() when driver registration fails
38beaaec130c staging: rtl8712: fix interface sanity check
238af85b081b staging: rtl8188eu: fix interface sanity check
9517a9f133fd binder: fix incorrect calculation for num_valid
a65c5b1d8762 usb: host: xhci-tegra: Correct phy enable sequence
0da1ca92c578 usb: Allow USB device to be warm reset in suspended state
fa74b02fa20f USB: documentation: flags on usb-storage versus UAS
46f840a92233 USB: uas: heed CAPACITY_HEURISTICS
9cc58d6fb42e USB: uas: honor flag to avoid CAPACITY16
19ccc7083566 media: venus: remove invalid compat_ioctl32 handler
6f4b7b312148 scsi: zfcp: trace channel log even for FCP command responses
6975c6beb5f0 usb: gadget: pch_udc: fix use after free
6f10fa4a113c rpmsg: char: release allocated memory
f01eedaf4e09 mac80211: Do not send Layer 2 Update frame before authorization
38b2d9bb7b57 libertas: fix a potential NULL pointer dereference
2789290efc0b mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()
fd820abb0696 Linux 5.2.30
10f017c26642 spi: dw: Correct handling of native chipselect
9e79f5ae512f spi: cadence: Correct handling of native chipselect
db91ee312ada drm/sun4i: tcon: Set RGB DCLK min. divider based on hardware model
9eeb986b4809 clk: samsung: exynos5420: Keep top G3D clocks enabled
99232a68c619 block: fix "check bi_size overflow before merge"
f54449c00a10 EDAC/ghes: Do not warn when incrementing refcount on 0
4f18ed319605 ALSA: hda: Fix regression by strip mask fix
a550c8d05657 io_uring: ensure req->submit is copied when req is deferred
7b57a96cf3b7 Input: Fix memory leak in psxpad_spi_probe
a006a5ae6b91 ALSA: hda: hdmi - fix pin setup on Tigerlake
85435506e9e0 EDAC/ghes: Fix locking and memory barrier issues
81a005d25b01 watchdog: aspeed: Fix clock behaviour for ast2600
c3f6c163ac89 md/raid0: Fix an error message in raid0_make_request()
e90488c1856c ALSA: hda - Fix pending unsol events at shutdown
ac5a40962daf KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332)
949540e93943 binder: Handle start==NULL in binder_update_page_range()
75a11437a803 binder: Prevent repeated use of ->mmap() via NULL mapping
e0a0299acecb binder: Fix race between mmap() and binder_alloc_print_pages()
ba5d71130445 thermal: Fix deadlock in thermal thermal_zone_device_check
cf162b1f1d6f iomap: Fix pipe page leakage during splicing
1ede48d1d47e RDMA/qib: Validate ->show()/store() callbacks before calling them
6df074625c15 can: ucan: fix non-atomic allocation in completion handler
1233eadb99a9 spi: Fix NULL pointer when setting SPI_CS_HIGH for GPIO CS
cad0ca361138 spi: Fix SPI_CS_HIGH setting when using native and GPIO CS
25ac2d29646a spi: atmel: Fix CS high support
efd56e6b1fbd spi: stm32-qspi: Fix kernel oops when unbinding driver
dfbd2a22d8b1 spi: spi-fsl-qspi: Clear TDH bits in FLSHCR register
d7e9115f21e0 spi: spi-fsl-qspi: change i.MX7D RX FIFO size
76cde0d7ff39 crypto: ecdh - fix big endian bug in ECC library
36759ce37925 crypto: ccp - fix uninitialized list head
8ba8fa9fc2db crypto: geode-aes - switch to skcipher for cbc(aes) fallback
86a44e8938be crypto: af_alg - cast ki_complete ternary op to int
9ff009403999 crypto: atmel-aes - Fix IV handling when req->nbytes < ivsize
2cbf74169383 crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr
f6981b364dae KVM: x86: Grab KVM's srcu lock when setting nested state
c08ddad72e7b KVM: x86: Remove a spurious export of a static function
317fd0a0c93d KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES
7f70f6380882 KVM: x86: do not modify masked bits of shared MSRs
6384ad0ab29b KVM: arm/arm64: vgic: Don't rely on the wrong pending table
bdcecb6dd8e8 KVM: nVMX: Always write vmcs02.GUEST_CR3 during nested VM-Enter
3600a4189d12 KVM: PPC: Book3S HV: XIVE: Set kvm->arch.xive when VPs are allocated
34e8d4a0ef05 KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path
4ebdbf4ff503 KVM: PPC: Book3S HV: XIVE: Free previous EQ page when setting up a new one
cc73381579f9 arm64: dts: exynos: Revert "Remove unneeded address space mapping for soc node"
1d19cc75f715 drm/i810: Prevent underflow in ioctl
16f54bf33fce drm: damage_helper: Fix race checking plane->state->fb
20a0047cdca4 drm/msm: fix memleak on release
6c34f27046e3 jbd2: Fix possible overflow in jbd2_log_space_left()
5b1ab9f1a2c0 kernfs: fix ino wrap-around detection
910116ce4349 nfsd: restore NFSv3 ACL support
6589961e5ec7 nfsd: Ensure CLONE persists data and metadata changes to the target file
574498a02845 tty: vt: keyboard: reject invalid keycodes
c75342d33dd5 CIFS: Fix SMB2 oplock break processing
c8c867906145 CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks
2199093ff906 x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
4d34c238f6ee x86/mm/32: Sync only to VMALLOC_END in vmalloc_sync_all()
64a582385b92 media: rc: mark input device as pointing stick
70fd4e1972e8 coresight: etm4x: Fix input validation for sysfs.
55c0be64071e Input: goodix - add upside-down quirk for Teclast X89 tablet
2405495a00f8 Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers
868c29a7efd0 Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash
0e606e3626e6 Input: synaptics - switch another X1 Carbon 6 to RMI/SMbus
94adc53b2c47 ALSA: hda: Modify stream stripe mask only when needed
a527c3df9f54 ALSA: hda - Add mute led support for HP ProBook 645 G4
accc2add3da3 ALSA: pcm: oss: Avoid potential buffer overflows
55f6418b7ae3 ALSA: hda/realtek - Dell headphone has noise on unmute for ALC236
bbad17075fe3 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
fcfb4bce22aa ALSA: hda/realtek - Enable internal speaker of ASUS UX431FLC
83753976cfae fuse: verify attributes
a6f6439eb10f fuse: verify nlink
31aa652b9a69 i2c: core: fix use after free in of_i2c_notify
92084c0b356d net: ep93xx_eth: fix mismatch of request_mem_region in remove
f75cb980f0ab afs: Fix race in commit bulk status fetch
26167b5cf5df net: hns3: fix ETS bandwidth validation bug
037e0cbe8863 net: hns3: reallocate SSU' buffer size when pfc_en changes
423f97775629 ravb: implement MTU change while device is up
ba49aa6bccbb rsxx: add missed destroy_workqueue calls in remove
6dbf3b9cc169 selftests: kvm: fix build with glibc >= 2.30
334204bdbd89 drm/sun4i: tcon: Set min division of TCON0_DCLK to 1.
d2001cf2e8d3 x86/resctrl: Fix potential lockdep warning
7bf14c3c120b ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
57dbe72b9638 perf/core: Consistently fail fork on allocation failures
24a8ce6100ab sched/pelt: Fix update of blocked PELT ordering
cadf46055b6f sched/core: Avoid spurious lock dependencies
b8a654dde72b Input: cyttsp4_core - fix use after free bug
9bcb8316e536 block: check bi_size overflow before merge
f05d37196a77 xfrm: release device reference for invalid state
e630f0eab8b3 NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error
14f8f24bfcbc ALSA: hda: Add Cometlake-S PCI ID
85deda956139 ecryptfs: fix unlink and rmdir in face of underlying fs modifications
7a7b13483234 audit_get_nd(): don't unlock parent too early
6f26d186c431 exportfs_decode_fh(): negative pinned may become positive without the parent locked
d5a9bd7dc9c2 cgroup: don't put ERR_PTR() into fc->root
5490ae827b29 iwlwifi: pcie: don't consider IV len in A-MSDU
5bc1282dfb21 RDMA/hns: Correct the value of srq_desc_size
9b0df7c7e42c RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
bf7d03571100 MIPS: SGI-IP27: fix exception handler replication
b578c711e5e7 autofs: fix a leak in autofs_expire_indirect()
81559b396efa aio: Fix io_pgetevents() struct __compat_aio_sigset layout
03bd68a92f82 signal: simplify set_user_sigmask/restore_user_sigmask
88300b370dbc serial: ifx6x60: add missed pm_runtime_disable
06eb5d963912 serial: serial_core: Perform NULL checks for break_ctl ops
c811b133b3e7 serial: pl011: Fix DMA ->flush_buffer()
d451358ffe85 tty: serial: msm_serial: Fix flow control
5b10978724e0 tty: serial: fsl_lpuart: use the sg count from dma_map_sg
c38c3a52315f usb: gadget: u_serial: add missing port entry locking
b30c295d649b time: Zero the upper 32-bits in __kernel_timespec on 32-bit
9f06fb5da07e lp: fix sparc64 LPSETTIMEOUT ioctl
068341cb7952 sparc64: implement ioremap_uc
932b771c65b6 arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator
edc3ff235784 net: fec: fix clock count mis-match
ed9b79600a5d platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size
952328f5193b platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer
da62cf911005 HID: core: check whether Usage Page item is after Usage ID items
fb85a234fc39 tipc: fix link name length check
0867e153690e selftests: bpf: test_sockmap: handle file creation failures gracefully
cd73a77a2288 net/tls: use sg_next() to walk sg entries
55c1ea6758d8 net/tls: remove the dead inplace_crypto code
c824b8c9957b net: skmsg: fix TLS 1.3 crash with full sk_msg
45c795cbee84 net: sockmap: use bitmap for copy info
c1c89460bda2 net/tls: free the record on encryption error
1468022cc8f2 net/tls: take into account that bpf_exec_tx_verdict() may free the record
a3157970686f openvswitch: remove another BUG_ON()
bacb11535532 openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()
744916544dba sctp: cache netns in sctp_ep_common
f4312b9ba27c sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook
8d442143ccd4 openvswitch: fix flow command message size
b834278b4d0a net: sched: fix `tc -s class show` no bstats on class with nolock subqueues
2f47935914f8 net: psample: fix skb_over_panic
8fc3ccb35fba net: macb: add missed tasklet_kill
9243823cd73a net: dsa: sja1105: fix sja1105_parse_rgmii_delays()
1e7ff496e195 mdio_bus: don't use managed reset-controller
f458119c914d macvlan: schedule bc_work even if error
442b4bac7514 xfrm: Fix memleak on xfrm state destroy
d06561a292bf thunderbolt: Power cycle the router if NVM authentication fails
97a4d0528c98 mei: me: add comet point V device id
aa6a4bfabb1a mei: bus: prefix device names on bus with the bus name
fb94cd58ee14 USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
33c6adbab912 staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids
34820fb849a8 staging: rtl8723bs: Drop ACPI device ids
18ff3bb126fe staging: rtl8192e: fix potential use after free
955068eb7918 staging: wilc1000: fix illegal memory access in wilc_parse_join_bss_param()
afe6f4526509 usb: dwc2: use a longer core rest timeout in dwc2_core_reset()
4b15bd43d8ed clk: at91: fix update bit maps on CFG_MOR write
6ed6cd2d7f8a i40e: Fix for ethtool -m issue on X722 NIC
ddcdd3cc96f1 i40e: Fix for missing "link modes" info in ethtool
ae4d08f3a69b iavf: initialize ITRN registers with correct values
12c0db2518f8 ice: fix potential infinite loop because loop counter being too small
c105a4b2019d pwm: bcm-iproc: Prevent unloading the driver module while in use
66f3f3c4da1e block: drbd: remove a stray unlock in __drbd_send_protocol()
11748bed1eeb mac80211: fix station inactive_time shortly after boot
2df48b15a9ca net/fq_impl: Switch to kvmalloc() for memory allocation
1332a34432a5 ceph: return -EINVAL if given fsc mount option on kernel w/o support
218333cf3e5b net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AV
e8fec331b7e3 net: stmmac: xgmac: Fix TSA selection
f7e0994188b2 net: stmmac: gmac4: bitrev32 returns u32
d99d2e2d5c7d drm/amdgpu: add warning for GRBM 1-cycle delay issue in gfx9
3db9d787fbbe net: mscc: ocelot: fix __ocelot_rmw_ix prototype
23d1a942d638 net/mlx5e: Fix eswitch debug print of max fdb flow
c26064b7eda5 drm/amdgpu: dont schedule jobs while in reset
d61b5d11db4b net: bcmgenet: reapply manual settings to the PHY
303f8e7b7d18 net: bcmgenet: use RGMII loopback for MAC reset
82077751014a scripts/gdb: fix debugging modules compiled with hot/cold partitioning
7b20840690f5 mm/gup_benchmark: fix MAP_HUGETLB case
c7816d20058f ASoC: SOF: topology: Fix bytes control size checks
1b3afeddab4a ARM: dts: stm32: Fix CAN RAM mapping on stm32mp157c
4de26c8cbe50 ALSA: hda: hdmi - add Tigerlake support
f43786eb3acb ASoC: stm32: sai: add restriction on mmap support
36fa7d5299c2 watchdog: bd70528: Add MODULE_ALIAS to allow module auto loading
f023dd202f6b watchdog: meson: Fix the wrong value of left time
9054f01030f8 watchdog: pm8916_wdt: fix pretimeout registration flow
2c25aa88640f nvme-multipath: fix crash in nvme_mpath_clear_ctrl_paths
6fdb636145b0 nvme-rdma: fix a segmentation fault during module unload
43bd0bf71860 can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition
7091bcbccb6b perf scripting engines: Iterate on tep event arrays directly
7371326920db x86/tsc: Respect tsc command line paraemeter for clocksource_tsc_early
8efe12d76d7e can: flexcan: increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails
4a3333ea25b1 can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error
a26a27d53b40 can: rx-offload: can_rx_offload_irq_offload_timestamp(): continue on error
39b89fc6625f can: rx-offload: can_rx_offload_offload_one(): use ERR_PTR() to propagate error value in case of errors
f6b5da01db2f can: rx-offload: can_rx_offload_offload_one(): increment rx_fifo_errors on queue overflow or OOM
acb9095493be can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max
189c1239632b can: rx-offload: can_rx_offload_queue_tail(): fix error handling, avoid skb mem leak
7ac97e4ef4d9 can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open
1ac0d4885a34 can: peak_usb: report bus recovery as well
b542266496fa stacktrace: Don't skip first entry on noncurrent tasks
afe7ff5be406 bridge: ebtables: don't crash when using dnat target in output chains
a19d86990335 netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT
17db97a8e7d5 netfilter: ipset: Fix the last missing check of nla_parse_deprecated()
5f4ada6390b6 net: fec: add missed clk_disable_unprepare in remove
0b283b59a62f clk: ti: clkctrl: Fix failed to enable error with double udelay timeout
b70eae1c4480 clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call
aab6b68e53eb ASoC: hdac_hda: fix race in device removal
b23f8d6ca25f fbdev: c2p: Fix link failure on non-inlining
51c019bf2c42 arm64: dts: zii-ultra: fix ARM regulator GPIO handle
819ee4651182 x86/resctrl: Prevent NULL pointer dereference when reading mondata
4d71464d5830 idr: Fix idr_alloc_u32 on 32-bit systems
9956dbb774e4 idr: Fix integer overflow in idr_for_each_entry
a530ec599a8a idr: Fix idr_get_next_ul race with idr_remove
6909ddf4276c powerpc/bpf: Fix tail call implementation
957928006316 samples/bpf: fix build by setting HAVE_ATTR_TEST to zero
d3a556320b11 bpf: Allow narrow loads of bpf_sysctl fields with offset > 0
4fd976da64d7 ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend
1d6d86b21245 clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18
440f439c1041 clk: sunxi: Fix operator precedence in sunxi_divs_clk_setup
b4c8fc7dcab9 clk: at91: avoid sleeping early
c42ce4122e86 ASoC: ti: sdma-pcm: Add back the flags parameter for non standard dma names
32ea5f2ae3b6 arm64: dts: imx8mm: fix compatible string for sdma
4071d8976ac5 reset: fix reset_control_ops kerneldoc comment
b178a6e8f8f3 soc: imx: gpc: fix initialiser format
0a751a005ded ARM: dts: imx6qdl-sabreauto: Fix storm of accelerometer interrupts
946654641741 pinctrl: cherryview: Allocate IRQ chip dynamic
66c7b484cae0 clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
30c758e0a731 arm64: dts: ls1028a: fix a compatible issue
ba3e13683df7 ASoC: kirkwood: fix device remove ordering
d7ee3bbc1085 ASoC: kirkwood: fix external clock probe defer
7a754f5e5751 clk: samsung: exynos542x: Move G3D subsystem clocks to its sub-CMU
2361cffc9775 clk: samsung: exynos5433: Fix error paths
e1fc074e8178 reset: Fix memory leak in reset_control_array_put()
b01838b0ca64 ASoC: compress: fix unsigned integer overflow check
41360b33fec2 ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX
e7fc8cc79377 soundwire: intel: fix intel_register_dai PDI offsets and numbers
82b111a092b1 clocksource/drivers/mediatek: Fix error handling
85c26d3b879d thunderbolt: Fix lockdep circular locking depedency warning
a41faef2aef6 thunderbolt: Read DP IN adapter first two dwords in one go
0b4d76ea32e5 clk: at91: sam9x60: fix programmable clock
3ac5085a98ba clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate
922eddf892e2 XArray: Fix xas_next() with a single entry at 0
(From OE-Core rev: 34278c33bf1f2f3a7810946ca07765014f228c9d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
woff2 is now available in meta-webkit.
(From OE-Core rev: a5beb977a57e7b1941a2a1c5c130881b74da3b6b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
x11 can be replaced with wayland.
opengl is mandatory only with wayland.
Without x11, use gles2 for opengl.
(From OE-Core rev: 1408c00d619d862d4da63882a86ff096a891ad5d)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also adjust them to what OptionsGTK currently checks.
(From OE-Core rev: 082ccd85589a230810621425ddbf438a03df437e)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For GUI automation purposes, strong motivation for accessibility (a11y)
via python3-dogtail and python3-pyatspi2, so taking over from Anuj.
(From OE-Core rev: fb0a7ab133434febc78ce4f4d00f1192935ad95e)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This needs __UAPI_DEF_ETHHDR to be set to 0 which now
taken care by CFLAGS
(From OE-Core rev: fc0593839f9bec7e0c21665ab6d9d742252f4210)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without the proper default tune in TUNE_FEATURES, certain variables
won't expand correctly. MACHINEOVERRIDES won't add cortexa72-cortexa53:
TUNE_CCARGS won't add -mtune=cortexa72.cortexa-53, generating the toolchain
incorrectly.
Adding missing 'cortexa72-cortexa53' to both
TUNE_FEATURES_tune-cortexa72-cortexa53 and
TUNE_FEATURES_tune-cortexa72-cortexa53-crypto
(From OE-Core rev: eee65bed5ee39051541a0a3f2a311396d6e7326c)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove timestamp from gzipped manpage.
(From OE-Core rev: bd0236d1b35831b23882e1f1af86504d62e5d0b9)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
logsave is a duplicate from e2fsprogs, which was already removed,
but the man page remained which is also a duplicate. However it
does not get modifed on install so it conflicts with the e2fsprogs
version.
(From OE-Core rev: 90ee5557c0e1d7088b5d9b7e66d70ff7fccac9a3)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are added as dependencies by mime class, which could be inherited
along with allarch and dependencies silently go into target specific
recipes and which then can result in sstate hash signature mismatches
when the allarch recipes are reused for another arch
[YOCTO #13805]
(From OE-Core rev: 510015ac81df969f690d6c8661b00bebe73b7fca)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible for sysvinit to be installed before the passwd/group
files are installed from base-passwd. This results in an warning that
the shutdown group can't be found.
Adding a dependeny on base-passwd will resolve this issue.
This has similar symptoms to the problem that oe-core commit
0227e929021263c51d2e7db36224000fecb01f1c fixed. The fix is simular in that
it ensures that base-passwd is installed first, just at runtime vs setscene
time.
(From OE-Core rev: c4fb899b19a905a2b027f33947b6ec56f55b81a6)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years and holders
(From OE-Core rev: f59334e70313676c7ab3216cb9583eefb27835e6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
DISTRO_FEATURES_remove = "wayland"
$ bitbake weston
clients/meson.build:141:4: ERROR: Problem encountered: weston-simple-dmabuf-egl
requires option renderer-gl which is not enabled. If you rather not build this,
drop "dmabuf-egl" from simple-clients option.
WARNING: exit code 1 from a shell command.
(From OE-Core rev: 9b1d30810eeecb46b977c8eed68be69aef891312)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13296]
The lib/warnings test fails on certain images such as
core-image-sato. The upstream has already fixed this issue, thus
submitting the relevent backport patch.
(From OE-Core rev: 5198aa954ad0bffb7d6609e5118f642a59595b18)
Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
--
Mingde (Matthew) Zeng
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ignore the ones ending in .90x as they are -rc releases.
(From OE-Core rev: db02bd43d84d7ece3ed214a25e114e04c966e6c5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
THis release is a mix of improvements and fixes:
https://github.com/SCons/scons/blob/3.1.2/src/RELEASE.txt
* Changed to inherit pypi rather than relying on SOURCEFORGE_MIRROR.
* Add SRC_URI for LICENSE file (not included in pypi tarball).
* Make it more obvious that RDEPENDS are for class-target and
drop empty RDEPENDS from -native
* python3-scons-native now DEPENDS on python3-setuptools-native
* Tested with core-image-base + packagegroup-core-buildessential
with "scons" oe-selftest via testimage.
* Tested build of "serf" (which uses python3-scons-native via the
scons.bbclass).
License-Update: Added "MIT License" text, updated copyright years
(From OE-Core rev: 44b46ae6c65448901477def57a45d5a4ecc2d246)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After update to 2.7.0, it fails to start ptest of ruby with errors:
| ./test/runner.rb:11:in `require_relative': cannot load such file --
/usr/lib64/ruby/ptest/tool/test/runner (LoadError)
and
| test/rdoc/test_rdoc_attr.rb: cannot load such file -- rdoc/version
| test/did_you_mean/spell_checking/test_key_name_check.rb: cannot load
such file -- /usr/lib64/ruby/ptest/lib/did_you_mean
Install the required files for the ptest.
(From OE-Core rev: be161be40c88fbac8ac17776daf3bf178a2e8f5e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only md5sum and sha256sum are currently provided by HOSTTOOLS. Trying
to use any other checksum conversion will result in a build failure.
Fix it by adding other supported checksum utilities to HOSTTOOLS.
(From OE-Core rev: 78155e5fcff9362049b576d20e31c3519c48485b)
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've found we need a way to cause a change in signatures and move
to a new hash 'namespace' with hashequiv. This introduces a variable
which allows us to do this.
(From OE-Core rev: 1c2d5aeae2fa2dfc16bc60b6cf0b310f826337fd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file /usr/share/man/man3/history.3 conflicts between attempted installs of libedit-doc-20191231+3.1-r0.corei7_64 and readline-doc-8.0-r0.corei7_64
(From OE-Core rev: 23ad05b98a2e1ced47aac3b1d7689c7146ff8c91)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can be useful with a more specific, targeted and robust set of ptest
packages; the benefit is that ptest regressions are caught as they happen
and can be more easily traced to changes that caused them.
The existing AB ptest image continues to be expected to fail, my observation
of the AB runs is that the full set of ptests is not robust enough
(particularly around socket/network related tests) and sporadically fails
in random places. This can probably be addressed by making ptests exclusive
to a worker (e.g. there is no other workload happening at the same time as
ptests).
(From OE-Core rev: 102afcc7ea7d7673183f272a29ab233084ad168b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to using the tarballs of tagged releases.
WHENCE changed due to firmware filename changes.
(From OE-Core rev: 746438e5e75d9fd4ccb461f92887a7b02a1c27d1)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even versions are shipped in Ubuntu LTS and Debian releases.
(From OE-Core rev: e190bf44ed2aef03ce8922dfbb0bb90a762bb41d)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sadly, meson makes it very difficult to install tests: the test
configuration is written into host-specific binary files, which
can't be transferred to the target. (unlike autotools where
at least everything happens via Makefiles which can be patched
and tweaked via sed and env vars)
So the configuration has to be entirely recreated in shell.
I managed this for wayland, but weston proved too difficult.
I had filed bugs asking upstream to make the tests installable:
https://gitlab.freedesktop.org/wayland/wayland/issues/146https://gitlab.freedesktop.org/wayland/weston/issues/368
(From OE-Core rev: 296ee10bb8491278f050fb9d55f42b0bcf663382)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ClutterActors can crash with strange segfaults when built without the GDK
backend but run ontop of GDK. To fix this let's add a PACKAGECONFIG to
enable/disable GDK backend support and enable it by default.
(From OE-Core rev: cb03ccec2926eae6d8eaf1606a7d11fcc54f1820)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 52971eeaaf.
The original problem was later fix by
psmisc: revert to default autopoint exclusion
(From OE-Core rev: 007df9bba56f885dd847b2f8b24fb250bcdd386f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are no users left in OE-core.
(From OE-Core rev: 2c5d140a8a2b794b36ed9535afc278cec2ef306f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid:
qemux86-64 psplash-systemd[135]: Error unable to open fifo
by adding the missing dependency on /run/ where the fifo resides.
Also, psplash-systemd requires psplash-start, not the other way around
as the splash creates the fifo which the other then needs to open.
(From OE-Core rev: e31ad1b58e8dbac2e299bc0cb872c3a82db14717)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make use of the recently added systemd support in psplash. The utility
psplash-systemd communicates boot progress to the splash screen. The
splash is disabled once systemd consideres the system fully booted
(progress is at 1.0). Note that this can take a while if systemd is
stuck on a failing unit.
This change adds two systemd services. One service starts psplash itself
(psplash-start.service) and the second service starts the helper utility
psplash-systemd (psplash-systemd.service). The units are written such
that psplash-systemd.service can be used indepenendenly. This is useful
when starting psplash in initramfs (not using systemd).
(From OE-Core rev: b4063b16082604554c7c19b369ebddd27061f372)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several variables used by the task are not included in the hash, as highlighted
by recent changes to MAINTAINERS not causing rebuilds. Fix this.
(From OE-Core rev: 0bfb2e984062e2a00f8989d26aebb89b112d81d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the plain variable X is also added to the dependencies
as well as X_<pkg>.
Allow the funciton to be called with a different variable list too.
(From OE-Core rev: c392401e10ff43d10b7e57c9d552522a02c91878)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are two primary reasons for this:
1. mdadm test suite tends to work like this
do_action
sleep arbitrary_amount
check_result
This is unreliable, and arbitrary_amount may or may not be enough.
I have confirmed this by increasing the amount, and seeing more tests
pass than before.
2. The test suite aborts half way through because one of the mdadm binaries
segfaults. This indicates that upstream isn't actually running the suite
anymore, and in this situation we shouldn't be relying on it either.
(From OE-Core rev: e21021dc00ec76c76cc361e15bc83a89083c9e72)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly:
1. set $dir, so supplementary utilities can be found
2. disable integrity checks as they take more time than any other test
(From OE-Core rev: a8983d659b27219a0d70e56882727ceddd0f4331)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
valgrind's test suite isn't generally run by upstream on arm64,
so let's simply disable the failing test and establish a set
that works.
(From OE-Core rev: f9c953295a44f74c6394d155dfa080384f637806)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This addresses a ptest failure in particular that the submitted
patch caused.
(From OE-Core rev: 4e9d46a570f7d7d1981a24f90c5e919b1f73c8b5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.4 is the next LTS kernel, so we drop the 4.19 recipes from master.
(From OE-Core rev: bb5c2b8d6a875a773271d7cae08f55f0fd8e9156)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids warnings due to kernel version mismatches
(From meta-yocto rev: 4d8122bca9e5a8788521537610411fe59b1ba8a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the SRCREVs for the h/w references to v5.4.20, which includes
the binutils fix for perf.
(From meta-yocto rev: 9fcac872e5f2cc05409cb06640c0f625bea6e8ba)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.4 is the new LTS kernel, so we drop the 4.19 bbappens as the 4.19
kernel will be removed.
(From meta-yocto rev: 36e7756b89a2adb0df470e862a71fbfda98a8682)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the 5.4 LTS kernel is the preferred version for all poky
boards.
(From meta-yocto rev: 966faa29f0540f9262704621b9f639fb1129a781)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tested with cortex-a9 machine
* before this patch -> no gir
* after: gir was built without issues
(From OE-Core rev: 0f4f69d1b238b2c22c30ef306358a055d3aa39cb)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To make the native python3 always used,
- Use sed one-liner instead
- Add substitution for ${S}/scripts/bpf_helpers_doc.py to fix the
following warning.
File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata'
This issue is first reported by Joel Stanley <joel@jms.id.au>
The sed one-liner is credited to Anuj Mittal <anuj.mittal@intel.com>
(From OE-Core rev: 3f93173130a94310255389cfc62c67102a4fb21b)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This override was applying to binutils-native meaning it would behave differently
depending upon the host it was building on. This is not a good idea and we have
tests to detect it which failed:
oe-selftest -r sstatetests.SStateTests.test_sstate_32_64_same_hash
binutils-native already enables all targets so we can avoid issues by not setting this
option in the native case.
(From OE-Core rev: bbf9e8ae5e0ce2968e4fef071d3de3ddfdc7463c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Details of changelog [1]
Removing bfd/ld patch to enable PE targets, instead use
specific emulations via --enable-targets for x86_64
Re-arrange/forward-port patches and upgrade libctf configure to libtool 2.4 patch
rpaths are no longer emitted into elfedit/readelf therefore no need of
chrpath anymore
Instead of pre-generating configure scripts and house them in libtool
patch, generate them during configure. This also ensures that we do not
patch configure directly but rather the sources which generate it
Package newly added libctf library
[1] https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00000.html
(From OE-Core rev: 82f7d5cfc2ab02f39b69c0f8697d660936422d4a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Christopher Clark <christopher.clark6@baesystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop amd64 patch, the bsfq has been replaced with bsfl for count_trailing_zeros
Forward port rest of patches to 6.2.0
(From OE-Core rev: 35c052db4e081d363bcca350383adb0ac8c321d3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Installing on centos7, which the extended version of the
buildtools tarball is supposed to fix and with reproducable
builds turned on, all the time stamps are for epoch. This
results in the following output for every file:
tar: ./sysroots/x86_64-pokysdk-linux/usr/include/c++/9.2.0/cstdalign: implausibly old time stamp 1969-12-31 16:00:00
tar: ./sysroots/x86_64-pokysdk-linux/usr/lib/libstdc++.so.6: implausibly old time stamp 1969-12-31 16:00:00
Ignore the timestamps during the uncompession step.
(From OE-Core rev: 319ca22ea4465c56c63730847378a7aee4f5935a)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I spotted this by noticing ptests started to unexpectedly pass,
which shouldn't happen yet.
(From OE-Core rev: 1cd6e9a8fdfef927916c6cea2371fc0430b1ffdf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the 5.4 recipes are available, we bump the default versions
to use them.
(From OE-Core rev: c250dbd2a68048f83837e7cbdfb53bc38623e4a2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -rt11 changes into the linux-yocto-rt branches:
e3a0470f1ebe (HEAD -> v5.4/standard/preempt-rt/base, origin/v5.4/standard/preempt-rt/base) v5.4.19-rt11
2748be173948 bpf/stackmap: Don't trylock mmap_sem with PREEMPT_RT and interrupts disabled
d721d73cb752 bpf, lpm: Make locking RT friendly
dc53d4c7fad3 bpf: Prepare hashtab locking for PREEMPT_RT
a13a53a8ae75 bpf: Factor out hashtab bucket lock operations
96a25d8a5a2d bpf: Use migrate_disable() in sys_bpf()
bb8a96d7e701 bpf: Use migrate_disable() in hashtab code
615cc5998661 bpf: Use migrate_disable/enable in array macros and cgroup/lirc code.
c3a06a1ab3d4 bpf/tests: Use migrate disable instead of preempt disable
0717741a61e6 trace/bpf: Use migrate disable in trace_call_bpf()
b528161bf4e0 bpf: Use BPF_PROG_RUN_PIN_ON_CPU() at simple call sites.
a3b5b903f04f bpf: Replace cant_sleep() with cant_migrate()
dd708fd4fb18 bpf: Provide BPF_PROG_RUN_PIN_ON_CPU() macro
6ccad68939c7 bpf: Don't iterate over possible CPUs with interrupts disabled
055b62ad0b2c perf/bpf: Remove preempt disable around BPF invocation
7848f4a45054 bpf/tracing: Remove redundant preempt_disable() in __bpf_trace_run()
caf8a5d6b42f bpf: Update locking comment in hashtab code
2ddd1653369d sched: Provide cant_migrate()
37b6c8361d28 sched: Provide migrate_disable/enable() inlines
2a1c4980a1e6 drm/i915/gt: use a LOCAL_IRQ_LOCK in __timeline_mark_lock()
84a119be5c68 v5.4.19-rt10
bb5e8418fb66 v5.4.17-rt9
bf976f5d86e7 locallock: Include header for the `current' macro
7a00b04683bd mm/memcontrol: Move misplaced local_unlock_irqrestore()
b647f8807169 sched: migrate_enable: Remove __schedule() call
2b321530c794 sched: migrate_enable: Use per-cpu cpu_stop_work
22b448083286 locking: Percpu-rwsem rewrite
f5d550cc9950 v5.4.17-rt8
(From OE-Core rev: dd407673d7091cb49ed41bef750c33bbcb53a1c3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the SRCREVs to pickup the VDSO fix by Victor Kamensky. We
need it to avoid segfaults in SDK testing as well as the standard
mips image test cases.
(From OE-Core rev: 8dfaf1abe9f2292b5c357a62d6fa4c0660a5c47c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 6ec14aa7a58a1c2fb303692f8cb1ff82d9abd10a [objtool: Silence build output]
was added to -stable in v5.4.19.
This change was meant to ensure that build output was truly silent when required.
But the trailing "cd -" in the tools script was ensuring that a success return
code was always returned from the sync script. As such, some missing files for
x86 were being masked.
We add those files to ensure that objtool can be regenerated as required
(From OE-Core rev: 3009e82f65bcf0988b4400552afd554ff91f024b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For whatever reason, the creation of the 5.4 recipes missed the
PV that we've always had in linux-yocto. PV follows the LINUX_VERSION
variable and clearly indicates that we have git commits in our tree
above the -stable releases.
(From OE-Core rev: e597fe76a710cc6bb833ee50c235c5c565eb23fa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
928ea9c56927 Linux 5.2.29
4e41907620bc slip: Fix use-after-free Read in slip_open
d11814f97a05 can: slcan: Fix use-after-free Read in slcan_open
01313dcf66e7 can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices
7f006e58efc2 scsi: libsas: stop discovering if oob mode is disconnected
0e5c48d6b011 staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
d8b3d5fb8765 USB: serial: option: add support for Foxconn T77W968 LTE modules
c4fe1d495f9c USB: serial: option: add support for DW5821e with eSIM support
4ac031b15d86 USB: serial: mos7840: fix remote wakeup
4d44a218aea6 USB: serial: mos7720: fix remote wakeup
3561f4d3242f USB: serial: mos7840: add USB ID to support Moxa UPort 2210
13a33fb9debe appledisplay: fix error handling in the scheduled work
0cd437d7c16b USB: chaoskey: fix error case of a timeout
2136119fde46 usb-serial: cp201x: support Mark-10 digital force gauge
3a71173a4a45 usbip: tools: fix fd leakage in the function of read_attr_usbip_status
726510907c68 USBIP: add config dependency for SGL_ALLOC
7dd553573bc5 media: mceusb: fix out of bounds read in MCE receiver buffer
1e4921f684ca media: imon: invalid dereference in imon_touch_event
d482dfe2776a media: cxusb: detect cxusb_ctrl_msg error in query
ab4952849dd8 media: b2c2-flexcop-usb: add sanity checking
e2aa61cda115 media: uvcvideo: Fix error path in control parsing failure
115fa3afd4d1 cpufreq: Add NULL checks to show() and store() methods of cpufreq
767facdefa23 media: usbvision: Fix races among open, close, and disconnect
ba90b62cb0bd media: usbvision: Fix invalid accesses after device disconnect
829b703e9706 media: vivid: Set vid_cap_streaming and vid_out_streaming to true
57f2b5c44f02 nfc: port100: handle command failure cleanly
5fc4dc967e06 ALSA: usb-audio: Fix NULL dereference at parsing BADD
c938307a439a futex: Prevent robust futex exit race
8b0f13ee2b7b nbd: prevent memory leak
1bfd67a1c47b ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
a634776bcd5e md/raid10: prevent access of uninitialized resync_pages offset
40c0b4538c8b Revert "dm crypt: use WQ_HIGHPRI for the IO and crypt workqueues"
53eaf5993eea ath9k_hw: fix uninitialized variable data
5a1b959a78ea ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe
8b16c7096bc9 ath10k: Fix HOST capability QMI incompatibility
ceee3b64b0b5 ath10k: restore QCA9880-AR1A (v1) detection
08c0402ed497 Bluetooth: Fix invalid-free in bcsp_close()
c1ed057fbe33 drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
5ec5ba44bd85 drm/i915/pmu: "Frequency" is reported as accumulated cycles
c7ceeaf80706 drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs
1c3fb0c8357e drm/amdgpu: disable gfxoff on original raven
ccd9d21f783e drm/amdgpu: disable gfxoff when using register read interface
6e745cbc5051 mm/ksm.c: don't WARN if page is still mapped in remove_stable_node()
79194b4a342c mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()
01d151b7e74e virtio_balloon: fix shrinker count
caae62219805 virtio_ring: fix return code on DMA mapping fails
272ed6b7ca4a virtio_console: allocate inbufs in add_port() only if it is needed
abce58c3af15 nbd:fix memory leak in nbd_get_socket()
2601193dc253 tools: gpio: Correctly add make dependencies for gpio_utils
3608aa07bac2 gpio: max77620: Fixup debounce delays
c6bf6af12a68 vhost/vsock: split packets to send using multiple buffers
95a617d1f70c net/mlx5: Update the list of the PCI supported devices
febceda6db3f net/mlx5e: Do not use non-EXT link modes in EXT mode
f8bddf0e192a net/mlx5e: Fix error flow cleanup in mlx5e_tc_tun_create_header_ipv4/6
e049e3c43308 taprio: don't reject same mqprio settings
8345d40b83bf ipv6/route: return if there is no fib_nh_gw_family
1edfc6649c92 net/tls: enable sk_msg redirect to tls socket egress
27845a1dd06b net/mlx5: Fix auto group size calculation
ec6d299939c3 net/mlx5e: Fix set vf link state error flow
bab144f2a957 net/mlxfw: Verify FSM error code translation doesn't exceed array size
3eb4c2e70dce sfc: Only cancel the PPS workqueue if it exists
a03585b724bc net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key
285a19d8dde0 net/sched: act_pedit: fix WARN() in the traffic path
8e40158af458 net: rtnetlink: prevent underflows in do_setvfinfo()
1afad75b2dba net/mlx4_en: Fix wrong limitation for number of TX rings
ce1291041c39 net/mlx4_en: fix mlx4 ethtool -N insertion
2a7ad86813a4 mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel
da957117e731 fbdev: Ditch fb_edid_add_monspecs
1f043415c4f5 arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault
0063e9b69796 mm/memory_hotplug: fix updating the node span
d27074543286 mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span()
62ca688436d3 block, bfq: deschedule empty bfq_queues not referred by any process
045a481acd16 slcan: Fix memory leak in error path
22bc38eae704 mmc: sdhci-of-at91: fix quirk2 overwrite
8505966cdc7e mm/page_io.c: do not free shared swap slots
349d5ccf8971 mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup()
cb4df7d810ac mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm()
eec30082ea78 mm: mempolicy: fix the wrong return value and potential pages leak of mbind
c4b3eaf0585b iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros
5a705e36d350 net: ethernet: dwmac-sun8i: Use the correct function in exit path
50d4170ffddd ntp/y2038: Remove incorrect time_t truncation
f701a893aba0 ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either
97dd5923ba23 ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable
3c130e6cddae x86/quirks: Disable HPET on Intel Coffe Lake platforms
a0f63a47ab13 i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present
ca7d1676d537 IB/hfi1: Use a common pad buffer for 9B and 16B packets
b8b6479e3cc9 IB/hfi1: Ensure full Gen3 speed in a Gen4 system
72ff837e69c5 IB/hfi1: TID RDMA WRITE should not return IB_WC_RNR_RETRY_EXC_ERR
3c1db8a639ac IB/hfi1: Calculate flow weight based on QP MTU for TID RDMA
d2f5dd2fd992 IB/hfi1: Ensure r_tid_ack is valid before building TID RDMA ACK packet
e88f0707f216 KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved
9e35e5bc4a04 Input: synaptics-rmi4 - destroy F54 poller workqueue when removing
2eaf311ccd38 Input: synaptics-rmi4 - clear IRQ enables for F54
f05aacf5a7b9 Input: synaptics-rmi4 - do not consume more data than we have (F11, F12)
7e649c757a1a Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver
4b482d7281a6 Input: synaptics-rmi4 - fix video buffer size
74e0752ee79e cgroup: freezer: call cgroup_enter_frozen() with preemption disabled in ptrace_stop()
a9cae67b7a20 Btrfs: fix log context list corruption after rename exchange operation
011e452b4d84 ALSA: usb-audio: not submit urb for stopped endpoint
c7801593d92a ALSA: usb-audio: Fix missing error check at mixer resolution test
ff24b83d0f73 dpaa2-eth: free already allocated channels on probe defer
21790068a579 tcp: remove redundant new line from tcp_event_sk_skb
364436976763 slip: Fix memory leak in slip_open error path
b75c75d36816 net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules
c8a648ae5f96 net/smc: fix fastopen for non-blocking connect()
b392b2d28e58 net: gemini: add missed free_netdev
612aeedfe77d ipmr: Fix skb headroom in ipmr_get_route().
5fa89b3526c5 ax88172a: fix information leak on short answers
609d02229b16 scsi: core: Handle drivers which set sg_tablesize to zero
efa2c8c477dd x86/entry/32: Fix FIXUP_ESPFIX_STACK with user CR3
a0f6ee27e686 x86/pti/32: Calculate the various PTI cpu_entry_area sizes correctly, make the CPU_ENTRY_AREA_PAGES assert precise
60418beeefd7 selftests/x86/sigreturn/32: Invalidate DS and ES when abusing the kernel
777b0ee4fd79 selftests/x86/mov_ss_trap: Fix the SYSENTER test
07b7c6191853 x86/entry/32: Fix NMI vs ESPFIX
62433c16a282 x86/entry/32: Unwind the ESPFIX stack earlier on exception entry
4a2364594599 x86/entry/32: Move FIXUP_FRAME after pushing %fs in SAVE_ALL
0593a806b430 x86/entry/32: Use %ss segment where required
26ce03ac3327 x86/entry/32: Fix IRET exception
f74d7e9547de x86/cpu_entry_area: Add guard page for entry stack on 32bit
41cb303e1436 x86/pti/32: Size initial_page_table correctly
2d2e7fe408eb x86/doublefault/32: Fix stack canaries in the double fault handler
1fd0ff871abe x86/xen/32: Simplify ring check in xen_iret_crit_fixup()
68ef02e30623 x86/xen/32: Make xen_iret_crit_fixup() independent of frame layout
ef15170227e2 x86/stackframe/32: Repair 32-bit Xen PV
37880a369c68 x86/speculation: Fix redundant MDS mitigation message
459c71f82b48 x86/speculation: Fix incorrect MDS/TAA mitigation status
c77d64c158c6 x86/insn: Fix awk regexp warnings
41bbdde13b43 x86: Use CONFIG_PREEMPTION
217d051d8efd x86/entry/32: Pass cr2 to do_async_page_fault()
1ecceee4c859 x86/entry/64: Prevent clobbering of saved CR2 value
8ccce28352fe x86/mm, tracing: Fix CR2 corruption
8873fea5f2d4 x86/entry/64: Update comments and sanity tests for create_gap
7801660649a0 x86/entry/64: Simplify idtentry a little
5d305a697f40 x86/entry/32: Simplify common_exception
216401f82bef x86/paravirt: Make read_cr2() CALLEE_SAVE
bf8b9dd0d0bf x86/asm: Move native_write_cr0/4() out of line
222093f0acfd x86/pgtable/32: Fix LOWMEM_PAGES constant
7998b2c4801a x86/alternatives: Fix int3_emulate_call() selftest stack corruption
e4a8155be9bd x86/ldt: Initialize the context lock for init_mm
f07a9a3a9ad4 x86/alternatives: Add int3_emulate_call() selftest
29b042bbfab8 x86/stackframe/32: Allow int3_emulate_push()
22334402db00 x86/stackframe/32: Provide consistent pt_regs
ed6c118e4451 x86/stackframe, x86/ftrace: Add pt_regs frame annotations
7159ebba55a4 x86/stackframe, x86/kprobes: Fix frame pointer annotations
ba09efb8b35b x86/stackframe: Move ENCODE_FRAME_POINTER to asm/frame.h
c2f632a32c05 x86/entry/32: Clean up return from interrupt preemption path
ce394d5e28c6 x86/asm: Pin sensitive CR0 bits
b3327106585c x86/asm: Pin sensitive CR4 bits
e3534ce1de0c Documentation/x86: Fix path to entry_32.S
487a6cb63d71 x86/asm: Remove unused TASK_TI_flags from asm-offsets.c
2bd8a406516b x86/entry/64: Don't compile ignore_sysret if 32-bit emulation is enabled
(From OE-Core rev: d320a03b697679dfe223883b23480b70f89ad649)
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:
27dfbcc2f53d Linux 5.4.20
2d8fdc5744ff selinux: fall back to ref-walk if audit is required
ae7f404d9227 libertas: make lbs_ibss_join_existing() return error code on rates overflow
61087dce64a5 libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held
3c822e1f3118 mwifiex: Fix possible buffer overflows in mwifiex_cmd_append_vsie_tlv()
c5b071e3f44d mwifiex: Fix possible buffer overflows in mwifiex_ret_wmm_get_status()
2cf2b620af7b dmaengine: axi-dmac: add a check for devm_regmap_init_mmio
eada328f7f9b clk: meson: g12a: fix missing uart2 in regmap table
3cfb0b360b37 mfd: max77650: Select REGMAP_IRQ in Kconfig
3b9586e82c90 regmap: fix writes to non incrementing registers
4eb12ef7491d pinctrl: sh-pfc: r8a7778: Fix duplicate SDSELF_B and SD1_CLK_B
7b07d15aa5b4 pinctrl: sh-pfc: r8a77965: Fix DU_DOTCLKIN3 drive/bias control
875e01dd8a97 selinux: fix regression introduced by move_mount(2) syscall
3b2e595dfe2b selinux: revert "stop passing MAY_NOT_BLOCK to the AVC upon follow_link"
837c36e0451f bcache: avoid unnecessary btree nodes flushing in btree_flush_write()
7c71d438e7e5 dt-bindings: iio: adc: ad7606: Fix wrong maxItems value
d15a2930f6d7 media: i2c: adv748x: Fix unsafe macros
30dd20c6d0e3 drivers: watchdog: stm32_iwdg: set WDOG_HW_RUNNING at probe
8dfa11837606 crypto: caam/qi2 - fix typo in algorithm's driver name
1f42c6de7b94 crypto: atmel-sha - fix error handling when setting hmac key
fb42d3f4ec86 crypto: artpec6 - return correct error code for failed setkey()
ee1c6b1aa9dc crypto: testmgr - don't try to decrypt uninitialized buffers
771fd0b2e8bf mtd: sharpslpart: Fix unsigned comparison to zero
1765aaef1753 mtd: onenand_base: Adjust indentation in onenand_read_ops_nolock
7df80a021f66 arm64: nofpsmid: Handle TIF_FOREIGN_FPSTATE flag cleanly
0ec337059d71 KVM: arm64: Treat emulated TVAL TimerValue as a signed 32-bit integer
a17d21640453 KVM: arm64: pmu: Fix chained SW_INCR counters
a6229d1b5c22 KVM: arm64: pmu: Don't increment SW_INCR if PMCR.E is unset
93a509cf1182 KVM: arm: Make inject_abt32() inject an external abort instead
9cce31930ad3 KVM: arm: Fix DFSR setting for non-LPAE aarch32 guests
48f9ec2020b3 KVM: arm/arm64: Fix young bit from mmu notifier
537493f1460a arm64: ptrace: nofpsimd: Fail FP/SIMD regset operations
37014cee458c arm64: cpufeature: Set the FP/SIMD compat HWCAP bits properly
1a2b07a2c3dd arm64: cpufeature: Fix the type of no FP/SIMD capability
ba95651cefe1 sched/uclamp: Fix a bug in propagating uclamp value in new cgroups
5d42957c9045 ARM: 8949/1: mm: mark free_memmap as __init
199808393ef7 KVM: arm/arm64: vgic-its: Fix restoration of unmapped collections
c406e5352155 ARM: at91: pm: use of_device_id array to find the proper shdwc node
69f08f44b4c1 ARM: at91: pm: use SAM9X60 PMC's compatible
451b91d88a1d iommu/arm-smmu-v3: Populate VMID field for CMDQ_OP_TLBI_NH_VA
c4faf627c76e powerpc/pseries: Allow not having ibm, hypertas-functions::hcall-multi-tce for DDW
cff30edec932 powerpc/pseries/vio: Fix iommu_table use-after-free refcount warning
5ca556d5edfd powerpc/papr_scm: Fix leaking 'bus_desc.provider_name' in some paths
05a23f436471 powerpc/ptdump: Only enable PPC_CHECK_WX with STRICT_KERNEL_RWX
17f37249d7db powerpc/ptdump: Fix W+X verification call in mark_rodata_ro()
6d7edac1469e Revert "powerpc/pseries/iommu: Don't use dma_iommu_ops on secure guests"
45c764da005a soc: qcom: rpmhpd: Set 'active_only' for active only power domains
0bf48acf4338 tools/power/acpi: fix compilation error
5d3453a5660b ARM: dts: at91: sama5d3: define clock rate range for tcb1
581a5fbf4f6d ARM: dts: at91: sama5d3: fix maximum peripheral clock rates
8e8802c93509 ARM: dts: meson8b: use the actual frequency for the GPU's 364MHz OPP
16665fffafee ARM: dts: meson8: use the actual frequency for the GPU's 182.1MHz OPP
3d2d8cd29c1b arm64: dts: marvell: clearfog-gt-8k: fix switch cpu port node
c44134c2a287 arm64: dts: renesas: r8a77990: ebisu: Remove clkout-lr-synchronous from sound
6f9da85057c1 ARM: dts: am43xx: add support for clkout1 clock
bd13285419b9 ARM: dts: at91: Reenable UART TX pull-ups
d01521db86ac arm64: dts: uDPU: fix broken ethernet
5ee40005f420 arm64: dts: qcom: msm8998: Fix tcsr syscon size
bc684844e7e0 platform/x86: intel_mid_powerbtn: Take a copy of ddata
b09e3d3e79cf ARC: [plat-axs10x]: Add missing multicast filter number to GMAC node
2de1af2bcba0 watchdog: qcom: Use platform_get_irq_optional() for bark irq
f599ae7529e6 rtc: cmos: Stop using shared IRQ
7a3aa58c0e02 rtc: hym8563: Return -EINVAL if the time is known to be invalid
ffad5982ce58 x86/boot: Handle malformed SRAT tables during early ACPI parsing
f4818129947c NFSv4.0: nfs4_do_fsinfo() should not do implicit lease renewals
cf360732f811 NFSv4: try lease recovery on NFS4ERR_EXPIRED
5d0a6d77b69c NFSv4: pnfs_roc() must use cred_fscmp() to compare creds
86065de0eb0a NFS: Fix fix of show_nfs_errors
5d7030939d22 NFS/pnfs: Fix pnfs_generic_prepare_to_resend_writes()
1ef47a06d2d4 NFS: Revalidate the file size on a fatal write error
b7560b5b72a2 nfs: NFS_SWAP should depend on SWAP
7842c7b30d75 bpf, sockmap: Check update requirements after locking
45d7b0e316d9 bpf: Improve bucket_log calculation logic
cb675fde4c44 selftests/bpf: Test freeing sockmap/sockhash with a socket in it
1098f9696152 bpf, sockhash: Synchronize_rcu before free'ing map
657a17ce530e bpf, sockmap: Don't sleep while holding RCU lock on tear-down
1dfc34bd009a bpftool: Don't crash on missing xlated program instructions
ec81471a70d1 iwlwifi: mvm: avoid use after free for pmsr request
b706a4986382 PCI/AER: Initialize aer_fifo
b51ac6e721d5 PCI: Don't disable bridge BARs when assigning bus resources
67016624a0be PCI: tegra: Fix afi_pex2_ctrl reg offset for Tegra30
df26f04f23bd PCI/switchtec: Fix vep_vector_number ioread width
b72b8d0725b0 PCI/switchtec: Use dma_set_mask_and_coherent()
15818c08ca79 ath10k: pci: Only dump ATH10K_MEM_REGION_TYPE_IOREG when safe
4f0e6425a2da PCI/IOV: Fix memory leak in pci_iov_add_virtfn()
da268240fb0a scsi: ufs: Fix ufshcd_probe_hba() reture value in case ufshcd_scsi_add_wlus() fails
21702236f352 RDMA/umem: Fix ib_umem_find_best_pgsz()
56b22525ab80 RDMA/cma: Fix unbalanced cm_id reference count during address resolve
b73401025a14 RDMA/uverbs: Verify MR access flags
78923675151e RDMA/core: Fix locking in ib_uverbs_event_read
33daaea78a1f RDMA/i40iw: fix a potential NULL pointer dereference
b1f90d263a3b RDMA/netlink: Do not always generate an ACK for some netlink operations
839fb9e04cd7 IB/mlx4: Fix leak in id_map_find_del
996dc3d50add IB/srp: Never use immediate data if it is disabled by a user
56f5f41e80b3 IB/mlx4: Fix memory leak in add_gid error flow
b96c27b1891b hv_sock: Remove the accept port restriction
f7775193b643 ASoC: pcm: update FE/BE trigger order based on the command
d6591ea2dd1a Linux 5.4.19
866323ccc138 powerpc/kuap: Fix set direction in allow/prevent_user_access()
3556d66be3f1 regulator fix for "regulator: core: Add regulator_is_equal() helper"
0f51165c22e4 rxrpc: Fix service call disconnection
743823969080 perf/core: Fix mlock accounting in perf_mmap()
d1318034e9e9 clocksource: Prevent double add_timer_on() for watchdog_timer
d15b033e9603 x86/apic/msi: Plug non-maskable MSI affinity race
b64d7f7af8f9 cifs: fail i/o on soft mounts if sessionsetup errors out
3e3e8551a5a2 KVM: Play nice with read-only memslots when querying host page size
7426ddf01f16 KVM: Use vcpu-specific gva->hva translation when querying host page size
09bd0033df05 KVM: nVMX: vmread should not set rflags to specify success in case of #PF
1d6cfa003c21 KVM: x86: fix overlap between SPTE_MMIO_MASK and generation
8a1cd01bee30 KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on 32-bit KVM
fc46f8a115e5 KVM: x86: use CPUID to locate host page table reserved bits
f805ec37828b KVM: x86/mmu: Apply max PA check for MMIO sptes to 32-bit KVM
59593aed7e9e drm/dp_mst: Remove VCPI while disabling topology mgr
498742625716 btrfs: free block groups after free'ing fs trees
26ca39ac5593 btrfs: use bool argument in free_root_pointers()
d0d327fe37cc x86/timer: Don't skip PIT setup when APIC is disabled or in legacy mode
8fbabd15bdbc mfd: bd70528: Fix hour register mask
555b3025e8fa mfd: rn5t618: Mark ADC control register volatile
3cf5733a2db7 mfd: da9062: Fix watchdog compatible string
9af68afd832f ASoC: Intel: skl_hda_dsp_common: Fix global-out-of-bounds bug
207014751cd1 net/mlx5: Deprecate usage of generic TLS HW capability bit
70b68add8d65 net/mlx5: Fix deadlock in fs_core
0fea83e06f12 drop_monitor: Do not cancel uninitialized work item
2b2de489c823 qed: Fix timestamping issue for L2 unicast ptp packets.
036ecba2eb99 ipv6/addrconf: fix potential NULL deref in inet6_set_link_af()
7fd6c4da37d4 taprio: Fix dropping packets when using taprio + ETF offloading
a5b959885c45 taprio: Use taprio_reset_tc() to reset Traffic Classes configuration
ee6adcf2c318 taprio: Add missing policy validation for flags
d544302521af taprio: Fix still allowing changing the flags during runtime
47578c894979 taprio: Fix enabling offload with wrong number of traffic classes
4c4153375b67 net: macb: Limit maximum GEM TX length in TSO
96ad794892e7 net: macb: Remove unnecessary alignment check for TSO
9211b26dcfee net/mlx5: IPsec, fix memory leak at mlx5_fpga_ipsec_delete_sa_ctx
0be678f179e0 net/mlx5: IPsec, Fix esp modify function attribute
74888191bb13 net: systemport: Avoid RBUF stuck in Wake-on-LAN mode
8526c3b6e753 net: stmmac: fix a possible endless loop
ebf9cdfbcd38 net_sched: fix a resource leak in tcindex_set_parms()
6994d92ed59a net: mvneta: move rx_dropped and rx_errors in per-cpu stats
76e828ceafee net: dsa: microchip: enable module autoprobe
07d7fcb1dd29 net: dsa: bcm_sf2: Only 7278 supports 2Gb/sec IMP port
84e4db766fc6 net: dsa: b53: Always use dev->vlan_enabled in b53_configure_vlan()
fddb5a50801a dpaa_eth: support all modes with rate adapting PHYs
3f90dce11916 devlink: report 0 after hitting end in region read
6978e2935c74 bonding/alb: properly access headers in bond_alb_xmit()
0a56a2e1624a ASoC: sgtl5000: Fix VDDA and VDDIO comparison
67d5b7a1f971 regulator: core: Add regulator_is_equal() helper
c533cf50fdf6 ubifs: Fix memory leak from c->sup_node
fa70d4f7f8e0 ubi: Fix an error pointer dereference in error handling code
6f362620793b ubi: fastmap: Fix inverted logic in seen selfcheck
c6d07f6e50e4 virtio_balloon: Fix memory leaks on errors in virtballoon_probe()
3ac13462f55a virtio-balloon: Fix memory leak when unloading while hinting is in progress
7eece787ed82 nfsd: Return the correct number of bytes written to the file
e94829641e69 nfsd: fix jiffies/time_t mixup in LRU list
9f3fa8bea96d nfsd: fix delay timer on 32-bit architectures
0d1dacfda0e5 IB/core: Fix ODP get user pages flow
320a24fae280 IB/mlx5: Fix outstanding_pi index for GSI qps
b4d104ce6dfe net: tulip: Adjust indentation in {dmfe, uli526x}_init_module
9b14bd934ce3 net: smc911x: Adjust indentation in smc911x_phy_configure
761b51409246 ppp: Adjust indentation into ppp_async_input
bd1bac782d92 NFC: pn544: Adjust indentation in pn544_hci_check_presence
da535ca18ef5 drm: msm: mdp4: Adjust indentation in mdp4_dsi_encoder_enable
bf45386cef7e powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize
0a7473b27eb9 ext2: Adjust indentation in ext2_fill_super
421b77ae26f4 phy: qualcomm: Adjust indentation in read_poll_timeout
55a268cf341f mtd: spi-nor: Split mt25qu512a (n25q512a) entry into two
3c9edf55817a scsi: ufs: Recheck bkops level if bkops is disabled
5f8c02d32223 scsi: qla4xxx: Adjust indentation in qla4xxx_mem_free
bdc7651e6164 scsi: csiostor: Adjust indentation in csio_device_reset
454db8d6163b scsi: qla2xxx: Fix the endianness of the qla82xx_get_fw_size() return type
05dceb5a62ce ASoC: meson: axg-fifo: fix fifo threshold setup
7c662f69fa05 percpu: Separate decrypted varaibles anytime encryption can be enabled
59c458d51099 broken ping to ipv6 linklocal addresses on debian buster
07fbef9a6e18 fix up iter on short count in fuse_direct_io()
e0fc65ef8a60 virtio-pci: check name when counting MSI-X vectors
f603b3714e4e virtio-balloon: initialize all vq callbacks
fe84d084b2e9 drm/amd/dm/mst: Ignore payload update failures
f4bda8b61e7c clk: tegra: Mark fuse clock as critical
806cabd3117f mm/mmu_gather: invalidate TLB correctly on batch allocation failure and flush
091c96151279 arm64: dts: qcom: qcs404-evb: Set vdd_apc regulator in high power mode
ed53278ee834 mm/page_alloc.c: fix uninitialized memmaps on a partially populated last section
03c03090c3aa ocfs2: fix oops when writing cloned file
6e41b5499960 KVM: s390: do not clobber registers during guest reset/store status
b1f9f9b84374 KVM: x86: Revert "KVM: X86: Fix fpu state crash in kvm guest"
58e1e7514f06 KVM: x86: Ensure guest's FPU state is loaded when accessing for emulation
a6ff6e0546d0 KVM: x86: Handle TIF_NEED_FPU_LOAD in kvm_{load,put}_guest_fpu()
e3a37628c46d KVM: x86: Free wbinvd_dirty_mask if vCPU creation fails
9d9933f7f3f4 KVM: x86: Don't let userspace set host-reserved cr4 bits
715f9f9a0768 KVM: VMX: Add non-canonical check on writes to RTIT address MSRs
2aebc6ed84ef x86/KVM: Clean up host's steal time structure
f7c1a6c67ff3 x86/kvm: Cache gfn to pfn translation
d71eef9fcc0b x86/KVM: Make sure KVM_VCPU_FLUSH_TLB flag is not missed
a3db2949904b x86/kvm: Introduce kvm_(un)map_gfn()
68460ceba319 x86/kvm: Be careful not to clear KVM_VCPU_FLUSH_TLB bit
d0671151c2b9 kvm/svm: PKU not currently supported
9213699efd1f KVM: PPC: Book3S PR: Free shared page if mmu initialization fails
b2301deda8ce KVM: PPC: Book3S HV: Uninit vCPU if vcore creation fails
0718e2d3dc54 KVM: x86: Fix potential put_fpu() w/o load_fpu() on MPX platform
72324a1db6a1 KVM: x86: Protect MSR-based index computations in fixed_msr_to_seg_unit() from Spectre-v1/L1TF attacks
2fb35312c070 KVM: x86: Protect x86_decode_insn from Spectre-v1/L1TF attacks
f2a514318263 KVM: x86: Protect MSR-based index computations from Spectre-v1/L1TF attacks in x86.c
a07fdd5fcb30 KVM: x86: Protect ioapic_read_indirect() from Spectre-v1/L1TF attacks
c09be769b48d KVM: x86: Protect MSR-based index computations in pmu.h from Spectre-v1/L1TF attacks
2f8a13754e05 KVM: x86: Protect ioapic_write_indirect() from Spectre-v1/L1TF attacks
c8a6b5918942 KVM: x86: Protect kvm_hv_msr_[get|set]_crash_data() from Spectre-v1/L1TF attacks
bf13472e5c05 KVM: x86: Protect kvm_lapic_reg_write() from Spectre-v1/L1TF attacks
8b73ccf4b475 KVM: x86: Protect DR-based index computations from Spectre-v1/L1TF attacks
c2b02d093a08 KVM: x86: Protect pmu_intel.c from Spectre-v1/L1TF attacks
79777eb82c23 KVM: x86: Refactor prefix decoding to prevent Spectre-v1/L1TF attacks
443fd0049dcf KVM: x86: Refactor picdev_write() to prevent Spectre-v1/L1TF attacks
8dcbf26833cc aio: prevent potential eventfd recursion on poll
844d2025b68d eventfd: track eventfd_signal() recursion depth
d5d6b5887241 bcache: add readahead cache policy options via sysfs interface
f158399c1fe9 watchdog: fix UAF in reboot notifier handling in watchdog core code
c157da57304e xen/balloon: Support xend-based toolstack take two
726599c63799 tools/kvm_stat: Fix kvm_exit filter name
7a19bd6fe21b media: rc: ensure lirc is initialized before registering input device
fd52d88c1dd8 media: iguanair: fix endpoint sanity check
ae116f21b24a drm/rect: Avoid division by zero
5b442859ab80 drm: atmel-hlcdc: prefer a lower pixel-clock than requested
d065ae83dff8 drm: atmel-hlcdc: enable clock before configuring timing engine
6421785d17e1 drm: atmel-hlcdc: use double rate for pixel clock only if supported
ae35ac3c4b08 gfs2: fix O_SYNC write handling
637348690865 gfs2: move setting current->backing_dev_info
c61b93fae603 gfs2: fix gfs2_find_jhead that returns uninitialized jhead with seq 0
65afa6958134 sunrpc: expiry_time should be seconds not timeval
301763168c5f mwifiex: fix unbalanced locking in mwifiex_process_country_ie()
535a755d6e6d iwlwifi: don't throw error when trying to remove IGTK
cbe53807a14d ARM: tegra: Enable PLLP bypass during Tegra124 LP1
9e78c0e74261 btrfs: Correctly handle empty trees in find_first_clear_extent_bit
d82ff2d6406d btrfs: flush write bio if we loop in extent_write_cache_pages
5e7a9ad78d56 Btrfs: fix race between adding and putting tree mod seq elements and nodes
ce066845584a btrfs: drop log root for dropped roots
7baf8f665b77 btrfs: set trans->drity in btrfs_commit_transaction
78748f249199 Btrfs: fix infinite loop during fsync after rename operations
79a29dee9024 Btrfs: make deduplication with range including the last block work
ddb36ab79b11 Btrfs: fix missing hole after hole punching and fsync when using NO_HOLES
f0edd3abee0d ext4: fix race conditions in ->d_compare() and ->d_hash()
d44fa04f0864 ext4: fix deadlock allocating crypto bounce page from mempool
b19f130269c0 jbd2_seq_info_next should increase position index
6282102dbcbf nfsd: fix filecache lookup
4544a6912416 NFS: Directory page cache pages need to be locked when read
293cdcd89b6c NFS: Fix memory leaks and corruption in readdir
8d313c04b425 scsi: qla2xxx: Fix unbound NVME response length
246a54895ac6 powerpc/futex: Fix incorrect user access blocking
eee7a67c0391 crypto: picoxcell - adjust the position of tasklet_init and fix missed tasklet_kill
e057d64f86d4 crypto: api - Fix race condition in crypto_spawn_alg
12a15e1c544e crypto: atmel-aes - Fix counter overflow in CTR mode
2c4d8203ff0c crypto: pcrypt - Do not clear MAY_SLEEP flag in original request
ded7c73a2b8c crypto: arm64/ghash-neon - bump priority to 150
3a35871603a6 crypto: ccp - set max RSA modulus size for v3 platform devices as well
58d8f2dec6ab crypto: hisilicon - Use the offset fields in sqe to avoid need to split scatterlists
a791fc62a574 crypto: api - fix unexpectedly getting generic implementation
1f5f3f65f956 selftests: bpf: Ignore FIN packets for reuseport tests
44a522bf5edc selftests: bpf: Use a temporary file in test_sockmap
da43712a7262 selftests/bpf: Skip perf hw events test if the setup disabled it
49437ecf9f30 selftests/bpf: Fix test_attach_probe
c0ada6ad3ec5 samples/bpf: Xdp_redirect_cpu fix missing tracepoint attach
a69af866bd35 samples/bpf: Don't try to remove user's homedir on clean
fbee8f61747f tc-testing: fix eBPF tests failure on linux fresh clones
f7a2ccc00a36 libbpf: Fix realloc usage in bpf_core_find_cands
ab48c14a444b bpf, devmap: Pass lockdep expression to RCU lists
77bb53cb0948 selftests/bpf: Fix perf_buffer test on systems w/ offline CPUs
5b0e9b563c01 riscv, bpf: Fix broken BPF tail calls
f3107a3c9b84 btrfs: Handle another split brain scenario with metadata uuid feature
dd9837259de0 btrfs: fix improper setting of scanned for range cyclic write cache pages
b4c8ed0bf977 crypto: pcrypt - Avoid deadlock by using per-instance padata queues
c8e9dafe668d ftrace: Protect ftrace_graph_hash with ftrace_sync
6a652ed941aa ftrace: Add comment to why rcu_dereference_sched() is open coded
c9dc142b39a8 tracing: Annotate ftrace_graph_notrace_hash pointer with __rcu
024537c7548f tracing: Annotate ftrace_graph_hash pointer with __rcu
df57920d6e18 ASoC: SOF: core: release resources on errors in probe_continue
3145862d8f9e ASoC: SOF: Introduce state machine for FW boot
0b84591fdd5e scsi: qla2xxx: Fix stuck login session using prli_pend_timer
78cbd2c397bf dm: fix potential for q->make_request_fn NULL pointer
1426201af047 dm thin metadata: use pool locking at end of dm_pool_metadata_close
40d3d8d6eb64 dm crypt: fix benbi IV constructor crash if used in authenticated mode
b805ec7d089f dm crypt: fix GFP flags passed to skcipher_request_alloc()
1781fa54a4ea dm writecache: fix incorrect flush sequence when doing SSD mode commit
a8d99d630117 dm space map common: fix to ensure new block isn't already in use
188f9b710ff1 dm zoned: support zone sizes smaller than 128MiB
ad7c38abe8ba ARM: dma-api: fix max_pfn off-by-one error in __dma_supported()
bae74e7ac842 of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc
f5f68d165dc0 cpufreq: Avoid creating excessively large stack frames
7dce99d3182a PM: core: Fix handling of devices deleted during system-wide resume
e9116299ffac f2fs: fix race conditions in ->d_compare() and ->d_hash()
6d722cd2e387 f2fs: fix dcache lookup of !casefolded directories
f4803553aae6 f2fs: code cleanup for f2fs_statfs_project()
b1de9ec0e788 f2fs: fix miscounted block limit in f2fs_statfs_project()
ae2cb41583a9 f2fs: choose hardlimit when softlimit is larger than hardlimit in f2fs_statfs_project()
08846286bf28 ovl: fix lseek overflow on 32bit
809e16a6eeb3 ovl: fix wrong WARN_ON() in ovl_cache_update_ino()
03572189d61c power: supply: ltc2941-battery-gauge: fix use-after-free
6f33d59ae165 power: supply: axp20x_ac_power: Fix reporting online status
4eed5d3bb14a cpupower: Revert library ABI changes from commit ae2917093fb60bdc1ed3e
2b27acfde9b2 scsi: qla2xxx: Fix mtcp dump collection failure
edd15b154653 scsi: megaraid_sas: Do not initiate OCR if controller is not in ready state
3728834fff19 erofs: fix out-of-bound read for shifted uncompressed block
3ebbfdf41d26 scripts/find-unused-docs: Fix massive false positives
a421f513779c fs: allow deduplication of eof block into the end of the destination file
5fefc9b3e358 padata: Remove broken queue flushing
5f63963669ec crypto: ccree - fix PM race condition
5e33535cf13c crypto: ccree - fix FDE descriptor sequence
d8760030e701 crypto: ccree - fix pm wrongful error reporting
70439e8b7ccf crypto: ccree - fix AEAD decrypt auth fail
80c660892c24 crypto: ccree - fix backlog memory leak
d2b1dcd5430f crypto: api - Check spawn->alg under lock in crypto_drop_spawn
0ed43162f578 nvmem: core: fix memory abort in cleanup path
6bdd1a0ed111 mfd: axp20x: Mark AXP20X_VBUS_IPSOUT_MGMT as volatile
385c61a41cf9 hv_balloon: Balloon up according to request page number
570a29b1f75b ASoC: SOF: core: free trace on errors
84c9efd2f855 mmc: sdhci-of-at91: fix memleak on clk_get failure
65e6f63ebfb9 ubifs: Fix deadlock in concurrent bulk-read and writepage
e3a561aa5376 ubifs: Fix FS_IOC_SETFLAGS unexpectedly clearing encrypt flag
91f96a9cdd82 ubifs: Fix wrong memory allocation
0119c617ebb6 ubifs: don't trigger assertion on invalid no-key filename
9220bf17ae18 fscrypt: don't print name of busy file when removing key
ad270734193e alarmtimer: Unregister wakeup source when module get fails
05b147599f9d ACPI / battery: Deal better with neither design nor full capacity not being reported
7b86d05d1b02 ACPI / battery: Use design-cap for capacity calculations if full-cap is not available
93bba324c28a ACPI / battery: Deal with design or full capacity being reported as -1
832d6f76f268 ACPI: video: Do not export a non working backlight interface on MSI MS-7721 boards
44f6e43924f8 mmc: spi: Toggle SPI polarity, do not hardcode it
47bdd025b921 PCI: keystone: Fix error handling when "num-viewport" DT property is not populated
a8b56e222300 PCI: keystone: Fix link training retries initiation
6700c0d9ae92 PCI: keystone: Fix outbound region mapping
05d56da81d94 PCI: tegra: Fix return value check of pm_runtime_get_sync()
38b67e60b6b5 tracing: Fix now invalid var_ref_vals assumption in trace action
5b92f86c8492 powerpc/32s: Fix CPU wake-up from sleep mode
4135a03fdf2e powerpc/32s: Fix bad_kuap_fault()
1bd3b871af57 powerpc/pseries: Advance pfn if section is not present in lmb_is_removable()
02c4699fb664 powerpc/xmon: don't access ASDR in VMs
796085dbe323 powerpc/ptdump: Fix W+X verification
2cabe61ab8ae powerpc/mmu_gather: enable RCU_TABLE_FREE even for !SMP case
63098a93063a s390/mm: fix dynamic pagetable upgrade for hugetlbfs
e25f00c69039 MIPS: boot: fix typo in 'vmlinux.lzma.its' target
bd9abdfd68b2 MIPS: fix indentation of the 'RELOCS' message
6b29d4a1f832 MIPS: syscalls: fix indentation of the 'SYSNR' message
6cca9100db90 KVM: arm64: Only sign-extend MMIO up to register width
4dd5c62d2e4c KVM: arm/arm64: Correct AArch32 SPSR on exception entry
b0e01e9d2353 KVM: arm/arm64: Correct CPSR on exception entry
cc7931dc766f KVM: arm64: Correct PSTATE on exception entry
5222ded5c72c arm64: acpi: fix DAIF manipulation with pNMI
79c56db06547 ALSA: hda: Add JasperLake PCI ID and codec vid
3d938d9febd1 ALSA: hda: Add Clevo W65_67SB the power_save blacklist
6cb7581f5702 ALSA: hda: Apply aligned MMIO access only conditionally
68efc422c547 platform/x86: intel_scu_ipc: Fix interrupt support
5bf25f3828a2 x86/cpu: Update cached HLE state on write to TSX_CTRL_CPUID_CLEAR
146f086a409b irqdomain: Fix a memory leak in irq_domain_push_irq()
db165906cad5 lib/test_kasan.c: fix memory leak in kmalloc_oob_krealloc_more()
9cbcbfc67b25 media: v4l2-rect.h: fix v4l2_rect_map_inside() top/left adjustments
965ccdedf1bf media: v4l2-core: compat: ignore native command codes
d2db1cbc751f media/v4l2-core: set pages dirty upon releasing DMA buffers
d364e9b37cc9 mm: move_pages: report the number of non-attempted pages
95419e7ef266 mm: thp: don't need care deferred split queue in memcg charge move path
aab4189dfdb1 mm/memory_hotplug: fix remove_memory() lockdep splat
cb33e477a50b utimes: Clamp the timestamps in notify_change()
73031a617ac3 mmc: sdhci-pci: Make function amd_sdhci_reset static
af823232b018 mm/sparse.c: reset section's mem_map when fully deactivated
c2c814fc9aee memcg: fix a crash in wb_workfn when a device disappears
39fac95159b4 ALSA: dummy: Fix PCM format loop in proc output
6edf790e9e51 ALSA: usb-audio: Annotate endianess in Scarlett gen2 quirk
85dbab63b461 ALSA: usb-audio: Fix endianess in descriptor validation
2068fbb20b9f usb: gadget: f_ecm: Use atomic_t to track in-flight request
a7d00597e0b7 usb: gadget: f_ncm: Use atomic_t to track in-flight request
683b53b5aa12 usb: gadget: legacy: set max_speed to super-speed
063daad1412e usb: gadget: f_fs: set req->num_sgs as 0 for non-sg transfer
47dbff795049 objtool: Silence build output
72a533fc29e1 usb: typec: tcpci: mask event interrupts when remove driver
91cfedb762bd usb: dwc3: gadget: Delay starting transfer
1dc0d21fc1e6 usb: dwc3: gadget: Check END_TRANSFER completion
4e5d1bf6e68f brcmfmac: Fix memory leak in brcmf_usbdev_qinit
1c8c75275f97 Bluetooth: btusb: Disable runtime suspend on Realtek devices
1bfecb50771d Bluetooth: btusb: fix memory leak on fw
21780d1fd65b nvmet: Fix controller use after free
6243cb9e32d2 nvmet: Fix error print message at nvmet_install_queue function
6a4fea54ab46 rcu: Use READ_ONCE() for ->expmask in rcu_read_unlock_special()
c71706a5ffff srcu: Apply *_ONCE() to ->srcu_last_gp_end
dcad7270b2c7 rcu: Avoid data-race in rcu_gp_fqs_check_wake()
a523031513b7 rcu: Use *_ONCE() to protect lockless ->expmask accesses
d42b2370f28a tracing: Fix sched switch start/stop refcount racy updates
e39351c52efb tracing/kprobes: Have uname use __get_str() in print_fmt
59b2e64b16bb ipc/msg.c: consolidate all xxxctl_down() functions
8ce07d95d67a netfilter: ipset: fix suspicious RCU usage in find_set_and_id
7bad0dda8164 mfd: dln2: More sanity checking for endpoints
6fcbff54ded1 media: uvcvideo: Avoid cyclic entity chains due to malformed USB descriptors
9f5c4fac341c bnxt_en: Fix logic that disables Bus Master during firmware reset.
fddd3f73ad08 netdevsim: fix stack-out-of-bounds in nsim_dev_debugfs_init()
f146529c0049 MAINTAINERS: correct entries for ISDN/mISDN section
096df4720ab6 ionic: fix rxq comp packet type mask
b6a7ba0e8622 tcp: clear tp->segs_{in|out} in tcp_disconnect()
31fceaf08597 tcp: clear tp->data_segs{in|out} in tcp_disconnect()
2fc4773b6af7 tcp: clear tp->delivered in tcp_disconnect()
c9b6c6d07e5c tcp: clear tp->total_retrans in tcp_disconnect()
269a3c472a6f rxrpc: Fix NULL pointer deref due to call->conn being cleared on disconnect
843e115de475 rxrpc: Fix missing active use pinning of rxrpc_local object
524cba2f8de5 rxrpc: Fix insufficient receive notification generation
62221a9b1c9a rxrpc: Fix use-after-free in rxrpc_put_local()
5fa06c956821 bnxt_en: Fix TC queue mapping.
8566221e46eb net: stmmac: Delete txtimer in suspend()
dd8142a6fa52 net_sched: fix an OOB access in cls_tcindex
919f13c56485 net: hsr: fix possible NULL deref in hsr_handle_frame()
f3dea4cea67a l2tp: Allow duplicate session creation with UDP
b080bc8481d9 gtp: use __GFP_NOWARN to avoid memalloc warning
0f8f0429a299 cls_rsvp: fix rsvp_policy
097ef8be69a3 bnxt_en: Move devlink_register before registering netdev
aaf5369c72e9 sparc32: fix struct ipc64_perm type definition
(From OE-Core rev: cdbe18840fcd8d3f863a6198b33fc27731a4a7f0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lists of ptests are defined via PTESTS_FAST and PTESTS_SLOW;
specifying 'ptests-pkgs' also pulls in additional ptests that
are specifically excluded from those lists due to causing issues with
ptesting. (particularly bash-ptest is one such item)
(From OE-Core rev: 1d8e5d1bc1aa8fdaf967395e27b13cc989717fb7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg also depends on libsolv and can needlessly pull in rpm even if
the O_P_M does not desire to use rpm
(From OE-Core rev: 007d693a3c51026a9265f8e0bd09af086bcd8252)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dnf depends on libsolv, and libsolv does not have and easy way to
jusr enable rpmdb support, it either has full rpm or nothing, perhaps it
could be improved in libsolv and we can use that but from now we have
no other option
dnf support only rpm backend and wont work with opkg or dpkg/apt anyway
(From OE-Core rev: aa56c5dcdea152bee62bb480ccaae177f6c69b9b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 8380df6566.
Giving BUILDNAME a static default in reproducible_build_simple.bbclass
to have /etc/version be generated with that name lead to other users
of BUILDNAME no longer working as expected. E.g., buildstats.bcclass
would now write its information in a single directory, overwriting the
statistics for each build.
(From OE-Core rev: dcd1fbe153369634c73370cbe22e1dbdac080146)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Do-not-check-for-validity-of-shell-executable.patch
CVE-2019-19882.patch
Removed since they are included in 4.8.1.
(From OE-Core rev: de9cceb13e264434eb0b8393c3b0c0217b8d505e)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
refresh the following patch:
0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
(From OE-Core rev: 534e82abbb33e7c02c183ab0290572b2dc599447)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the correct variable so options actually get used and
use the correct qt option name to prevent errors.
(From OE-Core rev: fbaf9afcbeb031860c249d73650649f8d032310d)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Maybe armv7a can be re-enabled either but due to limited resources there is no
chance for me to test.
(From OE-Core rev: 8fe34dd8ee8e213ad954a8534bdfb737676d7c9a)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch to fix strndup being detected as present incorrectly
when building for MinGW.
(From OE-Core rev: ffa91ff19f73c3ed4060a6ecd3b6da7f46732cb3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace an autotools-specific .pc adjustment patch with a meson-specific one.
(From OE-Core rev: 88494d118b8ae85b3946df716cfa242a1858f270)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On the autobuilder a ptest log with 2.1 million lines took around 18 hours to
process. This is clearly crazy.
We can tweak the processing code to:
a) Stop repeatedly joining large strings together (append to a list instead)
b) Use one startswith expression instead of multiple re.search() operations
With this change it takes 18 hours down to around 12s.
[YOCTO #13696]
(From OE-Core rev: 01c9f40b979e36a53e789a6bedd89b6d9557dce3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change of settimeofday() systemcall since Glibc 2.31
will cause "hwclock -s" doesn't work with error:
"hwclock: settimeofday() failed: Invalid argument"
Backport a upstream patch to fix this issue.
(From OE-Core rev: b80bf70748609b92ce766d11380353fdfbb1d916)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Don-t-build-tools-with-CC_FOR_BUILD.patch
Removed since it is included in 2.4.3.
refresh the following patch:
0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
(From OE-Core rev: fcaca33d458449379eeb2f99b613f8be1e6a44ce)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Resolve:
combo-layer:83: DeprecationWarning: This method will be removed in future versions. Use 'parser.read_file()' instead.
(From OE-Core rev: 7b43e04424985cf71b9263969830c9e4e9d72e01)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config
(From OE-Core rev: 174cd0d15fb8879a28b9a069a2e504617c0be1a7)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Acked-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fbdev backend is not documented, and not the default;
as the emulated hardware in qemu now supports DRM/KMS
(both std and virtio), we should align with upstream default
and vast majority of users. Empty init file will cause
weston to default to the KMS backend.
Note that 3D acceleration via virgl is not required; the backend
renders fine via the software driver in mesa. However, kvm
is more or less required to keep the UI responsive.
Also, other qemu targets (mips and arm in particular) continue
to use the fbdev backend, as in the absence of kvm, the performance
of software GL paths falls to unacceptable level.
(From OE-Core rev: 1bddd7ac64bc0a863dec38bf4d9671f9f1a51b03)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
webkit nowadays requires a couple of supplementary libraries for this,
so bring them in (courtesy of meta-webkit[1], which will hopefully
adjust without a lot of trouble).
[1] https://github.com/Igalia/meta-webkit/
[RP: Add missing maintainers entries]
(From OE-Core rev: 85431fe5c16ce1aa0916e57e820ff69c5aa0612a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also enabling wayland if x11 is not enabled is not necessarily
the correct decision.
(From OE-Core rev: 9d447fc61dca53bf41b31acb6e4083a10935ca8c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now selftest is using its own copied build directory, we can stop worrying about
copying files around as backup, and drop the SIGTERM handler to try and restore
them, simplifying the code.
(From OE-Core rev: b8ea8a910267fee4bb9e57f24ba829064e22d016)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently oe-selftest reuses the current build directory and the concurrent
version run with -j does not.
Standardise and use a separate new build directory in both cases. This will lead
to simpler code and more reliable user run tests.
(From OE-Core rev: 50238b0717b04e0a1fa69d618e8c8aa8445a80b0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can see tracebacks where the SIGTERM handler catches things
it shouldn't. Avoid exit(1) unless we're the process that
it was intended for.
[YOCTO #13664]
(From OE-Core rev: d9c62ffac611310efd47ed6397d31dccb72fe868)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663
Prior to this fix, the try/except block in OEScriptTests' setUpClass
did both the import and the raise unittest.SkipTest for the
subsequent OEPybootchartguyTests. The consequence of the this meant
that, when cairo was not available on the test host, the raise was
counted only once as a class setup issue, instead of once for each
of the tests to be run, resulting in incorrect skip counts in the
test results.
Instead of raising unittest.SkipTest in setUpClass, the more
proper method is to use the unittest.skipUnless method along with
importlib.util.find_spec to check for the presence of the
python3-cairo module. This allows the entire class to be skipped
if cairo is not present, while also correctly passing along the
skip state for each of the class's tests, and avoiding the UNKNOWN
results to appear in cases where the -j option was provided to
oe-selftest, but the tests were still skipped.
(From OE-Core rev: 10c2216cb6fb61c74babd8bd17cb3481754b7475)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update codepath would trigger:
Exception: UnboundLocalError: local variable 'svnfetchcmd' referenced before assignment
Fix this so the code functions as intended in both fetch and update cases.
[YOCTO #13798]
(Bitbake rev: 16c4e930ff37ea6eac2ac0cb2197908ce3a1cc53)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an option to avoid builds depending on the presence of setcap
from the host system.
[YOCTO #13786]
(From OE-Core rev: 182910321971cb87e54c2a92cb8ea6c531a743ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a missing makefile dependency which can cause differences in
configuration (submitted upstream).
[YOCTO #13800]
(From OE-Core rev: fe97845a45434902c5a994e253a127a462d7d3b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes jquery in the output directory to make the diffoscope output
easier to navigate
(From OE-Core rev: ff7c386455848e497ef40f9fee2be87d5171e203)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a recipe that packages jQuery in a manner borrowed from debian. The
primary purpose is to make the diffoscope output from the autobuilder
easier to navigate.
(From OE-Core rev: 9fdfff92e5f6b56657802c06c698ef37a95fd449)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When bitbake-layers fetch-layerindex clones the repositories, these are
full clones. Allow the user to specify '-s' and do shallow clones
instead for faster downloads.
(Bitbake rev: a0c8b27675a590d9deeb3cbc462c0eb0e113cf3b)
Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Documentation says:
"path_spec": A specific directory in which to checkout the specified
svn module.
but existing svn fetcher uses "module" always as path of checked out
svn-module, regardless whether path_spec was given or not.
(Bitbake rev: 75223644ab9bc94fc268f1bab775e66c4188f279)
Signed-off-by: Jens Rehsack <sno@NetBSD.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It printed duplicated ones when there are multiple similar recipes in
differrent layers, for example, if python-lockfile in different layers,
and there is no python3-lockfile:
$ bitbake python3-lockfile
ERROR: Nothing PROVIDES 'python3-lockfile'. Close matches:
python-lockfile
python-lockfile
python3-aiofiles
Remove the duplicated ones to fix the problem.
(Bitbake rev: 5612192cec9f467e2ab5a86482cb34876d198bc6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parsing, reset the loghandler when finished, else the messages
can be misleading.
(Bitbake rev: 7af80cd1dd577b05d39a3cc5d5c547a2549e39df)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While usually a programming error, the behavior can cause a Parser
instance to eventually gobble up a significant amount of memory,
greatly affecting system performance. Try to avoid getting into
that situation and alert the user about what they attempted to do.
(Bitbake rev: 01bf0912eef5700d61c6e3c9138cb4b6825ee782)
Signed-off-by: Kyle Russell <bkylerussell@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark any keys used to cache the srcrevs for a recipe as "dontcache" if
BB_DONT_CACHE is set for the recipe. Remove any such keys upon the
next bitbake run even if BB_SRCREV_POLICY is set to "cache". This will
make sure the srcrev is updated as expected if ${AUTOREV} is used.
(Bitbake rev: ba093a38539960e645e994a66ed7872a604c00a9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This seems to have been broken for a very long time. Now it also works
regardless of BB_SRCREV_POLICY.
(Bitbake rev: ffd663a8e07e2e39e8ca2d2493f4f98037c5f9e4)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This matches the other bb.command.Command* events and without it,
running `bitbake --revisions-changed` will hang indefinitely if there
are changed revisions.
(Bitbake rev: 40520d229c8ea51ee9784184ab5d13a82dd1eb61)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are a number of ptest failures due to executables not found in
the image. Since these executables are in FILES_${PN}-dev, depending
all of -dev which is an overkill. We take them out of -dev and put in
-utils, then depend on the latter instead.
When starting a glib ptest but decided to Ctrl-c interrupt midway,
./run-ptest cannot be restarted unless running `userdel glib2-test`
manually. Therefore adding a check prior to ptest will ensure the
ptest can be restarted.
(From OE-Core rev: b649cf5c09a45df2df9a8f8f0920c6dfb07b8d76)
Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This script is attempting to read binary data from an rpm file.
If any of the bytes it is attempt to read is the binary value 0xa
(i.e. a newline) then the script does not properly deal with this
special case. Due to the behavior of command substitution, instead of
fetching the value 0xa, the script makes an error and get the value 0
instead.
The fix and the following explantion was taken from this post...
https://unix.stackexchange.com/questions/10801/
how-to-use-bash-script-to-read-binary-file-content
Command substitution $(…) strips final newlines in the command output.
There's a fairly easy workaround. Make sure the output ends in a
character other than a newline, then strip that one character.
(From OE-Core rev: a40a93e81766513cf710e713093ab74c6ec936c3)
Signed-off-by: Lori Hikichi <lori.hikichi@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By passing --disabled-newlib-supplied-syscalls, newlib will disable the
generation of builtin syscalls and move this to libgloss. (This also
affects the generation of crt0.o.)
libgloss SHOULD then provide the syscalls, crt0.o and other functions that
are no longer part of newlib itself. This now means that you must link
with both newlib and libgloss, whereas before newlib would run in many
configurations by itself.
(From OE-Core rev: f495e1f771b60d2db11ffa351adf56ba664fe7e1)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code is encoding host compiler parameters into target builds. Avoid
this for our target builds. This should resolve builds which aren't
reproducible between hosts with different compilers.
(From OE-Core rev: 71cdbf426e46e3ca1b5038f40e9f7ba958abc537)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass bits/endianness.h and bits/struct_rwlock.h to oe_multilib_header in
glibc-package.inc to fix files conflict:
| Error: Transaction check error:
| file /usr/include/bits/endianness.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64
| file /usr/include/bits/struct_rwlock.h conflicts between attempted installs of lib32-libc6-dev-2.31-r0.armv7vet2hf_vfp and libc6-dev-2.31-r0.aarch64
(From OE-Core rev: 0af9ff84348197b8b314f7c0d3757cab629daa94)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
see: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13663
When running oe-selftest in concurrency mode (e.g. with oe-selftest
--run-tests oescripts.OEPybootchartguyTests -j 4), if a skip occurred
during setUpClass() rather than within individual tests, the entire
suite would show "UNKNOWN" as each test's result. This is because
subunit doesn't know how to handle skips outside of individual tests.
An example of where this occurs is when running the above call to
oe-selftest in concurrency mode on a host machine that does not have
python3-cairo installed.
Patch subunit inside concurrencytest.py to provide a method called
outSideTestaddSkip, which will allow subunit to correctly detect the
skip in setUpClass().
(From OE-Core rev: 9b8734b584d6e8d9c32ff2a721b29f3f3e61cca7)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In systemd enabled builds this was failing with unpackaged unit files.
Fix this.
(From OE-Core rev: 81010555a29fe4ddae9a9c3abe35fcbddd8887b2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe hasn't built correctly since we removed "python" from HOSTTOOLS
when api-documentation is enabled.
Add in an extra symlink to "python" rather than trying to fix the multiple
scripts in webkit to refer to python3.
The autobuilder didn't detect this as wekbkit was excluded from the API docs
world build but that is changed now so this fixes build failures.
(From OE-Core rev: c9e520e0996ab524e38de19a22b64395d14c635a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop all systemd-boot patches and use an additional cross-file instead
to pick up EFI cc and objcopy. For EFI ld, we can use the command line
efi-ld option, but have to ensure it's something which can be exec'd
directly.
Commits from v244-stable:
c4280c342bbf Revert "Support Plugable UD-PRO8 dock"
bb598b56eb3c hibernate-resume-generator: wait "infinitely" for the resume device
77c04ce5c270 hwdb: update to v245-rc1
b4eb8848240c Fix typo in function name
e2d4cb9843c5 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
83bfc0d8dd02 sd-bus: introduce API for re-enqueuing incoming messages
5926f9f1723f polkit: use structured initialization
0697d0d972c8 polkit: on async pk requests, re-validate action/details
2589995acdb2 polkit: reuse some common bus message appending code
5b2442d5c3ec bus-polkit: rename return error parameter to ret_error
0a19ff7004e4 shared: split out polkit stuff from bus-util.c → bus-polkit.c
1325dfb5778d test: adapt to the new capsh format
3538fafb4714 meson: update efi path detection to gnu-efi-3.0.11
3034855a5b62 presets: "disable" all passive targets by default
c2e304681929 shared/sysctl-util: normalize repeated slashes or dots to a single value
6f4364046f90 dhcp6: do not use T1 and T2 longer than one provided by the lease
0ed6cda28dff network: fix implicit type conversion warning by GCC-10
f6a5c02d26b1 bootspec: parse random-seed-mode line in loader.conf
ddc5dca8a73b sd-boot: fix typo
2bbbe9ae41ab test: Synchronize journal before reading from it
072485d661d7 sd-bus: fix introspection bug in signal parameter names
80af3cf5e36b efi: fix build.
d7ede1ade564 generator: order growfs for the root fs after systemd-remount-fs
e9904998213d loginctl: use /org/freedesktop/login1/session/auto when "lock-session" is called without argument
82dd4caf014c Documentation update for x-systemd.{before,after}
a60459764d9d man: fix typo in systemd.netdev Xfrm example
fc053e2dfb3f timesyncd: log louder when we refuse a server due to root distance
af0e630693fa resolved: drop DNSSEC root key that is not valid anymore
ae59f1666ca6 journal: don't use startswith() on something that is not a NUL-terminated string
536ef6d72bc6 test: add test for https://github.com/systemd/systemd/issues/14560
b78fe3c1b1a8 core: make sure StandardInput=file: doesn't get dup'ed to stdout/stderr by default
a1561a08f2d5 pkgconf: add full generator paths
e5f2d11489ec tree-wide: we forgot to destroy some bus errors
ea67fd42067b mount: make checks on perpetual mount units more lax
2f23c648bce4 core: never allow perpetual units to be masked
9ba11dffb09a typo: "May modify to" -> "May modify"
84c048799a78 Disable reading SystemdOptions EFI Var when in SecureBoot mode
4c2d72b53091 sysctl: downgrade message when we have no permission
c001a285a3a2 Clarify journald.conf MaxLevelStore documentation
45d52c7615fd logind: refuse overriding idle hint on tty sessions
b1a0be45b4ee cgroup: update only siblings that got realized once
e6d694254fe1 mount: mark an existing "mounting" unit from /proc/self/mountinfo as "just_mounted"
d8fd38769c36 journalctl: Correctly handle combination of --reverse and --lines (fixes#1596)
cd19bd31d808 journalctl: Correctly handle --show-cursor in combination with --until or --since and --reverse
1320aa92dc0a core: fix re-realization of cgroup siblings
14164ec6bc77 core: propagate service state to socket in more load states
c22bf6b31a45 man: describe "symlink" and "systemctl link" explicitly in UNIT FILE LOAD PATH
26f3a534f1ab core: be more restrictive on the dependency types we allow to be created transiently
377cc5d91ea5 udev: don't import parent ID_FS_ data on partitions
7d5060d53994 man: fix option name
98c03090274a Support Plugable UD-PRO8 dock
e9687d09dccf gpt-auto: don't assume XBOOTLDR is vfat
7057fe863007 man: fix documentation of IBM VIO device naming
f8d1df1045be man: slightly extend documentation on difference between ID_NET_NAME_ONBOARD and ID_NET_LABEL_ONBOARD
1faf5dde4d4a boot: fix osrel parser
65d247af1786 udev: do not use exact match of file permission
6da978f89b48 network: lower the log-level of harmless message
5d8a614f926c hwdb: ignore keys added in kernel 5.5
8b1bd1746989 systemctl: skip non-existent units in the 'cat' verb
b2f342f92b54 systemd.exec: document the file system for EnvironmentFile paths
945f3a231f6f systemd-analyze: fixed typo in documentation
2c8ae283b0ee test-condition: fix group check condition
6b48479f4582 umount: show correct error message
faba5b2ba8c9 Revert "Drop dbus activation stub service"
3dd98f1998f9 man: add section about user manager units
1c80a8ced006 man: add remote-*.targets to the bootup sequence
9afd65f15e93 time-util: also use 32bit hack on EOVERFLOW
561923291383 [man] note which UID ranges will get user journals
588a23ef2684 [man] fix URL
0130a03179f6 analyze: badness if neither of RootImage and RootDirectory exists
93074c962e3a network: introduce AddPrefixRoute= and deprecate PrefixRoute=
a8ad020ea0ba shared/dropin: fix assert for invalid drop-in
946cdba156dd initrd: make udev cleanup service confict trigger and settle too
c0a8a92e6027 man: we support growing xfs too these days
608d88273494 time-util: deal with systems where userspace has 64bit time_t but kernel does not
cfced59a4bd8 [import] fix stdin/stdout pipe behavior in import/export tar/raw
73435b219553 systemctl: show what verbs support --dry-run in the help page
dc56b94e1308 cryptsetup-generator: unconfuse writing of the device timeout
0757ad565573 shared/install: log syntax error for invalid DefaultInstance=
d2471109d999 shared/install: provide a nicer error message for invalid WantedBy=/Required= values
(From OE-Core rev: 59dbb6d8ed32227c26db1982099ea845d92fff81)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corrections:
- environment
- accommodate
- conversion
- compatible
(From OE-Core rev: 9797d3b45b4e1b9d77f0f2ee299c17b48d8d3cf6)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test is checking that weston is able to start.
(From OE-Core rev: 57700767f90eea8f2b78187c42581aca42d50bbf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I am not sure if this has ever worked, but uvesafb is a really
outdated (VBE from the 1990s), awkward (needs v86d) and limited
(no support for high resolutions) way to do it.
The specific reason 640x480-32 was introduced (ages ago) was
to force 32 bit mode with vmware driver, as 16bit had rendering issues.
The modern, supported option is video=... kernel parameter documented here:
https://wiki.archlinux.org/index.php/kernel_mode_setting#Forcing_modes_and_EDIDhttps://github.com/torvalds/linux/blob/master/Documentation/fb/modedb.rst
which can be passed directly to runqemu and doesn't require special
kernel modules.
Sato under X will continue to use 640x480 as that is hardcoded into
xorg.conf under qemu.
(From OE-Core rev: 1cf26f69fd89b43be24cd1232c43e5050b9d718a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added ages ago to enable GL passthrough with
vmware driver, and is no longer relevant, as std or virgl is used
instead nowadays.
Original commit:
commit 072545b111
Author: Richard Purdie <rpurdie@linux.intel.com>
Date: Wed Jan 21 17:40:51 2009 +0000
scripts/poky-qemu-internal: Add support for GL passthrough in qemux86 images
(From OE-Core rev: 857078ba8eda153f4a097683db551a7d310ecc01)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When parsing recipes its apparent the memory usage of bitbake rises linearly
with number of recipes parsed. It shouldn't.
Using tracemalloc (thanks for the tip Joshua Lock) it was clear that the
dependency information left behind in siggen was the culprit. Add a new
method to allow us to drop this information. We don't need it after the recipe
has been parsed and hashes calculated (at runtime its different but only the
currently executing task would be in memory).
This should give signficant memory usage improvements for bitbake and that
in turn should help speed on more constrained systems, as well as when used in
multiconfig environments.
(Bitbake rev: 5d98d8e39bba42f458532b1eef3619f2321d8a2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports from upstream:
0001-Manually-applied-upstream-fix-for-openssh-test.patch
0001-seccomp-Allow-clock_gettime64-in-sandbox.patch
openssh-8.1p1-seccomp-nanosleep.patch
(From OE-Core rev: c9b5802bbe1de609450f509edf4721ab0a7a70aa)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
APPEND is used to add additional parameters to kernel by features, such
as read-only-rootfs. So we should honor this variable when we compose
the kernel parameter in wic. I know we also can resolve this kind of
issue by using the .wks.in template introduced by commit 42e870c5ed
("image_types.bbclass: support template .wks.in files for wic"), but the
APPEND is needed by all the wks, it would seems pretty ridiculous to me
to change all the .wks to .wks.in and then foist the APPEND into them.
So the APPEND is definitely deserved to export to the wic directly.
[Yocto #12809]
(From OE-Core rev: 18981b8a457104391dfd94938c247eac04e4ed50)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The APPEND is an optional variable, so add it to the optional variables
list to make the wic selftest happy.
(From OE-Core rev: 7c8b3a1b920fd4cc1598357985eef0e5e0e0ac79)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is already a relocate.patch for native which is used for reading
GNUPG_BINDIR from environment variables, now also enable it for nativesdk.
Otherwise, command like the following one doesn't work for nativesdk:
$ gpg-connect-agent --homedir ../keys/ reloadagent /bye
gpg-connect-agent: no running gpg-agent - starting '/opt/path/to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent'
gpg-connect-agent: failed to start agent '/opt/path/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/gpg-agent': No such file or directory
(From OE-Core rev: c6b00b5594adec0a7d7a7f3617fb99b65ea8d9f1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.
Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the newlib based SDK.
(From OE-Core rev: 9521c66e0edb2b36c3d5c777ec7a7158b40452d4)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we now have an example recipe on meta-skeleton to
build baremetal applications using OpenEmbedded, a user
produced SDK should be able to run such application.
Include nativesdk-qemu on TOOLCHAIN_HOST_TASK so its
built inside the baremetal based SDK.
(From OE-Core rev: 2c6a249f3e1ad9c160f59d2d0b38749c85e7ff3a)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
x11perfcomp encodes the library paths in the script.
(From OE-Core rev: 2c7d8251a56a73a94c1f868e33eeee197c5ffa57)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All of the .pc files contain the path to ${libdir} which fails
in a multilib rpm image.
(From OE-Core rev: c96c56476fe9025884c7ea96f15f41694a6908fe)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assuan.h is generated and can differ between mutlilibs.
(From OE-Core rev: 21043a168a2c68dd9a2f2f14f404b6f66fc05cf7)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sndfile.h can differ depending on the combined architectures.
(From OE-Core rev: 0373b0b40d004fb9900249bd1ba65dea54495960)
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xsltconfig.h is generated and can be different between multilibs
(From OE-Core rev: 966a8d95da1d1bbf59d2d4068c27821e8a54ee5f)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This error handling didn't work as expected since upon failure it would
inject bytestreams back into the code leading to tracebacks.
Instead, ignore the decode errors. Fixes:
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 78, in <module>
sys.exit(main())
File "/home/pokybuild/yocto-worker/a-full/build/scripts/resulttool", line 72, in main
ret = args.func(args, logger)
File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/store.py", line 70, in store
resultutils.save_resultsdata(results, tempdir, ptestlogs=True)
File "/home/pokybuild/yocto-worker/a-full/build/scripts/lib/resulttool/resultutils.py", line 178, in save_resultsdata
f.write(sectionlog)
TypeError: write() argument must be str, not bytes
(From OE-Core rev: 3aa0d0fd0bbf8c9c13719251a2fd1e85a22c7336)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When currently specified, the branch is used to verify the versioning of
the meta layer, but the master branch is checked out. This change
allows for the branch to be specified. Now it is easy to specify all
of the meta layers being added are of the same version, without having
to do it in each individual git tree. Also, it will error if there are
branches without a matching version. Finally, this allows for meta
layer git trees without a master branch.
(Bitbake rev: 4ec49f42f327068890e7aad8553d7f282e2ffaa1)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Minor rework of the patch to use the layerBranch actual_branch since
the layerindex referenced branch may be different then the overall
release branch.
Also adjust the patch to use the default git checkout branch instead of
master if no branch was specified. (Some repositories don't have a
master branch.)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer expect a "python" binary in PATH so update the eSDK's
expectations to match. This was the only failure on autobuilder test
systems with python missing.
(From OE-Core rev: 946ce21b10dcad506edcaadb4e4242c049e4c316)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should fix the vdso crashes seen with kernel 5.0+
python3[11312] general protection fault ip:b7e966b0 sp:bf8175cc error:0 in libc.so[b7e8b000+6b000]
(From OE-Core rev: a85afec1115f2a09cd750a4554f44fb8af96975c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-License-Update: "PDX-License-Identifier: LGPL-2.1-only OR MPL-1.1"
is added
(From OE-Core rev: 79c940c4df9891932367186c76652887f5aa881b)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps compiling with musl on 32bit arches now that musl has
switched to 64bit time_t
(From OE-Core rev: 8c3a220a91f90202233765a3b4eb1697c8be18f7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0003-configure.ac-check-finite-isinf-isnan-as-macros-firs.patch
Removed since it is included in 2.7.0.
refresh the following patch:
0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
add the following patch to solve build error:
0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
[error message]
ERROR: ruby-2.7.0-r0 do_package_qa: QA Issue:
/usr/lib/ruby/gems/2.7.0/gems/racc-1.4.16/bin/y2racc contained in
package ruby requires /usr/local/bin/ruby, but no providers found in
RDEPENDS_ruby? [file-rdeps]
format of file COPYING is updated.
LEGAL notice information is updated.
(From OE-Core rev: 3cdf5da514b424a6d78ba4e1412331b6cf2b3bff)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update strace to 5.5. This includes a small change in the license file
to change the date to 2020.
(From OE-Core rev: 3e1e8d24ce122ddb5897418d1bae123051e1f450)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe is intended to be run manually or via oeqa.
[YOCTO #13737]
(From OE-Core rev: eadbe01bb8232de79e0827e6c6b3411f69ea7303)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This task is not intended to be run as this recipe does not produce any
packages or install any sysroot content. Additionally running this task
behaves differently from a normal glibc build, and can result in issues.
[YOCTO #13737]
(From OE-Core rev: 2b51252cb8bd9badfa28794f9ef9431b48752e3d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has a patch [1] to fix musl builds, Prior to this it would not
build on musl due to missing GNU extentions for fnmatch
[1] 4280e74de1
(From OE-Core rev: 2de44715a15880bb4a9f78e7ff5814b75938b27c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a long standing issue where a binary could be installed into the
sysroot before its library dependencies. We've always argued nothing should
use the binary until it has been installed by a dependency but there are issues
around binaries which conflict with the host system, for example patch,
python3, gzip and more.
With the recent patch changes we've seen issues like:
ERROR: gdb-cross-canadian-powerpc-8.3.1-r0 do_patch: Command Error: 'quilt --quiltrc /home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-powerpc/8.3.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0009-Change-order-of-CFLAGS.patch
patch: /lib64/libattr.so.1: version `ATTR_1.3' not found (required by patch)
Patch 0009-Change-order-of-CFLAGS.patch does not apply (enforce with -f)
which is a symptom of this issue (libattr-native is a dependency of patch-native).
There are other ways to fix this such as disabling libattr in patch, installing
patch to a subdirectory and requiring PATH manipulation and so on.
We can simply fix the staging code to handle /bin/ after everything else so
do that and avoid all these other complications.
(From OE-Core rev: 29d17fe23265bf0c7defa14ffc0f677af15c6818)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build and boot test for the beaglebone and edgerouter.
(From meta-yocto rev: db4247b8c95ec997fa90226a49df36d7366c469f)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-License-Update: Copyright year updated from 1998-2019 to 1998-2020.
(From OE-Core rev: 19711adc45cf57fc007a7d1e052726fd45157f98)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While we are upgrading let's refresh patches and remove the outdated
patches.
(From OE-Core rev: ca276b77904429a1ff3188d2373535a462afe266)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If an append adds a patch or file with SRC_URI += , the spaceless
append causes the file listings to concatinate and cause failures
in the nativesdk-binutils parse/build.
(From OE-Core rev: 227bacec59501b6ef0aca50c62ad1f4acd167b5d)
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove patch which have been merged upstream
(From OE-Core rev: c48e2f4e93a5aae1c4dec1511297c88f494bcc5d)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When processing overlays, the base device tree must be compiled with
symbols, otherwise attempting to apply overlays in U-Boot will fail
with:
failed on fdt_overlay_apply(): FDT_ERR_NOTFOUND
base fdt does did not have a /__symbols__ node
make sure you've compiled with -@
(From OE-Core rev: d075e39c05ace6dad2c66a5e8c4b1e75aa751b6a)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the order of dtb/dtbo files in the generated fitimage is
reproducible.
Fixes: 71bfa9838cbf ("kernel-fitimage: Handle overlays in EXTERNAL_KERNEL_DEVICETREE")
(From OE-Core rev: 9e4a91b63dd8e0c1708da2ac7de461b35fb0b011)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This feature includes paravirtualized KVM guest support, including
KVMCLOCK for enhancing clock accuracy of guest OS. With it we can prevent
the following error.
"clocksource: timekeeping watchdog on CPU3: Marking clocksource 'tsc' as
unstable because the skew is too large"
(From OE-Core rev: 74ffa7730e194e7b5dc71e63939b4a4a9843be93)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enable PACKAGECONFIG[tk], we should install _tkinter.*.so to
python3-tkinter package rather than python3-misc package.
Fixes:
ERROR: python3-3.8.1-r0 do_package_qa: QA Issue:
/usr/lib/python3.8/lib-dynload/_tkinter.cpython-38-x86_64-linux-gnu.so
contained in package python3-misc requires libtk8.6.so()(64bit), but no
providers found in RDEPENDS_python3-misc? [file-rdeps]
(From OE-Core rev: 991d7ced7262a1340878bada307c6d021ea9cb77)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there are differing packages and they are being saved for review,
automatically run diffoscope on them and include the output in the saved
output. The output is currently done in HTML format since these are
typically published on a webpage by the autobuilder.
(From OE-Core rev: 6e1d5e8b58f0940ba6dfd99536159dd974e6f24c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various dependencies don't build for musl so exclude this recipe too, at
least for now until the issues are resolved to avoid build failures in
world builds.
(From OE-Core rev: 085b0a3337e04e14e0d922a9028a7748dc81c4d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffoscope is the universal diff tool, capable of comparing many
different formats.
(From OE-Core rev: c92cf366c301a98ff1546d80d6c3a138f952252a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python-magic module is used by diffoscope tool to make
build comparisons.
(From OE-Core rev: 64560fcbe7c9658fcca86010502d00998d88f418)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libarchive python module is used by diffoscope tool to
make build comparisons.
(From OE-Core rev: 288becda36dcc9f5435ec00258c0d0594e0011c1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the official release for Wayland 1.18. The main new features in
this release are:
- Add support for the Meson build system (autotools is still supported
but will be removed in a future release)
- Add API to tag proxy objects to allow applications and toolkits to
share the same Wayland connection
- Track wayland-server timers in user-space to prevent creating too
many FDs
- Add wl_global_remove, a new function to mitigate race conditions with
globals
https://lists.freedesktop.org/archives/wayland-devel/2020-February/041207.html
2 upstreamed patches are dropped.
(From OE-Core rev: c127e7ac7c6da11417a599384002fd7c1420c7c2)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd is enabled, ensure iputils detects it correctly. Split out
IPv6 only features based on ipv6 enabled in DISTRO_FEATURES.
(From OE-Core rev: e742e5f711d46b1664cc5bec2f788dc0e020ccaa)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gold is not supporting risc-v yet and, this will cause subltle errors
during build e.g. autoconf not finding certain features like visibility
and it could take a while to unwind the problem. Its better to error out
early
Remove dwp and ld.gold for rv32 as well
(From OE-Core rev: 5ee10b10b3316a368cea73df470befd587ef1cd0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, normal distro features e.g. ld-is-gold is impacting
crosssdk recipes, which actually should not be the case, since
that feature is essentially intended for target packages and not
nativesdk packages
(From OE-Core rev: aec9f9bd9549938a6ed42e9879f3a2fdcc89463d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps it compile on musl
Fixes
| tst_clocks.c:31:17: error: 'SYS_clock_getres' undeclared (first use in this function); did you mean 'tst_clock_getres
(From OE-Core rev: 8b6c22a0dc61579d112161fd49da855a678cc58b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
since the versions of autotools might differ on target and build host, plus difference in
timestamps for configure and system can result in reconfigure lets avoid
that by disabling maintainer mode
Avoids
error: newly created file is older than distributed files!
[YOCTO #13779]
Suggested-by: Andre McCurdy <armccurdy@gmail.com>
(From OE-Core rev: 3dc4e27e7633ce3ca6b9647810d0996bdee48771)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
running ptests on qemuarm returns fails since it finds errors in kernel
logs like below
***********************
Central error: [ 4.338465] pci-host-generic 4010000000.pcie: ECAM ioremap failed
***********************
Since its a 32bit kernel 4010000000 address is truncated to 10000000 and ends up
in conflicts with VIRT_PCIE_MMIO, which ranges from 0x10000000 to 0x3efeffff
This is happening because the linux-yocto kernel is not compiled with
LPAE support, however, virt machine for qemuarm assumes that by default
Should LPAE be enabled by default in kernel config is a separate
question
(From OE-Core rev: 4486f4523f6671841ffa65ce2419b9e3e018ad76)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recent opkg-utils change didn't update all the packages since its
marked as ABISAFE (and has to be due to update-alternatives).
Fix a minor import issue to avoid multiple imports of glob which
also causes packages to re-generate.
(From OE-Core rev: ef24a545d11febb96d1c0f02c60d9701295ef592)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no other version of pkgconfig to have a preference against,
remove the unneeded variable.
(From OE-Core rev: 837cd3c0ee318ff22065b77c6cc72b4d50abbf27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable reporting selected test case result given the user provided
the selected test case id. If both test result id and test case id
were provided, report the selected test case result from the
selected test result id.
(From OE-Core rev: 7161310ce32d6e0c397d0132808d556bdc80d183)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python3native.bbclass set PYTHON_{LIBRARY, INCLUDE_DIR} pointing to
python target build, a patch was add to use target _sysconfigdata too [1]
but is not available without python3 dependency.
Fixes waffle build when trying to find _sysconfigdata module,
...
| Program python3 found: YES (/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
|
| meson.build:36:0: ERROR: <ExternalProgram 'python3' -> ['/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3']> is not a valid python or it is missing setuptools
|
| A full log can be found at /home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/build/meson-logs/meson-log.txt
| WARNING: exit code 1 from a shell command.
...
[1] http://git.openembedded.org/openembedded-core/commit/?id=02714c105426b0d687620913c1a7401b386428b6
(From OE-Core rev: d3032809136707b584e7938c01e77da36abc1b00)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fw_setenv and fw_printenv binaries should be on a specific package
as some systems may require just the library.
The upgrade path was kept using the RPROVIDES for the -bin package.
(From OE-Core rev: a60bf84b15be85ae0f16b5f85fec98b3365f15de)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the features are processed by a python fragment, we need to explicitly
list the variables that should affect the resulting hash, and thus sstate
re-use.
(From OE-Core rev: c7c12efba87c803d94a7c9c2f8c98b66aeba6d43)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using EXTERNAL_KERNEL_DEVICETREE, collect DTB overlays too (*.dtbo)
as well as iterating down into sub-directories so using the behaviour
for naming which matches KERNEL_DEVICETREE.
(From OE-Core rev: 169ebd59f11845a3a5a7157719217ccf0844e448)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to start the xserver, a non-root user should have the
cap_sys_admin capability to set the drm master. We try to get
the cap_sys_admin capability by setting it in both the thread
and file inheritable set. The side effect of this is that we
would have to add the "pam" to the distro features if we want
use the xserver-nodm-init for a non-root user.
[Yocto #11526]
(From OE-Core rev: cfd71a68a4931c8bda15357ebb1e9ebcf0e302dc)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current runtime infrastructure contains hardcoded values which Ill refer to
as patterns, these patterns are either searched through or sent via the serial
terminal to communicate between HOST and TARGET.
These patterns are required since they allow us to check when a device has
finished booting, to log in, and to check whether a command sent from our tests
has returned, this way we are able to check both the status of the commands that
were sent along with its output.
The testing process goes somewhat as follows:
1. Launch QEMU and start booting.
2. Check when the device has booted by looking for the pattern login:.
3. Log in as the root user (default for our images).
4. Check that we were able to log in succesfully.
5. Start running the runtime test cases defined by TEST_SUITES.
6. One of such test cases could send a command to the QEMU target.
7. Check whether that command returned.
8. Check its output and status, return whether the test case passed or failed.
This patch allows this set of patterns to be defined instead of being hardcoded,
but it also automatically sets the defaults that we have been using in the past
if they have not been manually defined, for this reason, the patch is less
invasive and should not affect in any way how tests are currently being run.
Cases that can be enabled with this patch:
- A customized image that does not use the root user (or maybe we want to check
what happens if we dont use the root user).
- An image where the PS1 env variable has been modified, and the prompt pattern
wouldnt match the default.
- Baremetal applications, which do not follow the conventional way of booting
Linux and would probably not show a prompt for a user to log in, same applies
for testing bootloaders.
- poky-tiny: Using DISTRO=poky-tiny and an image such as the core-image-tiny
from meta-intel, which boots directly to RAM, and does not show a log in prompt
since it does not contain a conventional init process.
The code itself contains comments that should be self explanatory but here is an
example on how these patterns can be defined in a hypothetical case where we
want to run test cases as the webserver user instead:
TESTIMAGE_BOOT_PATTERNS = "send_login_user search_login_succeeded"
TESTIMAGE_BOOT_PATTERNS[send_login_user] = "webserver\n"
TESTIMAGE_BOOT_PATTERNS[search_login_succeeded] = "webserver@[a-zA-Z0-9\-]+:~#"
The variable TESTIMAGE_BOOT_PATTERNS defines which patterns to override when
used to communicate with the target when booting, anyone familiar with the
PACKAGECONFIG syntax should have no trouble setting these.
Other patterns would still be set up as default, e.g.
search_reached_prompt would still be login:
The accepted flags for TESTIMAGE_BOOT_PATTERNS are the following:
search_reached_prompt, send_login_user, search_login_succeeded,
search_cmd_finished.
They are prefixed with either search/send, to differentiate if the pattern is
meant to be sent or searched to/from the target terminal.
A working example of this code that falls under the baremetal case mentioned
above along with a test case is present on the meta-freertos layer, which tests
an RTOS image built with OpenEmbedded and automatically runs a test case on it
after booting such image:
As usual, INHERIT += "testimage" needs to be present on local.conf
$ bitbake freertos-demo -c testimage
RESULTS:
RESULTS - freertos_echo.FreeRTOSTest.test_freertos_echo: PASSED (2.00s)
SUMMARY:
freertos-demo () - Ran 1 test in 2.006s
freertos-demo - OK - All required tests passed (successes=1, skipped=0,
failures=0, errors=0)
(From OE-Core rev: 3ab2cbfeff371e8791b031a2852eeef80101a831)
Signed-off-by: Alejandro Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commmit 6cde67d0a8 enables the use of qemurunner on machines that
only have a single serial port, but still sets the default value
as serial_ports=2 if not provided.
The testimage class does not call qemurunner with a serial_ports
argument, hence always defaulting to two.
Pass the serial_ports argument from the testimage class to allow
tests to run on QEMU machines with a single serial port.
(From OE-Core rev: a50d0163770f0b405a8de8a8a9cccd48c1de4112)
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
refresh the following patch:
configure.patch
(From OE-Core rev: 498e0f83040fe2e83805d8b13d69c17c74a520ba)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweaks include:
- hyphenation
- rewording for brevity or clarification
- adding <firstterm> markup where appropriate
(Bitbake rev: bc84ce7e6542dac1a150b9733411190cff591948)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the proper spelling is, in fact, 'BitBake', might as well make
it consistent throughout the user manual.
(Bitbake rev: 79ada807de0b202c3d568fc4365a1d3f17ba1bce)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If locked sigs are in use this function makes little sense, need to
avoid generating mismatch warnings.
(Bitbake rev: 27ad9c1d468fba858a4adeb56b605227b415ae0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add unihash cache of values to speed up cache lookup.
This avoids the overhead of the disk based check functions.
(Bitbake rev: 5c9cc45b60904a1c355db9bf9c4495f1b25aca37)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the cache can grow huge since any previously used hash is
retained in the cache. This change moves to use one hash per task
which improves the speed of the functions considerably. Currently
performance is an issue, as are very large cache files and cache
load time.
By moving to a single hash per task, the shorted filename as a key
is no longer usable as the same recipe has multiple variants for
the same filename so this has to change.
(Bitbake rev: ed764e7fcf04b6d0ba6b4cac7415b1ee8f492865)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0002-use-lnr-wrapper-instead-of-looking-for-relative-opti.patch a
variant on which was introduced in 2c10473109 ("Upgrade to systemd
211+") in 2014. The oldest supported build machine is now CentOS 7 which
has --relative support in ln, so there no longer appears to be any need
for this change.
Rebase/refresh musl patches:
- replace missing.h with specific missing_... header
- fix additional WRITE_STRING_FILE_DISABLE_BUFFER
- fix more places that need netinet/if_ether.h
(From OE-Core rev: 44a4ac2294da0f53cbbfabc7ece836fe97f4d3f7)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Fix-a-NSUPDATE-compiling-issue.patch
0001-master-Added-includes-of-new-BIND9-compatibility-hea.patch
Removed since they are included in 4.4.2.
refresh the following patch:
0004-Fix-out-of-tree-builds.patch
(From OE-Core rev: d3c6f7e689a743fd060755eceb60353093013e84)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Fix-out-of-tree-builds.patch since it has been merged
upstream.
(From OE-Core rev: c3df7eec1ba99a34b4037da786863de87073576d)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Get the sys.lib from python3 itself and do not use
hardcoded value of 'lib' for distutils.
Solve the error below that occurs when run "python3 setup.py
install"
on lib64 multilib platform:
[Errno 2] No such file or directory:
'/usr/lib/python3.7/site-packages/test-easy-install-1828.write-test'
(From OE-Core rev: fb33127de5d80f5bcb84edf6cf4007bca73fa863)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the installation path of libpython3.7m.a on mulitlib lib64
platform to lib64 instead of lib
(From OE-Core rev: 3081d3993095d2e4817bbef33c9c90dd814a45d7)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minor upgrade on 3.5 release series
(From OE-Core rev: da9b363acea2545721702fc7c39c4589b666c61b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When moving to python3, divison using '/' now returns float instead of
an integer. In upstream commit b8025e9720
sstate filenames longer than the limit are changed to just include
necessary info + 3 fields just for information. The space left over
after the necessary info is divided into 3 for each of the fields.
Using '//' instead to do the division to solve the following error
message:
avail = (254 - len(hash + "_" + taskname + extension) -
len(components[0]) - len(components[1]) - len(components[5]) -
len(components[6]) - 7) / 3
> components[2] = components[2][:avail]
components[3] = components[3][:avail]
TypeError: slice indices must be integers or None or have an __index__
method
(From OE-Core rev: 2acfee61a062c6520a413b2a797544d968bb0c76)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, we won't copy and strip static libraries. However, this
functionality can be useful in some cases where people are doing
development on the target, and don't generally want the larger debug
capable static libraries. To enable the new functionality set:
PACKAGE_DEBUG_STATIC_SPLIT = '1'
Add a new function splitstaticdebuginfo. Thus function will copy the
unmodified static library into the specific debug directory location.
By keeping an unmodified version, it is possible for a user trying
to debug something to use -L /usr/lib/.debug-static and their existing
build commands to switch from stripped to full debug versions.
The PACKAGE_DEBUG_SPLIT_STYLE will select between two different
approaches, /usr/lib/debug-static or <path>/.debug-static.
Additionally you can now choose to strip static libraries to conserve
space. If either 'PACKAGE_DEBUG_STATIC_SPLIT' or 'PACKAGE_STRIP_STATIC'
is set to 1, the static library will be stripped. (This is not on by
default, as it could make diagnosing static library usage difficult in
some cases.)
Add to insane.bbclass a skip to the staticdev warning for the specific
-dbg package versions.
(From OE-Core rev: 17fa66c8199d73f0b59b2b3e609075933bf1e74b)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the order of the skip processing to happen before any .ko and static
library processing. This will allow these types of files to be individually
skipped if necessary.
(From OE-Core rev: c50fcd54ffe60b63d042d05e6cf538a593dc410f)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Format of the sources list is the [ (file, [source, ...]), ... ] before
this change, the static libraries were processed but the items were
included incorrectly causing no sources for static libraries to be
included.
(From OE-Core rev: fa356b23c2f4599681693bba50d36659b07a8125)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
chkconfig is one of the options for virtual/update-alternatives,
however opkg-utils have been used as the default for a very long time,
while chkconfig isn't anymore tested in any way, and is stuck
at a very old version due to newer versions requiring selinux.
[YOCTO #11264]
(From OE-Core rev: 61efc1e287326f52810a439ccde996f45ef89733)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some instances, attempts to remove the qemu pidfile within the
stop() method fail despite the os.path.exists() call immediately
before implying that the file is present. Add a try/except block
to log a warning if this occurs, rather than failing outright,
since the process simply appears to be exiting at an inconvenient
time.
[YOCTO #13675]
(From OE-Core rev: eadb899e23b18eb9eaff145c3bf5b20fb417c3e8)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cpio 2.12 was released in 2015 and might have used older autotools
which could result in errors like
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13779
Bumping to 2.13 will help in matching the tool versions
A good change on top would be to run
aclocal -I .; autoheader; autoconf; automake --add-missing -c
before running configure step perhaps
[YOCTO #13779]
(From OE-Core rev: 84eb1dc4fe8a11cd2d05b703070a6fb6de05b873)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To ensure that the kernel linker is used when allno/mod/yes config
merge_config steps were executed, the call to make was tweaked to
explicitly pass LD.
But since the variable wasn't quoted, any parameters to LD (like
the sysroot) were mistakenly passed to make, and hence could trigger
an error on some architectures.
We also tweak the logging to hightlight errors like this in the
future and avoid losing it in the noise of merge configs sometimes
overly verbose output.
(From OE-Core rev: a60c4c116efecd7a6ee5a11b1d366bb00b9d23ce)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current code would cause a file like "config.bin" to added to the
config sources list. I am sure the intention was to add any files with
defconfig in its name and not the other way around.
(From OE-Core rev: 06577d49c50b7e9f1f40fe5b52ec88d1bdc1430c)
Signed-off-by: Gavin Li <gavinli@thegavinli.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for whatever reason, instead of silently continuing to build default kernel config
(From OE-Core rev: ec281a948a23365bd4536139dac077fb1a5eae6d)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* when ld-is-gold is used, merge_config.sh silently fails and doesn't generate anything
useful in .config (and also include directory isn't created):
tmp-glibc-bfd-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build:
total 164K
drwxr-xr-x 4 martin martin 4.0K Feb 5 02:27 .
drwxrwxr-x 7 martin martin 4.0K Feb 5 02:27 ..
-rw-rw-r-- 1 martin martin 133K Feb 5 02:28 .config
-rw-rw-r-- 1 martin martin 39 Feb 5 02:27 .gitignore
drwxr-xr-x 4 martin martin 4.0K Feb 5 02:27 include
-rw-rw-r-- 1 martin martin 201 Feb 5 02:27 Makefile
drwxrwxr-x 4 martin martin 4.0K Feb 5 02:27 scripts
lrwxrwxrwx 1 martin martin 61 Feb 5 02:27 source -> /OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source
tmp-glibc-gold-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build:
total 28K
drwxr-xr-x 3 martin martin 4.0K Feb 5 02:26 .
drwxrwxr-x 7 martin martin 4.0K Feb 5 02:26 ..
-rw-rw-r-- 1 martin martin 74 Feb 5 02:26 .config
-rw-rw-r-- 1 martin martin 39 Feb 5 02:26 .gitignore
-rw-rw-r-- 1 martin martin 201 Feb 5 02:26 Makefile
drwxrwxr-x 4 martin martin 4.0K Feb 5 02:26 scripts
lrwxrwxrwx 1 martin martin 61 Feb 5 02:26 source -> /OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source
$ cat tmp-glibc-gold-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/.config
CONFIG_LOCALVERSION="-yocto-standard"
* and because the failure is silent, it will happily start building
kernel with default defconfig, which even builds OK for qemux86-64
but on qemux86 I've noticed this issue, because incorrectly
configured kernel build fails with:
$ tail -n 20 tmp-glibc-gold-qemux86/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/temp/log.do_compile
LD /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/libsubcmd-in.o
AR /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/libsubcmd.a
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
CC scripts/mod/empty.o
cc1: error: code model 'kernel' not supported in the 32 bit mode
cc1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/scripts/Makefile.build:99: scripts/mod/devicetable-offsets.s] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: error: code model 'kernel' not supported in the 32 bit mode
cc1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/scripts/Makefile.build:266: scripts/mod/empty.o] Error 1
make[1]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/Makefile:1111: prepare0] Error 2
make[1]: *** Waiting for unfinished jobs....
LD /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/objtool-in.o
/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/tools/objtool
LINK /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/tools/objtool/objtool
make: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/Makefile:179: sub-make] Error 2
WARNING: exit code 1 from a shell command.
* the issue happens in log.do_kernel_configme, but the log is completely useless:
cat tmp-glibc-gold-qemux86-do_kernel_configme/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/temp/log.do_kernel_configme
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/bison/bison_3.5.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/OE/build/oe-core/openembedded-core/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/binutils/binutils-cross_2.33.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', '/OE/build/oe-core/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_9.2.bb:do_populate_sysroot']
NOTE: Installed into sysroot: ['bison-native', 'bc-native', 'binutils-cross-i686', 'gcc-cross-i686', 'autoconf-native', 'xz-native', 'flex-native', 'gnu-config-native', 'automake-native', 'libtool-native', 'texinfo-dummy-native', 'gettext-minimal-native', 'readline-native', 'zlib-native', 'gmp-native', 'libmpc-native', 'mpfr-native', 'linux-libc-headers', 'm4-native', 'ncurses-native', 'pkgconfig-native']
NOTE: Skipping as already exists in sysroot: ['kern-tools-native', 'quilt-native']
DEBUG: sed -e 's:^[^/]*/:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/:g' /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/bison-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/gcc-cross-i686/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/autoconf-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/gnu-config-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/automake-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/libtool-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/gmp-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/ncurses-native/fixmepath /OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/pkgconfig-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/OE/build/oe-core/tmp-glibc/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/OE/build/oe-core/tmp-glibc/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/OE/build/oe-core/tmp-glibc/pkgdata/qemux86:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/temp/fifo.10476:g'
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_kernel_configme
DEBUG: Shell function do_kernel_configme finished
]because merge_config.sh is redirected to work-shared/qemux86/kernel-source/.kernel-meta/cfg/merge_config_build.log
and bbfatal_log called in do_kernel_configme only when merge_config.sh fails which it should in this case
but doesn't.
The merge_config_build.log shows 5.4 specific error:
scripts/Kconfig.include:39: gold linker 'i686-oe-linux-ld' not supported
but then it happily continues reporting what isn't applied in not created
.config file
--- tmp-glibc-bfd-qemux86-do_kernel_configme/work-shared/qemux86/kernel-source/.kernel-meta/cfg/merge_config_build.log 2020-02-05 02:28:01.455520207 +0100
+++ tmp-glibc-gold-qemux86-do_kernel_configme/work-shared/qemux86/kernel-source/.kernel-meta/cfg/merge_config_build.log 2020-02-05 02:26:30.656470909 +0100
@@ -171,586 +171,5113 @@
HOSTCC scripts/kconfig/symbol.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf --alldefconfig Kconfig
-./.tmp.config.jDjIEYi9Yq:2208:warning: unexpected data: #
-./.tmp.config.jDjIEYi9Yq:2209:warning: unexpected data: # Generic Driver Options
-./.tmp.config.jDjIEYi9Yq:2210:warning: unexpected data: #
-./.tmp.config.jDjIEYi9Yq:3102:warning: symbol value 'm' invalid for SAMPLE_SECCOMP
-./.tmp.config.jDjIEYi9Yq:3119:warning: symbol value 'm' invalid for NF_CT_PROTO_GRE
-./.tmp.config.jDjIEYi9Yq:3120:warning: symbol value 'm' invalid for NF_CT_PROTO_SCTP
-./.tmp.config.jDjIEYi9Yq:3121:warning: symbol value 'm' invalid for NF_CT_PROTO_UDPLITE
-#
-# configuration written to .config
-#
+scripts/Kconfig.include:39: gold linker 'i686-oe-linux-ld' not supported
+make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/scripts/kconfig/Makefile:73: alldefconfig] Error 1
+make[1]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86/kernel-source/Makefile:567: alldefconfig] Error 2
make[1]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build'
+make: *** [Makefile:179: sub-make] Error 2
+grep: /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/.config: No such file or directory
+Value requested for CONFIG_LOCALVERSION not in final .config
+Requested value: CONFIG_LOCALVERSION=""
+Actual value:
+
+grep: /OE/build/oe-core/tmp-glibc/work/qemux86-oe-linux/linux-yocto/5.4.15-r0/linux-qemux86-standard-build/.config: No such file or directory
+Value requested for CONFIG_LOCALVERSION_AUTO not in final .config
+Requested value: # CONFIG_LOCALVERSION_AUTO is not set
+Actual value:
* I don't know why merge_config.sh uses separate more difficult to find merge_config_build.log
instead of leaving the output to end in log.do_kernel_configme, I'll send it as separate
commit so that it can be discussed there.
(From OE-Core rev: 36fe2efc91fec5a52374a2dc4814a69076a2d28e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CONFIG_LOCALVERSION may already be set in a defconfig or config fragment
and this should not be unconditionally overridden.
(From OE-Core rev: 613c43f910cbdf5e03ef3d5bbf92de69082a30c9)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The machine_branch and machine_srcrev variables were set but not used in
do_kernel_metadata.
(From OE-Core rev: ee358e03b1ad6eb0624cee0306fef807de0116a6)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows the kernel-yocto bbclass to be inherited in a recipe without
needing to include linux-yocto.inc. The bbclass should stand on its own
and linux-yocto.inc does a few things which may not be desired in other
kernel recipes (such as modifying KERNEL_FEATURES).
The LINUX_VERSION_EXTENSION default is not moved as other kernel recipes
may not want this setting in place.
(From OE-Core rev: 48d8f97975c0b167c0f4f32145813f00b8c8a7a8)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the SRCREV to pickup the following fix:
Author: Martin Jansa <Martin.Jansa@gmail.com>
Date: Wed Feb 5 03:26:57 2020 +0100
merge_config.sh: pass LD variable from shell environment to make
* since 5.4 kernel Kconfig will fail immediately when it detects
that LD points to gold linker:
scripts/Kconfig.include:39: gold linker 'i686-oe-linux-ld' not supported
* in OE we already pass bfd linker in KERNEL_LD variable to merge_config.sh
but we need to pass it also into the make call here
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(From OE-Core rev: fa964575f9e00d8530563e61075992c5b69df137)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the SRCREV to pickup tweaks to symbol_why.py to be
python3 safe:
- we explicitly call /usr/bin/env python3
- we full specifiy our symbols
- do not assume that 'None' can be converted to a string
(From OE-Core rev: eaa83453fe206567253257fcefdbf6feb6d53d72)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was deciding whether to rename manpages based upon the presence of
/etc/debian_version. Be explicit about the configuration instead and
ensure determinism.
[YOCTO #13781]
(From OE-Core rev: 09c8a28893e7ca94a44232d802e1cb02a8f34b87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to sort python dict output to be deterministic and generate consistent
header files.
(From OE-Core rev: 75e4cedb986379db2e8a897df52ee1363f9a9a80)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With a sequence like:
bitbake sysvinit
bitbake sysvinit -c clean
bitbake sysvinit -c package_write_ipk -f
then the resulting package has two files with group "root/70" rather
than "root/shutdown". The issue is that of do_package is a setscene
task, base-passwd isn't present. This patch fixes that dependency
but there may be other cases of this problem around.
[YOCTO #13776]
(From OE-Core rev: 0227e929021263c51d2e7db36224000fecb01f1c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sudo uses AC_PATH_PROG to find target paths, which means at best
potential host-contamination (and reproducible issues) and at worst it
thinks sh is at /your/build/path/hosttools/sh.
Solve this by explicitly passing the correct paths to configure.
(From OE-Core rev: 61650dd8498a093f3bfa93202c9cd2e9a7fb7834)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was injection git information from the wrong git tree, stop this
to allow reproducible builds.
(From OE-Core rev: 506b36b6d86b3454fcc3cb85f6229cbe8d14f5b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was injection git information from the wrong git tree, stop this
to allow reproducible builds.
(From OE-Core rev: c3f6a6113f562ecdb13386c3ff52adb7973980a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The suid/setcap code depends on whether setcap is on the host system or not
with suid as a fallback. Disable this functionality to be deterministic.
(From OE-Core rev: 8b00ec484fb851c301f13145e17707c0167feab1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a build architecture leaking into the target ptest which
could vary depending upon host. Remove it as its cosmetic.
[YOCTO #13770]
(From OE-Core rev: 37db519eedb7eb5cd4f14d05f30f5d580aa7458d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch which handles the following issues:
a) Remove the \n from configure_attr.sh since it gets quoted differently depending on
whether the shell is bash or dash which can cause the test result to be incorrect.
Reported upstream: https://github.com/arsv/perl-cross/issues/87
b) Sort the order of the module lists from configure_mods.sh since otherwise
the result isn't the same leading to makefile differences.
Reported upstream: https://github.com/arsv/perl-cross/issues/88
c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst
there for good measure)
This needs to go to upstream perl (not done)
d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash
and "" with dash
Reported upstream: https://github.com/arsv/perl-cross/issues/87
(From OE-Core rev: 482fd0d99f989b5a72a25bdf402fb2f219420b5d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was breaking reproducibility, and the files aren't needed on
target.
[YOCTO #13772]
(From OE-Core rev: 2e0f30c4680221c693495e3a0327378d502a518b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed the deprecated methods as it will only cause problems later on,
and since warn() just calls warning(), it shouldn't change anything
(Bitbake rev: a194f275235f22411cb2368f06a44f61ceb6a0f3)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to recent changes to the tune, in order to match config.guess, the name
of the big-endian microblaze architecture was changes to 'microblaze'.
(From OE-Core rev: 6f6a6bbac684ead3fe6d070d61f17c2f611a2c87)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Various += were used, refactor these to be either = or .= depending on
usuage.
CONFLICTS should be '=', as no leading space is required and they are not
amending any other conflict settings.
The TUNE_CCARGS should be .= so that if the feature does not define a CCARG
blank spaces are not added to the CFLAGS. This is consistent to how the arm
tuning is implemented.
(From OE-Core rev: 78c38857486d3107ecd95d0ceefabcf5152c3928)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to allow no version to be configured. This should use the GCC default
which is the latest defined version, currently 11.0.
(From OE-Core rev: 0d1551dcc169f2d8dbfbe01b4f1f0ae3ce4770ed)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using microblazeeb breaks a number of autoconf recipes, including newlib
components. 'microblaze' is defined as the big-endian version, while
microblazeel is defined as the little-endian version.
config.sub: 2018-07-03
...
| maxq | mb | microblaze | microblazeel | mcore | mep | metag \
...
| microblaze-* | microblazeel-* \
...
microblaze*)
basic_machine=microblaze-xilinx
...
(From OE-Core rev: c052b0c984b28d64527a66ea8e2936ca28b9406f)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list of resources is gathered with $(wildcard) in Make, which isn't
sorted. If this order changes then the generated libraries will differ.
(From OE-Core rev: f3675be6be29426688187a135221431a0941d007)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous tweak for reproducibility didn't handle the duplicate
whitepace left behind, fix this.
[YOCTO #13771]
(From OE-Core rev: 0392fcbdc85180581ce7392212808ebb822cc2e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rsh is insecure and obsolete but tar will enable support if the binary is
on the host system. Some systems point it at ssh. Lets explictly disable it
for now unless someone actually needs/uses this at which point it could
become a packageconfig.
(From OE-Core rev: d14a4b0db92a9a7d1ff72a2e0faca7f1a23a0b68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The host kernel version was being encoded into the Xorg binary. Set
an appropriate configure option to avoid this and be deterministic.
(From OE-Core rev: 39e25b045231385c1e2a442fde2c5d4ee07640a8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a bug in patch 2.7.3 and earlier where index lines
in patches can change file modes when they shouldn't:
http://git.savannah.gnu.org/cgit/patch.git/patch/?id=82b800c9552a088a241457948219d25ce0a407a4
This leaks into debug sources in particular (e.g. tcp-wrappers where
source files are read-only). Add the dependency to target recipes
to avoid this problem until we can rely on 2.7.4 or later.
We could try and remove all index lines from patch files but it will be a
losing battle. We could try and identify all the recipes which change
modes on files in patches but again, its a losing battle.
Instead, compromise and have patch-native as a dependency
for target recipes. We use patch-replacement-native since patch-native
is in ASSUME_PROVIDED.
Also add nativesdk-patch to buildtools-tarball.
[YOCTO #13777]
(From OE-Core rev: 5ed0840c93804488cd1c1aba6cb382b2434714a5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The man page date can vary depending upon the host perl, e.g. in Russian
some versions print 'июня', others 'Июнь' or Polish 'czerwca' or 'czerwiec'.
Rather than depend upon perl-native to fix this, just remove the date from
the manpages.
(From OE-Core rev: 5553c20f9fa4f35bf711b6b9d5717dcf4bfefafa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This value was floating causing differences in generated files.
Set it determinstically.
(From OE-Core rev: 11d7a9e37c1d3fc21396a98fefc9d34c0b9e784b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding newline characters between the packages in the failure output
massively improves readability.
Also ensure to output ipk failures when there are deb failures by
calling self.fail() at the end, else sometimes only partial differences
are returned.
(From OE-Core rev: 6e2e0480852177db75a6108d77c99c92c4e9950f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a sorting problem with opkg-build where the ipk generated is depending
upon the order of files on disk. The reason is the --sort option to tar only
influences the orders of files tar reads, not those passed by the -T option.
Add in a sort call to resolve this issue. To ensure consistent sorting we
also need to force to a specific locale (C) else the results are still not
deterministic.
(From OE-Core rev: a9b8287984c63420e10329a69f7ac5125f1687f8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Include the version number in a format that is comparable to what we get
from NVD.
(From OE-Core rev: fdb2a95d5e0265de1172940b6dc71fc7d602e8d1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux kernel compilation for aarch64 triggers ICE if
CONFIG_CC_OPTIMIZE_FOR_SIZE=y.
The rootcause is GCC bug #91102 'aarch64 ICE on Linux kernel with -Os'.
Apply the fix to 9.2.
(From OE-Core rev: 14f34d32bfdaa752f5043e62750d2e7b92c4b419)
Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-pthread is compiler driver option which links in needed dependencies
for pthreads along with -lpthread, this aids in fixing build failures
on rv64
(From OE-Core rev: 94446ea1bfcb175af6fcaf5969a3a4507fdbf470)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
See bug https://bugzilla.yoctoproject.org/show_bug.cgi?id=13632
Autobuilder tests occasionally fail, reporting that a new logfile
could not be created. While this failure did occur multiple times, it
could not be manually reproduced. However, there are issues with the
implementation of the logrotate.py script that can be fixed. These
changes will help make the failures clearer, should they continue to
occur.
Previously, the test_2_logrotate test would, after running the
logrotate tool, use "ls -al $HOME/logrotate_dir | wc -l" to count
the number of files in the rotation directory and determine if the
rotation was successful. The test to see if there are at least three
files is problematic, because depending on the version of ls used, it
may report the target value of 3 even when there are only hidden files
in the directory, potentially reporting a pass for the test when it
should actually fail. An example with coreutils:
root@qemux86-64:~# ls -al emptydir/
total 2
drwxr-xr-x 2 root root 1024 Jan 14 19:50 .
drwx------ 3 root root 1024 Jan 14 19:50 ..
root@qemux86-64:~#
Where "total" is the number of blocks used. Compare with busybox ls:
root@qemux86-64:~# ls -al emptydir/
drwxr-xr-x 2 root root 1024 Jan 14 19:54 .
drwx------ 3 root root 1024 Jan 14 19:54 ..
root@qemux86-64:~#
Instead of using ls to verify that a certain number of files exists
in $HOME/logrotate_dir, the tests have been changed to rotate two
specific logs: the log for wtmp and a new logrotate_testfile created
during the second test. Both tests check that the logs are correctly
rotated into $HOME/logrotate_dir by using find and grep on the
expected filename (e.g. "wtmp" when rotated becomes "wtmp.1", so we
check to see that wtmp.1 is present in $HOME/logrotate_dir). In
addition, should the test fail, the output from logrotate -vf is
included in the test log to aid debugging. It has also been seen that
in some cases, the logrotate test fails because the /var/log/wtmp file
is not yet present. Since the objective of the test is to check the
logrotate functionality and not the presence of certain log files,
test_logrotate_wtmp uses the touch command to help ensure that the
file is present before the call to logrotate is issued.
Finally, note that while the autobuilder failures that this patch
addresses were only seen during core-image-full-cmdline tests, these
changes were successfully tested on core-image-minimal and
core-image-sato with the manual addition of logrotate and openssh-sshd
to the images.
(From OE-Core rev: b9392403e96c6d880de844b44da2c7300fcf411c)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adjust install to pick new files from S
(From OE-Core rev: cdb4b65e1c7d5efeac90feb446ea84a350a18aed)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create HelloWorld examples that run on several of the QEMU architectures
supported by the build system.
This recipe can be used by anyone to understand how baremetal applications
can be built using OpenEmbedded and how the wiring to set them up could be.
This should also facilitate creating/extending the OE testing infrastructure
to allow baremetal applications or RTOSs to be tested in the same way that
Linux currently is.
This can easily be extended to work on other MACHINES in the future.
To run this example:
$ source oe-init-buildenv
$ bitbake-layers add-layer ../meta-skeleton
# TCLIBC="baremetal" would work as well
$ echo "TCLIBC = \"newlib\"" >> ./conf/local.conf
$ echo "MACHINE = \"qemuarm64\"" >> ./conf/local.conf
$ bitbake baremetal-helloworld
$ runqemu
runqemu - INFO - Running bitbake -e ...
runqemu - INFO - Continuing with the following parameters:
KERNEL: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.bin]
MACHINE: [qemuarm64]
FSTYPE: [bin]
ROOTFS: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.bin]
CONFFILE: [tmp/deploy/images/qemuarm64/baremetal-helloworld-qemuarm64.qemuboot.conf]
Hello OpenEmbedded!
(From OE-Core rev: b314e9a0923c8aa95a2f2c3f48d956206e9885a7)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resolves following exceptions in log.do_kernel_configcheck:
DEBUG: Executing python function do_kernel_configcheck
Traceback (most recent call last):
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2776, in _expand_macro
res += args[int(new_args[0])]
ValueError: invalid literal for int() with base 10: 'error-if'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/symbol_why.py", line 295, in <module>
conf = kconfiglib.Kconfig( kconf, show_errors, show_errors )
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 947, in __init__
self._init(filename, warn, warn_to_stderr, encoding)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 1085, in _init
self._parse_block(None, self.top_node, self.top_node).next = None
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2982, in _parse_block
prev = self._parse_block(None, parent, prev)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2907, in _parse_block
while self._next_line():
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2234, in _next_line
self._tokens = self._tokenize(line)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2364, in _tokenize
self._parse_assignment(s)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2604, in _parse_assignment
s, i = self._expand_macro(s, i, ())
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2780, in _expand_macro
res += self._fn_val(new_args)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2843, in _fn_val
return py_fn(self, *args)
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 6769, in _error_if_fn
kconf.filename, kconf.linenr, msg))
kconfiglib.KconfigError: scripts/Kconfig.include:39: gold linker 'x86_64-oe-linux-ld --sysroot=/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot ' not supported
Traceback (most recent call last):
File "/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/linux-yocto/5.4.15-r0/recipe-sysroot-native/usr/bin/kconfiglib.py", line 2776, in _expand_macro
res += args[int(new_args[0])]
ValueError: invalid literal for int() with base 10: 'error-if'
* there is still 291 mismatched options in default 5.4.15 builds,
but at least the 11804 lines long log doesn't start with 9022 lines of above exceptions
DEBUG: Executing python function do_kernel_configcheck
[mismatch (291)]: /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/.kernel-meta/cfg/mismatch.txt
There were hardware options requested that do not
have a corresponding value present in the final ".config" file.
This probably means you aren't getting the config you wanted.
WARNING: [kernel config]: specified values did not make it into the kernel's final configuration:
...
(From OE-Core rev: d3083e941578fb343454e106eba349adcc525ad3)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to latest on the 243 stable branch. This includes (amongst other
fixes) seccomp filter changes which fix failures with glibc 2.31, e.g.
systemd-journald[543]: Assertion 'clock_gettime(map_clock_id(clock_id), &ts) == 0' failed at src/basic/time-util.c:55, function now(). Aborting.
Refresh:
0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch
0001-do-not-disable-buffer-in-writing-files.patch
Drop 0001-unit-file.c-consider-symlink-on-filesystems-like-NFS.patch,
fixed in 5c0224c7bf3c ("Handle d_type == DT_UNKNOWN correctly").
Drop 0001-seccomp-more-comprehensive-protection-against-libsec.patch,
fixed in 70e8c1978a9a ("seccomp: real syscall numbers are >= 0").
Drop 0004-rules-whitelist-hd-devices.patch and
0005-rules-watch-metadata-changes-in-ide-devices.patch which cause
ide-cd to flap with tray open messages (and don't appear to be required
any more)
Commits from v243-stable:
70e8c1978a9a seccomp: real syscall numbers are >= 0
a0a1977d9a5d seccomp: more comprehensive protection against libseccomp's __NR_xyz namespace invasion
7f936c60d597 network: set ipv6 mtu after link-up or device mtu change
b59d88cc62a4 man: fix typo in net-naming-scheme man page
c5e5ac095821 man: fix typos (#14304)
9a2f26564d5a ipv4ll: do not reset conflict counter on restart
bc9e1ebfdd3b Fix typo (duplicate "or")
c6cb71b7e741 network: if /sys is rw, then udev should be around
67dcdfd95629 nspawn: do not fail if udev is not running
a7938a1bc6d3 Create parent directories when creating systemd-private subdirs
53aa44f8738a network: do not return error but return UINT64_MAX if speed meter is disabled
65abf126744f core: swap priority can be negative
b1cf452ff5f6 systemctl: enhance message about kexec missing kernel
07a0e5b42523 man: use mkswap@ instead of makeswap@
57dc017c6bac journald: don't ask for the machine ID if we don't need it
ac392a57c08c journalctl: pager_close() calls fflush(stdout) anyway as first thing
ee7dfadc8237 journald: remove unused field
471073f1b52b journalctl: return EOPNOTSUPP if pcre is not enabled
002ededb61a0 man: drop reference to machined, add one for journald instead
fd3bd4be3bff pid1: make TimeoutAbortSec settable for transient units
eb2ef4d6643e pid1: fix setting of DefaultTimeoutAbortSec
1d75e29b2378 shared/ask-password-api: modify keyctl break value
a16b1ee7e565 cryptsetup: reduce the chance that we will be OOM killed
4836fb010ae8 core: write out correct field name when creating transient service units
3e2c547f6d3c udevd: don't use monitor after manager_exit()
d42f7d45a8e2 Revert "udevd: fix crash when workers time out after exit is signal caught"
c9a287eee8fd man/systemd.link: Add missing verb *be*
a67a3ae04b89 man: document all pager variables for systemctl and systemd
3a8fce3f38b6 core.timer: fix "systemd-analyze dump" and docs syntax inconsistencies wrt OnTimezoneChange=
fdffd284b682 core/service: downgrade "scheduling restart" message to debug
733e7f19d3cf travis: add missing closing quote sign
0d7b7817fc34 systemd-tmpfiles: don't install timer when service isn't installed either
0e7f83cd2b31 pam_systemd: prolong method call timeout when allocating session
e51d9bf9e5ac man: add entry about SpeedMeter=
aa1fc791c7a1 udev: silence warning about PROGRAM+= or IMPORT+= rules
b9a619bb6738 udevadm: ignore EROFS and return earlier
1ec5b9f80cb5 basic: add vmware hypervisor detection from device-tree
7fa7080248aa umount: be happy if /proc/swaps doesn't exist
71ccd774bb33 shutdown: make logging more useful if NULL swap/mount table files are specified
38453c6d42e4 man: share description of $SYSTEMD_COLORS in other tools
b50ca0152681 core: do not propagate polkit error to caller
99b72a66ca55 ask-password: don't hit assert() when we query pw which the user C-d and caching is enabled
288edd686911 man: mention $RUNTIME_DIRECTORY & friends in environment list
37aeadd433d3 cryptsetup-generator: guess whether the keyfile argument is two items or one
a87e8fdc72d7 verify: fix segmentation fault
3aea728cd2d2 timedated: it might be that tzinfo files are just not installed
cc103c72abc1 timedated: handle UTC specially, when generating /etc/localtime
f5a4caa5418b time-util: treat /etc/localtime missing as UTC
2139d58652bb bpf: fix off-by-one in class whitelisting
cb7693595db9 bpf: fix device type filter
56e1ba304b00 core: constify bpf program arrays
b06b7ace92c1 run: propagate return code/status from the child
5db454b8031c udevd: fix crash when workers time out after exit is signal caught
b774282a855e udev: ignore error caused by device disconnection
8d88a2ecd7ce udev: fix error code in the log message
c41484a2f3d7 udev: ignore ENOENT when chmod_and_chown() device node
f218b65b3246 udev: do not append newline when write attributes
ce4d17ddbc16 time-util: uniquify timezone list, in case UTC is listed in timezone1970.tab, too
28f0b34c57bc time-util: always accept UTC as valid timezone
8b888d236007 seccomp: add all *time64 syscalls
53d8feeb2334 libblkid: open device in nonblock mode.
b9478046b03d man: describe ordering in case of Conflicts=
fa3e5bd2bbb4 man: put description of Wants= above Requires=
bdebd2c325fc meson: remove strange dep that causes meson to enter infinite loop
26bc77d8e5af man: fix option typo in pam_systemd man page
9c12127e3d2e man: save pull-raw example file without underscores
4c106cbcf1af man: small grammatical/word choice fixes to crypttab man page
03cc374fca74 shared/format-table: disable ellipsization when piped
0a5497d3fa4b sd-device-enumerator: do not return error when a device is removed
7b0d0331d051 bootctl: create leading dirs when "bootctl random-seed" is called if needed
5aab35aac9db core, job: fix breakage of ordering dependencies by systemctl reload command
cd86ae937305 journalctl: allow running vacuum on remote journals, too
fc0451bc0a3f allow an empty DefaultInstance= in configuration files
587266c24aae man/systemd.net-naming-scheme: fix typo
e0e63f0f9bb9 nspawn: respect quiet on capabilities warning
37e50c05b564 nspawn: mangle slice name
4fefc493541e mkosi: Find hostname command on Arch Linux
c430e8affba4 Fix mkosi on Arch Linux
1765b8d803dd Update to Fedora31
0b9a2a9a9868 sd-boot: Silence compiler warning when building with -O2
24e02f8d49b6 sd-boot: Don't loudly complain if RNG protocol isn't available
14e377ef3519 sd-boot: Only disable optimization on debug builds
a39008ddecb9 meson: correct man page deps
4c1dcc06fa30 sd-event: don't invalidate source type on disconnect
fb89ee34cedc analyze: fix minor memleak
a449299bc087 analyze: sort list of unknown syscalls kernel implements
51ea58a04b18 seccomp: add new Linux 5.3 syscalls to syscall filter lists
819695c8b027 resolved: check for IP in certificate when using DoT with GnuTLS
37f817e21097 resolved: require at least version 3.6.0 of GnuTLS for DNS-over-TLS
32056809baa2 coverity: replace python with jq
d2b4d7ee17de network-generator: Add missing help for --root
f1b18c206208 modules-load: do not fail service if modules are not present
606de6626714 pid1: order .automount units after local-fs-pre.target
1366b81f2bc5 shared/install: failing with -ELOOP can be due to the use of an alias in install_error()
84d5cd699e25 shared/install: fix error codes returned by install_context_apply()
417779c58a86 man: alias names can't be used with enable command
00af6c447f25 resolved: set stream type during DnsStream creation
66dd9d7d25fd sd-device: allow sd_device_get_devtype to be called with NULL arg and do not assert
048f9da1a4b3 Remove unused plymouth_running() function
34fa67bbe732 machine-id-setup: avoid unexpected aborting
24c99fa2ef3d test-socket-util: avoid writing past the defined buffer
ce82233f99b3 test: drop duplicated 's'
75a0e7209114 nspawn: fix handling of --console=help
f41a282875fc Revert "sysusers: properly mark generated accounts as locked"
fc2dceac6172 Remove unprintable non-ASCII char from special glyph ASCII fallback table
dedf5b511e6f logind: fix emission of PropertiesChanged for users
6e3cfe2e58f5 logind: fix emission of PropertiesChanged on seats
a9152084d7e9 resolved: fix connection failures with TLS 1.3 and GnuTLS
961879ed9ddb udev: tag any display devices as master-of-seat when nomodeset is used
8aa7bafa1295 systemd-fsck: fix systemd-fsck/fsck pipe bad closure
19590e289ace ceph is a network filesystem
339606ad9e99 portabled: allow to detach an image with a unit in linked-runtime state
bd9692734ac5 network: ndisc: do not drop all prefixes when a prefix matches a blacklist
5e6d4f8b79e0 systemctl: fix memleak caused by wrong cleanup func
47d0e23d26af udev: fix memleak caused by wrong cleanup function
a6fb0542c5ef parse_hwdb: fix compatibility with pyparsing 2.4.*
cb1d892f1780 parse_hwdb: process files in order
ef677436aa20 test: Pass personality test even when i686 userland runs on x86_64 kernel
3f6398c450b8 docs: fix inadvertent change in uid range
25bb377a73e7 cgroup: fix typo in BPF firewall support warning message
6d97aca0d503 fix build with compilers with default stack-protector enabled
fbad077cec34 nspawn: surrender controlling terminal to PID2 when using the PID1 stub
0553c3c66889 pid1: fix DefaultTasksMax initialization
f406a691a722 src/core/automount: use DirectoryMode when calling mkdir -p
20438f96c326 udevadm trigger: do not propagate EACCES and ENODEV
6480630bc397 hwdb: Correct WWWW Pattern In Documentation Comment
9d8e889810b5 nspawn: consistenly fail if parsing the environment fails
40e169b30423 nspawn: default to unified hierarchy if --as-pid2 is used
b5df1037a0c0 cgroup: Mark memory protections as explicitly set in transient units
f14e3e02cca7 cgroup: Respect DefaultMemoryMin when setting memory.min
ea248e53bf76 cgroup: Check ancestor memory min for unified memory config
de1d25a506db cgroup: docs: memory.high doc fixups
2ab45f38d8c4 cgroup: docs: Mention unbounded protection for memory.{low,min}
19a43dc38a13 Consider smb3 as remote filesystem
5c0224c7bf3c Handle d_type == DT_UNKNOWN correctly
8282bc61df10 util-lib: Don't propagate EACCES from find_binary PATH lookup to caller
9d0ae987a634 network: drop noisy log message
f67f0e4ec45a Updated log message when the timesync happens for the first time (#13624)
e151bf467494 units: make systemd-binfmt.service easier to work with no autofs
2b8e574d8242 Corect man page reference in systemd-nologin.conf comments
a0577353f191 man: Add a missing space in machinectl(1)
693e98398869 log: Add missing "%" in "%m" log format strings
ea7151b8c435 pid1: do not warn if /run/systemd/relabel-extra.d/ doesn't exist
b90549290e33 man: fix typo
(From OE-Core rev: 48a061c1da0745ca2263cfcfb9041d67cd018193)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
.inc is used by other versions of recipe as well, therefore putting
checksums in .inc will break them unless the version is same as in
oe-core
(From OE-Core rev: 7515a38d4c2dec6117c1184dab4fbf1e9c02a993)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with 5.4 kernel the do_configure fails when gold is enabled (with ld-is-gold in DISTRO_FEATURES)
* bfd is already being set in KERNEL_LD:
kernel-arch.bbclass:KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
but KERNEL_LD is currently respected only by do_compile and do_compile_kernel modules
and new kernel which contains a check for gold in Kbuild:
https://lore.kernel.org/lkml/alpine.DEB.2.21.1907161434260.1767@nanos.tec.linutronix.de/
more details:
https://lore.kernel.org/r/CAMe9rOqMqkQ0LNpm25yE_Yt0FKp05WmHOrwc0aRDb53miFKM+w@mail.gmail.com
will fail during the configuration even when gold wouldn't be used to
build it in the end, add LD setting to KERNEL_CONFIG_COMMAND to prevent
premature error when configuring
scripts/kconfig/conf --olddefconfig Kconfig
scripts/Kconfig.include:39: gold linker 'x86_64-oe-linux-ld' not supported
make[2]: *** [/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/scripts/kconfig/Makefile:73: olddefconfig] Error 1
(From OE-Core rev: 66c1f4b0abd3483759f9e4141a80f982eaf8ccfd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
start_new_session was added to python3 subprocess in v3.2 and
is meant to take the place of the common use of preexec_fn to
call os.setsid() in the child - as done here.
Update to use the new equivalent.
(From OE-Core rev: 0ebb56ff192e9c6db2af83c37db3307a27fe822a)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
start_new_session was added to python3 subprocess in v3.2 and
is meant to take the place of the common use of preexec_fn to
call os.setsid() in the child - as done here.
Update to use the new equivalent.
(From OE-Core rev: c3bd502f31a621394a2f6ea3ae90443ff4ac98a4)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Piglit test suite is approximately 2GB and because it's installed into
$libdir is added to the sysroot archive. Nothing links against Piglit so
there's no reason for this, so remove $libdir from Piglit's sysroot.
(From OE-Core rev: 9cc4dc9cc951157e6e374192c88369432ae5cff1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we don't use the host pod2man (oe-core deda455) the podfix
class is redundant and can be removed.
(From OE-Core rev: 46884b1443d92cea877201296bd480b6cbd71cca)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comparison of the stat st_dev is not enough to judge whether
hardlinking will work. One example would be where you try and hardlink
across two bind-mounts of a directory. The st_dev will be the same and
the operation will still fail.
Instead of implementing a check to try and figure out hardlink support
just try hardlinking and fall back to a copy when running into an
exception.
(From OE-Core rev: f5571bda8327f927feb23b167ab4594b7d0c95bc)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow setting custom buildhistory tag prefixes. This allows multiple
build directories to share one buildhistory git repository with multiple
worktrees.
(From OE-Core rev: 1bb2aa53a74e36dc3ba901b9d8ce780e7880cef8)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmake 3.12 introduced this environment variable. Prefer it to passing
PARALLEL_MAKE and PARALLEL_MAKEINST on the cmake command line, because
it gets passed to second stage cmake invocations while command-line
arguments do not (for example, multi-stage clang builds)
(From OE-Core rev: cdd44c93f02bb8cc2fa773e13c8ce36e3da23921)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
procps includes support for listing the owning unit of a process, but
this support is disabled by default. Enable support using
a PACKAGECONFIG that depends on the systemd DISTRO_FEATURE.
(From OE-Core rev: 54a5daca450b8be251c45730ae4c0511811b668a)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop musl patch and backport a fix from upstream instead.
(From OE-Core rev: 009dbec9058bf43e63eeabdd24ecad990bf22568)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two things: The -Wl,-rpath-link comment is stale (due to per-recipe
staging), so we no longer need to set our own LDFLAGS to avoid
-Wl,-rpath-link being in there. Second, overriding LDFLAGS should be
done at the recipe level so "bitbake -e" can show what is going on.
Otherwise debugging why one's global LDFLAGS tweaks are being ignored
is needlessly painful.
So pull out the LDFLAGS setting from do_compile, and change it to an
append instead of assignment.
For the benefit of future git blame: the -fuse-ld=bfd setting was
added by ac64c3b96b (glibc: always use bfd linker).
(From OE-Core rev: 4535469d5953b94c9dcad5515be9b807ea7ba621)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without setting this it will vary depending on which directories are present
on the host.
[YOCTO #13778]
(From OE-Core rev: 6217c3a7201b34888aa2fbae8b6e490bea545574)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without setting this it will vary depending on which directories are present
on the host.
[YOCTO #13775]
(From OE-Core rev: 39fe849b56d70689846262c31ab7c182c8443923)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: list of contributors updated.
(From OE-Core rev: 4c6b294b72d74c10b22407d82dee28d553345ec3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is using - to separate version components which
version checker at the moment can't deal with (i.e 1-15-1 when
1.15.1 is meant).
(From OE-Core rev: fe38a5df23a341ecc18f81b96a9b7628dc4b5a61)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream seems to have dropped the odd-even policy
(From OE-Core rev: 3b41a5518b5f51816171daf716fedfe16854b191)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To support on-target module building, we need to include syscall.tbl
for ARM64 (just like we do for other architectures).
We also copy .config with -a to ensure that we don't trigger extra
processing and regen configs.
(From OE-Core rev: 1be199f79479d9c8125bd3548cd4f2354f597640)
Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a symbol doesn't make it into the final analysis is run
using Kconfiglib to show dependencies. v5.4 has introduced Kconfig
elements that Kconfiglib can't parse (hence we get no analysis).
Updating the Kconfiglib snapshot solves our problem.
(From OE-Core rev: 240e0ae13d35469eecafc82d2cd9cfd110095c55)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This creates recipes for the v5.4/* branches of the linux-yocto
reference kernel.
preempt-rt, yaffs2, aufs5 and reference board specific patches are
part of these branches. All major architectures: x86,x86-64,ARM,
ARM64,ppc,mips and mips64 have been feature tested against this
reference.
5.4 is a LTS release, and as such will receive -stable updates
for the duration of upstream korg support.
(From OE-Core rev: 2c2bdd9661e4341178f2d831bb56e961e74e8509)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a long standing 'odd' dependency which we've meant to
resolve. We shouldn't need it and it introduces reproducability issues.
We already have texinfo-dummy-native and texinfo-native which can
provide it but the work to remove the hosttool was never completed.
After cleaning up texinfo.bbclass, this can now be removed with
minimal impact on build time.
[YOCTO #13753]
(From OE-Core rev: 0c58c479af151969dfb84d8763696da657f7248d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pod2man writes the current date into manpages, and while later
versions of it respect SOURCE_DATE_EPOCH and use that instead,
earlier versions do not. This was found to cause reproducibility
issues.
This patch replaces host version of pod2man with one from
perl-native.
[YOCTO #13755]
(From OE-Core rev: deda455b3c1829003a4cc14520f30e616be93dfb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also fix the crosssdk and cross-canadian cases.
(From OE-Core rev: 95476373b20ba56c2877c70b5b36335446904f37)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now we have recipe specific sysroots we don't need this native path
prefix. It was breaking the crosssdk/cross-canadian cases and causing
bugs, removing it is the simplest solution.
(From OE-Core rev: f7c9e4c4cbb2a74a3627dc8da37083eef071e3cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not strip packages when testing reproducible builds. In some cases,
stripped data differs between builds, but then gets removed. However,
the contents affect the generation of the GCC build-id, which then
differs in the resulting ELF files, even though the data that caused
this is no longer there. Inhibit stripping so that their causes can be
evaluated.
(From OE-Core rev: 0e23c6faf8169a333ae29064553705b5d7d6b589)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Defers the resolution of the SOURCE_DATE_EPOCH until the variable needs
to be actually realized with a value. The previous method of loading the
value in anonymous python had issues because it could occur before other
anonymous python functions that affect the location of the epoch file,
such as when a recipe uses AUTOINC/AUTOREV or allarch.bbclass.
Also adds more logging to help diagnose issues in the future.
[YOCTO #13763]
(From OE-Core rev: b3313a10a3eb93f0a3710a35de0404fb49cd6202)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
U-Boot no longer requires OpenSBI to include a FDT for the HiFive
Unleashed, so remove the support from OpenSBI.
(From OE-Core rev: 472507b8c446dcfe3cb08deecfbca4e5928ca504)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When opencv is picked in PACKAGECONFIG, plugin fails to locate data
dirs. This is due to meson.build file uses 'test' utility to verify that
the data dirs path is present and not taking sysroot into prefix.
Introduce additional patch, which picks up PKG_CONFIG_SYSROOT_DIR as
prefix for 'test' utility to verify the data dir is actually present.
(From OE-Core rev: 575fca95307dafb3f7d80f9bf0e63605a9328b59)
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was found to have slight variations in order of options
depending on the host. Sorting it helps reproducibility.
[YOCTO #13756]
(From OE-Core rev: 93c7fa3b369c8eb61b65cdd82111c8016d707fb6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New releases of ICU are published on github.
(From OE-Core rev: 1a01c30653c2b0282543aa3cdae8d87af871c24a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's only one user of libc-common now that we don't ship both glibc and
eglibc, so copy the contents directly into the recipe.
[ YOCTO #12135 ]
(From OE-Core rev: a0bff0db1eeb128776757d5f3d0bc1ebdc135498)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the OS is not Linux, the code could end up generating a recursive symlink.
This can happen because the same symlink can be created twice in a row. If this
happenes, the second symlink becomes a link to itself within the directory
pointed to by the original link.
In order to prevent this, verify that the destination does not already exist.
(From OE-Core rev: ef28e5a74d939acc98d6e8e9a0efbeb143b8025f)
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The error being corrected looks like:
File: '/home/jenkins/workspace/OEBuild/build-32/oe-core/meta/classes/toaster.bbclass', lineno: 130, function: toaster_package_dumpdata
0126: lpkgdata = {}
0127: datadir = os.path.join(pkgdatadir, 'runtime')
0128:
0129: # scan and send data for each generated package
*** 0130: for datafile in os.listdir(datadir):
0131: if not datafile.endswith('.packaged'):
0132: lpkgdata = _toaster_load_pkgdatafile(datadir, datafile)
0133: # Fire an event containing the pkg data
0134: bb.event.fire(bb.event.MetadataEvent("SinglePackageInfo", lpkgdata), d)
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/jenkins/workspace/OEBuild/builds/build-32/tmp-glibc/work/core2-64-oe-linux/puzzles/2_0.0+gitAUTOINC+c6e0161dd4-r0/pkgdata/runtime'
There must be a small window before the data is available, but while the monitoring is on-going.
(From OE-Core rev: c7329b17cbbef64984196e2b79a81988db1d2bf3)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For u-boot recipes without menuconfig support, running devtool results
in a do_configure error:
cp: cannot stat '/home/r60874/upstream/fsl-xwayland/tmp/work/imx8mmevk-fsl-linux/u-boot-imx/2018.03-r0/u-boot-imx-2018.03//.config': No such file or directory
The problem arises because u-boot.inc supports recipes with and without
menuconfig.
Fix the problem by properly setting DEVTOOL_DISABLE_MENUCONFIG so that devtool
can control logic that applies only for menuconfig support.
(From OE-Core rev: a6c430b0077eb56b4adbe391a0a05a52133cc8f0)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot.inc supports u-boot recipes with or without menuconfig [1].
However, running devtool on a u-boot recipe that does not support menuconfig
results in an error:
cp: cannot stat '/home/r60874/upstream/fsl-xwayland/tmp/work/imx8mmevk-fsl-linux/u-boot-imx/2018.03-r0/u-boot-imx-2018.03//.config': No such file or directory
The problem is the devtool logic assumes that any recipe with a do_menuconfig task
will generate a .config in do_configure().
Fix the problem by removing the assumption with a flag that the recipe can control,
like this:
do_configure() {
if [ menuconfig-supported ]; then
...
else
DEVTOOL_DISABLE_MENUCONFIG=true
fi
}
[1] 11278e3b2c
(From OE-Core rev: 6cc17e658c3dbadc772353f0f200561d2d988658)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When configuring the cross-candian toolchain for a non-linux target system,
the resulting gcc configuration included:
--enable-initfini-array--without-headers
these should have been two separate options.
(From OE-Core rev: 7b52893632dae7bc9ac75dddc7ad625e19f41050)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If documemtation generation is disabled, the recipe throws warnings about
unpackaged files. Avoid this.
(From OE-Core rev: 811a5b1b4d4da97caaca2779c8aa5687cbf0c609)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, one test is disabled as it is failing everywhere,
two patches that actually cause failures are dropped and
some binaries are prevented from being stripped where that is
expected.
(From OE-Core rev: 64bc13f3c9c96584494f0984da5253a306e8a140)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If OEQA_DEBUGGING_SAVED_OUTPUT is set in the environment, use this location
to store reproducibile build failure output. This aids debugging on the
YP autobuilder in particular.
Use a date in the directory name to make it easier to find failure output.
Also clean up empty directories as they're unnecessary distracting noise.
(From OE-Core rev: 138ed4aa96ec5069f9f7fd02994a42452dbccc2d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This hardware is old/obsolete and unobtainable. Its proving hard to support
with nobody fixing bugs or helping keep the platform running/up to date.
Whilst there is value in real hardware testing, this platform ist just too
old and obsolete to support. This does leave a gap for the power architecture
but at this point there is nobody willing to step up to cover it.
The TSC did discuss and agree support for this platform should be removed.
It calls into question the support/testing of the architecture by Yocto
Project which is being discussed by the TSC and governing board.
(From meta-yocto rev: aa691d49ceb6700eb1881b789fe34f8369bcb0ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added a few comment lines in Makefile to commemorate Scott's
contributions
(From yocto-docs rev: 07c88e2724a223b26694c98c0e976d735aee00e6)
Signed-off-by: Jefro <jefro@jefro.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its sad to have this but as the project ages, also perhaps inevitable.
Besides their contributions, remember them here.
(From OE-Core rev: cd9006b20281cef0051ed60a2cfee8c809c24f76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After changing autotools.bbclass, CONFIG_SHELL setting no longer works
resulting in:
grep-3.4-r0 do_package_qa: QA Issue: /bin/fgrep.grep contained in package grep requires /bin/bash, but no providers found in RDEPENDS_grep? [file-rdeps]
The script can use /bin/sh so set this specifically using sed since we
want to use a consistent shell for the rest of the build but not have
the specific bash dependency.
(From OE-Core rev: 9031b66c7c817b65f75b429db6f6527d07196e8a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After changing autotools.bbclass, CONFIG_SHELL setting no longer works
resulting in:
xz-5.2.4-r0 do_package_qa: QA Issue: /usr/bin/xzmore contained in package xz requires /bin/bash, but no providers found in RDEPENDS_xz? [file-rdeps]
The script can use /bin/sh so set this specifically.
(From OE-Core rev: 790be4ace4da2e2d7597d4e8ccf75ed7f711184d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At present, CONFIG_SHELL becomes /bin/sh if its bash and /bin/bash if not. This
isn't deterministic and leads to changes in ptest packages which include Makefiles.
At first glance you'd think we'd hardcode to /bin/sh since most system shells are sane.
Sadly the dash vs. bash leads to quoting differences in configure.
The bash default is probably the safest option since configure tries to find bash
and this is what most systems would end up using.
The end result is a more consisent build environment.
[YOCTO #13752]
(From OE-Core rev: 33b1e27c29ed05da783f814cf9c3035675087ecc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Here are some highlights:
- DRM hardware planes should be used more effectively
- The DRM backend now supports HDCP
- Headless backend now supports OpenGL
- DRM backend can now be built without GBM
- EGL_KHR_partial_update is now used when available, reducing memory
bandwidth usage on some GPUs
- Logging framework improvements
- Documentation for weston can now be built
https://lists.freedesktop.org/archives/wayland-devel/2020-January/041147.html
(From OE-Core rev: 1aa123f176f166e8eeaa09dc9b9fda206a92ae87)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* instead of installing all 51 nspr header files directly in ${includedir}
* ubuntu uses /usr/include/nspr as well as shown in:
https://packages.ubuntu.com/xenial/amd64/libnspr4-dev/filelist
and some components assume the same path
* update nss configure to find them, similar change might be needed in
mozjs and ecryptfs-utils
(From OE-Core rev: 274128830a9d52bdd2827cc0a323d575025ce62f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is aware, and will investigate and fix.
(From OE-Core rev: 96c286a1b2f9fc8e8bf4fb29ae62551a323af5c3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, 1G wasn't enough for lttng-tools ptests as
half of that went to /tmp, and lttng-tools needs more.
(From OE-Core rev: abc308a38c6e37afcaf507858a6578c10438c5d8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is beneficial for parted ptests in particular, as
they expect vfat functionality to work.
(From OE-Core rev: 85eb0cdc16b89dc7d3bce0c0b1c22b68f684ef05)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a new npmsw fetcher that fetches every npm dependencies
described in a npm shrinkwrap file:
https://docs.npmjs.com/files/shrinkwrap.json.html
The main package must be fetched separately:
SRC_URI = "npm://registry.url;package=foobar;version=1.0.0 \
npmsw://${THISDIR}/npm-shrinkwrap.json"
Since a separation has been created between the package and its
dependencies, the package can also be fetched with a non npm fetcher
without impacting the general behavior:
SRC_URI = "git://github.com/foo/bar.git;protocol=https \
npmsw://${THISDIR}/npm-shrinkwrap.json"
(Bitbake rev: f5223be54450bf20e0bfbd53b372a7748a44b475)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit refactors the npm fetcher to improve some points and fix
others:
- The big change is that the fetcher is only fetching the package
source and no more the dependencies. Thus the npm fetcher act as the
other fetchers e.g git, wget. The dependencies will be handled later.
- The fetcher only resolves the url of the package using 'npm view' and
then forwards it to a proxy fetcher.
- This commit also fixes a lot of issues with the package names (exotic
characters, scoped packages) which were badly handled.
- The validation files - lockdown.json and npm-shrinkwrap.json - are no
longer used by the fetcher. Instead, the downloaded tarball is
verified with the 'integrity' and 'shasum' provided in the 'npm view'
of the package [1][2].
1: https://docs.npmjs.com/files/package-lock.json#integrity
2: https://www.w3.org/TR/SRI
(Bitbake rev: 0f451cdc43130d503ada53ed1b4fc5a24943f6ef)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using a download filename with characters which can be interpreted
by the shell ('(', ')', '&', ';', ...) the command fails. Quoting the
filename fixes the issue.
(Bitbake rev: ed652dce5200161068eccdbfaaaefde33136eb09)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is necessary to introduce proxy fetchers and do not modify
the behavior of existing fetchers.
This commit allows fetchers to forwards the done condition to a
proxy fetcher.
(Bitbake rev: ee3a2545e99e6e99559a72bcda64797ae674ec71)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is necessary to introduce proxy fetchers and do not modify
the behavior of existing fetchers.
This commit allows fetchers to forwards the "try_mirrors" functions to
a proxy fetcher.
(Bitbake rev: 462c9a2b368a1720da276310b1d5d0423b7cefea)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is necessary to introduce proxy fetchers and do not modify
the behavior of existing fetchers.
This commit allows fetchers to forwards the "verify_donestamp" and
"update_stamp" functions to a proxy fetcher.
(Bitbake rev: f7612c0704b4252bba5157ce9a94d8888c6d0760)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit enables the "sha1", "sha384" and "sha512" hash functions in
the supported checksum list. This allows to use more SRC_URI checksums
functions for a url:
SRC_URI[sha1sum] = "..."
SRC_URI[sha384sum] = "..."
SRC_URI[sha512sum] = "..."
The npm fetcher needs this to support subresource integrity:
https://www.w3.org/TR/SRI/
(Bitbake rev: cd80a646aa841b71e68282bb8d11194abb5df0e4)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit refactors the way checksums are verified to be more generic.
The support of new hash functions is now limited to the update of the
CHECKSUM_LIST variable.
(Bitbake rev: debd9eeaf5638755d8956b2d65b904fe02826966)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Our CFLAGS were being lost which was breaking reproducibile builds due to
losee of the debug prefix remapping flags. Fix this.
(From OE-Core rev: 037bef5c7dfe82642d19f07b38f6ccc783958e41)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the test depends on which DISTRO_FEATURES and targets are selected.
Similar to SOURCE_MIRROR_FETCH, add PARSE_ALL_RECIPES to allow the test to see
a much wider range of them. This avoids issues added by the new ucontext musl
specific recipe and allows the current whitelist to be cleared out a bit (more
cleanup can follow).
(From OE-Core rev: c139e058bb2df48c79784cf3fd701e51bbc68427)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recipe specific sysroot, these settings do nothing. Drop
the obsolete code.
(From OE-Core rev: 6269f1935f5fd2d9397045566f2e0e4fc0df85cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rv32 port has bumped its minimum kernel requirement to 5.4
as the userspace ABI is still in flux until glibc port is not
upstreamed.
(From OE-Core rev: 1a7287369e554159914cd9a40c2e023c167fd82a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps clang to do a better job with fortify on but it is better
suited for clang layer
(From OE-Core rev: c4ea8d76db37f21c034d610bfe4e53596e662bb8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop ppc 8xx clear cache optimization, which we have been carrying
through eglibc days, it has been redone in glibc now
(From OE-Core rev: 5c48e655cbd9a45d43c37602db8e09e2e91d2722)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python code underneath is smart and pokes at python installation in
sysroot for compile environment, the overrides from EXTRA_OEMAKE are
ofcourse preferred but it falls back to python3's distutils/sysconfig
for rest of them, and it does use CCLD and LDSHARED for linking, when we
use clang to compile python3 then it encodes these variables to be clang
however, when building perf we inherit kernel which forces gcc to be
used for compiling perf, which then mixes both compilers due to CCLD and
LDSHARED demands. Therefore override CCLD and LDSHARED in make
environment helps python/distutils to use right linker
(From OE-Core rev: f9259da409c2aa92deb71aef0da2405c8d836615)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
one of the build steps ruby has is that it generated rb_mjit_header.h
during configure using gcc preprocessor using -dD which emits built-in
defines as well, problem happens when this header is later included in
subsequent compiles, where compiler errors out stating that an existing
internal define is redefined
| /tmp/20200123-2021083-2c601q.h:13849:9: error: "__has_include" cannot be used as a macro name
| 13849 | #define __has_include __has_include
| | ^~~~~~~~~~~~~
| compilation terminated due to -Wfatal-errors.
Since compiler already will take care of it internally we can edit it
out from this header file
(From OE-Core rev: b4f0df9a0e998af746bcd84cb81ea4ba0107f989)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use NSS_USE_ARM_HW_CRYPTO to detect USE_ARM_GCM, since there are
dependent, without this we control the crypto code function inclusion in
build but do not control the call sites, which can result in undefined
symbols e.g.
Linux_SINGLE_SHLIB/gcm.o: in function `gcmHash_InitContext':
/usr/src/debug/nss/3.49.1-r0/nss-3.49.1/nss/lib/freebl/gcm.c:112: undefined reference to `gcm_HashInit_hw'
(From OE-Core rev: 4f8f2fd72fee6cf5aedbb679b2c29b88f98a5e11)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Help musl based systems provide ucontext APIs, these APIs are used in
some common applications e.g. chromium browser
(From OE-Core rev: 51c329d2d3fbefd5483bb78f471f4c222ad061c1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should address ARM64 specific failures in particular.
eu-objdump is now installed on all architectures;
ptests fail in its absence and pass when it is present, so it's
useful at least in some scenarios in non-x86 architectures and
fails gracefully otherwise.
The original decision to exclude it was here:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5283
(From OE-Core rev: 3a3b20df28f6ace6267b68c34faeef3da4d7ef8a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Do not clutter /, create a special-purpose dir
2. Clean up the dir after tests are done (if this is not
performed, disk will overflow later in ptesting).
3. Fix up more locations in ptests to use the dir.
Upstream default /var/tmp is not suitable as it is not
big enough (mdadm needs about 500 Mb)
(From OE-Core rev: cd4fc516ce0f8e4c5cadb7a700fe29643ed9128d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unset LD, and do not set ld in cross file from LD as
new version of meson passes that value directly
to -fuse-ld=... which requires one of lld, bfd, gold.
(From OE-Core rev: e0e30637a139feb744ca284aa63d47efefc5cb5d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a devtool build test for npm recipe:
- devtool.DevtoolAddTests.test_devtool_add_npm
(From OE-Core rev: af299817c2fe9fa504762c54bd0593f3163399fb)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds a recipetool creation test for npm recipe:
- recipetool.RecipetoolTests.test_recipetool_create_npm
(From OE-Core rev: 61cabc2ccaa6a972b799d19fda8964926cc7ecec)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit removes the 'noverify' parameter which was added to the url
to fix warnings with the shrinkwrap / lockdown file generation. This is
not needed anymore with the new npm fetcher.
(From OE-Core rev: 401a9818c633373854d3c7dec032b9f455f2b2b4)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a recipe using devtool, a workspace is created to store
the new recipe, the recipe source and some append files. These append
files are used by devtool to build the recipe using externalsrc (to use
the source which are in the workspace). They can also have some
additional actions according to the class of the recipe.
This commit updates the append file for the npm recipes. The
devtool / externalsrc files are removed in the npm package directory
instead of the install directory.
(From OE-Core rev: a213a76e56e9bc215a61399ae35a3602863f5850)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The npm_split_package_dirs function was used by the recipetool when
creating npm recipes. This is not the case anymore.
(From OE-Core rev: 6cd834737eaa42592e83300099c152e2cfef568c)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As usual the 'LICENSE' and the 'LIC_FILES_CHKSUM' values reflects all
the license files discovered in the source tree (including the
dependencies).
For npm recipes the 'LIC_FILES_CHKSUM' value contains also the status of
the 'package.json' file of every packages as it contains license
informations.
Finally each package has a separate 'LICENSE_${PN}-package-name' value
which describes its license.
(From OE-Core rev: 9a70d4996c84b277f423eda5aac4acbe344599f4)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit refactors the npm recipe creation handler to use the new npm
behavior. The process is kept as simple as possible and only generates
the shrinkwrap file.
To avoid naming issues the recipe name is now extracted from the npm
package name and not directly mapped.
(From OE-Core rev: 1deccb0f0c204cd02fb8606f180d8a13df9f31db)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building addons, the node-gyp build tool is looking for python. It
is available in the native directory but not directly in the PATH.
This commit configures npm to use the native python executable.
(From OE-Core rev: 946fd69cba6f60c531ff34091cda3b7fee8ee594)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building addons, the node headers are needed to be able to compile
properly. Usually they are downloaded by npm but network access in the
do_compile task are unauthorized. Hopefully the local node headers are
available in the native sysroot so lets use them.
(From OE-Core rev: e4c111dacc808d8c7883f3a36dd5a9f65e7a44cc)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the do_fetch task, every other tasks must not access the network.
In order to ensure this point every npm command must use the offline
configuration. In addition setting an invalid proxy is used as a safety.
(From OE-Core rev: 1133f3ab485031df6e107f826b7398e5133f9c4d)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit splits the npm build in three steps:
1. With the new npmsw fetcher, the sources and dependencies of the
package have been fetched and unpacked. As sources can also be
patched, a local cache must be configured to use these modified
sources.
2. Next, the installation process is run using the local cache only.
Some packages may need to be compiled.
3. The final installation filters the previously installed files to
avoid unnecessary files.
This new version also fixes multiple issues related to npm dependencies
badly handled: package names, scope packages, installation directories
(From OE-Core rev: fb2252ee0777c6d26dea94c7588c323a6b97e961)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the same value of B between u-boot and u-boot-tools.
This patch also enable the out-of-tree builds of u-boot-tools actually.
(From OE-Core rev: 26023b6b0f897842fd98b3e10a8acd5b3ad8f418)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch also helps to build with EXTERNALSRC.
(From OE-Core rev: 8bd7a19b0177cc842d0fabfb9a602208c0617d9e)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The udhcpc script fails to properly set a default route when:
- 'ip' is present ($have_bin_ip -eq 1)
- there are 2 or more interfaces connected to the same network
(e.g. ethernet + wifi on the same home LAN / same DHCP server)
In this case, when the first interface gets an address from DHCP
(e.g. eth0), a default route is set correctly. When the second interface
(e.g. wlan0) gets its address, 'ip route add' without 'dev $interface' sets
the route on the other interface. The result looks like:
# ip route
default via 192.168.1.1 dev eth0 metric 5
default via 192.168.1.1 dev eth0 metric 10 # wrong dev here
192.168.1.0/24 dev eth0 scope link src 192.168.1.20
192.168.1.0/24 dev wlan0 scope link src 192.168.1.30
#
The situation might go unnoticed until eth0 is disconnected, because only
wlan0 is present but there is no route through wlan0.
Fix by explicitly passing "dev $interface" to 'ip route add'. Note that all
other 'ip' invocations already have "dev $interface" passed.
(From OE-Core rev: bb526eee429f25b85372f41e4d6d2865bcc39173)
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch fixes kbd ptest libkbdfile-test08 failure in 64-bit images.
```sh
root@intel-x86-64:/usr/lib64/kbd/ptest# ./run-ptest
make: Entering directory '/usr/lib64/kbd/ptest/tests'
make[1]: Entering directory '/usr/lib64/kbd/ptest/tests'
PASS: libkbdfile-test01
PASS: libkbdfile-test02
PASS: libkbdfile-test03
PASS: libkbdfile-test04
PASS: libkbdfile-test05
PASS: libkbdfile-test06
PASS: libkbdfile-test07
FAIL: libkbdfile-test08
PASS: libkbdfile-test09
...
```
`DATADIR` and `ABS_DATADIR` are compile flags defined in
./kbd/tests/Makefile.am. `DATADIR` is the relative directory of
kbd, i.e `./kbd/ptest/tests` whereas `ABS_DATADIR` is the full
directory path, i.e `/usr/lib/kbd/ptest/tests`. The latter has a
problem when building ptests for a 64-bit image, because the tests
folder is located at `/usr/lib64/kbd/ptest/tests` instead.
Therefore `ABS_DATADIR` is changed to `DATADIR`, also consistent with
what *every other* kbd test is doing.
The test searches DATADIR recursively for a file named `test0.map`,
but it finds the wrong file at
`/findfile/test_0/keymaps/test0.map`,
while it actually needs
`/findfile/test_0/keymaps/i386/qwerty/test0.map`.
Thus appending `/i386` to `dirpath` so that `libkbdfile-test08.c`
finds the right test file.
(From OE-Core rev: bdcda2c4ff3c96f686b8bd30cd17361ff3722a0f)
Signed-off-by: Matthew Zeng<Matthew.Zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale data in the recipe is generated using cpp, which results in
differing amounts of whitespace depending on what compiler is used.
This means that the files may differ in just whitespace, which is
sufficient for RPM's multilib code to consider them different and not
allow lib32-libx11-locale and lib64-libx11-locale to be installed at the
same time.
[ YOCTO #13647 ]
(From OE-Core rev: 6768d0d7988294769a41c7ba40f29874366da00f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shared-mime-info needs itstool-native, not itstool. Fixing this removes itstool
from the rdepends of shared-mime-info-dev.
(From OE-Core rev: c3cafc69340d5bc4ec6840e71d63f54283c44960)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The client depends on readline which is GPLv3. Add a PACKAGECONFIG so users who
don't need the client and are against GPLv3 can disable it.
Also remove the explicit installation of the client in do_install_append, as the
Makefile installs it now.
(From OE-Core rev: 84b082be0a879153d9af8e093b6823d49c2621b8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of the hash equivalence server, the progress bar
for "Checking sstate mirror object availability" is shown
repeatedly. Most of the times the number of objects scanned is very
low and the progress bar completes almost immediately. To avoid all
these unnecessary progress bars, set the minimum number of objects to
100 before the progress bar is shown.
(From OE-Core rev: 114340e8d393cf60d0a596cb0800cf1b7fd198df)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cairo-trace is the only part of cairo that is licensed as GPL-3.0, and
is normally packaged separately in cairo-perf-utils.
The "trace" PACKAGECONFIG is enabled by default for backwards
compatibility.
(From OE-Core rev: e0c4535fb3c347e19d3dada07a97545bfd48239c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
staticdev package defaults to include ${libdir}/${BPN}/*.a, but
for enchant2, the file locates under ${libdir}/echant-2/. So fix
it to avoid the following QA issue.
QA Issue: non -staticdev package contains static .a library: enchant2 path '/.../usr/lib/enchant-2/enchant_aspell.a'
(From OE-Core rev: b92a74d1e0a66dfb87e1e2626df232174151867e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running mandb we end up with files owned by the build user, correct
this. Also pick up non-default locales and relocate their index.db files
to /var/cache.
(From OE-Core rev: 844781c5b260a52e8c06b872c74a13a22689bdb9)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a following compiling issue when seccomp is enabled by
PACKAGECONFIG:
| ../test-seccomp.c: In function 'test_protect_sysctl':
| ../test-seccomp.c:307:5: error: "__NR__sysctl" is not defined, evaluates to 0 [-Werror=undef]
| 307 | #if __NR__sysctl > 0
| | ^~~~~~~~~~~~
Reference:
https://github.com/systemd/systemd/pull/14032
(From OE-Core rev: e0e7a6a8b4041d858e6a5f0e7d32f5df38ac53c5)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Meson idiom for checks which require running code on the target
(which isn't possible in cross compilation) is to use a cross property,
which the user can set in the cross file:
if cc_can_run
rres = cc.run(test_foo_code)
have_foo = rres.compiled() and rres.returncode() == 0
else
have_foo = meson.get_cross_property('have_foo', false)
endif
The default value may be overly conservative so we should review every
property and explicitly set them as apppropriate. oe-core 669ddaf added
a log message when the default value is used, so look for this message
and emit a warning that the user will see.
(From OE-Core rev: 91b74ee03ada5d4517a5d8ef3895cc60f87780aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a .bbappend file sets GALLIUMDRIVERS then virgl is always being
appended to the list of drivers to be built. Make virgl an optional
component.
(From OE-Core rev: 55256f06173de030a8f5181d72ac31d398edb398)
Signed-off-by: Fred Baksik <fred.baksik@mrcy.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently these tests rely upon multiple uptream webservers which may change
or be unavailable. Add local copies of the test data, copy the httpserver
from OE-Core (used for testing there) and run these tests against a local
server instead.
(Bitbake rev: d5a4a352723258b4d499d3a51f340109c4f36f60)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to search our own libdirs, then fall back to the system ones as our
customised dynamic loader will. Have ld.so.conf reflect that.
This ensures that binutils finds libraries here when linking too.
(From OE-Core rev: 15049c610bcfd0a3e161379651b5ea117ea02715)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the SDK we need the plain symlinks and don't use alternative providers.
When these are missing the toolchain can work incorrectly so fix this.
(From OE-Core rev: 0c06cfaa016d06cc56d80dc1c244a938f3d38a3c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need binutils to look at our ld.so.conf file within the SDK to ensure
we search the SDK's libdirs as well as those from the host system.
There add a patch which passes in the directory to the code using a define,
then add it to a section we relocate in a similar way to the way we relocate
the gcc internal paths. This ensures that ld works correctly in our buildtools
tarball.
Standard sysroot relocation doesn't work since we're not in a sysroot,
we want to use both the host system and SDK libs.
(From OE-Core rev: f6c1089642934ad93056ef19a0888965486ee030)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most of perl core modules are dual-life modules which exists on CPAN
as well as they do in perl core. Sometime, fixes are uploaded to CPAN
before a new perl is released which contains the fix of the core
module. Also, some modules recent releases aren't fully backported
to earlier releases (out of support, lack of specific feature, ...),
which makes it up to the distribution build to choose between core
or CPAN version, respectively.
(From OE-Core rev: 9dfb3c3dffac467ec0a3751b1a350e01c4759496)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generation of locale-archive depends on the order of the input
files. Fix the order by sorting the file list.
(From OE-Core rev: 3f781ebd9dfbee143907190c6db5b86d501c3e63)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc defines minimum kernel needed to be 3.10.0 for LE ppc64
(From OE-Core rev: c1c296a42920af6725706bdea8e61b8c4f5f14a8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previous refactoring broke the case where save_dir was set. Fix this.
(From OE-Core rev: 9bfa04aa1f1a0b38ffa51f0211f3a46a90e17b0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A typo was preventing the extra data about the reproducible build from
being reported in the test results
(From OE-Core rev: 7c653337360dd5e49809b930f22a999c1d6e09ee)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a flag to control if the reproducible QA test should allow building
from sstate or not. Building from sstate may not be reproducible
depending on how the sstate is populated.
(From OE-Core rev: c24b71e9ec2e518bd24da20ddbb1406910b1b92e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The udhcpc script calls ip addr flush .. which flushes addresses
of any address family, including IPv6. However, busybox udhcpc is
IPv4 only and should not influence IPv6 addressing. Hence use ip
addr flush with family constrait.
The script particularly broke IPv6 SLAAC: Typically when udhcpc
calls the script the kernel already assigned the IPv6 link-local
address. The flush removes the link-local IPv6 address again and
prohibits proper IPv6 operation such as SLAAC since neighbor
discovery protocol relies on IPv6 link-local addressing.
(From OE-Core rev: b77541dbb2f442e51842f9d24c8745a6df2d1478)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* for rpi it's provided by userland recipe and this will make the bbappend
in meta-raspberrypi a bit smaller
(From OE-Core rev: c7f9f71bafff4e89d7c40b460e6668cb6be9405e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fgets is already in stdio.h, and it can confuse the compilers when using
fortified headers, therefore remove the declarations
(From OE-Core rev: 91bb451f60cc62bf6c25a7c36aabc0398729bcf0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson is detecting it does not support 64bit attomics but then when
defining local suppliments confused clang
../mesa-19.3.1/src/util/u_atomic.c:38:1: error: cannot redeclare builtin function '__sync_add_and_fetch_8'
__sync_add_and_fetch_8(uint64_t *ptr, uint64_t val)
^
../mesa-19.3.1/src/util/u_atomic.c:38:1: note: '__sync_add_and_fetch_8' is a builtin with type 'long long (volatile long long *, long long, ...)'
../mesa-19.3.1/src/util/u_atomic.c:38:1: error: definition of builtin function '__sync_add_and_fetch_8'
__sync_add_and_fetch_8(uint64_t *ptr, uint64_t val)
^
(From OE-Core rev: a18ad964d000a15ac4039c893dd9d3f8e545c223)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clang detects that getcwd is being re-declared and signatures don't
match, simple solution is to let clang use overloadable attribute
(From OE-Core rev: d32626c3c5b034b72495c2949b3e94ca55f04a9b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a backported patch to fix musl builds.
(From OE-Core rev: d28f0d41949143cf130e7f73aa8421711dd13914)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is beneficial for parted ptests in particular as they
make use of vfat, and fail otherwise.
(From OE-Core rev: ffbc6dc213abf96b816fc9dd87766c3a36935c2a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly parted is getting confused by udev's automounter
mounting things in background.
(From OE-Core rev: 23da99c731c55839f108f351c5c88de58d244cb8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tests are already implicitly excluded by not being built.
This change avoids a confusing failure-but-not-really printed by
run-ptest.
(From OE-Core rev: f3e27d8e23df37fb06f77af1583021f471dede51)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove a couple of entries found by the test :)
(From OE-Core rev: 749f44b3735e4ae3657255b373fa55c357501cc5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a backport, and a patch that causes build errors with
the new version.
Add a patch to make ARM HW crypto optional; upstream for some
reason does not allow disabling it.
(From OE-Core rev: 73a1536a7e2fd5dad7d6855ac5e94f87890a1b95)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly:
[ERROR|FAIL] was matching characters rather than strings.
Using (ERROR|FAIL) requires -r option.
(From OE-Core rev: c041c326a1dbf1b128fc32d887acd73c6f5fb415)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports, rebase other patches.
0001-main.c-if-OEPYTHON3HOME-is-set-use-instead-of-PYTHON.patch
is removed as the use case (allowing python 2 and 3 to coexist
in SDKs) is no longer relevant with Python 2.x reaching end of line
and upstream has refactored the code making a rebase difficult.
If needed, please re-add the patch to py2, rather than py3.
Python 3.8 no longer adds "m" to "3.8" in paths, so adjust the recipes
and classes accordingly.
The manifest for the 3.8.0 version is updated; particularly pkgutil
module is now packaged in -core (as other things in core need it);
this also necessitates allowing empty -pkgutil package to avoid
breakage across layers.
(From OE-Core rev: e6ab9f16b92aa1abdae82c535c1a452a1341b0e2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the libc-headers to match the latest LTS kernel.
The delta from previous headers is as follows:
- refreshed one patch for 5.4 context
- added rsync to the native dependencies, since it is used during
header install.
Otherwise, everyting is the same.
(From OE-Core rev: 35e2cd846a13906c5339c0763ab93d68b122ebc7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Resolves:
WARNING: vim-8.2-r0 do_package_qa: QA Issue: package contains desktop
file with key 'MimeType' but does not inhert mime-xdg: vim path
'/work/core2-32-poky-linux/vim/8.2-r0/packages-split/vim/usr/share/applications/vim.desktop'
(From OE-Core rev: 9464b19205c9f88998db7820274c9c0364c79bd9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
11e45082ad00 ("rootfs-postcommands.bbclass: improve binary
reproducibility") fixed binary reproducibility of /etc/version, but with
the move to reproducibilty in all builds, setting /etc/version to
anything other than the default fixed timestamp is tricky because
rootfs_reproducible() runs very late.
rootfs.py uses BUILDNAME if set for /etc/version, so introduce a weak
default for BUILDNAME of "REPRODUCIBLE_TIMESTAMP_ROOTFS", when enabling
reproducible builds hence allowing BUILDNAME to be overridden elsewhere.
(From OE-Core rev: bbf28ea9100a4f86b052c5cd53c77f9e1c03fb09)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix the following runtime failure.
The latest nm v2.33.1 outputs symbols addresses without prefix zeros
for "nm -f posix", which causes the following error.
nm01 5 TFAIL: Got wrong format with -f bsd
(From OE-Core rev: bfffb32611c6d61286171af7f4b1b2edb227f186)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some baremetal applications might require support from libstdc++
On newlib based toolchains, libstdc++ can be built as a static
library that applications can then link against it.
Pass libsdtc++-(static)dev to LIBC_DEPENDENCIES allowing the
library to be present for cross compilation as well as on
sdk builds.
(From OE-Core rev: 18af9ecef6e247519d8a1573e32208bb69cf81fe)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While the gnu style for symbol versioning is the most usual,
--enable-symvers[=style] can be provided several values,
gnu, gnu-versioned-namespace, darwin, darwin-export, and sun,
depending on users needs.
Introduce the SYMVERS_CONF variable to allow the user to
configure the symbol versioning in shared libraries.
(From OE-Core rev: f850931173fc210ed25706fd8fbfe0a310f99dfc)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An error like the following is thrown when building
baremetal applications on some x86 architectures:
(machine, osabi, abiversion, littleendian, bits) \
= oe.elf.machine_dict(d)[target_os][target_arch]
Exception: KeyError: i686
Since the i686 (target_arch) key does not exist in the dictionary.
Add the key to fix the error.
(From OE-Core rev: e7862d2cdd478556ec0310d2b3c140da9cb2ff0b)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even though we do not expect any legacy ( 32bit ) for LE, linux-yocto
does enable the compat code, so enable 32bit support to get that going
(From OE-Core rev: 8e24fd8dcadc6dd13171a2c4cfec6bcff8db772a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LE is default for modern powerpc64, power8+
PowerPC64 Little Endian Linux ABI specifies Power8 as the minimum ISA.
The basic ABI can run on earlier versions of the 64 bit PowerPC ISA,
but it was helpful to define a new, minimum instruction set for Linux
distribution releases during the switch to Little Endian.
(From OE-Core rev: b9c73fb6d1afb3367d871a3d6bf7d0d6a53968a9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid races, SQLTable::__setitem__ needs an exclusive lock for the
entire transaction, not just the INSERT/UPDATE part.
(Bitbake rev: feb43e7c30f5bfab75d718896c45df621810d06f)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From a SRCREV caching point of view, there is no reason to treat the
following upstreams as different:
SRC_URI = "git://github.com/file/file.git"
SRC_URI = "git://github.com//file/file.git"
(Bitbake rev: 425e21c14955dd38868c6e97637df3bbe0f89fac)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior to this change, two different recipes pulling from the same
exact repo could get a different SRCREV during a single parse session.
This was originally observed using git. For git at least, it still
allows recipes to pull from the same repo, but with different branches
or tags, since the form of the srcrev cache key for git is:
"git:" + ud.host + ud.path.replace('/', '.') + ud.unresolvedrev[name]
Where the 'unresolvedrev' part is the branch or tag name.
(Bitbake rev: 6c938e6fd29beebe09b32be839dae008fe6491d2)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given a start expression, bb.utils.get_referenced_vars returns the
referenced variable names in a quasi-BFS order (variables within the
same level are ordered aribitrarily).
For example, given an empty data store:
bb.utils.get_referenced_vars("${A} ${B} ${d.getVar('C')}", d)
returns either ["A", "B", "C"], ["A", "C", "B"], or another
permutation.
If we then set A = "${F} ${G}", then the same call will return a
permutation of [A, B, C] concatenated with a permutation of [F, G].
This method is like a version of d.expandWithRefs().references that
gives some insight into the depth of variable references.
(Bitbake rev: 076eb5453ca35b8b75b8270efb989d5208095b27)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
amend the code to handle singleton comparisons properly so it only checks
if they only refer to the same object or not, and not bother
comparing the values.
(Bitbake rev: b809a6812aa15a8a9af97bc382cc4b19571e6bfc)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
removed unused imports which made the code harder to read, and slightly
but less efficient
(Bitbake rev: 4367692a932ac135c5aa4f9f2a4e4f0150f76697)
Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libfm installs mime types we want in our mime-database and it also uses desktop files
containing MimeType.
(From OE-Core rev: bdbb9b7549a8cb2934705f5803294b941ab04421)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE wic plugins create temporary file with the index of the line
tmp file name. This causes race in case several builds run in time.
If source_params['file'] is an absolute path, the cr_workdir prefix
is not applied by os.path.join(). So instead it writes to a ".1"
file next to the original image - this is outside the WORKDIR
and at risk of collision.
(From OE-Core rev: c68d8a37ba4348fe1c0e75c63b5668187d326ec2)
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Suggested-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Suggested-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit the new class to avoid warnings about desktop file.
(From OE-Core rev: b632c37581911228d6c9501feada17a215b9b442)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package signals that it can open mime-types but does not inharit mime-xdg,
a warning is created.
(From OE-Core rev: 75b4a377d6e74456bbb4b9966725de7385c74b61)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When opening files by file-browsers on fresh images, user has to choose the
application to open from the pool af ALL known applications even those not
designed to open the file selected. By inheriting this classs in recipes the
assosiations in /usr/share/applications/mimeinfo.cache are build by calling
update-desktop-database.
(From OE-Core rev: 20208d6763e725cea211f933ec1c8e32733a10af)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shared-mime-info-data: is the base for mime database
(From OE-Core rev: 316b14b883ebbee1841d21af6ba538792a78ba9b)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* looking through layers it looks that usage of mime.bbclass is somewhat
orphaned
* now that update-mime-database is called once only at image creation time,
costs of mime.bbclass are limited
(From OE-Core rev: 856ed1dc3b6e4a082546a487818eb4c6cde1c573)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* add a short descriptions of class' use case
* remove checks for update-mime-database - it can be considered available:
* at build time by PACKAGE_WRITE_DEPS
* at package upgrade by RDEPENDS chain
pkg -> shared-mime-info-data -> shared-mime-info
* simplify (accelerate?) xml file extension detection
* run update-mime-database once only at image creation to avoid expensive
redundant operations
* allow shared-mime-info to inherit mime.bbclass by avoiding circular
dependencies
(From OE-Core rev: 6467b7b98c9a55e27d1ab9f253ec48da2a722e77)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sources/development moved to freedesktop's gitlab
* patches do not apply any more due to major changes in Makefile.am
* give up bb/inc separation
(From OE-Core rev: 09ef7f8e4b9742b17a0bf7a48970ece2298eaeba)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was not done in meta-oe but shared-mime-info extends to nativesdk either.
(From OE-Core rev: b38bf218f12f2984e2f4bafac720e21fcf1171d2)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent versions of shared-mime-info depend on itstool
(From OE-Core rev: 0bab36c5746dae2e2288244434cafe9cadb4b0c0)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the i686 build fix, this is integrated upstream now.
(From OE-Core rev: ed66833987b674a2403ab8a7d1c4556ff8a2efc4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A new yearly snapshot was taken on January 2nd of 2020, this bumps
newlib to 3.2.0.
- Mentor Graphics added tcl license (amdgcn-* targets)
- BSD-Clause-2 was added as well by Dinux (pru-* targets)
(From OE-Core rev: e2d0e36234ba928d0cbcc98d8358b94d8d44412e)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of multilib, the do_package fails with:
ERROR: libubootenv-0.2-r0 do_package: QA Issue: libubootenv: Files/directories were installed but not shipped in any package:
/usr/lib/libubootenv.so
/usr/lib/libubootenv.so.0.2
Issue is fixed in libubootenv repo - this patch updates SRCREV to the
commit with the fix.
(From OE-Core rev: 9e21387ba2bd04ca844481e42a5999e1d748c730)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Reported-by: ChenQi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vim-tiny: update from 8.1.1518 to 8.2
The date in the license was updated to 2020 and
a trailing space was removed from one line.
(From OE-Core rev: 07d23c2d255f74cf9fbb0e917dfd1fe3bd6a65d2)
Signed-off-by: Oleg Polyakov <Oleg.Polyakov@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upgrade to 4.7.0 since there are so many
fixes in the new release such as below commit
which used to fix Yocto Bug 13311
5699fb7 xargs: use GNU_FINDUTILS_FD_LEAK_CHECK as for find
* Drop all patches as it is backported or
useless in new release
* Licence-Update:
- the link in the COPYING has been updated from
http to https
(From OE-Core rev: 2b0fab5a2c06e9525eb7d2f61f4d833390d30e88)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parallel compile maybe failed with error:
error: ../lib/strlcat.o: No such file or directory
Makefile:619: recipe for target 'syslogd' failed
remove previous patch, and backport lastest fix
for this problem
(From OE-Core rev: 6e5be1d240621c5ce2adf4e629bd6b240cefc0e3)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python 2 ceased being maintained on the 1st January 2020. We've already
removed all users of it from oe-core so the final step is to move the
recipe and supporting classes to meta-python2.
The following are removed in this commit:
- python and python-native 2.7.17
- python-setuptools
- The classes pythonnative, pythondir, distutils, setuptools
(From OE-Core rev: 390f3edabfb1f68ed9766245291c5f44ea00cc38)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If gnu hash is enabled for mips then we can not use gold linker since
gnu hash handling is only supported with good old BFD linker alone
Fixes
.gnu.hash is incompatible with the MIPS ABI
See gold/mips.cc in binutils for reference
(From OE-Core rev: 6f30ae2545064267f127bcc12f9cd00f25e0f309)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If getpwduid fails, we don't see which file it failed on which is key information
to aid debugging. Print this information when exceptions are raised.
(From OE-Core rev: 9d7a5219713af8117eda145052c6d9abdf577d8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unfortunately the ptests assume that $S=$B, and also require
the presence of original source code.
There are still some failures left which require additional investigation.
(From OE-Core rev: f781e2a70ce1086c49e0c3d5ac61b7bf5bd79a9c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. They need to be run under regular user.
2. Some tests genuinely need more time than 30 seconds
3. The Makefile patch erroneously introduced a test-breaking change.
(From OE-Core rev: 3d6bf58c7080c1cacf3ed1f270ff5acf4858c790)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash's test suite prints a ton of warnings like
warning: UNIX versions number signals and schedule processes differently.
warning: If output differing only in line numbers is produced, please
warning: do not consider this a test failure.
or
warning: please do not consider output differing only in the amount of
warning: white space to be an error.
and indeed some of the tests then fail. Rather than fight with this
non-determinism, let's exclude bash from ptesting.
(From OE-Core rev: 192150cf8e5ad212fa8f7ca3a21f06889407bd40)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test needs resources that are built by glib using
hardcoded host tools, that was already disabled, so this
patch adds disabing the test that relies on those resources.
(From OE-Core rev: f3d7b605bac2d2a7a11f4079f57f410a6092c49e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
as issue fixed upstream.
Rebase other patches.
Adjust ptests, pass rate is now 100% again:
======================
All 206 tests passed
(6 tests were not run)
======================
(From OE-Core rev: dce25738c82335f2a92b32bd52f0c63e2dbd336e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove inet-6-.defn-fix-inverted-checks-for-loopback.patch as
it is difficult to rebase and not clear if still necessary.
(From OE-Core rev: 127cc7193a4d696ca7829fc0b36624ef8a1bc312)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a big pile of backports.
Add a patch to address absent string formatting error.
Additional fixing of builds with musl.
timers group has been merged upstream into syscalls.
(From OE-Core rev: 7126431cc3512e3d7f55300c561339c87283b605)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The latest release use standard autotools, so drop all
the build system related hacks and patches.
Ptests have been rewritten, with 100% pass rate for both.
(From OE-Core rev: 0417eef364bad6d061b6a02bff27d766f4c1ce96)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nss is a problematic library in many ways, but openssl
seems to work just fine.
rpm was the only user of nss in oe-core, which opens
the possibility of moving it out.
Add a backported patch to enable builds with latest openssl.
(From OE-Core rev: 8c35a01dc771bf48f74129daa58d365100d18081)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They are preventing autotools from checking netinet/sctp.h existence
successfuly which in turn makes configure.ac files with lines similar to
this to fail, even if DEPENDS="lksctp-tools" and netinet/sctp.h is
clearly available under recipe-sysroot/:
AC_CHECK_HEADERS(netinet/sctp.h,,AC_MSG_ERROR(netinet/sctp.h not found))
This is the case for new libosmo-netif versionsi (meta-telephony branch
laforge/nightly), which expects netinet/sctp.h to be available if default
flag --enable-libsctp is used.
Without this patch, do_configure will fail unless following line is used
in the recipe:
CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'libsctp', 'ac_cv_header_netinet_sctp_h=yes', '',d)}"
So removing ac_cv_header_netinet_sctp_h would be enough, but I couldn't
find any good information on why the other 2 variables were set in site
config files, hence no good reason to keep them.
(From OE-Core rev: 6a641e744507c8c17fa3d7273cb2e5b512ca0242)
Signed-off-by: Pau Espin Pedrol <pespin@sysmocom.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In kernel 5.5+ there are python3 scripts that explicitly use
/usr/bin/python3 as the interpreter. That will find the host
python and produce undefined results.
We add that interpreter path to our substitutions to ensure
that our sysroot variant is used.
(From OE-Core rev: 103316d50d4947b3c3500eb5cbc4845702a62d22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also drop unreferenced (already merged) patches.
(From OE-Core rev: 7b1440dff8129a997400cd7d4b5372455ddd1fe4)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in booting weston images ( core-image-weston ) with fbdev
backend, without this westons initialization of fbdev backend fails
because it does not get correct frame buffer settings and exits
pre-maturely
(From OE-Core rev: d95b03ae45b36a9b127ef639322e61b21c328d87)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
b4087338be ("glib-2.0: Fix hardcoded paths in checksums") fixed
embedded paths in task hashes, but if these paths included dots then
these were flattened when COREBASE was computed. Fix this by resolving
our filenames before replacing the path segments with COREBASE.
(From OE-Core rev: 05c514bfdd0f3201f6a516c9dc93dff0592e23db)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Packages like gst-shark needs this option to be on
Fixes
| checking whether the GStreamer debugging system is enabled... no
| configure: error: Tracers require GStreamer debug support. Rebuild GStreamer core with --enable-gst-debu
g.
(From OE-Core rev: d826022100da5f84e668207b1631fd061accd50b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some plugins such as gstreamer1.0-plugins-base refuse to build if
check is not enabled (which was the case when ptests were disabled).
(From OE-Core rev: ccca0304cf5ee36fc5f79b12ff0578f2ad22c4ed)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gst-plugins-package.inc gstreamer1.0-plugins.inc got replaced by
gstreamer1.0-plugins-packaging.inc and gstreamer1.0-plugins-common.inc,
respectively.
(From OE-Core rev: 238080ed896ea817a23aab2f25c246832ab9c7b3)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not belong in files/, since that subdirectory is where patches
that aren't recipe specific are located. This patch however is gst-validate
specific.
(From OE-Core rev: 70a6eda4ddc071cfb3ad26817a609d054ea8a222)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
fix for GIR support in the meson.build file.
(From OE-Core rev: 63217812467f4d225c80c145edbbceca1dc8efc0)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 specific bits from recipe.
* gettext, gtk-doc, and valgrind support is no longer present in gst-omx,
and arguably never really was (because they were present in the "common"
git submodule that is no longer being used in meson base builds).
(From OE-Core rev: cc56078e2bb793829610225a3f9d66a4454b6880)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch.
(From OE-Core rev: 5dc07f58832483ae44e8bfb6c3aa1787d607b8f3)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson based builds exclusively rely on external FFmpeg builds. The internal
copy was added at a time when stable FFmpeg releases did not exist. They
do nowadays, so the internal copy is not needed anymore. As a result, large
portions of the recipe are unnecessary, since they set up the internal
copy. Same goes for the patches and the zlib/bzip2/xz dependendencies.
(From OE-Core rev: ab9316367d6c22f7f2d45db41bb7c8ef28e58168)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: 6e25fcfe56248bef9881c0a81236ccd7c6331681)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* configure-allow-to-disable-libssh2.patch got replaced by the
-Dcurl-ssh2 option.
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch is a
fix for GIR support in the meson.build file.
* New "closedcaption" packageconfigs added.
* Removed "flite" packageconfig since flite-alsa was removed from
meta-openembedded due it being old and abandoned.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: fec739c764aed866b073f240086ca193dfe2f495)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed autotools/M4 related patch
0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore
it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: 10a824383fee1060f6335ceffedf48e165b6d5a2)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* OpenGL packageconfigs now work differently. There are separate ones for
OpenGL API/platform/window system selection. The meson.build script
expects the selected ones as comma separated lists. For example, like
"-Dgl_api=opengl,gles2". The variables OPENGL_APIS / OPENGL_PLATFORMS /
OPENGL_WINSYS are whitespace-separated lists (which is the OE norm) of
the respective packageconfigs. .bbappend files can then extend these
lists with additional possible configs.
"Possible" means that the target can support those packageconfigs. This
does not immediately add them to the PACKAGECONFIG variable - this still
has to be done manually. The get_opengl_cmdline_list() goes through these
lists, and for each entry, checks if it is contained in the PACKAGECONFIG
variable. If so, they get added to the comma separated lists that are
passed to meson.
For example, a Raspberry Pi layer could add "dispmanx" to OPENGL_WINSYS.
* The "ivorbis" packageconfig got renamed to "tremor", since that is the
name of the OE recipe, and now also the name of the meson option.
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch and
0002-meson-Add-variables-for-gir-files.patch are backported fixes for
GIR support in the meson.build files.
* make-gio_unix_2_0-dependency-configurable.patch removed because it is
no longer useful to have.
* link-with-libvchostif.patch removed because the flags it changed are
no longer present in the meson.build scripts. If the related issue
reappears, a similar patch can be applied again.
* 0003-riff-add-missing-include-directories-when-calling-in.patch removed
since the entire gst riff library has been excluded from GObject
introspection due to naming convention issues.
* Removed a number of autotool/M4 related patches and recipe lines.
* gtk-doc support is handled here, not in gstreamer1.0-plugins-common.inc,
since unlike with autotools, only some plugin set packages use gtk-doc.
* zlib is no longer optional, and glib anyway depends on zlib, therefore
it gets added to the DEPENDS list.
* gettext handling now part of gstreamer1.0-plugins-common.inc.
(From OE-Core rev: 20614408dc4e0593f2cce2e342d5b8a15f182c14)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Moved 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
from files/ to gstreamer1.0/ since it is gstreamer1.0 recipe specific.
* Removed M4 specific patches:
- 0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch
- gtk-doc-tweaks.patch
- add-a-target-to-compile-tests.patch
* Added patches:
- 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
Backport for enabling GIR support in meson based cross compilation
- 0002-meson-Add-valgrind-feature.patch
Make valgrind support configurable to be able to control it through
a "valgrind" packageconfig
- 0003-meson-Add-option-for-installed-tests.patch
Add support for installable tests and for generating .test and shell
scripts which can be used with the gnome-desktop-testing suite runner
* PTest support:
By default, GStreamer does not allow for installing tests, and requires
meson to run its unit tests. The 0003 patch fixes this by installing
the binaries themselves and by generating accompanying .test and shell
scripts. The scripts set up the required environment files and then
call the test binaries. The .test file list the shell scripts as
Exec= command line.
(From OE-Core rev: 0db7ba34ca41b107042306d13a6f0162885c123b)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-common.inc
The old gstreamer1.0-plugins.inc file, adapted for meson
* gstreamer1.0-plugins-packaging.inc
The old gst-plugins-package.inc file, adapted for meson
* gstreamer1.0-ptest.inc
Common code for meson based PTest support; autogenerates the run-ptest
file and is designed to use the gnome-desktop-testing suite runner
(which is why the .inc files inherits from ptest-gnome)
(From OE-Core rev: 075aa7a617d38d6a698cee97dcb7550e72741eb5)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should give performance improvements to functions using this list of
tasks (sets are used for most of the other code for this reason, not sure
why this wasn't a set in the first place).
(Bitbake rev: f5daef68703481a3c243dfecc7de404e6ebfdbb6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating a new progress bar (using BBProgress), a colon was
appended to the supplied message. However, when updating the message,
no colon was appended.
Change this so that the colon is instead part of the widgets that make
up the progress bar so that it does not matter when and how the
message is updated, it always displays the same.
(Bitbake rev: 08f35c04f6e1ce4c4ca5c2bef4cd8a192e12e682)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of the hash equivalence server, the progress bar
for "Checking sstate mirror object availability" is shown repeatedly
while the tasks are being executed. If the footer is not hidden then,
it will be moved up one line every time, creating a messy interface.
(Bitbake rev: 56b5ec4c2b3e658e73ca6c3a12feeb96df0977fb)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a comparision branch is set we see warnings. If two branches are used,
look for buildstats information from both to avoid this kind of warning:
INFO: Parsing buildstats from 'refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86'
WARNING: Buildstats not found for perf-centos7.yoctoproject.org/master/qemux86/56808-g08220028e52992dcba667fc97bf3afe8be1949fb/0
WARNING: Buildstats not found for perf-centos7.yoctoproject.org/master/qemux86/56808-g08220028e52992dcba667fc97bf3afe8be1949fb/1
INFO: Buildstats were missing for some test runs, please run 'git fetch origin refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86:refs/notes/buildstats/perf-centos7.yoctoproject.org/master-next/qemux86' and try again
(the warning is due to stats being looked for in both branches, choose
the other branch and different warnings would be shown)
(From OE-Core rev: af58c18fcd0451540dd77ee862956b2b9dee17c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depending on the kernel and coreutils version, mv operations test for existence
of files and can potentially race. It also leads to the file always changing which
leads to potential problems if using and NFS share and there are other readers.
Using ln instead means we don't overwrite the file if it already exists meaning
other readers aren't disrupted and should work more reliably on NFS which is used
for sstate on the autobuilder.
Since we're not overwriting files, touch the file to show activity as would have
been done it it were reused from sstate.
(From OE-Core rev: d8e9a22a4e23616ad01627c1e472296b1e26f13c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 692b2046 (package: Fix race between do_package and
do_packagedata), the path used for do_packagedata[sstate-inputdirs]
was changed from "${PKGDESTWORK}" to "${WORKDIR}/pkgdata-pdata-input".
This commit adapts the path used for pkgdatadir in
toaster_package_dumpdata() accordingly to avoid setscene errors like:
ERROR: libgcc-9.2.0-r0 do_packagedata_setscene: Error executing a
python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this
exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function:
<module>
0001:
*** 0002:toaster_package_dumpdata(d)
0003:
File: 'meta/classes/toaster.bbclass', lineno: 130, function:
toaster_package_dumpdata
0126: lpkgdata = {}
0127: datadir = os.path.join(pkgdatadir, 'runtime')
0128:
0129: # scan and send data for each generated package
*** 0130: for datafile in os.listdir(datadir):
0131: if not datafile.endswith('.packaged'):
0132: lpkgdata = _toaster_load_pkgdatafile(datadir,
0133: # Fire an event containing the pkg data
0134: bb.event.fire(bb.event.MetadataEvent(
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'tmp/work/mips32r2el-nf-poky-linux/libgcc/9.2.0-r0/pkgdata/runtime'
(From OE-Core rev: 5a0f6f631b86f7107aa72453b6d23f32ba39f713)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The expansion by this function, recently added by the meson site handling code
was causing hardcoded paths to become embedded in the tash hashes. Avoid this
(and hence avoid eSDK failures which exposed this).
(From OE-Core rev: 83899aad423cd36cea7ab2ea210feae5b3359823)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe needs to generate the latest hashes. With unihash we may not
rebuild as previous dependencies may be marked as equivalent.
eSDK which uses this is nostamp already, mark this task as nostamp also
for the same reason.
(From OE-Core rev: e8cfc8525c5d903ee876eafd56521f4a7325a6f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build systems have a common problem that some tests can only be done by
executing a piece of test code (compared to just compiling or linking test
code). In a cross-compilation the execution of this code isn't possible and the
Meson solution to this is to allow 'cross properties' to be specified in the
cross files.
GLib has a number of these, for example determining the direction the stack
grows, whether /proc/self/cmdline exists, or the behaviour of snprintf().
Previously we'd passed values for these to the Glib build for target builds, but
this misses out nativesdk builds (which are also cross-compiled) and the fact
that some of these values are specific to the platform, some are specific to the
host OS, and some are specific to the libc implementation.
This problem has already been solved for autotools with the siteinfo class,
which turns the target platform/OS/libc variables into filenames (such as common
common-linux common-glibc). We can look for these in FILESDIR and use them as
cross files.
Assuming that there are no problems with this appoach it can be moved into
meson.bbclass so that all Meson recipes can use it for their cross files.
(From OE-Core rev: 5acd9cbc9d5c6355010775250fb25f043441c5cd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When pam is not part of distro, user specific XDG_* environment
variables are not available since PAMName=login is in-effective and as a
result weston can not start because it direly needs XDG_RUNTIME_DIR
defined, therefore launching weston directly in systemd service will not
work, therefore call the helper script weston-start, which is also used
with sysvinit
extend enabling fbdev backend fallback to all qemu machines
Reported-by: Marek Vasut <marex@denx.de>
(From OE-Core rev: ae66cf5e03f04361aad2bd8784fb7d42e0f0bb08)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This coreutils (gnulib) test tests for various bugs that only
exist in ancient versions.
It defaults to assuming buggy behaviour with its own implementation
when cross-compiling.
musl and recent glibc (2.29) are not affected.
(From OE-Core rev: 65d38cc1ce5a106c4c2e5068b8440eb6e5a2b33e)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoconf has a test for strtod(), which assumes non-working
when cross-compiling, but it does work in both musl and
recent glibc.
coreutils (gnulib) does some additional tests on top of that,
but assumes working glibc when >= 2.8 when cross compiling.
It doesn't know about musl where the additional tests also
work, though.
(From OE-Core rev: c8429f707d9ac785f295492470ec8b9ff56c043b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per coreutils' (gnulib's) autotools test, nanosleep()
misbehaves on glibc (2.29), and works fine on musl.
During cross-compile, recent coreutils assume brokenness
when compiling for linux, which pessimises musl.
Set the correct result for musl, and for coherency reasons,
also specify the result for glibc.
(From OE-Core rev: 4522648758dc59f5ece736a0c1c0e95dcc7dafd1)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This coreutils / gnulib autoconf test is for a broken glibc
implementation of utimes from 2003-07-12 to 2003-09-17.
(From OE-Core rev: a60ca6048cc3a4fef862b128a842c70ac0cd2253)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
to set the file to the current time
(From OE-Core rev: 530e01e79e9674d0049b183dc23491eb886b066b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recent coreutils (gnulib) assume yes when cross-compiling
for gnu (glibc), but don't know about musl.
For coherence, just set the result to yes for both.
Note that the old coreutils (from meta-gplv2) doesn't
assume anything and instead that recipe hard-codes to yes.
So behaviour with yocto when using meta-gplv2 is actually
better than when using the latest version (when using musl).
This patch rectifies this shortcoming.
(From OE-Core rev: 692fe85264e599eb659456bd2eebf5f12a1cd30f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This coreutils (gnulib) test checks for an abort() that existed
in glibc before 2.4.90-10 (in 2006) in certain conditions.
Neither libraries exhibit this problem today.
(From OE-Core rev: 506c3b5adaa2fdffa051d83fb99efc00e432156b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In glibc, getcwd() handles long file names properly, on
musl, getcwd() only works up to PATH_MAX directory depths.
Configuring the autotools (gnulib) test result here allows
coreutils to compile more optimised code for both platforms,
rather than being pessimistic and re-implementing everything
itself.
The difference in behaviour is because both do the kernel
getcwd syscall (which only supports up to PATH_MAX), but
glibc implements fallbacks for longer paths, while musl
doesn't.
(From OE-Core rev: 525e33cf99983ee4bc3cf1822364123551aa7c83)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. allocate memory for the pointer returned when the first
argument is NULL.
(From OE-Core rev: fe148da36af2dc086e05e2ebc1c088f1b5485de2)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. shared text that is being executed.
(From OE-Core rev: 1370742d20aaa1a17f3e242ea9bb54df944b6416)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
calloc (N, S) returns non-NULL when N*S is zero,
and returns NULL when N*S overflows.
(From OE-Core rev: ba2bc4b6529013a303dd67abe944ceb619e7466c)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
their mkstemp() passes all tests from the gnulib m4 macro
gl_FUNC_MKSTEMP.
(From OE-Core rev: 2b0905d25fa295fc868bf6df1da89283b9dc1f45)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. a memcmp() that is 8bit clean (like glibc).
(From OE-Core rev: d938ca1b8bc715047d771907c6ea4a1c9aa6594f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I.e. a chown() that works when given -1 as uid / gid
(From OE-Core rev: 226b8b2b1b565ef019b442ad3bf1f5d86704e1d2)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add stdin/stdout/stderr symlinks in case when not using hotplug
Disable ctrl+alt+del, not used much
Mount swap if defined
(From OE-Core rev: b1799bd40dfa3b244ddf2b7fba1fb4dc1f9a7394)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Occasionally the reproducibility selftest fails because perl-pod differs,
specifically that the perltoc.pod file was sometimes missing modules.
Debugging revealed that there are missing dependencies so there is a build race:
building perltoc.pod from an clean build tree results in no modules being listed
at all.
A bug has been filed at https://github.com/arsv/perl-cross/issues/86 to solve
this properly, but for now we can just delete perltoc.pod after make has
finished and re-generate it.
[ YOCTO #13726 ]
(From OE-Core rev: 7e0f6c9ea4f824f29dc30c6631fd8039ebe83a0b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Qemu supports attaching the virtual machine to an existing network
bridge interface via the qemu-bridge-helper program (as long as the
system is correctly configured to give the user permissions). Add
support for runqemu to do this also via the "bridge=<INTERFACE>"
argument. Note that for this to work correctly, the host
qemu-bridge-helper must be used, not the one that might have been built
by qemu-native. In order for qemu to correctly find this program, a
qemu-oe-bridge-helper program has been added to qemu-helper-native, and
runqemu will use this helper as the bridge helper. The helper will look
for the host qemu-bridge-helper first by looking in the
QEMU_BRIDGE_HELPER environment variable, then by search common paths
where the helper is installed.
(From OE-Core rev: 9e7b38c61c6b84b7f137c733ac5da9414025693d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix crossscripts to report the correct "serverbin" value.
While the packaged "cups-config --serverbin" reported
"/usr/libexec/cups" the crossscripts version reported
"/usr/lib/cups", causing packaging issues when building for example
cups-filters.
Also fix FILES_${PN} to use ${libexecdir}; previously it was working
just because "${libexecdir}/*" was part of the default values in
bitbake.conf.
(From OE-Core rev: 2ce6ef29b9bb4f16ed9d78e166d455b7a6d968bf)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This usually helps compiler to not use built-in optimizations
for string functions and mem* functions unnecessarily, since OE's
compiler is hosted for linux cross compile, this also means we instruct
it rightly for building a baremetal application
Refresh the patches to apply without fuzz
Fixes linking errors e.g.
platform/qemu/virt/lib/libplatsbi.a(sbi_string.o): in function `sbi_memset':
| /mnt/b/yoe/build/tmp/work/riscv64-yoe-linux/opensbi/0.5-r0/git/lib/sbi/sbi_string.c:102: undefined reference to `memset'
| collect2: error: ld returned 1 exit status
(From OE-Core rev: f599b6c77f3585c8917f4d685689da4cc8a8bf04)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I moved the ALLOW_EMPTY line next to the line that sets FILES to "".
That makes it easier to see that the package is not only allowed to be
empty, but forced to be empty.
(From OE-Core rev: c6bb27bee2f6f3f363893e59de0373d1532519e8)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The topology configuration files were moved from the alsa-lib repository
to a new alsa-topology-conf repository. The move was accompanied by
a license change from LGPL2.1 to BSD-3-Clause.
(From OE-Core rev: 4dd61230a6d2cc8183a12edc9834cb506b488e3a)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The UCM configuration files were moved from the alsa-lib repository to a
new alsa-ucm-conf repository. The move was accompanied by a license
change from LGPL2.1 to BSD-3-Clause.
(From OE-Core rev: 769354b372a4a60dfec921789d875340b0244406)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelogs:
https://alsa-project.org/wiki/Changes_v1.1.9_v1.2.1https://alsa-project.org/wiki/Changes_v1.2.1_v1.2.1.1https://alsa-project.org/wiki/Changes_v1.2.1.1_v1.2.1.2
This upgrade brings support for the new "UCM2" configuration format.
Another big change is that the UCM and topology configuration files were
moved to separate repositories, so those are removed from alsa-lib and
will need to be packaged separately.
The topology API was moved from libasound to a separate libatopology
library. This seems like a recipe for regressions for applications that
used to use libasound for the topology stuff, but I don't think there
are many applications in existence that use the topology API. I hope the
upstream knows what they are doing.
Patches added:
0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
This fixes a failure during configure.
0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
Backports. I don't know if these are regression fixes, but since the UCM
code was heavily worked on in this upgrade, it seems likely that these
patches fix regressions.
0003-namehint-correct-the-args-check.patch
0004-namehint-improve-the-previous-patch-check-the-return.patch
Backports. A change in alsa-plugins caused a regression in the pulse
plugin, but that was actually due to a bug in alsa-lib, which is fixed
by these patches.
0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
Backport. Fixes a regression with some Intel hardware.
0001-Fix-alsa-sound-.h-for-external-programs.patch
0001-uapi-Move-typedefs-from-uapi-to-sound.patch
Backports. These fix build failures in alsa-tools.
I removed alsa-doc from PACKAGES, because no files were assigned to it.
(From OE-Core rev: 966890009b4dd81abb72534192c688dbd1195d00)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the sanity_info file has moved from the conf directory to the
cache directory, there is no longer any need to clean it away
explicitly in clean_esdk_builddir() since the whole cache directory is
already cleaned away anyway.
(From OE-Core rev: 40c30990e1be72130819c040fe471e2bdc0c6e7d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since this file is written during recipe parsing, having it in the
${BUILDDIR}/conf directory, which is covered by an inotify watcher,
will trigger a re-parse the next time bitbake is run and the resident
bitbake server is enabled. This causes the sanity_info file to be
updated again, which triggers a new parse the next time bitbake is run
ad infinitum. Moving it to ${BUILDDIR}/cache should avoid this.
(From OE-Core rev: f98103b548aa7dba6b1be6c8e02ef41858a8e85c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch has been applied in several Linux distributions
(From OE-Core rev: 8e662fced80c98c5495d49c905cc0008cb812589)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
webkitgtk does now support the new version.
(From OE-Core rev: aca863fc4259863d6841b25649c6718c64ccfe6b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We define a new method of populating a source mirror using the archiver
bbclass instead of simply copying the contents of the downloads
directory. This allows the archiver features such as copyleft license
filtering and recipe type filtering to be used when preparing a source
mirror.
This new archiver mode is selected by setting `ARCHIVE_MODE[src]` to
'mirror'.
The source mirror mode can either be 'split' (default) or 'combined',
controlled by `ARCHIVER_MODE[mirror]`. Additionally, sources can be
excluded as needed by setting `ARCHIVER_MIRROR_EXCLUDE` to a list of
URI prefixes. These options are described in more detail in the new
entries in the header of archiver.bbclass.
New oeqa selftest cases are added to cover the mirror archiver mode.
(From OE-Core rev: 2c8b31ae0ab95a8b100e8bade23f51574e273c9a)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes connection denials with these syscalls being there on upcoming glibc 2.31 release
(From OE-Core rev: 557d464de217cdf959aa275d20e7b155e4130ec7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup the following entries because these recipes have been removed
from oe-core:
cve-check-tool
gcc-cross-initial
gcc-crosssdk-initial
gcc-source-8.3.0
gccmakedep
gnome-themes-standard
gtk+
gtk-icon-utils-native
libnewt-python
mkfontdir
python3-file-utils
(From OE-Core rev: 993d6033fc11f698f328378d465889ff5d781aa0)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This option adds the contents of the given path to a partition built
with the rootfs source plugin. The path is relative to the directory in
which wic is running not the rootfs itself so use of an absolute path
is recommended. This option is most useful when multiple copies of the
rootfs are added to an image and it is required to add extra content to
only one of these copies. This option only has an effect with the
rootfs source plugin.
(From OE-Core rev: d4cd27a9837426e809190548a83c6c7c76505114)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging issues or trying to add new features in wic it's useful
to examine the intermediate files created by the tool such as images of
the individual partitions. Previously these files were created in a
subdirectory of IMGDEPLOYDIR and, deleted by wic itself and then the
working subdirectory completely removed at the end of IMAGE_CMD_wic.
Instead we should work in a staging directory named build-wic and leave
behind intermediate files for analysis if necessary.
This has the added benefit of allowing individual partition images to
be preserved by adding commands to IMAGE_CMD_wic_append() in an image
recipe if needed. This is useful where an update system requires exact
sized and pre-formatted partition images for deployment.
(From OE-Core rev: 07b6b284204e912b5d08bdd0ca51b766ab7dd9c1)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When a recipe is selected, automatically select the package that
matches the recipe name (if it exists), otherwise select the first
package.
(From OE-Core rev: 856ca73909b5060c3939f6c55c9c7f38ac699abb)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all widgets were hidden when no package was selected.
(From OE-Core rev: 6e41c16ed41b63dc20e4d0076e7c3c7f6cb7ee27)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly remove a broken detection of skipped tests
(which was marking tests that actually passed), and install
additional artefacts needed for testing.
(From OE-Core rev: dbbce0918617c21d0e43e9727d38372c22dff3dc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modules actually make use of these files, so they belong in perl-core
other than perl-doc (the immediate failure was ptests for
libmodule-build-perl failing).
(From OE-Core rev: 829e8c49833e4cb8de5db869769eb492c827e8c9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, some modules such as libmodule-build-perl fail to work
properly.
(From OE-Core rev: e4072d53a7fb4fbbdacce9a20968e71ef6cff307)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some assumptions about where data files are needs to be adjusted.
(From OE-Core rev: ae39de0119ac1d21512fe64f7f7969790e396819)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They were failing due to incorrect locale being used.
(From OE-Core rev: c4fdb3a8629c0c230e430a60df850f9c5ed4a423)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In previous testing some tests were skipped due to missing autotools;
when autotools are present on target, additional failures are exposed.
(From OE-Core rev: 9863bb29f481023081b30a55d3304afe1d7b6e8b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This significantly adds to the ptest execution time and isn't
needed, as all tests pass anyway.
(From OE-Core rev: a2932a1a386b89d7bae6b2a197279a2dd9e6d76c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also remove mdadm-ptest as it is already included in the slow list.
(From OE-Core rev: 18b7e4c05a54ea0dde21b60b8bef8dcb9ccf4e7e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a ptest does not produce PASS or FAIL, but simply
errors out, this is not caught or reported; I think some ptests
may have silently regressed due to this.
(From OE-Core rev: 4b78b6571a3653d7d8e9dab9512bad5d39483988)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They were not excluded when multilib variants were being built.
(From OE-Core rev: 11d053764338465adbec2d0c31bad0387e36405d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, multilib packages such as lib64-perl aren't properly replaced:
Error:
Problem: package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl provided by lib64-perl-5.30.1-r0.x86_64
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-strict provided by lib64-perl-5.30.1-r0.x86_64
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-warnings provided by lib64-perl-5.30.1-r0.x86_64
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with lib64-perl-module-vars provided by lib64-perl-5.30.1-r0.x86_64
(From OE-Core rev: 1f807b2c51df8a7e66d7aad6e531afef42942e6e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise, the package utilizing this architecure does not get
properly prioritized by rpm/dnf. This isn't seen single-lib builds
(as the architecture ends up upfront anyway), but is triggered in
multulib where the architecture may end up in the middle of the list
due to multilib expansion/trimming duplicates.
(From OE-Core rev: a807d54655d7377ef8ac49abd5ab428303831663)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the problem is now fixed with a backported patch to
gettext itself, the patch is no longer needed.
(From OE-Core rev: f1dc63a9129c8f5deafa188065933cf3b220a673)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch over to meson build system, add a patch
to avoid target python3 dependency.
(From OE-Core rev: b8fa017de9b9e5f1057a14b9b13ac0401b94969e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to git, as using debian snapshots makes automated upgrades impossible.
(From OE-Core rev: 0e6b5151480cd03eb96deecc465f16958c41afa2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When there are many watched files, keeping track of them using lists
is suboptimal. Using sets improves the performance considerably.
(Bitbake rev: 1e96df260e47d160dbd36bfc92c31ef06266f662)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libubootenv is a replacement for u-boot-fw-utils. It is
hardware-independent and provides fw_printenv and fw_setenv tools that
are full compatible with the ones provided by U-Boot. A library is
provided to access the environment from an own application.
License is LGPL-2.1 and this allow to link the library to proprietary
code. The user of the tools should install the configuration file
"fw_env.config", as he is already used to with u-boot-fw-utils. The
configuration file is compatible with u-boot-fw-utils.
A full discussion about issues on current u-boot-fw-utils can be read on
U-Boot's ML at:
http://u-boot.10912.n7.nabble.com/SWUpdate-U-Boot-environment-library-dependency-tt340530.html#none
(From OE-Core rev: 325a8dec3c24723e02c8c7a0b416321adc7a5717)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement new QB_DRIVE_TYPE="/dev/vdb" which falls back
to virtio block device emulated by qemu.
That is needed to support following qemu command line:
-drive id=disk0,file=%s,if=none,format=%s \
-device virtio-blk-device,drive=disk0'
Real use case is arm64 emulation with qemu with atf+optee+uboot,
so that uboot driver sees this disk and able to load from it.
(From OE-Core rev: 4d72cd395b2dd40dde1f3809e3ab255938e6a7a1)
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GLib 2.60 onwards checks for /proc/self/cmdline instead of assuming that
it exists on Linux (because Cygwin also has it). As this is a runtime
test it doesn't execute in cross builds so defaults to false, but under
Linux this should be true.
Restore the previous behaviour and silence the warning by setting the
cross property appropriately.
(From OE-Core rev: c308116fb7787794512c3153503ddf9da71803a8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Try and avoid errors like:
Exception: bb.process.ExecutionError: Execution of 'build/tmp/work/x86_64-linux/libxslt-native/1.1.34-r0/temp/run.sstate_unpack_package.12343' failed with exit code 1:
touch: setting times of 'build/sstate_devtool/80/4d/sstate:libxslt-native::1.1.34:r0::3:804d33f3f8d032b01ae92207669dd0a8f95a84917d563d122a77df19e786d73c_populate_lic.tgz.siginfo': Stale file handle
WARNING: exit code 1 from a shell command.
by not overwriting existing files.
(From OE-Core rev: b2a389ad5111d587db3f95c6ce13fc2eafc22f27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can have sstate directories which are mixtures of old and new layout entries.
Only use the new format ones since these are the only ones bitbake itself will
look at.
(From OE-Core rev: 610b314ddc757e6ac8ba4d47921aee1f2f35df97)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many filesystems can't cope with filenames longer that 255 characters.
Add code to detect this and truncate non-essential elements of the filename
to stay within the limit.
[YOCTO #13268]
(From OE-Core rev: 90cc3d1ed1a12294a2d3ac97c1ba528ab315605d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the task handling and extension handling into one common filename
construction function.
(From OE-Core rev: c0c158d38583648a801e959d91371f7b43a98da5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the task handling code into the SSTATE_PKGNAME variable using a temporary variable.
This makes the code more understandable as as well as allowing the length of the
final sstate filename to be more easily accesses for following patches.
(From OE-Core rev: be603dad6817948cfa09621d2311046631ec4ab2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're having speed issues on the autobuilder due to the numbers of files in sstate
directories. We previously split these by the first two characters of the hash.
This change extends this to split by the next two characters as well, creating
more layers of directories.
This should signifiantly speed up eSDK builds on the autobuilder as the current
sstate layout simply isn't scaling there but addresses a general complaint.
gen-lockedsig-cache needed to be updated for the new split level sstate.
Also update tests for new layout.
(From OE-Core rev: d05bde16bdad761ed8f4c0a48de60c649aa33e85)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This stack trace is horrible and obscurs the real failure message, avoid that.
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:copy_buildsystem(d)
0003:
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 446, function: copy_buildsystem
0442: sdk_ext_type = d.getVar('SDK_EXT_TYPE')
0443: if (sdk_ext_type != 'minimal' or sdk_include_toolchain or derivative) and not sdk_include_nativesdk:
0444: # Create the filtered task list used to generate the sstate cache shipped with the SDK
0445: tasklistfn = d.getVar('WORKDIR') + '/tasklist.txt'
*** 0446: create_filtered_tasklist(d, baseoutpath, tasklistfn, conf_initpath)
0447: else:
0448: tasklistfn = None
0449:
0450: if os.path.exists(builddir + '/cache/bb_unihashes.dat'):
File: 'build/meta/classes/populate_sdk_ext.bbclass', lineno: 182, function: create_filtered_tasklist
0178: # Clean out residue of running bitbake, which check_sstate_task_list()
0179: # will effectively do
0180: clean_esdk_builddir(d, sdkbasepath)
0181: finally:
*** 0182: os.replace(sdkbasepath + '/conf/local.conf.bak', sdkbasepath + '/conf/local.conf')
0183:
0184:python copy_buildsystem () {
0185: import re
0186: import shutil
Exception: FileNotFoundError: [Errno 2] No such file or directory: 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf.bak' -> 'tmp/work/qemux86-poky-linux/core-image-sato/1.0-r0/sdk-ext/image//opt/poky/3.0/conf/local.conf'
(From OE-Core rev: 5115d2616b0847d521ccbecf1fbbf1f695a04fea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Include-needed-headers-explicitly.patch and CVE-2019-19725.patch
Removed since they are included in 12.2.1
(From OE-Core rev: 1e6f6d0937f136afb629c9c02036b9ba797f96a7)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl does not use cmake/autotools etc. but plane old makefile basded
build system, which means it does not get B defined to be outside S
therefore define B explicitly to be outside S
(From OE-Core rev: 025a7a4007d4f6f64c861dc498dab68eaa650c2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not exploitable when glibc has CVE-2016-10739 fixed,
which is fixed in the upstream version since warrior.
(From OE-Core rev: 0da6e0a232019fe7eccfbdf33a13c1fe0a35cddd)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since get_unihash uses taskhash as a key internally, changing it means
different bebahour when locked sigs are active verses not active. Under
corner cases this leads to a signature mismatch.
Avoid this by by adding a wrapper for the place its externally exposed
and then not changing the internals.
(From OE-Core rev: 23b7484d326cf7fac013384598d7745a042eaa75)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
get_taskhash will call get_unihash internally in the parent class. We
need to disable our filter of it whilst this runs else incorrect hashes
can be calculated.
This is believed to be causing the locked signatures test to fail under
some circumstances (depending on whether earlier hashes are being
remapped).
[YOCTO #13605]
(From OE-Core rev: 523c093a882f6831ba75b5c4513837554d7e2414)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These messages spam the logs for no good reason, they were useful for debugging
a particular problem long ago but are distracting noise now. Disable them.
(Bitbake rev: 1a9247c468cf09da60e5d396ccb81e950841c99e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hack the hashserv to allow extra data to be injected into the hashserv
method. This allows OE-Core to handle cases where there are multiple
sstate objects for the same taskhash, e.g. native/cross objects based
upon BUILD_ARCH or the host distro (when uninative isn't used).
This has been tested and proven to be very effective. We will likely
rework the code to improve how this is handled but for now this
improves automated builds until we can get to that refactoring and
more invasive changes.
(Bitbake rev: 0a09b0fa03d1afc08037964dc63a18ef7cff9c78)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A corner case was identified where tasks with valid stamps from previous
builds need to be accounted for in the new sanity test in the migration
code. Add a variable to track such completed tasks to ensure the sanity
test works correctly.
(Bitbake rev: d517b1ef13ca7ab2fb4d761d3bd3b9fb7c591514)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen a number of mystery failures where task B would run despite
task A, its dependency not having run. An example would be do_compile
when do_unpack didn't run.
This has been tracked down to this code block. In theory it shouldn't
trigger however it can and has due to bugs elsewhere. When it does, it
causes significant weird failures and possible build corruption.
Change the code to abort the build. This avoids any chance of corruption
and should ensure the issues get reported, putting an end to the weird
build failures.
There may be some cases where this triggers and it shouldn't, we'll work
through those as they arise and are identified.
(Bitbake rev: 7a92b7f58ab187eddfe550bd6fb687240c7b11bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Regardless of whether we remapped the hash on the server or not, we need
to have bitbake work as if we did as we need to match how the stamp files
look.
This change resolves build failures where tasks were rerunning when they
shouldn't.
(Bitbake rev: 40928f6991436cf687821015324483b205abfcb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can have one taskhash which represents multiple native/cross sstate objects
since they're stored by BUILD_ARCH or possibly host distro (or host gcc version).
We need to put these into separate namespaces on hashserv since their outhashes
will never match and we need deterministic lookups for the different namespaces.
Use this extramethod option to handle this. This fixes several problematic
failures on the autobuilder.
(From OE-Core rev: 2a76082363d189880613765ad339718e3614049d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to account for review feedback on list.
(From OE-Core rev: ec788594f3f6a47687c6eb321437f2d2b58b1518)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-configure.ac-Do-not-fatalize-Wmissing-prototypes.patch is no longer
needed
disabling format warnings is no longer needed as well therefore remove
it from recipe and address the warnings (if any in patches)
Ensure that it can build with clang as well on the way via the new clang-warnings.patch
patch
(From OE-Core rev: c22726425a2554a65b17a9daac9350940b2ddd6b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some file systems don't support fetching the block size (notably the
file system Docker uses for containers), so if iotctl() fail, try to use
failback via os.stat() to get block size.
(From OE-Core rev: e219f5175177a640dd62833082ea19adc1c13d42)
Signed-off-by: Kalle lampila <kalle.lampila@lempea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: URLs changed from http to https
(From OE-Core rev: c9f8b48ddae0c951fe4df99fda062526160c0a9f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than update a tarball, I took m4 files directly from an install of 0.20.1.
The patch is dropped as guile has long been removed from oe-core.
(From OE-Core rev: be1fe0120f99e88580cde8fe9004d8135458cac4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use PCRE, this enables using posix extended Regexps on cmdline
(From OE-Core rev: 7a0fd80d8a5f2aedcccb5a52acca46dea3feb3d8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For some aging distros, such as CentOS 7, the native version
of gcc is simply too ancient and is a constant source of
headaches for moving forward.
* Add an extended version of buildtools-tarball which adds all
of build-essential, so that the host is now modernized and
capable of compiling the latest versions of components.
Fixes [YOCTO #13714]
(From OE-Core rev: f0377af2325613b63716b0bb4db1ab253d79f388)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As pointed out by Masahiro Yamada <masahiroy@kernel.org>, ('' or 'custom')
equates to "custom" and this code seems unecesaarily complicated and unused.
It was likely intended to supress the value if XXX_OS was set to '' but the
code doesn't actually do that. Simplify it as we shouldn't have this indirection
if we don't need it, its horrible.
(From OE-Core rev: 66e4c638b942c9832da9e1d578aa03eeafae28db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users may want to run qemu against a specific multiconfig instead of the
base configuration, so give them the ability to specify which config
should be used with the MULTICONFIG environment variable.
(From OE-Core rev: fda5d9b64fa310173ad949540c54fd693c4f7d3a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_image_wic now depends on the do_image_complete tasks from all it's
dependencies. This allows images recipes specified in WKS_FILE_DEPENDS
(for example, if a machine wants to put a initrd into a boot partition)
to correctly trigger rebuilds for the wic image.
Note that recrdeptask can't be used as was done for do_deploy because
this would cause circular task dependency errors. This shouldn't be
necessary anyway if the dependencies specified in WKS_FILE_DEPENDS are
complete.
(From OE-Core rev: 4b93115a0c6f8686e7a21b992751626844c301d5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit d31ff84a5f47 ("systemd: fix PN-container package splitting"),
d0b2cedfb0 in poky, created a new package for the remote journal,
but introduced a typo during declaration of the systemd unit part
of that package.
Fix it.
(From OE-Core rev: bb6a99f933795a9218051f1cd47c5551352d861c)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade mesa to 19.3 and refresh the patches.
As MESA_EGL_NO_X11_HEADERS was renamed to EGL_NO_X11 in [1] we are going
to change the do_install and add a patch to libepoxy to use the new
define.
1: 6202a13b71
(From OE-Core rev: 7a3d575ba56311c46122dfe9fa88094859fe9713)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new BB_SIGNATURE_LOCAL_DIRS_EXCLUDE allows you to specify a list
of directories to exclude when making taskhash, our specific case
is using SRC_URI that points local VCS directory.
Use bb.fetch.module to set default to: "CVS .bzr .git .hg .osc .p4 .repo .svn"
(Bitbake rev: 923aff060d8aba8456979c35b16d300ba7c13ff9)
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that RECIPE_SYSROOT is the same for -native recipes whether
multilib.conf is included or not.
Without this change task signatures for -native recipes change when
switching between MACHINEs that require multilib.conf and those that
don't.
This fix was one of the ones suggested by Khem Raj in
http://lists.openembedded.org/pipermail/openembedded-core/2019-December/290303.html
Add test_sstate_multilib_or_not_native_samesigs test case to
sstatetests.py to ensure that this stays fixed.
(From OE-Core rev: aa05f1ded71366b86eda7fce24d8b5395e85ada2)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While installing perl-doc and tcl-doc to image, there is a file conflicts
at do_rootfs
...
|file /usr/share/man/man3/Thread.3 conflicts between attempted installs of
perl-doc-5.30.1-r0.core2_64 and tcl-doc-8.6.10-r0.core2_64
...
Use update-alternatives to fix
(From OE-Core rev: 47df8c0dd8ff86af97e6c6d217fb8d69ebec24e5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For buildtools-extended-tarball, where we are adding all of build-essentials
to the nativesdk, we need additional perl modules for autoconf and automake.
(From OE-Core rev: f0f766160663407ea7683d31bbf5f011accc9ba2)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clang is quite a lot more stricter and ends up finding more cases,
these are code format warnings so its safer to disable them here.
(From OE-Core rev: 735eb7f3e0d14be50b17e85af6e6da7fc2921924)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its better for us to disable these extra warnings, upstream should fix
them correctly in code and we can re-enable it
(From OE-Core rev: ebb315955c1ec0cb524d8678ca5af1648f700406)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in constructing right arch for target tuple name for
Little-endian ppc
(From OE-Core rev: b6ac40f1cbabb20896bf113568f7735a462ed1a6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable is used in lot of cmake based packages to denote libdir in
multilib environments, now a days there is a better way to include
GNUInstallDirs module but thats upto these packages to adopt. Defining
this helps compiling a bunch of recipes in extended layers when using
multilibbed builds.
(From OE-Core rev: 24f630ce36e803c54ad6cff00215abd0e7b77b77)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the naming of the loader on armhf to match what glibc expects:
#define GLIBC_DYNAMIC_LINKER_SOFT_FLOAT SYSTEMLIBS_DIR "ld-linux.so.3"
#define GLIBC_DYNAMIC_LINKER_HARD_FLOAT SYSTEMLIBS_DIR "ld-linux-armhf.so.3"
(From OE-Core rev: 7ad531093d620f18c04d487d79e9dad9f5a96232)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, only explicitly specified .scc files or patches are applied
to a BSP as part of the patching phase. This allows the reference BSPs
to be integrated into a kernel tree, and use the same meta data for tree
generation and for runtime building. It also greatly simplies the
processing of kernel meta data.
That being said, if an external (and fully standalone) kmeta repository
is used, it very well may contain both patches and configuration. To
allow the BSP definition to supply patches and config, we introduce a
new kernel meta data definition:
define KMETA_EXTERNAL_BSP t
This can be set in any .scc file that wants to specify both patches
and configuration.
If specifying this per-BSP is not desired, a secondary variable is
used:
KMETA_EXTERNAL_BSPS
When that is set in a bbappend, any located BSP definitions will be used
for both patches and configuration.
(From OE-Core rev: 747ad3ca1e987668c8ed444cfc595d751bc0d0b2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
7943d7e69aa7 Linux 5.2.28
b5db992cfdd3 usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
a0b637f7868d usb: gadget: configfs: Fix missing spin_lock_init()
aee8c2147a36 net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
a04397ac5986 bonding: fix active-backup transition after link failure
0993efbf3f01 ALSA: usb-audio: Fix incorrect size check for processing/extension units
66375457a696 ALSA: usb-audio: Fix incorrect NULL check in create_yamaha_midi_quirk()
c0920628d63f ALSA: hda/ca0132 - Fix work handling in delayed HP detection
e14b1f4b4011 mwifiex: fix possible heap overflow in mwifiex_process_country_ie()
060505a3c9dc io_uring: use current task creds instead of allocating a new one
8d113ae57534 io_uring: async workers should inherit the user creds
4079323e2113 net/ibmvnic: unlock rtnl_lock in reset so linkwatch_event can run
013e927d5204 arm64: errata: Update stale comment
2c8f51168b64 netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets
911f63fa6335 bonding: fix using uninitialized mode_lock
ab3e4e6f92d4 usbip: Fix free of unallocated memory in vhci tx
516423c1395e cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is dead
2c17159569ee mm/filemap.c: don't initiate writeback if mapping has no dirty pages
a53a54cbee03 ocfs2: protect extent tree in ocfs2_prepare_inode_for_write()
96e3c3553d84 e1000: fix memory leaks
ef2c5f55f92e igb: Fix constant media auto sense switching when no cable is connected
5853c1ae13c9 net: ethernet: arc: add the missed clk_disable_unprepare
330a0ce1737a NFSv4: Don't allow a cached open with a revoked delegation
ecb481d00e39 arm64: apply ARM64_ERRATUM_843419 workaround for Brahma-B53 core
c3cc8b365b07 arm64: Brahma-B53 is SSB and spectre v2 safe
87251ea1e89b arm64: apply ARM64_ERRATUM_845719 workaround for Brahma-B53 core
36c2624f9432 usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
93268e187878 arm64: cpufeature: Enable Qualcomm Falkor errata 1009 for Kryo
1498bf362a53 x86, efi: Never relocate kernel below lowest acceptable address
3cfc26fc6f99 efi: libstub/arm: Account for firmware reserved memory at the base of RAM
fc5ffc1e3fdd hv_netvsc: Fix error handling in netvsc_attach()
92b10afd667e SUNRPC: The RDMA back channel mustn't disappear while requests are outstanding
086a81dbfba3 SUNRPC: The TCP back channel mustn't disappear while requests are outstanding
ffdad349b545 drm/amd/display: Passive DP->HDMI dongle detection fix
35be94b64940 drm/amd/display: do not synchronize "drr" displays
7c39460cb5ac drm/amdgpu: If amdgpu_ib_schedule fails return back the error.
78d726f10338 drm/sched: Set error to s_fence if HW job submission failed.
9830f79967bf mt76: dma: fix buffer unmap with non-linear skbs
720d823bdb4b iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41
63fd1ae15909 net: mscc: ocelot: refuse to overwrite the port's native vlan
9016218584da net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up
28c0b80eaf33 net: hisilicon: Fix "Trying to free already-free IRQ"
1ecc30627dde fjes: Handle workqueue allocation failure
e87e60d8b437 nvme-multipath: fix possible io hang after ctrl reconnect
4872894ab801 sched/topology: Allow sched_asym_cpucapacity to be disabled
1da63fea0a7b sched/topology: Don't try to build empty sched domains
70e90b283406 scsi: qla2xxx: stop timer in shutdown path
1cc270775485 hwmon: (ina3221) Fix read timeout issue
45239aea409d RDMA/hns: Prevent memory leaks of eq->buf_list
53fa37993b30 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
7ff5b79bbbeb usbip: tools: Fix read_usb_vudc_device() error path handling
a2938e175103 USB: ldusb: use unsigned size format specifiers
680a523e29ac USB: Skip endpoints with 0 maxpacket length
e0d7df991267 perf/x86/uncore: Fix event group support
89cc224ca642 perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h)
3cef7fe493bc perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity
b2dce44309c3 usb: dwc3: remove the call trace of USBx_GFLADJ
2a3754959b17 usb: gadget: configfs: fix concurrent issue between composite APIs
b97e16bf764c usb: gadget: composite: Fix possible double free memory bug
f28bdd84158d usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode.
5853c961dc7f usb: fsl: Check memory resource before releasing it
95100a241e6d usb: dwc3: select CONFIG_REGMAP_MMIO
108ae240a478 scsi: sd: define variable dif as unsigned int instead of bool
6525d5046fc8 virt_wifi: fix refcnt leak in module exit routine
d7aaa2cc70d4 macsec: fix refcnt leak in module exit routine
9ca46b3266cd bonding: use dynamic lockdep key instead of subclass
09dd999301fe bonding: fix unexpected IFF_BONDING bit unset
b3ba6e2b6620 ipvs: move old_secure_tcp into struct netns_ipvs
d532f1fd8afb ipvs: don't ignore errors in case refcounting ip_vs module fails
70cbcdb17ff0 net: phy: smsc: LAN8740: add PHY_RST_AFTER_CLK_EN flag
0e4ba0c6840e xsk: Fix registration of Rx-only sockets
ef1fdf7f97d0 netfilter: nf_flow_table: set timeout before insertion into hashes
38521edda858 iwlwifi: pcie: 0x2720 is qu and 0x30DC is not
8560aaae6c0e iwlwifi: pcie: fix all 9460 entries for qnj
bd7630c67813 iwlwifi: pcie: fix PCI ID 0x2720 configs that should be soc
dbd6c9966dd8 bpf: Fix use after free in bpf_get_prog_name
86e351f38ec7 scsi: qla2xxx: Initialized mailbox to prevent driver load failure
efb36f318994 scsi: lpfc: Honor module parameter lpfc_use_adisc
9bff69da3b99 net: openvswitch: free vport unless register_netdevice() succeeds
193fa1a4522a bpf: Fix use after free in subprog's jited symbol removal
1ee4522aa93c RDMA/uverbs: Prevent potential underflow
9c018cb9f15b scsi: ufs-bsg: Wake the device before sending raw upiu commands
682f81e5304b scsi: qla2xxx: fixup incorrect usage of host_byte
dca864479cde selftests/bpf: More compatible nc options in test_tc_edt
7ad63e706f31 net/mlx5e: TX, Fix consumer index of error cqe dump
b3c5d67904a8 net/mlx5e: Tx, Fix assumption of single WQEBB of NOP in cleanup flow
de4ed191ea6a IB/core: Use rdma_read_gid_l2_fields to compare GID L2 fields
b4912439edec RDMA/qedr: Fix reported firmware version
8291185a312b iw_cxgb4: fix ECN check on the passive accept
fc84b384eb40 RDMA/mlx5: Clear old rate limit when closing QP
c76d7b0214ee powerpc/32s: fix allow/prevent_user_access() when crossing segment boundaries.
13fecbf4a027 HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring()
e6d91869518a dmaengine: sprd: Fix the possible memory leak issue
55d41c0f1470 dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config
cb7318f2b0e4 dmaengine: xilinx_dma: Fix 64-bit simple AXIDMA transfer
03a1b968775d bpf: lwtunnel: Fix reroute supplying invalid dst
4903f1d1bf8b dmaengine: sprd: Fix the link-list pointer register configuration issue
556cf9124c0a HID: google: add magnemite/masterball USB ids
09e8a1ec600e usbip: Implement SG support to vhci-hcd and stub driver
065245f072da ALSA: usb-audio: Fix copy&paste error in the validator
51db18fc1b06 ALSA: usb-audio: remove some dead code
eeb8753a5329 ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()
5159d8aab602 ALSA: usb-audio: Clean up check_input_term()
594d9d1e5e17 ALSA: usb-audio: Remove superfluous bLength checks
44db0074cd7c ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects
443cff51a6bb ALSA: usb-audio: Simplify parse_audio_unit()
bcc4dd818640 ALSA: usb-audio: More validations of descriptor units
af26301992ac configfs: fix a deadlock in configfs_symlink()
58e23dc42be6 can: dev: add missing of_node_put() after calling of_get_child_by_name()
b2b42b51675f can: rx-offload: can_rx_offload_queue_sorted(): fix error handling, avoid skb mem leak
35b90e57a289 can: peak_usb: fix a potential out-of-sync while decoding packets
6cc9a0bb94de can: c_can: c_can_poll(): only read status register after status IRQ
78aa7546e343 can: flexcan: disable completely the ECC mechanism
60eb5bed4403 can: usb_8dev: fix use-after-free on disconnect
573872be4f06 SMB3: Fix persistent handles reconnect
a422197a1eab x86/apic/32: Avoid bogus LDR warnings
46279c9462f3 x86/dumpstack/64: Don't evaluate exception stacks before setup
c6c6ac3c04b2 intel_th: pci: Add Jasper Lake PCH support
911ece5b25e1 intel_th: pci: Add Comet Lake PCH support
3f2a73ab3b0a intel_th: gth: Fix the window switching sequence
ecb83032ecac netfilter: ipset: Fix an error code in ip_set_sockfn_get()
343ebeaf5062 netfilter: nf_tables: Align nft_expr private data to 64-bit
97d84484d0e6 cpufreq: intel_pstate: Fix invalid EPB setting
7c985c014425 ARM: sunxi: Fix CPU powerdown on A83T
43a2cca05874 iio: srf04: fix wrong limitation in distance measuring
b870132ec166 iio: imu: inv_mpu6050: fix no data on MPU6050
e48c1fca5974 iio: imu: adis16480: make sure provided frequency is positive
9dca863d3b35 iio: adc: stm32-adc: fix stopping dma
8fc1bf8f2be7 ceph: don't allow copy_file_range when stripe_count != 1
8cfda9695cf9 ceph: don't try to handle hashed dentries in non-O_CREAT atomic_open
4ad07fc427d4 ceph: add missing check in d_revalidate snapdir handling
ef1848480086 ceph: fix RCU case handling in ceph_d_revalidate()
d97f80fd208a ceph: fix use-after-free in __ceph_remove_cap()
dfe4803a9068 ASoC: rsnd: dma: fix SSI9 4/5/6/7 busif dma address
5e23235c9524 arm64: Do not mask out PTE_RDONLY in pte_same()
48c2025b2f09 blkcg: make blkcg_print_stat() print stats only for online blkgs
034d5809a5f4 soundwire: bus: set initial value to port_status
649b8fd670bc soundwire: depend on ACPI || OF
94aa8ee28648 soundwire: depend on ACPI
ee8af21351c4 mm/khugepaged: fix might_sleep() warn with CONFIG_HIGHPTE=y
d66df2eb6b3a HID: wacom: generic: Treat serial number and related fields as unsigned
e1ffbf4ecc06 drm/radeon: fix si_enable_smc_cac() failed issue
69d06ef9e08d perf map: Use zalloc for map_groups
782163d51e60 perf tools: Fix time sorting
3067a7cc476a pinctrl: intel: Avoid potential glitches if pin is in GPIO mode
b69bf236dff2 tools: gpio: Use !building_out_of_srctree to determine srctree
e231278b0d22 btrfs: save i_size to avoid double evaluation of i_size_read in compress_file_range
5e162cf4feec btrfs: tree-checker: Fix wrong check on max devid
3f2943947386 dump_stack: avoid the livelock of the dump_lock
4355d417a94f mm, vmstat: hide /proc/pagetypeinfo from normal users
953014f940f5 mm: thp: handle page cache THP correctly in PageTransCompoundMap
61650775cd53 mm, meminit: recalculate pcpu batch and high limits after init completes
2dcc41fdaf8a mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges
aa9bf5f11454 ALSA: hda/ca0132 - Fix possible workqueue stall
3b82b35a59db ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series
e2ba23d39223 ALSA: timer: Fix incorrectly assigned timer instance
0dc0b91d07e4 vsock/virtio: fix sock refcnt holding during the shutdown
420c2d73c309 net/smc: fix ethernet interface refcounting
d7b3e1639bd7 net: sched: prevent duplicate flower rules from tcf_proto destroy race
343d798fc32d net: prevent load/store tearing on sk->sk_stamp
7dae346fabf5 net: hns: Fix the stray netpoll locks causing deadlock in NAPI path
d8dd70306467 ipv6: fixes rt6_probe() and fib6_nh->last_probe init
28b0701981a4 selftests/tls: add test for concurrent recv and send
e35586c32b38 net/tls: add a TX lock
a440797c1de5 net/tls: don't pay attention to sk_write_pending when pushing partial records
d606d0d99205 net: mscc: ocelot: fix NULL pointer on LAG slave removal
0be7d0f645a9 net: mscc: ocelot: don't handle netdev events for other netdevs
7c406bd7d55b qede: fix NULL pointer deref in __qede_remove()
a09ec9b4cc7d NFC: st21nfca: fix double free
0c0b3ac80ac8 nfc: netlink: fix double device reference drop
90a397f2593f NFC: fdp: fix incorrect free object
cfe446854a9c net: usb: qmi_wwan: add support for DW5821e with eSIM support
8d510fd1378a net/tls: fix sk_msg trim on fallback to copy mode
55a7a495b3fe net: qualcomm: rmnet: Fix potential UAF when unregistering
756e7124cde2 net: fix data-race in neigh_event_send()
212322510b49 net: ethernet: octeon_mgmt: Account for second possible VLAN header
b0855a3ad221 ipv4: Fix table id reference in fib_sync_down_addr
9dfa56e19c37 CDC-NCM: handle incomplete transfer of MTU
86e7bde87d43 bonding: fix state transition issue in link monitoring
(From OE-Core rev: b538fedff2cbd4604a7c73fdee07167f1ad3155a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating Khem's gcc10 build fix:
[
Author: Khem Raj <raj.khem@gmail.com>
Date: Fri Dec 20 17:42:02 2019 -0800
x86/boot/compressed/64: Define __force_order only when CONFIG_RANDOMIZE_BASE is unset
kaslr_64.c also defines the same variable, however when both files are
included into final link, linker complains about multiple definition of
`__force_order' which is coming from kaslr_64.o and pgtable_64.o, its
possible that kaslr_64.o is disabled via CONFIG_RANDOMIZE_BASE config
option, therefore define it conditionally only when
CONFIG_RANDOMIZE_BASE is not set
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: d3112fcf7283b9c015e77db1b0a1a78044ed2e23)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit d6065f136f6d ("oeqa/logparser: Various misc cleanups"),
7b17274c30 in poky, the ptest OEQA is unable to detect failures
in any of the test results.
The reason is that the test result string changed from 'fail' to
'FAILED', because the original mapping has been removed as part of
that commit, but the code in here is still trying to match against
the old string, resulting in no matches, i.e. everything is treated
as successful, even if it shouldn't be.
Update the OEQA ptest test to actually work again and report
failure if there was a failure.
Note that the ptest test is marked as @expectedfail, so even though
this test now again starts to fail, the overall OEQA test result is
not affected - but at least the overall OEQA test summary reflects
the correct status again.
In other words:
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.26s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner: PASSED (4.05s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.60s)
SUMMARY:
image-debug () - Ran 3 tests in 4.937s
correctly changes to:
AssertionError: Failed ptests:
{'dummytest': ['check_True_is_True', 'test_basic']}
RESULTS:
RESULTS - ping.PingTest.test_ping: PASSED (0.24s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.56s)
RESULTS - ptest.PtestRunnerTest.test_ptestrunner: EXPECTEDFAIL (4.13s)
SUMMARY:
image-debug () - Ran 3 tests in 4.937s
instead and we see a summary of the ptest subtests that failed.
(From OE-Core rev: 08ff4b9195a9de91b8090173c5bd03a5ff263616)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch that restores missing declarations for 32 bit x86 builds.
(From OE-Core rev: 3c18dad4035b1f4ba36f4a618f2fee2efe2e8895)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: readme no longer carries a copyright notice, so take it from a source file
(From OE-Core rev: 30fa7e5edb91512a0f5c00db6259f1dcaea4fb2d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With python 2.x reaching EOL and leaving oe-core soon, there is no need to keep
it in ptest lists.
(From OE-Core rev: dcdd618e8393f1344165970d486ff2db557fb729)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting VERBOSE always, while is fine on one hand for debugging, its
coming at an expense of creating lots and lots of logs, e.g. qtwebkit
compile logs alone with VERBOSE is 163MB, there are many other large
packages which use cmake e.g. WPE, webkitgtk etc which are in same range
with out this option on, the logs reduce to 861K and also speeds up
build a notch
If user needs to disable these logs for a recipe or globally
CMAKE_VERBOSE = ""
in recipe or in global metadata e.g. local.conf
(From OE-Core rev: f8d2cd0025f97819898da26041f353d527a27952)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Cc: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove a patch already present upstream
Add a patch to fix build with upcoming glibc 2.31 where
__ptrace_syscall_info definition is added
(From OE-Core rev: f6670f9c89c7b7a93557f0b6aeffbf88033f0791)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from latest gcc-9-branch to fix an API change in glibc
2.31, this patch wont be needed when upgrading to 9.3 or 10.x
(From OE-Core rev: d089f84d64b90776623e0e43d237ac3fcc6a0d7d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After kbd updated to 2.2.0, it fails to run ptest:
| make: *** No rule to make target 'libkbdfile-test01.c', needed by 'libkbdfile-test01'.
Update sed expression to fix such kind of issues. And also make target
dumpkeys-bkeymap and dumpkeys-bkeymap which are required by ptest.
(From OE-Core rev: 2fb86f46baed43316086ce10de635c326e073c2d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This header is needed for runtime_error element
(From OE-Core rev: 856c26f50fe0d11a22aae9adf9bf12edc6ea9e5e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some mips 64 bit platforms use vmlinux.64 image name
Make a symbol link to vmlinux.64 in arch/mips/boot/
(From OE-Core rev: 70626b52e5e61c80018e9f1f85bc169d0434b986)
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Linux system's realpath() remove trailing slashes, but pseudo's doesn't, need
make them identical.
E.g., the following code (rel.c) prints '/tmp' with system's realpath, but
pseudo's realpath prints '/tmp/':
#include <stdio.h>
#include <limits.h>
#include <stdlib.h>
int main() {
char out[PATH_MAX];
printf("%s\n", realpath("/tmp/", out));
return 0;
}
$ bitbake base-passwd -cdevshell # For pseudo env
$ gcc rel.c
$ ./a.out
/tmp/ (but should be /tmp)
This patch fixes the problem.
(From OE-Core rev: 319bbf66e03377adf2db7efa93ef578e3460eb38)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Parallel compile maybe failed with error:
error: ../lib/strlcat.o: No such file or directory
Makefile:619: recipe for target 'syslogd' failed
(From OE-Core rev: 197007bac2ad8cba59fa2c68c51bd95e9b66de92)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When you bitbake libsdl2-native and your host had installed fcitx
or ibus, it may cause you bitbake failed in do_compile.
Disable fcitx and ibus check with EXTRA_OECONF in bb file.
-------------snip---------------------
CC build/SDL_sysfilesystem.lo
CC build/SDL_syshaptic.lo
CC build/SDL_systimer.lo
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:52:5:
error: unknown type name ‘SDL_DBusContext’
SDL_DBusContext *dbus;
^~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:121:8:
error: unknown type name ‘DBusHandlerResult’
static DBusHandlerResult
^~~~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:122:20:
error: unknown type name ‘DBusConnection’;
------------snip----------------------
(From OE-Core rev: eb286172e413e9d6449dc13ccec1b78c04481eb5)
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When some hosttool is a dead symlink, bitbake any recipe will
fail with error like below.
FileExistsError: [Errno 17] File exists: '/usr/bin/chrpath' -> '/path/to/builddir/tmp-glibc/hosttools/chrpath'
So we remove dead symlink under hostools/ directory to avoid
such error.
(From OE-Core rev: b03577cf85784fc052b89083054d911816f8c6e1)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure self.data isn't accessed without assignment. Also clean up old style
popen use and replace with modern/simpler subprocess.
(From OE-Core rev: 39825cba4761a6b4b2473825705975f9f421ec8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't just use HOST_OS, as in meta-mingw SDKs that is 'mingw32' but Meson
expects 'windows'.
(From OE-Core rev: f408bbb1cc72b84905b22d100f52c0a9f54ff3fe)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable libpng as that's only used in the tests and demos, that we don't build.
Drop iwmmxt disabling, we can add this back again if it fails. Loongsoon
remains disabled as the build fails for edgerouter.
Drop the Neon/VFP2 mojo, this is a micro-optimisation. If the size improvement
is significant then this can be added back.
(From OE-Core rev: dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds PACKAGECONFIG for glusterfs. glusterfs is not required f-
or runqemu, so it should be optional to reduce build time.
(From OE-Core rev: f5ffd6ce6e7431b17a291980843752e2d2fb0b44)
Signed-off-by: Shohei Maruyama <shohei.maruyama@cybertrust.co.jp>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop two backports.
Remove 0001-useradd.c-create-parent-directories-when-necessary.patch
as upstream has addressed the issue:
b3b6d9d77c
Rebase the rest of the paches.
Add a patch to remove the check for validity of login shells
which does not work in our environment.
Disable sssd cache support as that needs Fedora-specific tooling.
(From OE-Core rev: fee6c063dfb80425caa7080083c61d1544d929c6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otherwise bitbake is unable to expand it if the main
variant is not using a SCM fetcher.
(From OE-Core rev: 24e59094de42b4b0bed3584ca8571c4c19080428)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If devupstream is in use by the recipe, then that
variant has SRCPV, but the main variant may not,
in which case bitbake throws an expansion error.
(From OE-Core rev: 740e3f5e1d4a8abb07c7a4e4aedd804d679c7562)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: formatting, dropped the gpl texts, as they're
not anymore in source tree, and the main file is specific enough.
(From OE-Core rev: 15ca6acb87299ffc770d35b075024f0ccaace61f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-Skip-when-testapp-is-not-present.patch as it is unclear
whether it needs to be rebased, and difficult to rebase.
Remove 0001-check-for-gettid-API-during-configure.patch as it
is no longer needed.
Ptests still seem to run ok, however they are rather slow,
so I did not wait for their completion.
(From OE-Core rev: 015aea5d93614676decd18578a8ae2d68417cfc5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only new x.y versions will be reported, as upstream creates a new
x.y.z tag for every commit.
(From OE-Core rev: 99558e667e4e04934943476472bd9919b5d07855)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change SRC_URI to the new location, drop no longer
supported/unneeded options.
(From OE-Core rev: 7df632664b94d2b5df6e8734937eaefb91e6ff18)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Latest version (3.34) of sysprof have a hard dependency on polkit,
which in turn requires mozjs, which pulls in a number of other
meta-oe packages including python2. This makes it difficult
to keep sysprof in oe-core, so for the time being it is moved to
meta-oe.
(From OE-Core rev: 48332e8d214ace84c54f4924cb05f4b47d030cf7)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
d0be30663e55 Linux 5.2.26
a5f01eb4ae19 can: mcba_usb: fix use-after-free on disconnect
d440c83adfe2 x86/fpu: Don't cache access to fpu_fpregs_owner_ctx
d0a6ac8ee861 can: peak_usb: fix slab info leak
bbbf7603e285 Input: ff-memless - kill timer in destroy()
91356b4afa6c media: rc: prevent memory leak in cx23888_ir_probe
51637609104e Revert "ALSA: hda: Flush interrupts on disabling"
9a4445b878a9 powerpc/powernv: Fix CPU idle to be called with IRQs disabled
9193213c9e4e sched/fair: Fix -Wunused-but-set-variable warnings
c43cfdeb169a ALSA: usb-audio: Add DSD support for Gustard U16/X26 USB Interface
897a94da5ae1 ALSA: usb-audio: Update DSD support quirks for Oppo and Rotel
7e58efc63bf7 ALSA: usb-audio: DSD auto-detection for Playback Designs
210ea1053fbd sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices
55f7e1c999df iwlwifi: exclude GEO SAR support for 3168
0d8c60339f82 net: sched: sch_sfb: don't call qdisc_put() while holding tree lock
0adbd50f981b sch_netem: fix rcu splat in netem_enqueue()
8efcc97c3e42 net: usb: sr9800: fix uninitialized local variable
45e162b87d41 netfilter: conntrack: avoid possible false sharing
3fe6d57d9149 bonding: fix potential NULL deref in bond_update_slave_arr
a8b0fd3f931d NFC: pn533: fix use-after-free and memleaks
7ad6fbf0576a rxrpc: Fix trace-after-put looking at the put peer record
5e24e1198eea rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record
1a6bd945690b rxrpc: Fix call ref leak
203ec8334e5b llc: fix sk_buff leak in llc_conn_service()
c438c3900aba llc: fix sk_buff leak in llc_sap_state_process()
c18d44740378 batman-adv: Avoid free/alloc race when handling OGM buffer
58d94f9f31f2 NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid()
02da3016e993 drm/amdgpu/powerplay/vega10: allow undervolting in p7
7722152c2d83 dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle
ee388389576c dmaengine: imx-sdma: fix size check for sdma script_number
55c55744a28e dmaengine: tegra210-adma: fix transfer failure
f9343260a427 dmaengine: qcom: bam_dma: Fix resource leak
bd8f667e3a9c KVM: vmx, svm: always run with EFER.NXE=1 when shadow paging is active
cdee2de27735 rtlwifi: rtl_pci: Fix problem of too small skb->len
ab8c920166a5 virtio_ring: fix stalls for packed rings
26579ee95eaa arm64: cpufeature: Enable Qualcomm Falkor/Kryo errata 1003
54a879fbe1b3 arm64: Ensure VM_WRITE|VM_SHARED ptes are clean by default
8efd0c50367a IB/hfi1: Avoid excessive retry for TID RDMA READ request
335bff30e808 ARC: perf: Accommodate big-endian CPU
ee5a9c33330f s390/idle: fix cpu idle time calculation
60af342e8b0d s390/cmm: fix information leak in cmm_timeout_handler()
c86c49b94246 s390/unwind: fix mixing regs and sp
df9c6fcddce0 um-ubd: Entrust re-queue to the upper layers
4a1a26a4bf91 HID: logitech-hidpp: do all FF cleanup in hidpp_ff_destroy()
f6fa66f01aa8 HID: logitech-hidpp: rework device validation
7fe194de644b HID: logitech-hidpp: split g920_get_config()
2049b4bb9f81 HID: fix error message in hid_open_report()
63e52b01254f HID: Fix assumption that devices have inputs
a3a9f34b88cb HID: i2c-hid: add Trekstor Primebook C11B to descriptor override
e90905647a5a scsi: target: cxgbit: Fix cxgbit_fw4_ack()
ac372582cc42 scsi: qla2xxx: Fix partial flash write of MBI
e57315b44301 USB: serial: whiteheat: fix line-speed endianness
1f92660c8acf USB: serial: whiteheat: fix potential slab corruption
00bd2baf8dc4 usb: xhci: fix __le32/__le64 accessors in debugfs code
098f7b186cbb usb: xhci: fix Immediate Data Transfer endianness
1b576e218d1e USB: ldusb: fix control-message timeout
2b3c8a8ec1b4 USB: ldusb: fix ring-buffer locking
6d678d6fa0d2 usb-storage: Revert commit 747668dbc061 ("usb-storage: Set virt_boundary_mask to avoid SG overflows")
e32f12632c9f USB: gadget: Reject endpoints with 0 maxpacket value
3390a1c10bc9 nl80211: fix validation of mesh path nexthop
c890ae5aac42 UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments")
e382a68d7aed ALSA: hda/realtek - Add support for ALC623
f7a4541160d1 ALSA: hda/realtek - Fix 2 front mics of codec 0x623
1ef6d8090939 ALSA: timer: Fix mutex deadlock at releasing card
0d261a4dc4d2 ALSA: bebob: Fix prototype of helper function to return negative value
c217d9f666ec fuse: truncate pending writes on O_TRUNC
7bb177bda49b fuse: flush dirty data/metadata before non-truncate setattr
270aa285a332 ath6kl: fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe()
0278c9083bcd thunderbolt: Use 32-bit writes when writing ring producer/consumer
eb73fb79781c thunderbolt: Correct path indices for PCIe tunnel
d87fc8124793 s390/pci: fix MSI message data
913f0293d40e rtw88: Fix misuse of GENMASK macro
f85ce6c2ac9f perf/aux: Fix tracking of auxiliary trace buffer allocation
6bdd6dbc529f perf annotate: Fix multiple memory and file descriptor leaks
5680844af670 tracing: Initialize iter->seq after zeroing in tracing_read_pipe()
81fdb3a267a8 s390/uaccess: avoid (false positive) compiler warnings
b6c9dce7fde4 NFSv4: Fix leak of clp->cl_acceptor string
b1b57fae22d2 nbd: fix possible sysfs duplicate warning
da80a689e9e5 MIPS: fw: sni: Fix out of bounds init of o32 stack
3f5c4e2276b7 MIPS: include: Mark __xchg as __always_inline
f0bde95d77c1 iio: imu: st_lsm6dsx: fix waitime for st_lsm6dsx i2c controller
1a5843dc8c0c drm/amdgpu: fix memory leak
868397e6c42c perf/x86/amd: Change/fix NMI latency mitigation to use a timestamp
81fc7990a0c5 perf/core: Fix corner case in perf_rotate_context()
721fa4a46fc9 perf/core: Rework memory accounting in perf_mmap()
f182d51db406 sched/vtime: Fix guest/system mis-accounting on task switch
4d182255c178 sched/fair: Scale bandwidth quota and period without losing quota/period ratio precision
9f951480df73 x86/cpu: Add Comet Lake to the Intel CPU models header
cc5d1ac88699 arm64: armv8_deprecated: Checking return value for memory allocation
becc2d395df8 btrfs: silence maybe-uninitialized warning in clone_range
33fff851e503 fs: ocfs2: fix a possible null-pointer dereference in ocfs2_write_end_nolock()
32503fb41c44 fs: ocfs2: fix a possible null-pointer dereference in ocfs2_info_scan_inode_alloc()
db2a5874c6ed ocfs2: clear zero in unaligned direct IO
ceaf6a8c4ea9 x86/xen: Return from panic notifier
2f921acb80bf riscv: Correct the handling of unexpected ebreak in do_trap_break()
97cb8b84f1c3 riscv: avoid sending a SIGTRAP to a user thread trapped in WARN()
a300b6885c64 riscv: avoid kernel hangs when trapped in BUG()
da43a3822b64 MIPS: include: Mark __cmpxchg as __always_inline
373c1dd11b45 efi/x86: Do not clean dummy variable in kexec path
f9041dd022cb efi/cper: Fix endianness of PCIe class code
f722f7ecf089 serial: mctrl_gpio: Check for NULL pointer
a6ff1233680e fs: cifs: mute -Wunused-const-variable message
c1c06adaa024 gpio: max77620: Use correct unit for debounce times
a5b546c50f27 RDMA/mlx5: Order num_pending_prefetch properly with synchronize_srcu
cbbee24f43c9 RDMA/mlx5: Do not allow rereg of a ODP MR
5c113e817535 RDMA/cm: Fix memory leak in cm_add/remove_one
735a98c89faf RDMA/core: Fix an error handling path in 'res_get_common_doit()'
c643e93dc992 tty: n_hdlc: fix build on SPARC
bf1a30450492 serial/sifive: select SERIAL_EARLYCON
9b216ebaa0ff tty: serial: rda: Fix the link time qualifier of 'rda_uart_exit()'
af0e484e2aea tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'
ccc0779a474d arm64: ftrace: Ensure synchronisation in PLT setup for Neoverse-N1 #1542419
eba84370623a arm64: Fix incorrect irqflag restore for priority masking for compat
6d4308365bdd nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request
ba5505b64fff selftests/kselftest/runner.sh: Add 45 second timeout per test
5611d30695ff kselftest: Fix NULL INSTALL_PATH for TARGETS runlist
2332b66b6d48 kselftest: exclude failed TARGETS from runlist
a007910420b3 HID: hyperv: Use in-place iterator API in the channel callback
d9f1bbf18881 RDMA/iwcm: Fix a lock inversion issue
97410d49b2c1 RDMA/iw_cxgb4: fix SRQ access from dump_qp()
812b81500a5a staging: rtl8188eu: fix null dereference when kzalloc fails
8a9ea260d651 perf script: Fix invalid LBR/binary mismatch error
e623c8e7aa71 perf annotate: Don't return -1 for error when doing BPF disassembly
ebf5e2ee8a97 perf annotate: Return appropriate error code for allocation failures
219422c0e09c perf annotate: Fix arch specific ->init() failure errors
2dd48965796f perf annotate: Propagate the symbol__annotate() error return
d58fb414acc7 perf annotate: Fix the signedness of failure returns
7956b781a7b7 perf annotate: Propagate perf_env__arch() error
d6f9043d8173 perf tools: Propagate get_cpuid() error
b2737fe8cbf0 perf jevents: Fix period for Intel fixed counters
dda1e196d61e perf script brstackinsn: Fix recovery from LBR/binary mismatch
8b5ae52f9852 perf map: Fix overlapped map handling
8680453e5d99 perf tests: Avoid raising SEGV using an obvious NULL dereference
c484a2c277d2 libsubcmd: Make _FORTIFY_SOURCE defines dependent on the feature
13121b2d6844 iio: fix center temperature of bmc150-accel-core
2f86da9d6403 iio: adc: meson_saradc: Fix memory allocation order
58374086dd4d btrfs: qgroup: Always free PREALLOC META reserve in btrfs_delalloc_release_extents()
da3cb2dc1dce Btrfs: fix inode cache block reserve leak on failure to allocate data space
0f0914c95877 dm snapshot: rework COW throttling to fix deadlock
8355852edf97 dm snapshot: introduce account_start_copy() and account_end_copy()
c69d2a1ac851 dm snapshot: fix oversights in optional discard support
80fe585a3c4f dm snapshot: add optional discard support features
(From OE-Core rev: 2103b4234595399f441b58f4d96dfe1b22260b06)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
174651bdf802 Linux 4.19.87
6938a9da7ff8 PM / devfreq: Fix kernel oops on governor module load
345712c95eec KVM: PPC: Book3S HV: Flush link stack on guest exit to host kernel
0a60d4bddc0b powerpc/book3s64: Fix link stack flush on context switch
19d98b4d55b0 powerpc/64s: support nospectre_v2 cmdline option
b7e2a040d9fc staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error
4101916e9f08 USB: serial: option: add support for Foxconn T77W968 LTE modules
62aca6645c08 USB: serial: option: add support for DW5821e with eSIM support
3349ed266ae2 USB: serial: mos7840: fix remote wakeup
abbda35d6a6e USB: serial: mos7720: fix remote wakeup
84743898d60b USB: serial: mos7840: add USB ID to support Moxa UPort 2210
356440a79b6b appledisplay: fix error handling in the scheduled work
0439d6b90187 USB: chaoskey: fix error case of a timeout
a18675e5d5f7 usb-serial: cp201x: support Mark-10 digital force gauge
61f6a3fac394 usbip: Fix uninitialized symbol 'nents' in stub_recv_cmd_submit()
375b26a86481 usbip: tools: fix fd leakage in the function of read_attr_usbip_status
e70448b92253 USBIP: add config dependency for SGL_ALLOC
5d0b56f6725d virtio_ring: fix return code on DMA mapping fails
78260a294c04 media: imon: invalid dereference in imon_touch_event
94a94b605916 media: cxusb: detect cxusb_ctrl_msg error in query
8b42c263ec1a media: b2c2-flexcop-usb: add sanity checking
56be9f1b8733 media: uvcvideo: Fix error path in control parsing failure
61e73cf57ed8 cpufreq: Add NULL checks to show() and store() methods of cpufreq
f217cef919da media: usbvision: Fix races among open, close, and disconnect
467052f6ea5a media: vivid: Fix wrong locking that causes race conditions on streaming stop
b73b28b1b2cb media: vivid: Set vid_cap_streaming and vid_out_streaming to true
af8071f50f46 nfc: port100: handle command failure cleanly
3510fb7947d5 ALSA: usb-audio: Fix NULL dereference at parsing BADD
2819f4030f43 futex: Prevent robust futex exit race
d3f8c58d701c y2038: futex: Move compat implementation into futex.c
344966da99c9 nbd: prevent memory leak
ed7a3dde0aa2 x86/speculation: Fix redundant MDS mitigation message
0af5ae268e24 x86/speculation: Fix incorrect MDS/TAA mitigation status
ed7312096a1f x86/insn: Fix awk regexp warnings
99b933bbc7b0 ARC: perf: Accommodate big-endian CPU
e02f1448282b ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary
046f0fcf7397 ocfs2: remove ocfs2_is_o2cb_active()
36bef080b55f net: phy: dp83867: increase SGMII autoneg timer duration
87997a7800a1 net: phy: dp83867: fix speed 10 in sgmii mode
5779cbc98369 mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span()
a268d985f089 md/raid10: prevent access of uninitialized resync_pages offset
f8dc0350d32b ath9k_hw: fix uninitialized variable data
f0cfe98332d6 ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe
4ae7392ab6f4 KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved
03bf4876a593 Bluetooth: Fix invalid-free in bcsp_close()
006360ec33d9 mm/page_io.c: do not free shared swap slots
16a300fb1dbb cfg80211: call disconnect_wk when AP stops
2b3541ffdd05 ipv6: Fix handling of LLA with VRF and sockets bound to VRF
091ed093c9c8 mm/memory_hotplug: Do not unlock when fails to take the device_hotplug_lock
896f7398152b i2c: uniphier-f: fix timeout error after reading 8 bytes
1efa17ab9cb8 spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
1b0f1b2dde06 nvme-pci: fix surprise removal
597a37d01b69 PCI: keystone: Use quirk to limit MRRS for K2G
c0418c4a61aa pinctrl: zynq: Use define directive for PIN_CONFIG_IO_STANDARD
0858006cda38 pinctrl: lpc18xx: Use define directive for PIN_CONFIG_GPIO_PIN_INT
5efa36e7f04a pinctrl: bcm2835: Use define directive for BCM2835_PINCONF_PARAM_PULL
bad4da12b797 pinctrl: qcom: spmi-gpio: fix gpio-hog related boot issues
c24fe7807320 cfg80211: Prevent regulatory restore during STA disconnect in concurrent interfaces
ee7d2473812b tools: bpftool: pass an argument to silence open_obj_pinned()
367e64ce11fc of: unittest: initialize args before calling of_*parse_*()
e4547e028547 of: unittest: allow base devicetree to have symbol metadata
1303c938c953 net: bcmgenet: return correct value 'ret' from bcmgenet_power_down
1d6a0dd6aa53 ACPICA: Use %d for signed int print formatting instead of %u
d15b8b691725 clk: tegra20: Turn EMC clock gate into divider
91c5f99d131e vrf: mark skb for multicast or link-local as enslaved to VRF
5c2a3997ae5b dlm: don't leak kernel pointer to userspace
afb4717ab81b dlm: fix invalid free
30fc13ae88b2 usb: typec: tcpm: charge current handling for sink during hard reset
5e989b6cad68 scsi: lpfc: Correct loss of fc4 type on remote port address change
a391709b636e scsi: lpfc: Fix odd recovery in duplicate FLOGIs in point-to-point
05678af01a33 scsi: lpfc: fcoe: Fix link down issue after 1000+ link bounces
e6d0262e1628 scsi: megaraid_sas: Fix goto labels in error handling
83e679606e78 scsi: megaraid_sas: Fix msleep granularity
ff997bf13c1e scsi: mpt3sas: Fix driver modifying persistent data in Manufacturing page11
80224e3b08ff scsi: mpt3sas: Don't modify EEDPTagMode field setting on SAS3.5 HBA devices
5553e2bdcb02 scsi: mpt3sas: Fix Sync cache command failure during driver unload
5f2dc610eb28 net: dsa: bcm_sf2: Turn on PHY to allow successful registration
2ac94b9e902f rtlwifi: rtl8192de: Fix misleading REG_MCUFWDL information
13d434fed1a2 wireless: airo: potential buffer overflow in sprintf()
fad934bb2e47 brcmsmac: never log "tid x is not agg'able" by default
bdb61fa50b70 rtl8xxxu: Fix missing break in switch
06ed77066838 wlcore: Fix the return value in case of error in 'wlcore_vendor_cmd_smart_config_start()'
c68a499448e1 ath10k: snoc: fix unbalanced clock error handling
c262dc0655df wil6210: fix locking in wmi_call
ccb2390e8933 wil6210: fix RGF_CAF_ICR address for Talyn-MB
0e1304ae42c2 wil6210: fix L2 RX status handling
aa2112d57152 wil6210: fix debugfs memory access alignment
ea136e61e4df btrfs: avoid link error with CONFIG_NO_AUTO_INLINE
4a035f2643c6 media: ov13858: Check for possible null pointer
3ee72f30c163 nds32: Fix bug in bitfield.h
e6c6c0439a93 net: bpfilter: fix iptables failure if bpfilter_umh is disabled
811c8141d663 sock_diag: fix autoloading of the raw_diag module
3c69a033b416 audit: print empty EXECVE args
5dc441fbef91 soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL
9cdfff0a5e61 clk: sunxi-ng: enable so-said LDOs for A64 SoC's pll-mipi clock
a2e6fe1f647f ARM: dts: imx6sx-sdb: Fix enet phy regulator
465073e44fda openvswitch: fix linking without CONFIG_NF_CONNTRACK_LABELS
31bced01fe77 sched/fair: Don't increase sd->balance_interval on newidle balance
ed023646c2cf sched/topology: Fix off by one bug
f9fca78e6cf2 net: do not abort bulk send on BQL status
0d3b9ac2844f ocfs2: fix clusters leak in ocfs2_defrag_extent()
6c150df9c2e8 ocfs2: don't put and assigning null to bh allocated outside
6fd469d06eb8 ocfs2: don't use iocb when EIOCBQUEUED returns
abc7968b86b1 ocfs2: without quota support, avoid calling quota recovery
6a2245d828e4 mm: handle no memcg case in memcg_kmem_charge() properly
08f07d9f5b17 tools/power turbosat: fix AMD APIC-id output
b167fee4e45d arm64: makefile fix build of .i file in external module case
fa7f1bce27c0 nvme-pci: fix conflicting p2p resource adds
0bbb8382db4c irq/matrix: Fix memory overallocation
ad8298fccd70 ntb: intel: fix return value for ndev_vec_mask()
3bd4422af874 ntb_netdev: fix sleep time mismatch
8dbecf6c2f17 net: hns3: bugfix for hclge_mdio_write and hclge_mdio_read
12eeb72afac2 net: hns3: bugfix for is_valid_csq_clean_head()
e3345108409c net: hns3: bugfix for reporting unknown vector0 interrupt repeatly problem
b0465d06d4c6 net: hns3: bugfix for buffer not free problem during resetting
3d9bc014c519 fm10k: ensure completer aborts are marked as non-fatal after a resume
2fed73906e97 igb: shorten maximum PHC timecounter update interval
3081ae5e378f powerpc/powernv: hold device_hotplug_lock when calling device_online()
17523d7a1cc8 mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock
02735d5987b9 mm/memory_hotplug: make add_memory() take the device_hotplug_lock
023c071f101c kernel/panic.c: do not append newline to the stack protector panic string
1914e5edd811 fs/hfs/extent.c: fix array out of bounds read of array extent
a9f38975eb98 hfs: update timestamp on truncate()
0013adceb521 hfsplus: update timestamps on truncate()
38e7b916daa2 hfs: fix return value of hfs_get_block()
550da9ee35fd hfsplus: fix return value of hfsplus_get_block()
8687d57d247a hfs: prevent btree data loss on ENOSPC
0b54b59d8541 hfsplus: prevent btree data loss on ENOSPC
7beaf6105e2e hfs: fix BUG on bnode parent update
1df96949ebfb hfsplus: fix BUG on bnode parent update
08751e477f0e lib/bitmap.c: fix remaining space computation in bitmap_print_to_pagebuf
1d5834945945 linux/bitmap.h: fix type of nbits in bitmap_shift_right()
8deaaf77ce2e linux/bitmap.h: handle constant zero-size bitmaps correctly
30598425aecc mm/gup_benchmark.c: prevent integer overflow in ioctl
9663d294ae28 block: call rq_qos_exit() after queue is frozen
a125df22d134 selftests/powerpc/cache_shape: Fix out-of-tree build
024cd793bbe1 selftests/powerpc/switch_endian: Fix out-of-tree build
a4a660f7abd9 selftests/powerpc/signal: Fix out-of-tree build
f74f406bbd0b selftests/powerpc/ptrace: Fix out-of-tree build
57aab8f0a33d powerpc/xmon: Relax frame size for clang
32d7474b7a08 ipv4/igmp: fix v1/v2 switchback timeout based on rfc3376, 8.12
691bd94c15b1 vfs: avoid problematic remapping requests into partial EOF block
cdc45f204775 um: Make line/tty semantics use true write IRQ
a17e3bbfb97c i2c: uniphier-f: fix race condition when IRQ is cleared
a118403a5ecc i2c: uniphier-f: fix occasional timeout error
1466eae37a9f i2c: uniphier-f: make driver robust against concurrency
10807b374663 block: fix the DISCARD request merge
b948d56951be macsec: let the administrator set UP state even if lowerdev is down
f5bdad7106fc macsec: update operstate when lower device changes
4291e97c69f6 mm: thp: fix MADV_DONTNEED vs migrate_misplaced_transhuge_page race condition
ac1cad79bcad tools/testing/selftests/vm/gup_benchmark.c: fix 'write' flag usage
2d9d6c099eaf mm/page-writeback.c: fix range_cyclic writeback vs writepages deadlock
bcba80f38a00 fs/ocfs2/dlm/dlmdebug.c: fix a sleep-in-atomic-context bug in dlm_print_one_mle()
99b3146b799a arm64: lib: use C string functions with KASAN enabled
b84e965c7edb sparc64: Rework xchg() definition to avoid warnings.
4e4cad4365e0 powerpc/process: Fix flush_all_to_thread for SPE
54299e1cf379 bpf, btf: fix a missing check bug in btf_parse
8044e741eee4 bpf: devmap: fix wrong interface selection in notifier_call
7b557dbdc519 net: ethernet: cadence: fix socket buffer corruption problem
3681b901e94a thermal: rcar_thermal: Prevent hardware access during system suspend
436e610bf195 thermal: rcar_thermal: fix duplicate IRQ request
51aa1a10fbac selftests: fix warning: "_GNU_SOURCE" redefined
c62be4108883 selftests: kvm: Fix -Wformat warnings
5802cb25de86 selftests: watchdog: Fix error message.
74685702363c selftests: watchdog: fix message when /dev/watchdog open fails
58ceffabad41 selftests/ftrace: Fix to test kprobe $comm arg only if available
adcb6d9ff121 spi: uniphier: fix incorrect property items
6c2075f792c6 fs/cifs: fix uninitialised variable warnings
c5621fbd6560 net: socionext: Stop PHY before resetting netsec
0a6fa6119ab1 mfd: max8997: Enale irq-wakeup unconditionally
5a04242e8c23 mfd: intel_soc_pmic_bxtwc: Chain power button IRQs as well
dd72391c9a53 mfd: mc13xxx-core: Fix PMIC shutdown when reading ADC values
02c9ec11860f mfd: arizona: Correct calling of runtime_put_sync
e79d230832d0 net: ethernet: ti: cpsw: unsync mcast entries while switch promisc mode
7c011435110f qlcnic: fix a return in qlcnic_dcb_get_capability()
321c40dce581 mISDN: Fix type of switch control variable in ctrl_teimanager
074af1668038 f2fs: spread f2fs_set_inode_flags()
e7f81efae3b5 f2fs: fix to spread clear_cold_data()
733fddc34651 thermal: armada: fix a test in probe()
bb925b9bece2 RISC-V: Avoid corrupting the upper 32-bit of phys_addr_t in ioremap
829aa617bf6e rtc: s35390a: Change buf's type to u8 in s35390a_init
8112f3d4ed03 ceph: only allow punch hole mode in fallocate
146fb4b0d4fe ceph: fix dentry leak in ceph_readdir_prepopulate
083757d84859 tools: bpftool: fix completion for "bpftool map update"
570c05378d97 selftests/bpf: fix return value comparison for tests in test_libbpf.sh
3173e226ca41 powerpc/64s/radix: Fix radix__flush_tlb_collapsed_pmd double flushing pmd
b43c5287f6bc powerpc/mm/radix: Fix small page at boundary when splitting
b499fa070ee4 powerpc/mm/radix: Fix overuse of small pages in splitting logic
434551e9fd44 powerpc/mm/radix: Fix off-by-one in split mapping logic
ee35e01b0f08 powerpc/pseries: Export raw per-CPU VPA data via debugfs
9ed143cf730d scsi: hisi_sas: Fix NULL pointer dereference
ff6618e06cb4 sparc: Fix parport build warnings.
3d02e3bb3cfe x86/intel_rdt: Prevent pseudo-locking from using stale pointers
b6e44f743951 spi: omap2-mcspi: Set FIFO DMA trigger level to word length
ad9a4e963c92 swiotlb: do not panic on mapping failures
9b572e8bc038 s390/perf: Return error when debug_register fails
641f1f798c80 atm: zatm: Fix empty body Clang warnings
f9304c6277ed sunrpc: safely reallow resvport min/max inversion
7983dea8c368 SUNRPC: Fix a compile warning for cmpxchg64()
a0ec7f6eabe8 selftests/bpf: fix file resource leak in load_kallsyms
56b8b1832122 dm raid: avoid bitmap with raid4/5/6 journal device
4de506d51177 sctp: use sk_wmem_queued to check for writable space
1f7f2a0666a3 usbip: tools: fix atoi() on non-null terminated string
283d9618e22b USB: misc: appledisplay: fix backlight update_status return code
80a23f70d546 PCI: vmd: Detach resources after stopping root bus
b0f69ccfff3a macintosh/windfarm_smu_sat: Fix debug output
86f63146f886 ALSA: i2c/cs8427: Fix int to char conversion
46729b27706a PM / Domains: Deal with multiple states but no governor in genpd
cf800f2b630b ACPI / scan: Create platform device for INT33FE ACPI nodes
cb6a3096ec2f kprobes, x86/ptrace.h: Make regs_get_kernel_stack_nth() not fault on bad stack
f0f842a1a9f9 xfs: clear ail delwri queued bufs on unmount of shutdown fs
bb64349b6f56 xfs: fix use-after-free race in xfs_buf_rele
e0e8d83e4878 net: ena: Fix Kconfig dependency on X86
7ac437558e4a net: fix warning in af_unix
5e110ec2d924 net: dsa: mv88e6xxx: Fix 88E6141/6341 2500mbps SERDES speed
274726bcf5ba scsi: zorro_esp: Limit DMA transfers to 65535 bytes
1f13afca914f scsi: dc395x: fix DMA API usage in sg_update_list
e95ec662b126 scsi: dc395x: fix dma API usage in srb_done
95655b10529d ASoC: tegra_sgtl5000: fix device_node refcounting
f1f1002a9987 clk: at91: audio-pll: fix audio pmc type
f15b802890bb clk: mmp2: fix the clock id for sdh2_clk and sdh3_clk
6391dd5eb0ef PCI: mediatek: Fixup MSI enablement logic by enabling MSI before clocks
305c262fb8ee nvme-pci: fix hot removal during error handling
4e4b97f59050 nvmet-fcloop: suppress a compiler warning
2f1e4e65ba41 nvmet: avoid integer overflow in the discard code
30ca1af49481 crypto: ccree - avoid implicit enum conversion
5bbeb4fcf39a scsi: iscsi_tcp: Explicitly cast param in iscsi_sw_tcp_host_get_param
06815ae5e27f scsi: bfa: Avoid implicit enum conversion in bfad_im_post_vendor_event
f4bf2dc77826 scsi: isci: Change sci_controller_start_task's return type to sci_status
3a40068dc831 scsi: isci: Use proper enumerated type in atapi_d2h_reg_frame_handler
6288f52ed258 clk: tegra: Fixes for MBIST work around
5a487f40e717 KVM/x86: Fix invvpid and invept register operand size in 64-bit mode
7392aa08f8a4 KVM: nVMX: move check_vmentry_postreqs() call to nested_vmx_enter_non_root_mode()
9fe573d539a8 KVM: nVMX: reset cache/shadows when switching loaded VMCS
cec14148c1a9 nfp: bpf: protect against mis-initializing atomic counters
bfe01cddb81a scsi: ips: fix missing break in switch
073f454cc28c qed: Align local and global PTT to propagate through the APIs.
45f89cf0f329 amiflop: clean up on errors during setup
4043bc0f634b pwm: lpss: Only set update bit if we are actually changing the settings
ad78a958663a pinctrl: sunxi: Fix a memory leak in 'sunxi_pinctrl_build_state()'
fae3cf8874c3 RDMA/bnxt_re: Avoid resource leak in case the NQ registration fails
b1bf1e424dcb RDMA/bnxt_re: Fix qp async event reporting
2f241e333f7b RDMA/bnxt_re: Avoid NULL check after accessing the pointer
bbeeadb7bab4 scsi: hisi_sas: Free slot later in slot_complete_vx_hw()
628cae51693a scsi: hisi_sas: Fix the race between IO completion and timeout for SMP/internal IO
d10b7dd14a37 scsi: hisi_sas: Feed back linkrate(max/min) when re-attached
92ac0e324974 m68k: fix command-line parsing when passed from u-boot
4ab1594e699e w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size).
d11d985d0a82 misc: mic: fix a DMA pool free failure
a2204a295554 gsmi: Fix bug in append_to_eventlog sysfs handler
cc08097f2619 btrfs: handle error of get_old_root
1b49c453a564 btrfs: defrag: use btrfs_mod_outstanding_extents in cluster_pages_for_defrag
9325e8f4688c PCI: mediatek: Fix class type for MT7622 to PCI_CLASS_BRIDGE_PCI
dfffae314a02 mmc: mediatek: fix cannot receive new request when msdc_cmd_is_ready fail
e2c158f58522 mmc: mediatek: fill the actual clock for mmc debugfs
e3fa491211c4 spi: sh-msiof: fix deferred probing
2cd0b70c55b0 cdrom: don't attempt to fiddle with cdo->capability
0c5c34c1aaf3 skd: fixup usage of legacy IO API
196b007ac0a6 ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem
17fbe3c91ad4 ath10k: set probe request oui during driver start
8111f99f7c44 brcmsmac: AP mode: update beacon when TIM changes
20e42ddf6c1d mt76x0: phy: fix restore phase in mt76x0_phy_recalibrate_after_assoc
8cb568162524 mt76: do not store aggregation sequence number for null-data frames
b95998fb6c50 EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr()
97aab1a43a2f powerpc/eeh: Fix use of EEH_PE_KEEP on wrong field
bd2a7e53cd6e powerpc/eeh: Fix null deref for devices removed during EEH
16e4657a1d25 powerpc/boot: Disable vector instructions
5346c8403733 powerpc/boot: Fix opal console in boot wrapper
4505cff2ef4a powerpc: Fix signedness bug in update_flash_db()
93b943c0602f synclink_gt(): fix compat_ioctl()
8d67a4ecb473 pty: fix compat ioctls
fa3fe5f442ab gfs2: Fix marking bitmaps non-full
26a4c6a562ce PCI: cadence: Write MSI data with 32bits
ca71f9c8adc2 pinctrl: madera: Fix uninitialized variable bug in madera_mux_set_mux
4465a916eaa7 printk: fix integer overflow in setup_log_buf()
90d73768ddb6 printk: lock/unlock console only for new logbuf entries
8888689bd433 crypto: testmgr - fix sizeof() on COMP_BUF_SIZE
3757657af27e ALSA: isight: fix leak of reference to firewire unit in error path of .probe callback
49a9643b5e8d mwifiex: Fix NL80211_TX_POWER_LIMITED
e80e88ef6057 drm/i915/userptr: Try to acquire the page lock around set_page_dirty()
a0ee03bb5269 drm/i915/pmu: "Frequency" is reported as accumulated cycles
8a67fbf65971 drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs
e8d355befc42 mm/ksm.c: don't WARN if page is still mapped in remove_stable_node()
b28da9da6e51 Revert "fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()"
67380639dfdb virtio_console: allocate inbufs in add_port() only if it is needed
65d153c8ed65 nbd:fix memory leak in nbd_get_socket()
036588ec6888 tools: gpio: Correctly add make dependencies for gpio_utils
7cb8ee734c18 gpio: max77620: Fixup debounce delays
70d594d17ebb vhost/vsock: split packets to send using multiple buffers
48bc34efbc65 net/mlx5: Fix auto group size calculation
28a4cc2b5d6f net/mlxfw: Verify FSM error code translation doesn't exceed array size
7c1a53817782 net/mlx5e: Fix set vf link state error flow
1ff2a0f8692f sfc: Only cancel the PPS workqueue if it exists
13512a5eb818 net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key
2ba6a4f5402e net/sched: act_pedit: fix WARN() in the traffic path
9f6de5cf5390 net: rtnetlink: prevent underflows in do_setvfinfo()
ebcb0840a76b net/mlx4_en: Fix wrong limitation for number of TX rings
5408138df1db net/mlx4_en: fix mlx4 ethtool -N insertion
baa888ca02db mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel
14260788bbb9 Linux 4.19.86
2e1f151cd2d9 x86/resctrl: Fix rdt_find_domain() return value and checks
d64b58520670 mmc: tmio: fix SCC error handling to avoid false positive CRC error
e2a37708cfca powerpc/time: Fix clockevent_decrementer initalisation for PR KVM
ff36ace6c107 tools: PCI: Fix broken pcitest compilation
4039b5dd0f67 PM / devfreq: Fix static checker warning in try_then_request_governor
903cfafe0874 ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
6491a2d26c08 tcp: start receiver buffer autotuning sooner
ef0811ef95ea ARM: dts: omap5: Fix dual-role mode on Super-Speed port
183f9ae8c4d2 mlxsw: spectrum_switchdev: Check notification relevance based on upper device
16ad1c43196a spi: rockchip: initialize dma_slave_config properly
f28abe5a3695 mac80211: minstrel: fix sampling/reporting of CCK rates in HT mode
83ea4ccdb9eb mac80211: minstrel: fix CCK rate group streams value
8bbedf4dffe9 mac80211: minstrel: fix using short preamble CCK rates on HT clients
5d017065cec9 misc: cxl: Fix possible null pointer dereference
9089b2f0049e netfilter: nft_compat: do not dump private area
e6c540bf9786 net: sched: avoid writing on noop_qdisc
b80939a47413 selftests: forwarding: Have lldpad_app_wait_set() wait for unknown, too
a119952d4be6 hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255
4bbc8deedd89 hwmon: (ina3221) Fix INA3221_CONFIG_MODE macros
5bdad12ab211 hwmon: (pwm-fan) Silence error on probe deferral
0cb6525b75e1 hwmon: (nct6775) Fix names of DIMM temperature sources
a58d5770493c hwmon: (k10temp) Support all Family 15h Model 6xh and Model 7xh processors
1301b861cf50 scsi: arcmsr: clean up clang warning on extraneous parentheses
b0c75ea8d372 pinctrl: gemini: Fix up TVC clock group
2a6c8fc0af64 orangefs: rate limit the client not running info message
336793832f26 x86/mm: Do not warn about PCI BIOS W+X mappings
1eeb7407d233 ARM: 8802/1: Call syscall_trace_exit even when system call skipped
e616dd603c29 spi: spidev: Fix OF tree warning logic
4fabd2e530ab pinctrl: gemini: Mask and set properly
8aa36b8a7684 spi: fsl-lpspi: Prevent FIFO under/overrun by default
07ed61a0a711 gpio: syscon: Fix possible NULL ptr usage
312de5a09d10 net: fix generic XDP to handle if eth header was mangled
014045888a74 bpf: btf: Fix a missing check bug
85f996c36e15 x86/kexec: Correct KEXEC_BACKUP_SRC_END off-by-one error
3f4f4c639f29 lightnvm: pblk: consider max hw sectors supported for max_write_pgs
d4ab0df8d5dd lightnvm: pblk: fix error handling of pblk_lines_init()
cdf73455471a lightnvm: do no update csecs and sos on 1.2
1fb60da4d736 lightnvm: pblk: guarantee mw_cunits on read buffer
1e9796622bc7 lightnvm: pblk: fix write amplificiation calculation
d56fe8f59a23 lightnvm: pblk: guarantee emeta on line close
c7e49f73152f lightnvm: pblk: fix incorrect min_write_pgs
ced6b5dae1dc lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync
e99956093f70 ALSA: hda/ca0132 - Fix input effect controls for desktop cards
9c30ea2dda5d media: venus: vdec: fix decoded data size
5b388c45c3e5 media: cx231xx: fix potential sign-extension overflow on large shift
4d7cf69b77ce GFS2: Flush the GFS2 delete workqueue before stopping the kernel threads
1adde6589b4a media: isif: fix a NULL pointer dereference bug
3404019d6d0f printk: Give error on attempt to set log buffer length to over 2G
b2d6db3e572a mfd: ti_am335x_tscadc: Keep ADC interface on if child is wakeup capable
b0c6a78a8a5a backlight: lm3639: Unconditionally call led_classdev_unregister
94764e3ae569 proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted()
e78c55ad6657 s390/kasan: avoid user access code instrumentation
ef5ad4f11e74 s390/kasan: avoid instrumentation of early C code
5228d07c4f92 s390/kasan: avoid vdso instrumentation
0046af383099 mmc: mmci: expand startbiterr to irqmask and error check
322f530fd959 x86/intel_rdt: CBM overlap should also check for overlap with CDP peer
36cf91317ca9 x86/intel_rdt: Introduce utility to obtain CDP peer
f9a2a8b8a5d4 mtd: devices: m25p80: Make sure WRITE_EN is issued before each write
6664533b4fc1 mtd: spi-nor: cadence-quadspi: Use proper enum for dma_[un]map_single
370dbbc7b5cb media: cx18: Don't check for address of video_dev
76765353043b media: dw9807-vcm: Fix probe error handling
96134bbea649 media: dw9714: Fix error handling in probe function
2103ebde9ac0 platform/x86: mlx-platform: Properly use mlxplat_mlxcpld_msn201x_items
04d38fa8436b bcache: recal cached_dev_sectors on detach
65910055b560 bcache: account size of buckets used in uuid write to ca->meta_sectors_written
16c2d36b1123 reset: Fix potential use-after-free in __of_reset_control_get()
84b787e35482 fbdev: fix broken menu dependencies
21bb43c0dd86 fbdev: sbuslib: integer overflow in sbusfb_ioctl_helper()
e57ba9db8c5f fbdev: sbuslib: use checked version of put_user()
964cd867ef63 atmel_lcdfb: support native-mode display-timings
a3a76b5d22f0 mmc: renesas_sdhi_internal_dmac: set scatter/gather max segment size
e8853ef02e2d mmc: tmio: Fix SCC error detection
01395b5f089b mmc: renesas_sdhi_internal_dmac: Whitelist r8a774a1
500c933055e7 x86/fsgsbase/64: Fix ptrace() to read the FS/GS base accurately
b17ddbdc6035 xsk: proper AF_XDP socket teardown ordering
29fda86178fe iwlwifi: mvm: don't send keys when entering D3
d43b7b99fe77 ACPI / SBS: Fix rare oops when removing modules
7f02606367b3 xfrm: use correct size to initialise sp->ovec
6b9c4eddb3be crypto: mxs-dcp - Fix AES issues
70ecd0459d03 crypto: mxs-dcp - Fix SHA null hashes and output length
fef30612e23c dmaengine: rcar-dmac: set scatter/gather max segment size
af23231acaf6 x86/olpc: Fix build error with CONFIG_MFD_CS5535=m
624cd074631a kexec: Allocate decrypted control pages for kdump if SME is enabled
59e5269c692e remoteproc: qcom: q6v5: Fix a race condition on fatal crash
4b8c7bce49ca remoteproc: Check for NULL firmwares in sysfs interface
e4aecc15d7c4 tc-testing: fix build of eBPF programs
d653bd939cb1 net: hns3: Fix for rx vlan id handle to support Rev 0x21 hardware
3bef7420e129 soc: fsl: bman_portals: defer probe after bman's probe
090122baa262 Input: silead - try firmware reload after unsuccessful resume
c13b00c39464 Input: st1232 - set INPUT_PROP_DIRECT property
205ae6b06288 i2c: zx2967: use core to detect 'no zero length' quirk
1698ed9f0e2f i2c: tegra: use core to detect 'no zero length' quirk
d511166558a4 i2c: qup: use core to detect 'no zero length' quirk
e0d9c58c49e6 i2c: omap: use core to detect 'no zero length' quirk
f3afad5d1eff gfs2: slow the deluge of io error messages
35c8125cbea4 media: cec-gpio: select correct Signal Free Time
58d0a3dbad2b media: ov5640: fix framerate update
47dd538e9c44 dmaengine: ioat: fix prototype of ioat_enumerate_channels
90d73c1cadb8 NFSv4.x: fix lock recovery during delegation recall
799c98cba071 printk: Correct wrong casting
e7ff1141b60c i2c: brcmstb: Allow enabling the driver on DSL SoCs
8b3e444fe8d0 clk: samsung: Use clk_hw API for calling clk framework from clk notifiers
599d5350f123 clk: samsung: exynos5420: Define CLK_SECKEY gate clock only or Exynos5420
06da39429640 clk: samsung: Use NOIRQ stage for Exynos5433 clocks suspend/resume
fe46630cd2a1 qtnfmac: drop error reports for out-of-bounds key indexes
4ecc631d975c qtnfmac: inform wireless core about supported extended capabilities
28d5342b2ae4 qtnfmac: pass sgi rate info flag to wireless core
5554e47a2946 qtnfmac: request userspace to do OBSS scanning if FW can not
75a1e8dec421 brcmfmac: fix full timeout waiting for action frame on-channel tx
c01258a2ad7d brcmfmac: reduce timeout for action frame scan
89cf2472a295 cpu/SMT: State SMT is disabled even with nosmt and without "=force"
8fce141f4805 mtd: physmap_of: Release resources on error
d46cd42b4ffa usb: dwc2: disable power_down on rockchip devices
3ad0531dbe0c USB: serial: cypress_m8: fix interrupt-out transfer length
24ce099a5388 KVM: PPC: Book3S PR: Exiting split hack mode needs to fixup both PC and LR
8b6021ca47a3 bnxt_en: return proper error when FW returns HWRM_ERR_CODE_RESOURCE_ACCESS_DENIED
6e454b0ad02d ALSA: hda/sigmatel - Disable automute for Elo VuPoint
6925a5afc148 media: i2c: adv748x: Support probing a single output
a02bad04d110 media: rcar-vin: fix redeclaration of symbol
14dc7aeef3f4 media: pxa_camera: Fix check for pdev->dev.of_node
7672ca60a14a media: rc: ir-rc6-decoder: enable toggle bit for Kathrein RCU-676 remote
01e9e39f4f61 qed: Avoid implicit enum conversion in qed_ooo_submit_tx_buffers
d1dff747758f ata: ep93xx: Use proper enums for directions
6a70c66a84e0 powerpc/64s/radix: Explicitly flush ERAT with local LPID invalidation
9e4649e443e2 powerpc/time: Use clockevents_register_device(), fixing an issue with large decrementer
d7e546d06182 ASoC: qdsp6: q6asm-dai: checking NULL vs IS_ERR()
27ab8f1648ac cpuidle: menu: Fix wakeup statistics updates for polling state
38ad2aa9331b ACPICA: Never run _REG on system_memory and system_IO
216929d15b2c OPP: Return error on error from dev_pm_opp_get_opp_count()
3d0c72f99efc msm/gpu/a6xx: Force of_dma_configure to setup DMA for GMU
674b223d7a48 rpmsg: glink: smem: Support rx peak for size less than 4 bytes
ec9fc981de57 IB/mlx4: Avoid implicit enumerated type conversion
d5d78049b7a4 RDMA/hns: Limit the size of extend sge of sq
010af7a8d0ae RDMA/hns: Bugfix for CM test
5b7064adfb4b RDMA/hns: Submit bad wr when post send wr exception
af76265532a8 RDMA/hns: Bugfix for reserved qp number
350703fae672 IB/rxe: avoid srq memory leak
e3db306d1fda IB/mthca: Fix error return code in __mthca_init_one()
1b86b8ad6e47 ixgbe: Fix crash with VFs and flow director on interface flap
0e1fd69cff75 i40e: Use proper enum in i40e_ndo_set_vf_link_state
22b8d7e3bcb5 ixgbe: Fix ixgbe TX hangs with XDP_TX beyond queue limit
b69cfc4f2665 md: allow metadata updates while suspending an array - fix
4aa110048087 ice: Fix forward to queue group logic
d97a02b84879 clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines
31fb5ea6ed1b clocksource/drivers/sh_cmt: Fixup for 64-bit machines
0e8855ba9f9a tools: PCI: Fix compilation warnings
9372023e10ee PM / hibernate: Check the success of generating md5 digest before hibernation
ed896ddfae94 mtd: rawnand: sh_flctl: Use proper enum for flctl_dma_fifo0_transfer
83cda9ea1876 ARM: dts: at91: sama5d2_ptc_ek: fix bootloader env offsets
10551e574d79 ARM: dts: at91: at91sam9x5cm: fix addressable nand flash size
825d176a1049 ARM: dts: at91: sama5d4_xplained: fix addressable nand flash size
ab9928588283 powerpc/xive: Move a dereference below a NULL test
38d7fa28157e powerpc/pseries: Fix how we iterate over the DTL entries
a3576a228404 powerpc/pseries: Fix DTL buffer registration
b28aa87d081c cxgb4: Use proper enum in IEEE_FAUX_SYNC
efdacf2b7aa7 cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update
743ccf759e8e mei: samples: fix a signedness bug in amt_host_if_call()
cc7d996a4428 x86/PCI: Apply VMD's AERSID fixup generically
6cedfaffb4ac sunrpc: Fix connect metrics
7e4602eac666 clk: keystone: Enable TISCI clocks if K3_ARCH
6c487c0e877a ext4: fix build error when DX_DEBUG is defined
f2877a3c332d ALSA: hda: Fix mismatch for register mask and value in ext controller.
ae3765a0a33d dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
0c21aa9b5651 dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction
671ce9f892b9 printk: CON_PRINTBUFFER console registration is a bit racy
cd120df118d7 printk: Do not miss new messages when replaying the log
5a6f7274e67b KVM: PPC: Inform the userspace about TCE update failures
38374aa3c916 watchdog: w83627hf_wdt: Support NCT6796D, NCT6797D, NCT6798D
96505abd2435 watchdog: sama5d4: fix timeout-sec usage
26d6e542dc47 watchdog: renesas_wdt: stop when unregistering
f4cfb7eeae62 watchdog: core: fix null pointer dereference when releasing cdev
a9f36455edc1 irqchip/irq-mvebu-icu: Fix wrong private data retrieval
be4f5457a5fd nl80211: Fix a GET_KEY reply attribute
21ba66937e0d usb: dwc3: gadget: Check ENBLSLPM before sending ep command
639fce0bc8b5 usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in fotg210_get_status()
f22a4d8cf049 selftests/tls: Fix recv(MSG_PEEK) & splice() test cases
475398b72984 ath9k: fix reporting calculated new FFT upper max
f6ec4fccbf9a PM / devfreq: stopping the governor before device_unregister()
fc491a1e77be PM / devfreq: Fix handling of min/max_freq == 0
b5add975c871 PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.
5f5a8d36749f ata: ahci_brcm: Allow using driver or DSL SoCs
4cfcb5379a9c rtlwifi: btcoex: Use proper enumerated types for Wi-Fi only interface
e5895e41aeb3 ath10k: fix vdev-start timeout on error
06cb99e6399d arm64/numa: Report correct memblock range for the dummy node
256a29480733 kvm: arm/arm64: Fix stage2_flush_memslot for 4 level page table
bae080e72e92 iommu/arm-smmu-v3: Fix unexpected CMD_SYNC timeout
2bab3df8f506 iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
741a445a88e4 mt76: fix handling ps-poll frames
ddb4299f1d78 mt76x2: disable WLAN core before probe
b14825a5c652 mt76x2: fix tx power configuration for VHT mcs 9
449b9ae3504c IB/hfi1: Ensure ucast_dlid access doesnt exceed bounds
e0dee1c839e3 IB/hfi1: Error path MAD response size is incorrect
8d93707e7195 f2fs: keep lazytime on remount
a5f7bf0379d3 ACPI / LPSS: Resume BYT/CHT I2C controllers from resume_noirq
aa39d53f2b89 ACPI / LPSS: Make acpi_lpss_find_device() also find PCI devices
9372a40b54d0 SUNRPC: Fix priority queue fairness
43876b1ce42b tcp: up initial rmem to 128KB and SYN rwin to around 64KB
d2cacb6ac4ff ARM: dts: sun8i: h3: bpi-m2-plus: Fix address for external RGMII Ethernet PHY
ed220d3dcc79 ARM: dts: sun8i: h3-h5: ir register size should be the whole memory block
ac02379889e2 f2fs: return correct errno in f2fs_gc
7cbac9d598a7 net: hns3: Fix loss of coal configuration while doing reset
af98283da9e9 net: hns3: Fix for netdev not up problem when setting mtu
7a1f314e3c80 ARM: dts: omap5: enable OTG role for DWC3 controller
789d29044793 ARM: dts: dra7: Enable workaround for errata i870 in PCIe host mode
6d286faeee74 net: xen-netback: fix return type of ndo_start_xmit function
c234566f1ea0 net: ovs: fix return type of ndo_start_xmit function
d51d9605888d bpf, x32: Fix bug for BPF_JMP | {BPF_JSGT, BPF_JSLE, BPF_JSLT, BPF_JSGE}
f3c40792cf4b bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_K shift by 0
a085f797449e bpf, x32: Fix bug with ALU64 {LSH, RSH, ARSH} BPF_X shift by 0
860a7d18b9e6 bpf, x32: Fix bug for BPF_ALU64 | BPF_NEG
03543b9c5573 fbdev: Ditch fb_edid_add_monspecs
703662598b9c arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault
f8b09a043685 mm/memory_hotplug: fix updating the node span
6631def3ee38 mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span()
a16a3669273b idr: Fix idr_get_next race with idr_remove
4c62337d8f17 net: cdc_ncm: Signedness bug in cdc_ncm_set_dgram_size()
17a82bc67728 Revert "OPP: Protect dev_list with opp_table lock"
4f4ab0b49cf2 tee: optee: add missing of_node_put after of_device_is_available
2008d0e3d364 i2c: mediatek: modify threshold passed to i2c_get_dma_safe_msg_buf()
976e944e005f spi: mediatek: use correct mata->xfer_len when in fifo transfer
c63ee2939dc1 Linux 4.19.85
e99d64837815 slcan: Fix memory leak in error path
e4cc9c81e230 memfd: Use radix_tree_deref_slot_protected to avoid the warning.
914834a73b16 net: phy: mdio-bcm-unimac: mark PM functions as __maybe_unused
2ed924f2782f s390/vdso: correct vdso mapping for compat tasks
1b904b2eb9c1 media: ov2680: fix null dereference at power on
0c3e32230bcc IB/iser: Fix possible NULL deref at iser_inv_desc()
d7b412e1448e fuse: use READ_ONCE on congestion_threshold and max_background
2e72489c822e usb: usbtmc: uninitialized symbol 'actual' in usbtmc_ioctl_clear
eb9b6c203870 usb: xhci-mtk: fix ISOC error when interval is zero
8ddec6aaad86 netfilter: masquerade: don't flush all conntracks if only one address deleted on device
ba8c4cc746a5 rtc: armada38x: fix possible race condition
44bb1b1256b5 rtc: tx4939: fixup nvmem name and register size
e7ab2bab7e60 rtc: isl1208: avoid possible sysfs race
70f0ead5c6af ARM: dts: lpc32xx: Fix SPI controller node names
8e359bce724c arm64: dts: lg: Fix SPI controller node names
f52a34b5b111 arm64: dts: amd: Fix SPI bus warnings
b26edaa53496 scsi: NCR5380: Check for bus reset
080b37aacd2b scsi: NCR5380: Handle BUS FREE during reselection
aa45f4ab86a2 scsi: NCR5380: Don't call dsprintk() following reselection interrupt
23635cf271a3 scsi: NCR5380: Don't clear busy flag when abort fails
aeb0ed2e5bb9 scsi: NCR5380: Check for invalid reselection target
98c6d8f8a401 scsi: NCR5380: Use DRIVER_SENSE to indicate valid sense data
1a46e4d3da31 scsi: NCR5380: Withhold disconnect privilege for REQUEST SENSE
624f60251f1a scsi: NCR5380: Have NCR5380_select() return a bool
873506e566ef scsi: NCR5380: Clear all unissued commands on host reset
fe5ef5fe3e19 iwlwifi: mvm: Allow TKIP for AP mode
c4a3dcb0a273 iwlwifi: mvm: use correct FIFO length
d395b6f51cf7 iwlwifi: pcie: fit reclaim msg to MAX_MSG_LEN
08d2000d2162 iwlwifi: pcie: gen2: build A-MSDU only for GSO
f4f0909f3d3f iwlwifi: api: annotate compressed BA notif array sizes
e455ecaf52da iwlwifi: pcie: read correct prph address for newer devices
c5eafde04ad3 iwlwifi: fix non_shared_ant for 22000 devices
f73c75560ffd iwlwifi: dbg: don't crash if the firmware crashes in the middle of a debug dump
98ca4f397feb crypto: fix a memory leak in rsa-kcs1pad's encryption mode
975b3c8dd182 crypto: s5p-sss: Fix Fix argument list alignment
ef089d9b58a7 crypto: s5p-sss: Fix race in error handling
d34465e722e7 x86/hyperv: Suppress "PCI: Fatal: No config space access function found"
23a4059cd6b8 Bluetooth: btrsi: fix bt tx timeout issue
245b2765e87c Bluetooth: L2CAP: Detect if remote is not able to use the whole MPS
2c8946462f07 Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing proto races
f416fe070ec1 firmware: dell_rbu: Make payload memory uncachable
5d3675e3e6d1 ARM: dts: realview: Fix SPI controller node names
57b78e41a397 EDAC: Raise the maximum number of memory controllers
352668d32cd5 RDMA: Fix dependencies for rdma_user_mmap_io
36ffc9a76df9 f2fs: mark inode dirty explicitly in recover_inode()
a4bd303d6774 f2fs: fix to recover inode's project id during POR
7bae8b6b73e4 f2fs: update i_size after DIO completion
9de276a804c7 PCI/ERR: Run error recovery callbacks for all affected devices
8738fd312e63 net: faraday: fix return type of ndo_start_xmit function
8ff333f3f819 net: smsc: fix return type of ndo_start_xmit function
4481669a3a95 ARM: dts: paz00: fix wakeup gpio keycode
4e9cf62e8ffb ARM: tegra: colibri_t30: fix mcp2515 can controller interrupt polarity
63c28c08e485 ARM: tegra: apalis_t30: fix mcp2515 can controller interrupt polarity
2241b82d7b3f ARM: tegra: apalis_t30: fix mmc1 cmd pull-up
1717eca134f2 ARM: dts: tegra20: restore address order
619f46726e66 ARM: dts: tegra30: fix xcvr-setup-use-fuses
70c4b0fb4fd5 arm64: tegra: I2C on Tegra194 is not compatible with Tegra114
e821b710b58d ARM: dts: imx51-zii-rdu1: Fix the rtc compatible string
a09b6731c4dd arm64: dts: fsl: Fix I2C and SPI bus warnings
2d6b885ba741 phy: lantiq: Fix compile warning
6fce50c100c8 f2fs: fix remount problem of option io_bits
c4a33c4ecc1f scsi: libsas: always unregister the old device if going to discover new
2f9d0f703b9c iw_cxgb4: Use proper enumerated type in c4iw_bar2_addrs
1ae5bfee6cff vfio/pci: Mask buggy SR-IOV VF INTx support
dde3433de9a0 vfio/pci: Fix potential memory leak in vfio_msi_cap_len
86f886e91dcf vmbus: keep pointer to ring buffer page
728a7552dc49 misc: genwqe: should return proper error value.
6707b1ba53be misc: kgdbts: Fix restrict error
890bee675729 silmbus: ngd: register controller after power up.
932980ed5b77 slimbus: ngd: return proper error code instead of zero
9874abd5c878 slimbus: ngd: register ngd driver only once.
614744f4e80e coresight: dynamic-replicator: Handle multiple connections
36aa9cd28c59 coresight: tmc: Fix byte-address alignment for RRP
0bb87d413aef coresight: etm4x: Configure EL2 exception level when kernel is running in HYP
a0e0ec0a5544 coresight: tmc-etr: Handle driver mode specific ETR buffers
1099665125ed coresight: perf: Disable trace path upon source error
87e382c3f706 coresight: perf: Fix per cpu path management
25deeb3c1b9f coresight: Fix handling of sinks
59a488998caf coresight: Use ERR_CAST instead of ERR_PTR
240293e02123 usb: gadget: uvc: Only halt video streaming endpoint in bulk mode
bb7c36e91d45 usb: gadget: uvc: Factor out video USB request queueing
c4635c27d3ac ARM: dts: imx6ull: update vdd_soc voltage for 900MHz operating point
a9c11660389c phy: phy-twl4030-usb: fix denied runtime access
6e176dd0e4c2 phy: renesas: rcar-gen3-usb2: fix vbus_ctrl for role sysfs
f0525581df5f phy: brcm-sata: allow PHY_BRCM_SATA driver to be built for DSL SoCs
ff0eabfaf4a4 ARM: at91: pm: call put_device instead of of_node_put in at91_pm_config_ws
1b23c28d87e7 gpiolib: Fix gpio_direction_* for single direction GPIOs
ec0b30347e4a i2c: aspeed: fix invalid clock parameters for very large divisors
de2875336ee8 ARM: dts: exynos: Correct audio subsystem parent clock on Peach Chromebooks
4e6c65624090 usb: gadget: uvc: configfs: Sort frame intervals upon writing
d036103870c6 usb: gadget: uvc: configfs: Prevent format changes after linking header
e6e1ad1e2537 usb: gadget: uvc: configfs: Drop leaked references to config items
b7ffda42d720 ARM: dts: rockchip: explicitly set vcc_sd0 pin to gpio on rk3188-radxarock
0b08daf034cc media: davinci: Fix implicit enum conversion warning
0994d0cb86ec media: au0828: Fix incorrect error messages
0e63f5db54d8 media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init()
2dacea472335 media: imx: work around false-positive warning, again
1b73ea8377da mlxsw: Make MLXSW_SP1_FWREV_MINOR a hard requirement
9d2ce0611ad5 arm64: dts: rockchip: Fix microSD in rk3399 sapphire board
46a9bbe9d579 MIPS: kexec: Relax memory restriction
3b9528b302a6 EDAC: Correct DIMM capacity unit symbol
e897dd4cfdde x86/CPU: Change query logic so CPUID is enabled before testing
d26ad73be70f x86/CPU: Use correct macros for Cyrix calls
fd3f592b2af6 net: freescale: fix return type of ndo_start_xmit function
cab175f881c5 net: micrel: fix return type of ndo_start_xmit function
590ee2e0aec7 net: phy: mdio-bcm-unimac: Allow configuring MDIO clock divider
73cb54858021 samples/bpf: fix compilation failure
3536c05af6f4 PCI/ERR: Use slot reset if available
0729c5944eee PCI/AER: Don't read upstream ports below fatal errors
f3f55d83ea0d PCI/AER: Take reference on error devices
40ebd8b31fea bnx2x: Ignore bandwidth attention in single function mode
0769f445afa4 ARM: dts: stm32: Fix SPI controller node names
c6305dfb214b ARM: dts: clearfog: fix sdhci supply property name
b939d8b914d8 ARM: dts: stm32: enable display on stm32mp157c-ev1 board
098e12f385f9 x86/mce-inject: Reset injection struct after injection
aa190837bec5 ARM: dts: marvell: Fix SPI and I2C bus warnings
ccc8bf41dac8 crypto: arm/crc32 - avoid warning when compiling with Clang
9e70da12d01f cpufeature: avoid warning when compiling with clang
ad28c2ba4318 crypto: chacha20 - Fix chacha20_block() keystream alignment (again)
af4749d23d46 spi: pic32: Use proper enum in dmaengine_prep_slave_rg
c2f76a19fbc8 ARM: dts: ste: Fix SPI controller node names
4d22878d5894 ARM: dts: ux500: Fix LCDA clock line muxing
8be4d596d3f2 ARM: dts: ux500: Correct SCU unit address
dfc81686a642 f2fs: fix to recover inode's uid/gid during POR
c783946ea9b1 f2fs: avoid infinite loop in f2fs_alloc_nid
caab324d1b01 ARM: dts: ti: Fix SPI and I2C bus warnings
2cf6352a6d4c ARM: dts: am335x-evm: fix number of cpsw
1eeee2fd2e0c PCI: portdrv: Initialize service drivers directly
38bee3f3f280 mlxsw: spectrum: Init shaper for TCs 8..15
636cbdec5cf4 brcmsmac: Use kvmalloc() for ucode allocations
2980b6a81378 brcmfmac: increase buffer for obtaining firmware capabilities
59d6e59f32cc s390/vdso: correct CFI annotations of vDSO functions
84bfa03445bc s390/vdso: avoid 64-bit vdso mapping for compat tasks
3d510bdf35c2 s390/zcrypt: enable AP bus scan without a valid default domain
5e9923e85e1c usb: usbtmc: Fix ioctl USBTMC_IOCTL_ABORT_BULK_OUT
92aeb3756c43 usb: chipidea: Fix otg event handler
979f541851d9 usb: chipidea: imx: enable OTG overcurrent in case USB subsystem is already started
b39e733da3f8 nfp: provide a better warning when ring allocation fails
883843b5a912 net: hns3: Fix parameter type for q_id in hclge_tm_q_to_qs_map_cfg()
a1b2c39f3ec7 net: hns3: Fix client initialize state issue when roce client initialize failed
20f2b72faff0 net: hns3: Clear client pointer when initialize client failed or unintialize finished
ae95237256de net: hns3: Fix cmdq registers initialization issue for vf
110de23fc502 net: hns3: Fix for setting speed for phy failed problem
bd23121daecf net: sun: fix return type of ndo_start_xmit function
5d52c10c345d net: amd: fix return type of ndo_start_xmit function
0cd3edaf82e6 net: broadcom: fix return type of ndo_start_xmit function
63a0e0512dba net: xilinx: fix return type of ndo_start_xmit function
df9f5c799d85 net: toshiba: fix return type of ndo_start_xmit function
e50d7274104c net: marvell: fix return type of ndo_start_xmit function
28fae2d588be net: mvpp2: fix the number of queues per cpu for PPv2.2
0ede78b3576c power: supply: twl4030_charger: disable eoc interrupt on linear charge
773fb69e4307 power: supply: twl4030_charger: fix charging current out-of-bounds
0729f87b840a libfdt: Ensure INT_MAX is defined in libfdt_env.h
e000de3f01c5 of/unittest: Fix I2C bus unit-address error
4c64ce947cfa OPP: Protect dev_list with opp_table lock
51e509caf5fa ARM: dts: atmel: Fix I2C and SPI bus warnings
7cfb3b04d096 RDMA/i40iw: Fix incorrect iterator type
eb355ccfdf1d powerpc: Fix duplicate const clang warning in user access code
e7b37640916f powerpc/pseries: Disable CPU hotplug across migrations
9271304c26fc powerpc/pseries/memory-hotplug: Only update DT once per memory DLPAR request
0ab2545aa404 powerpc/64s/hash: Fix stab_rr off by one initialization
a3581509e890 selftests/powerpc: Do not fail with reschedule
089b169ceb80 powerpc/iommu: Avoid derefence before pointer check
13d5bc50f405 net: ibm: fix return type of ndo_start_xmit function
efe22c12087d net: cavium: fix return type of ndo_start_xmit function
279a4f77546a net: hns3: fix return type of ndo_start_xmit function
dd4b87a945c1 ipmi: fix return value of ipmi_set_my_LUN
ea944c71360f ipmi:dmi: Ignore IPMI SMBIOS entries with a zero base address
438bf726def0 ipmi_si: fix potential integer overflow on large shift
78538bae1dab ipmi_si_pci: fix NULL device in ipmi_si error message
5ab64c1633f6 ASoC: rt5682: Fix the boost volume at the begining of playback
6237e9d0715a spi: mediatek: Don't modify spi_transfer when transfer.
779c96ef3fac spi/bcm63xx-hsspi: keep pll clk enabled
eaa4d5ac4403 samples/bpf: fix a compilation failure
feb52253d738 arm64: dts: ti: k3-am65: Change #address-cells and #size-cells of interconnect to 2
1ea4603cc812 tty: serial: qcom_geni_serial: Fix serial when not used as console
87153f7a04c9 serial: mxs-auart: Fix potential infinite loop
400caa3d02ea serial: samsung: Enable baud clock for UART reset procedure in resume
30cfa3ebc0ed serial: uartps: Fix suspend functionality
bad4e6d3d40d ARM: dts: xilinx: Fix I2C and SPI bus warnings
d15e5038213e PCI: mediatek: Fix unchecked return value
80ec7fcb04a0 net: socionext: Fix two sleep-in-atomic-context bugs in ave_rxfifo_reset()
176f6203a4f4 PCI/ACPI: Correct error message for ASPM disabling
525552a0e849 media: ov2680: don't register the v4l2 subdevice before checking chip ID
f4683c89808f media: vsp1: Fix YCbCr planar formats pitch calculation
ee5a1460f271 media: vsp1: Fix vsp1_regs.h license header
2d7578285958 s390/qeth: invoke softirqs after napi_schedule()
66fb291b264d s390/qeth: uninstall IRQ handler on device removal
ccc1e600844d ath9k: Fix a locking bug in ath9k_add_interface()
e97d09277b77 netfilter: nf_tables: avoid BUG_ON usage
d1440f1a38eb ACPI / LPSS: Exclude I2C busses shared with PUNIT from pmc_atom_d3_mask
75fd1aec33c6 arm64: dts: rockchip: Fix I2C bus unit-address error on rk3399-puma-haikou
5fc9af407fc5 ARM: dts: rockchip: Fix erroneous SPI bus dtc warnings on rk3036
0592c2178e3c scsi: ufshcd: Fix NULL pointer dereference for in ufshcd_init
6745591c8da9 ip_gre: fix parsing gre header in ipgre_err
ada2a0f1ac54 kernfs: Fix range checks in kernfs_get_target_path
5fba81510697 component: fix loop condition to call unbind() if bind() fails
925c19a8c6bb power: supply: max8998-charger: Fix platform data retrieval
82d8a34470e9 power: reset: at91-poweroff: do not procede if at91_shdwc is allocated
1fb3d279a384 power: supply: ab8500_fg: silence uninitialized variable warnings
c9398259cf85 arm64: dts: meson: Fix erroneous SPI bus warnings
89f4d27c1bcd blok, bfq: do not plug I/O if all queues are weight-raised
6c9a79651bff block, bfq: inject other-queue I/O into seeky idle queues on NCQ flash
6d7757f04866 arm64: fix for bad_mode() handler to always result in panic
7f49a2210e85 cxgb4: Fix endianness issue in t4_fwcache()
b0cb2d8164d0 android: binder: no outgoing transaction when thread todo has transaction
31e470f92d9e ARM: dts: sun9i: Fix I2C bus warnings
0989aa65bc37 pinctrl: at91: don't use the same irqchip with multiple gpiochips
d1b9d321df35 ARM: dts: sunxi: Fix I2C bus warnings
8ac08053744c ARM: dts: socfpga: Fix I2C bus unit-address error
e70ccd8a13a9 powerpc/vdso: Correct call frame information
11d7842812f8 ARM: dts: aspeed: Fix I2C bus warnings
5a8130ed237f ARM: dts: bcm: Fix SPI bus warnings
08ffefc8e7ed arm64: dts: broadcom: Fix I2C and SPI bus warnings
174e8262f08a drivers: qcom: rpmh-rsc: clear wait_for_compl after use
09c8a33ed766 soc: qcom: apr: Avoid string overflow
6651ecf92f3c soc: qcom: wcnss_ctrl: Avoid string overflow
4a2c4d1a0b6b soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples
331ed266987e soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()
b0826d4774c2 ARM: dts: qcom: ipq4019: fix cpu0's qcom,saw2 reg value
9a484516a410 llc: avoid blocking in llc_sap_close()
50e40ebcaa32 pinctrl: at91-pio4: fix has_config check in atmel_pctl_dt_subnode_to_map()
3f57f7387db2 arm64: dts: renesas: r8a77965: Fix clock/reset for usb2_phy1
7ed1974d2b03 arm64: dts: renesas: r8a77965: Fix HS-USB compatible
dc521bf8ffda arm64: dts: renesas: r8a77965: Attach the SYS-DMAC to the IPMMU
1badf45f08b3 arm64: dts: renesas: salvator-common: adv748x: Override secondary addresses
20f93eb9194c ALSA: intel8x0m: Register irq handler after register initializations
e80e83fb0106 arm64: dts: meson-axg: use the proper compatible for ethmac
2694107888a5 arm64: dts: meson: libretech: update board model
3804f9dd8f76 net: bcmgenet: Fix speed selection for reverse MII
914282c62ab2 media: dvb: fix compat ioctl translation
03056f8c725a media: fix: media: pci: meye: validate offset to avoid arbitrary access
fe384ab1496c ALSA: hda: Fix implicit definition of pci_iomap() on SH
6281d021bbb3 media: dt-bindings: adv748x: Fix decimal unit addresses
88e9f8198dd5 nvmem: core: return error code instead of NULL from nvmem_device_get
b0d54e40f3c4 Drivers: hv: vmbus: Fix synic per-cpu context initialization
a1d374ea1e95 net: aquantia: fix hw_atl_utils_fw_upload_dwords
a9cab0fe6e26 kprobes: Don't call BUG_ON() if there is a kprobe in use on free list
7aea0bd886ae scsi: pm80xx: Fixed system hang issue during kexec boot
a66a544dca32 scsi: pm80xx: Corrected dma_unmap_sg() parameter
ac892349e21b ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set
86d5ceaea04c scsi: sym53c8xx: fix NULL pointer dereference panic in sym_int_sir()
66b2e4c7afd0 scsi: lpfc: Fix errors in log messages.
87c32dbd7eff scsi: lpfc: Correct invalid EQ doorbell write on if_type=6
8caed6a5d385 scsi: lpfc: Fix GFT_ID and PRLI logic for RSCN
050e019c2d69 scsi: qla2xxx: Fix duplicate switch's Nport ID entries
c7ddd7ba1d05 scsi: qla2xxx: Fix dropped srb resource.
8c32664a6a0d scsi: qla2xxx: Fix port speed display on chip reset
3e3a2c5c4569 scsi: qla2xxx: Check for Register disconnect
3a7ec92a5b2a scsi: qla2xxx: Increase abort timeout value
5320b946687a scsi: qla2xxx: Fix deadlock between ATIO and HW lock
6f6e01ff7413 scsi: qla2xxx: Terminate Plogi/PRLI if WWN is 0
f91811dd9501 scsi: qla2xxx: Defer chip reset until target mode is enabled
667bdc46aa4e scsi: qla2xxx: Fix iIDMA error
ca35c5a1cb21 scsi: qla2xxx: Use correct qpair for ABTS/CMD
a1f14df33c05 f2fs: fix setattr project check upon fssetxattr ioctl
7b55102cdc61 f2fs: fix memory leak of percpu counter in fill_super()
883037308018 f2fs: fix memory leak of write_io in fill_super()
e5b515f56626 signal: Properly deliver SIGSEGV from x86 uprobes
91c3a88054c1 signal: Properly deliver SIGILL from uprobes
3b5681d39fa4 signal: Always ignore SIGKILL and SIGSTOP sent to the global init
93ae4ded2abe IB/hfi1: Missing return value in error path for user sdma
45d0ddf97448 RDMA/hns: Fix an error code in hns_roce_v2_init_eq_table()
8edddc2cf3c1 dmaengine: at_xdmac: remove a stray bottom half unlock
9234fbbd7782 ath9k: add back support for using active monitor interfaces for tx99
82663f99cbdf rtc: pl030: fix possible race condition
5a869e9828e8 rtc: mt6397: fix possible race condition
0773f03aebdd EDAC, sb_edac: Return early on ADDRV bit and address type test
fc7be6308364 dmaengine: dma-jz4780: Further residue status fix
f6d4561cae3a dmaengine: dma-jz4780: Don't depend on MACH_JZ4780
a34ea3ddc763 usb: mtu3: disable vbus rise/fall interrupts of ltssm
a5d1ffee2f2f ARM: dts: exynos: Disable pull control for PMIC IRQ line on Artik5 board
67e477d8eaa0 arm64: dts: rockchip: Fix VCC5V0_HOST_EN on rk3399-sapphire
4c884128b414 firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings
d786bf93f0c5 sched/debug: Use symbolic names for task state constants
e4e522609854 sched/debug: Explicitly cast sched_feat() to bool
0ddcbbf4cd47 failover: Fix error return code in net_failover_create
eca5b74e0080 f2fs: submit bio after shutdown
0f9c9a216288 ARM: dts: omap3-gta04: keep vpll2 always on
d59817b0ca62 ARM: dts: omap3-gta04: make NAND partitions compatible with recent U-Boot
6b268c233df7 ARM: dts: omap3-gta04: fix touchscreen tsc2007
96907aa1ab3c ARM: dts: omap3-gta04: tvout: enable as display1 alias
8f03a5116e9d ARM: dts: omap3-gta04: fixes for tvout / venc
5cacb026fe26 ARM: dts: omap3-gta04: give spi_lcd node a label so that we can overwrite in other DTS files
69116e3bae2b of: make PowerMac cache node search conditional on CONFIG_PPC_PMAC
cc5f462c1b08 ata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA
3d5d2f7806a9 ASoC: Intel: hdac_hdmi: Limit sampling rates at dai creation
0376916b7b2c ASoC: dapm: Avoid uninitialised variable warning
0204720dde67 udf: Fix crash during mount
52cda4c1d9cd mips: txx9: fix iounmap related issue
f63587cbb091 RDMA/core: Follow correct unregister order between sysfs and cgroup
6b827d38cead RDMA/core: Rate limit MAD error messages
a618cca0438b IB/ipoib: Ensure that MTU isn't less than minimum permitted
2543eeba256a IB/mlx5: Don't hold spin lock while checking device state
4d8d651e1c5f i2c: mediatek: Use DMA safe buffers for i2c transactions
d0d8f0efb6bd ath10k: wmi: disable softirq's while calling ieee80211_rx
14c9bc4be084 ARM: dts: exynos: Disable pull control for S5M8767 PMIC
588822fcb313 ath10k: avoid possible memory access violation
34293775f117 ASoC: sgtl5000: avoid division by zero if lo_vag is zero
6cbd0932ab9a rtnetlink: move type calculation out of loop
4b702fdd6e7e net: lan78xx: Bail out if lan78xx_get_endpoints fails
23ad83c399b0 f2fs: avoid wrong decrypted data from disk
b6410b95c224 cfg80211: validate wmm rule when setting
8d705195a9a3 mac80211: fix saving a few HE values
4d146d72687e qxl: fix null-pointer crash during suspend
f5ee703ff92c IB/mlx5: Change TX affinity assignment in RoCE LAG mode
5128ea974c22 mtd: rawnand: qcom: don't include dma-direct.h
d6ebf70120c6 mtd: rawnand: fsl_ifc: fixup SRAM init for newer ctrl versions
29535bafb64b mtd: rawnand: fsl_ifc: check result of SRAM initialization
6ae8c86ee458 mtd: rawnand: marvell: use regmap_update_bits() for syscon access
6c7644ad22ae ARM: dts: meson8b: fix the clock controller register size
e39779f6ea67 ARM: dts: meson8: fix the clock controller register size
6da9a4a98215 net: phy: mscc: read 'vsc8531, edge-slowdown' as an u32
77f9e263e296 net: phy: mscc: read 'vsc8531,vddmac' as an u32
5dc1cbcff700 net/mlx5: Fix atomic_mode enum values
b5f6d6de5b12 net: hns3: Change the dst mac addr of loopback packet
f995b2efa439 net: hns3: Fix for loopback selftest failed problem
d01caf35564c net: hns3: Fix error of checking used vlan id
4aea8f76727e net: hns3: Fix for multicast failure
e5f48f8eff66 ASoC: rsnd: ssi: Fix issue in dma data address assignment
0b8e8bddc5c0 soc: imx: gpc: fix PDN delay
7f88d806443f mt76: Fix comparisons with invalid hardware key index
1f54ec5b3047 brcmfmac: fix wrong strnchr usage
f05f8607622c mwifex: free rx_cmd skb in suspended state
6c27b9267a84 mwifiex: do no submit URB in suspended state
cd554b025c09 rtl8187: Fix warning generated when strncpy() destination length matches the sixe argument
c495a8c78b50 ARM: dts: pxa: fix power i2c base address
72e13203c56d ARM: dts: pxa: fix the rtc controller
fe9048c7bb38 media: ov772x: Disable clk on error path
b489c1e010e4 media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers
5a21c7a0b592 media: vicodec: fix out-of-range values when decoding
17743861edc7 iwlwifi: mvm: avoid sending too many BARs
75de80e11e6b iwlwifi: don't WARN on trying to dump dead firmware
ecedae02e89d iwlwifi: drop packets with bad status in CD
02adbecf542e IB/rxe: fixes for rdma read retry
cad889676bdb IB/rxe: avoid back-to-back retries
ac0ab821c4d5 i40e: Prevent deleting MAC address from VF when set by PF
712d35e0d2c1 i40evf: cancel workqueue sync for adminq when a VF is removed
e5d3afbe3a5c i40e: hold the rtnl lock on clearing interrupt scheme
f9a84bbd3ca6 i40evf: Don't enable vlan stripping when rx offload is turned on
fe301cf64f7e i40e: Check and correct speed values for link on open
8d7e6ab3b5d2 i40evf: set IFF_UNICAST_FLT flag for the VF
015fc5251996 i40e: use correct length for strncpy
a90fcbdb9b22 i40evf: Validate the number of queues a PF sends
2da61f212f4d ARM: dts: exynos: Fix regulators configuration on Peach Pi/Pit Chromebooks
d4e5c8aeb198 arm64: dts: stratix10: i2c clock running out of spec
b0bac46b52a9 liquidio: fix race condition in instruction completion processing
b2e427c268f3 ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook
0b53b56287ab ARM: dts: exynos: Fix HDMI-HPD line handling on Arndale
0baa3fe5805e ARM: dts: exynos: Use i2c-gpio for HDMI-DDC on Arndale
8e6acc5ee14d MIPS: BCM47XX: Enable USB power on Netgear WNDR3400v3
7c68184fced7 pinctrl: ingenic: Probe driver at subsys_initcall
8ddea21d4c0b ASoC: AMD: Change MCLK to 48Mhz
bdb7368ac333 ASoC: meson: axg-fifo: report interrupt request failure
aac9381b2ca8 ASoC: dpcm: Properly initialise hw->rate_max
ac66c0c470a3 ASoC: dapm: Don't fail creating new DAPM control on NULL pinctrl
d3a45d4d6f2d ice: Fix and update driver version string
48b128cddb91 gfs2: Don't set GFS2_RDF_UPTODATE when the lvb is updated
9ca72984d7c0 ice: Prevent control queue operations during reset
a881088f512e ice: Update request resource command to latest specification
f71230e6898e ath10k: limit available channels via DT ieee80211-freq-limit
8cad5d80f8d0 wil6210: fix invalid memory access for rx_buff_mgmt debugfs
bcaabaa75eeb wil6210: prevent usage of tx ring 0 for eDMA
acf041edec0a wil6210: set edma variables only for Talyn-MB devices
be039c973093 wil6210: drop Rx multicast packets that are looped-back to STA
1b0581bf379f ath9k: fix tx99 with monitor mode interface
a618e2069783 ath10k: skip resetting rx filter for WCN3990
f7b2312c68a8 ALSA: seq: Do error checks at creating system ports
c2f459d3340f cfg80211: Avoid regulatory restore when COUNTRY_IE_IGNORE is set
d377d63a9228 extcon: cht-wc: Return from default case to avoid warnings
7575a34ed101 remoteproc/davinci: Use %zx for formating size_t
c2dca83e9e83 rtc: rv8803: fix the rv8803 id in the OF table
5a408693b414 rtc: sysfs: fix NULL check in rtc_add_groups()
a01d6a320440 ARM: dts: at91/trivial: Fix USART1 definition for at91sam9g45
ea6a25cd2d41 ARM: dts: rcar: Correct SATA device sizes to 2 MiB
32d3fe68d20e y2038: make do_gettimeofday() and get_seconds() inline
5a830803b593 arm64: dts: tegra210-p2180: Correct sdmmc4 vqmmc-supply
a124e7f2fecf soc/tegra: pmc: Fix pad voltage configuration for Tegra186
90cfef191a30 ALSA: pcm: signedness bug in snd_pcm_plug_alloc()
e84cb5882da6 arm64: dts: allwinner: a64: NanoPi-A64: Fix DCDC1 voltage
3bbce894d52d arm64: dts: allwinner: a64: Olinuxino: fix DRAM voltage
d304218f959e arm64: dts: allwinner: a64: Orange Pi Win: Fix SD card node
030f6397eb89 soundwire: intel: Fix uninitialized adev deref
4b4153b7d6af soundwire: Initialize completion for defer messages
38d1ecc23e3e clk: sunxi-ng: h6: fix PWM gate/reset offset
6c0fcc727ff0 iio: dac: mcp4922: fix error handling in mcp4922_write_raw
f125d1831402 ath10k: fix kernel panic by moving pci flush after napi_disable
75a600d7f062 tee: optee: take DT status property into account
cd3de5870c80 iio: adc: max9611: explicitly cast gain_selectors
a6bb63183de2 mmc: sdhci-of-at91: fix quirk2 overwrite
b4bc6498c39b mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup()
bb1bc2d8231c mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm()
653d9e0c55bf mm: mempolicy: fix the wrong return value and potential pages leak of mbind
5b1c342fc3e0 iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros
29dcbbb5ab0a net: ethernet: dwmac-sun8i: Use the correct function in exit path
bdae2f7b2031 ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either
beb3860c2e0e ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable
1a48aaabf1cd i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present
9ace24bba657 IB/hfi1: Use a common pad buffer for 9B and 16B packets
6ec4a5498ee5 IB/hfi1: Ensure full Gen3 speed in a Gen4 system
1f3bbf9f0adc Input: synaptics-rmi4 - destroy F54 poller workqueue when removing
5c9fd709c5f5 Input: synaptics-rmi4 - clear IRQ enables for F54
fbe9849f79aa Input: synaptics-rmi4 - do not consume more data than we have (F11, F12)
924a8f2c745a Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver
8e347aa4e04b Input: synaptics-rmi4 - fix video buffer size
c02230815282 Input: ff-memless - kill timer in destroy()
47d06a15f25a Btrfs: fix log context list corruption after rename exchange operation
f2465526866a ALSA: usb-audio: Fix incorrect size check for processing/extension units
420433f6cf5c ALSA: usb-audio: Fix incorrect NULL check in create_yamaha_midi_quirk()
ab2ee4299b7e ALSA: usb-audio: not submit urb for stopped endpoint
a2c763cd9609 ALSA: usb-audio: Fix missing error check at mixer resolution test
edc471038b48 slip: Fix memory leak in slip_open error path
4cd50a31ac9e net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules
0a772b2ac696 net: gemini: add missed free_netdev
66daa05750a9 ipmr: Fix skb headroom in ipmr_get_route().
20beeb30083e ax88172a: fix information leak on short answers
c4a0f567e652 scsi: core: Handle drivers which set sg_tablesize to zero
81adf034d5d6 MIPS: BCM63XX: fix switch core reset on BCM6368
dbf1ef2dc0d5 KVM: x86: introduce is_pae_paging
(From OE-Core rev: 064811c18fe26c7d9bc84f86047325e25e2a1001)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
67c4ef96da8e Linux 5.2.24
b65008090e4e blk-rq-qos: fix first node deletion of rq_qos_del()
660039a1505a opp: of: drop incorrect lockdep_assert_held()
915ff97f555d PCI: PM: Fix pci_power_up()
160278e4d967 xen/netback: fix error path of xenvif_connect_data()
cb67e6c61f1b ceph: just skip unrecognized info in ceph_reply_info_extra
216d0d68a639 cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown
e1f8c7185612 memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
2a25e88d19a9 KVM: PPC: Book3S HV: XIVE: Ensure VP isn't already in use
83a4472477a0 btrfs: tracepoints: Fix bad entry members of qgroup events
f861e5d90514 btrfs: tracepoints: Fix wrong parameter order for qgroup events
e9ee3be6143d Btrfs: check for the full sync flag while holding the inode lock during fsync
dea5fb68615d Btrfs: fix qgroup double free after failure to reserve metadata for delalloc
e79a8938b3db btrfs: don't needlessly create extent-refs kernel thread
ea54be3ae39e Btrfs: add missing extents release on file extent cluster relocation error
350af44ebf89 btrfs: block-group: Fix a memory leak due to missing btrfs_put_block_group()
2598b914d8e7 pinctrl: armada-37xx: swap polarity on LED group
c2c5f397f100 pinctrl: armada-37xx: fix control of pins 32 and up
e7592916ea17 pinctrl: cherryview: restore Strago DMI workaround for all versions
d799e86fafb6 x86/hyperv: Make vapic support x2apic mode
a1b5e414e2f0 x86/apic/x2apic: Fix a NULL pointer deref when handling a dying cpu
753cf99522be x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area
6112a6de4c94 irqchip/sifive-plic: Switch to fasteoi flow
e0b798bf1f89 dm cache: fix bugs when a GFP_NOWAIT allocation fails
01201d4129db fs/dax: Fix pmd vs pte conflict detection
26b699f52cdd tracing: Fix race in perf_trace_buf initialization
20c15650fac8 perf/aux: Fix AUX output stopping
a4c470b4ce43 cifs: Fix missed free operations
ef349a5dbe21 CIFS: avoid using MID 0xFFFF
9153eea1aef9 EDAC/ghes: Fix Use after free in ghes_edac remove path
2c05afe496d9 parisc: Fix vmap memory leak in ioremap()/iounmap()
c422c3941ebd s390/kaslr: add support for R_390_GLOB_DAT relocation type
4d81f7b538a9 s390/zcrypt: fix memleak at release
b641f048fd85 xtensa: fix change_bit in exclusive access option
63ef015fd0d6 xtensa: drop EXPORT_SYMBOL for outs*/ins*
607aad67d79e zram: fix race between backing_dev_show and backing_dev_store
fa13957c99d1 mm/memory-failure: poison read receives SIGKILL instead of SIGBUS if mmaped more than once
ef506f2a8158 hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic()
9585141a3645 mm: memblock: do not enforce current limit for memblock_phys* family
2da60e78efbf mm: memcg: get number of pages on the LRU list in memcgroup base on lru_zone_size
1c72ac7b41e4 mm, compaction: fix wrong pfn handling in __reset_isolation_pfn()
714213ef3a7a mm/page_owner: don't access uninitialized memmaps when reading /proc/pagetypeinfo
5180116dff45 mm/slub: fix a deadlock in show_slab_objects()
224b4490619c mm/memory-failure.c: don't access uninitialized memmaps in memory_failure()
94d4f140cfb9 mmc: sdhci-omap: Fix Tuning procedure for temperatures < -20C
a76022591624 mmc: cqhci: Commit descriptors before setting the doorbell
ca380ac56424 mmc: mxs: fix flags passed to dmaengine_prep_slave_sg
6bc5498c702e fs/proc/page.c: don't access uninitialized memmaps in fs/proc/page.c
ff7e418c7e8e drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_page_store()
f364590d8ab4 drm/amdgpu/uvd7: fix allocation size in enc ring test (v2)
363471d25d92 drm/amdgpu/uvd6: fix allocation size in enc ring test (v2)
78bc8daa826d drm/amdgpu/vcn: fix allocation size in enc ring test
edd872deff06 drm/amdgpu/vce: fix allocation size in enc ring test
d1f35310fac2 drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1
1f2551687ba9 drm/panfrost: Handle resetting on timeout better
5c2e8711136e drm/ttm: Restore ttm prefaulting
59a21feaf42c drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50
180a1b6fef83 mac80211: Reject malformed SSID elements
930b9ba2a46d iwlwifi: pcie: change qu with jf devices to use qu configuration
de326ae7e864 ACPI: CPPC: Set pcc_data[pcc_ss_id] to NULL in acpi_cppc_processor_exit()
136bd113a26a ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting
11861621576c Input: st1232 - fix reporting multitouch coordinates
1ac8d0c02e34 Input: synaptics-rmi4 - avoid processing unknown IRQs
0337cdfd1172 Input: da9063 - fix capability and drop KEY_SLEEP
38d23aa7eaeb scsi: ch: Make it possible to open a ch device multiple times again
ea6645c4fb39 scsi: core: try to get module before removing device
77957d171255 scsi: core: save/restore command resid for error handling
1feb8a7203f8 scsi: sd: Ignore a failure to sync cache due to lack of authorization
9f1c82f12b62 scsi: zfcp: fix reaction on bit error threshold notification
e8c96fb7e7f3 staging: kpc2000: fix integer overflow with left shifts
529ca74d5730 staging: wlan-ng: fix exit return when sme->key_idx >= NUM_WEPKEYS
5f65debeb6f6 MIPS: tlbex: Fix build_restore_pagemask KScratch restore
0a496dac91ac binder: Don't modify VMA bounds in ->mmap handler
b7a359f53d87 USB: ldusb: fix read info leaks
72665117bd21 USB: ldusb: fix memleak on disconnect
a93c0f8a448e USB: serial: ti_usb_3410_5052: fix port-close races
e6c0a2973542 usb: udc: lpc32xx: fix bad bit shift operation
609978137cc2 ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers
7ebfbd60d38b ALSA: hda/realtek - Enable headset mic on Asus MJ401TA
33bac14d01de ALSA: hda/realtek - Add support for ALC711
d46df68073e6 USB: legousbtower: fix memleak on disconnect
7585815e0141 io_uring: fix bad inflight accounting for SETUP_IOPOLL|SETUP_SQTHREAD
b0c129ccba46 rxrpc: use rcu protection while reading sk->sk_user_data
5cfde84829d4 netdevsim: Fix error handling in nsim_fib_init and nsim_fib_exit
b8ce2c4f92e3 net: phy: micrel: Update KSZ87xx PHY name
61ece488ec6a net: phy: micrel: Discern KSZ8051 and KSZ8795 PHYs
2e2eadc05885 net: aquantia: correctly handle macvlan and multicast coexistence
10ebf6d7c7ab net: aquantia: do not pass lro session with invalid tcp checksum
b48166bebe46 net: aquantia: when cleaning hw cache it should be toggled
1d3a96408673 net: aquantia: temperature retrieval fix
ef857690724a sctp: change sctp_prot .no_autobind with true
8748438651fe sched: etf: Fix ordering of packets with same txtime
502ead97c900 rxrpc: Fix possible NULL pointer access in ICMP handling
0f0957b39c65 net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow
c96d1c298473 net: ipv6: fix listify ip6_rcv_finish in case of forwarding
792dffb6c25f net/ibmvnic: Fix EOI when running in XIVE mode.
1eff1ddb41d1 net: i82596: fix dma_alloc_attr for sni_82596
789b5b2296d0 net: bcmgenet: Set phydev->dev_flags only for internal PHYs
26b5aad017f8 net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3
39b4db2c205f net: avoid potential infinite loop in tc_ctl_action()
f6e58b1a1237 ipv4: Return -ENETUNREACH if we can't create route but saddr is valid
15136dd27a2a ipv4: fix race condition between route lookup and invalidation
04a68067f471 nvme: change nvme_passthru_cmd64 to explicitly mark rsvd
7e42a8fc20bc nvme-pci: Set the prp2 correctly when using more than 4k page
f6a8d244495e ocfs2: fix panic due to ocfs2_wq is null
dd9fa2a089de Revert "drm/radeon: Fix EEH during kexec"
8129be7b7cf1 md/raid0: fix warning message for parameter default_layout
8cf008b91833 libata/ahci: Fix PCS quirk application
22d516a43782 net_sched: fix backward compatibility for TCA_ACT_KIND
ba69d901e036 net_sched: fix backward compatibility for TCA_KIND
b826ad4c7669 filldir[64]: remove WARN_ON_ONCE() for bad directory entries
9df0c66d5143 uaccess: implement a proper unsafe_copy_to_user() and switch filldir over to it
30043672b8e6 Make filldir[64]() verify the directory entry filename is valid
2fcaa9a2e8c9 elf: don't use MAP_FIXED_NOREPLACE for elf executable mappings
a9397425edf9 Convert filldir[64]() from __put_user() to unsafe_put_user()
0c03d3d9a998 namespace: fix namespace.pl script to support relative paths
e5df7c23ef1c net: phy: fix write to mii-ctrl1000 register
e6378e134543 net: phy: allow for reset line to be tied to a sleepy GPIO controller
3951482af0d5 r8152: Set macpassthru in reset_resume callback
85e2c81d8964 s390/mm: fix -Wunused-but-set-variable warnings
fbd0915567ea lib: textsearch: fix escapes in example code
2cf2b8c86277 selftests: kvm: Fix libkvm build error
54cccd9f3fd0 net: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write()
8f634c4755d6 mips: Loongson: Fix the link time qualifier of 'serial_exit()'
009d3d7135af drm/amd/display: memory leak
d0d9f70beb32 drm/amdgpu: fix multiple memory leaks in acp_hw_init
9cac23841d31 RISC-V: Clear load reservations while restoring hart contexts
a1fffbb6cfd8 net: stmmac: Correctly take timestamp for PTPv2
b115b9832dc2 net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name
45f3a8886a6a netfilter: nft_connlimit: disable bh on garbage collection
420a015ed643 mac80211: fix txq null pointer dereference
51340f3579a0 nl80211: fix null pointer dereference
0e53662be2aa loop: change queue block size to match when using DIO
0ce37f356397 xen/efi: Set nonblocking callbacks
fe4b184d832e MIPS: dts: ar9331: fix interrupt-controller size
fa7e74d07aaa net: dsa: qca8k: Use up to 7 ports for all operations
12afa6d96de4 ARM: dts: am4372: Set memory bandwidth limit for DISPC
c41a0bf4ba4d ieee802154: ca8210: prevent memory leak
4cbc0b08406d nvme-rdma: fix possible use-after-free in connect timeout
61c456e74461 nvme: allow 64-bit results in passthru commands
e3e3c343b869 Added QUIRKs for ADATA XPG SX8200 Pro 512GB
e3f58f778cee nvme: fix an error code in nvme_init_subsystem()
902c726061a9 nvme-tcp: fix wrong stop condition in io_work
9f1ce805b4fc ARM: OMAP2+: Fix warnings with broken omap2_set_init_voltage()
64719bd78a0b ARM: OMAP2+: Add missing LCDC midlemode for am335x
4b6e2a327e7c ARM: OMAP2+: Fix missing reset done flag for am3 and am43
db825fd99455 ARM: dts: Fix gpio0 flags for am335x-icev2
0e65dece86ca scsi: qla2xxx: Fix unbound sleep in fcport delete path.
950b905e2cbe scsi: qla2xxx: Silence fwdump template message
276ae12e3b8d scsi: megaraid: disable device when probe failed after enabled device
e8d688a3f957 scsi: ufs: skip shutdown if hba is not powered
a1318847f2d5 nvme-pci: Fix a race in controller removal
f1f8bc4e1d87 ARM: dts: Fix wrong clocks for dra7 mcasp
d1a356d53545 clk: ti: dra7: Fix mcasp8 clock bits
6e16a5de5c09 drm: Clear the fence pointer when writeback job signaled
5cc2a052ef35 RDMA/cxgb4: Do not dma memory off of the stack
60f32e5e3ae6 usb: dwc3: pci: prevent memory leak in dwc3_pci_probe
7a745fd3fdc5 ASoC: SOF: ipc: Fix memory leak in sof_set_get_large_ctrl_data
240452393720 net: dsa: sja1105: Prevent leaking memory
c9ed1ddd76de iwlwifi: pcie: fix memory leaks in iwl_pcie_ctxt_info_gen3_init
(From OE-Core rev: c54b02ab238fe7682a0beac2f2afeb418406dd48)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
c555efaf1402 Linux 4.19.84
46a4a014c48e kvm: x86: mmu: Recovery of shattered NX large pages
6082f2e28887 kvm: Add helper function for creating VM worker threads
5219505fcbb6 kvm: mmu: ITLB_MULTIHIT mitigation
db77548b1652 KVM: vmx, svm: always run with EFER.NXE=1 when shadow paging is active
37dfbc8ba763 KVM: x86: add tracepoints around __direct_map and FNAME(fetch)
9ef1fae24d58 KVM: x86: change kvm_mmu_page_get_gfn BUG_ON to WARN_ON
b182093d1c70 KVM: x86: remove now unneeded hugepage gfn adjustment
e79234ce5765 KVM: x86: make FNAME(fetch) and __direct_map more similar
8aaac3068623 kvm: mmu: Do not release the page inside mmu_set_spte()
30d8d8d6cd92 kvm: Convert kvm_lock to a mutex
a991063ce576 kvm: x86, powerpc: do not allow clearing largepages debugfs entry
580c79e7e3e5 Documentation: Add ITLB_MULTIHIT documentation
db5ae6596ae2 cpu/speculation: Uninline and export CPU mitigations helpers
955607466ace x86/cpu: Add Tremont to the cpu vulnerability whitelist
f9aa6b73a407 x86/bugs: Add ITLB_MULTIHIT bug infrastructure
415bb221a070 x86/speculation/taa: Fix printing of TAA_MSG_SMT on IBRS_ALL CPUs
4ad7466ddf2d x86/tsx: Add config options to set tsx=on|off|auto
e3bf6b3ff55a x86/speculation/taa: Add documentation for TSX Async Abort
2402432d5557 x86/tsx: Add "auto" option to the tsx= cmdline parameter
a0808f06dfa1 kvm/x86: Export MDS_NO=0 to guests when TSX is enabled
15dfa5d706df x86/speculation/taa: Add sysfs reporting for TSX Async Abort
6c58ea8525bf x86/speculation/taa: Add mitigation for TSX Async Abort
b8eb348ae408 x86/cpu: Add a "tsx=" cmdline option with TSX disabled by default
37cf9ef900cc x86/cpu: Add a helper function x86_read_arch_cap_msr()
4002d16a2ae1 x86/msr: Add the IA32_TSX_CTRL MSR
dbf38b17a892 KVM: x86: use Intel speculation bugs and features as derived in generic x86 code
fee619bb8136 drm/i915/cmdparser: Fix jump whitelist clearing
255ed51599de drm/i915/gen8+: Add RC6 CTX corruption WA
011b7173cbdb drm/i915: Lower RM timeout to avoid DSI hard hangs
a7bda639a17f drm/i915/cmdparser: Ignore Length operands during command matching
6e53c71a6913 drm/i915/cmdparser: Add support for backward jumps
f27bc2b5950d drm/i915/cmdparser: Use explicit goto for error paths
cdd77c6b4be4 drm/i915: Add gen9 BCS cmdparsing
fea688c5dd81 drm/i915: Allow parsing of unsized batches
7ce726b61c57 drm/i915: Support ro ppgtt mapped cmdparser shadow buffers
fc3510fe6f6b drm/i915: Add support for mandatory cmdparsing
fba4207cf15e drm/i915: Remove Master tables from cmdparser
f1ff77080fa1 drm/i915: Disable Secure Batches for gen6+
b4b1abdc6b18 drm/i915: Rename gen7 cmdparser tables
e238e05ec2dc vsock/virtio: fix sock refcnt holding during the shutdown
2e7e3f16901d iio: imu: mpu6050: Fix FIFO layout for ICM20602
99ea48af7bd9 net: prevent load/store tearing on sk->sk_stamp
d32629dcd1e5 netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets
5833560d54fd usbip: Fix free of unallocated memory in vhci tx
6890b4bc3d2b cgroup,writeback: don't switch wbs immediately on dead wbs if the memcg is dead
d3b3c0a14615 mm/filemap.c: don't initiate writeback if mapping has no dirty pages
285eb6af4351 iio: imu: inv_mpu6050: fix no data on MPU6050
d888a80727ab iio: imu: mpu6050: Add support for the ICM 20602 IMU
522128128dec blkcg: make blkcg_print_stat() print stats only for online blkgs
30b969392cf2 pinctrl: cherryview: Fix irq_valid_mask calculation
ca79bb7e1168 ocfs2: protect extent tree in ocfs2_prepare_inode_for_write()
2c655a111968 pinctrl: intel: Avoid potential glitches if pin is in GPIO mode
713adf6dd327 e1000: fix memory leaks
4a05571772cc igb: Fix constant media auto sense switching when no cable is connected
1baab8352d80 net: ethernet: arc: add the missed clk_disable_unprepare
24523745ed41 NFSv4: Don't allow a cached open with a revoked delegation
440a748ed6df usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
e66f52eb3f29 hv_netvsc: Fix error handling in netvsc_attach()
99d5f18cebbf drm/amd/display: Passive DP->HDMI dongle detection fix
e5edbf9c45ce drm/amdgpu: If amdgpu_ib_schedule fails return back the error.
b651ddc15e7a iommu/amd: Apply the same IVRS IOAPIC workaround to Acer Aspire A315-41
214e4f0ecdd1 net: mscc: ocelot: refuse to overwrite the port's native vlan
5aedcc8aa8be net: mscc: ocelot: fix vlan_filtering when enslaving to bridge before link is up
3b956e63e2f3 net: hisilicon: Fix "Trying to free already-free IRQ"
f09b99c883e8 fjes: Handle workqueue allocation failure
6376736d016f nvme-multipath: fix possible io hang after ctrl reconnect
1372527e6876 scsi: qla2xxx: stop timer in shutdown path
f2bab3ed456c RDMA/hns: Prevent memory leaks of eq->buf_list
55ca08347487 RDMA/iw_cxgb4: Avoid freeing skb twice in arp failure case
e36be7959326 usbip: tools: Fix read_usb_vudc_device() error path handling
cd9561a53d26 USB: ldusb: use unsigned size format specifiers
c753113ae714 USB: Skip endpoints with 0 maxpacket length
ef38f4d123d0 perf/x86/uncore: Fix event group support
f14751658a01 perf/x86/amd/ibs: Handle erratum #420 only on the affected CPU family (10h)
5b99e97b275a perf/x86/amd/ibs: Fix reading of the IBS OpData register and thus precise RIP validity
45944c4a7743 usb: dwc3: remove the call trace of USBx_GFLADJ
dff38149cec4 usb: gadget: configfs: fix concurrent issue between composite APIs
10eb9abd21ba usb: dwc3: pci: prevent memory leak in dwc3_pci_probe
c73ccf65e169 usb: gadget: composite: Fix possible double free memory bug
26d31e1c3ab2 usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode.
88912019b49c usb: fsl: Check memory resource before releasing it
3a2675a2d97a macsec: fix refcnt leak in module exit routine
0d0ca85ad424 bonding: fix unexpected IFF_BONDING bit unset
50e31318b525 ipvs: move old_secure_tcp into struct netns_ipvs
102f4078fbdd ipvs: don't ignore errors in case refcounting ip_vs module fails
81de0b500baa netfilter: nf_flow_table: set timeout before insertion into hashes
d45fc2ed472b scsi: qla2xxx: Initialized mailbox to prevent driver load failure
b6612a3dbad8 scsi: lpfc: Honor module parameter lpfc_use_adisc
4e80e5614770 net: openvswitch: free vport unless register_netdevice() succeeds
027253315d70 RDMA/uverbs: Prevent potential underflow
d582769add68 scsi: qla2xxx: fixup incorrect usage of host_byte
42de3a902443 net/mlx5: prevent memory leak in mlx5_fpga_conn_create_cq
7dfdcd9407f3 net/mlx5e: TX, Fix consumer index of error cqe dump
48dd71289ca3 RDMA/qedr: Fix reported firmware version
6208c2bfe224 iw_cxgb4: fix ECN check on the passive accept
89aa9e2626f4 RDMA/mlx5: Clear old rate limit when closing QP
d6706b2ec108 HID: intel-ish-hid: fix wrong error handling in ishtp_cl_alloc_tx_ring()
113a154ef2f2 dmaengine: sprd: Fix the possible memory leak issue
6040f96d5147 dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config
78e7e0248eb8 HID: google: add magnemite/masterball USB ids
8181146cd7de PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30
e2dd254bde5c usbip: Implement SG support to vhci-hcd and stub driver
f865ae473c16 usbip: Fix vhci_urb_enqueue() URB null transfer buffer error path
e9c0fc4a7ccd sched/fair: Fix -Wunused-but-set-variable warnings
502bd151448c sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices
4ebee4875eab ALSA: usb-audio: Fix copy&paste error in the validator
e0051889243d ALSA: usb-audio: remove some dead code
4f6c52002699 ALSA: usb-audio: Fix possible NULL dereference at create_yamaha_midi_quirk()
3a0cdf210b94 ALSA: usb-audio: Clean up check_input_term()
9feeaa50e5b4 ALSA: usb-audio: Remove superfluous bLength checks
f0e164f66e75 ALSA: usb-audio: Unify the release of usb_mixer_elem_info objects
dae4d839e549 ALSA: usb-audio: Simplify parse_audio_unit()
17821e2fb167 ALSA: usb-audio: More validations of descriptor units
5e36cf8edb58 configfs: fix a deadlock in configfs_symlink()
0dfc45be875a configfs: provide exclusion between IO and removals
25c118d8d158 configfs: new object reprsenting tree fragments
65524d647e9d configfs_register_group() shouldn't be (and isn't) called in rmdirable parts
2bd63490c1dd configfs: stash the data we need into configfs_buffer at open time
a7be2debb769 can: peak_usb: fix slab info leak
ce9b94da0e04 can: mcba_usb: fix use-after-free on disconnect
5a9e37f2029f can: dev: add missing of_node_put() after calling of_get_child_by_name()
9289226f6982 can: gs_usb: gs_can_open(): prevent memory leak
9f5c59428843 can: rx-offload: can_rx_offload_queue_sorted(): fix error handling, avoid skb mem leak
ef502d5a84d6 can: peak_usb: fix a potential out-of-sync while decoding packets
7ae08111ca70 can: c_can: c_can_poll(): only read status register after status IRQ
0327c7818da2 can: flexcan: disable completely the ECC mechanism
46265660e5ba can: usb_8dev: fix use-after-free on disconnect
d8a76e300e37 SMB3: Fix persistent handles reconnect
caddaf43b024 x86/apic/32: Avoid bogus LDR warnings
dc1a91dc4917 intel_th: pci: Add Jasper Lake PCH support
f9d3aea1dca2 intel_th: pci: Add Comet Lake PCH support
64997ee49c8c netfilter: ipset: Fix an error code in ip_set_sockfn_get()
1b0e60f6a48b netfilter: nf_tables: Align nft_expr private data to 64-bit
2dae80b5b666 ARM: sunxi: Fix CPU powerdown on A83T
20b9e094dcd3 iio: srf04: fix wrong limitation in distance measuring
bee45b44b13e iio: imu: adis16480: make sure provided frequency is positive
a428996147e2 iio: adc: stm32-adc: fix stopping dma
78a1d6cdd302 ceph: add missing check in d_revalidate snapdir handling
6f9657793a6e ceph: fix use-after-free in __ceph_remove_cap()
3840610d60b2 arm64: Do not mask out PTE_RDONLY in pte_same()
56f270a1d72c soundwire: bus: set initial value to port_status
9a06efc745c3 soundwire: depend on ACPI
a81a4637456b HID: wacom: generic: Treat serial number and related fields as unsigned
e3fdd0c1a3d0 drm/radeon: fix si_enable_smc_cac() failed issue
f39fbd05f921 perf tools: Fix time sorting
66d53cd683a8 tools: gpio: Use !building_out_of_srctree to determine srctree
8e358a027611 dump_stack: avoid the livelock of the dump_lock
6c944fc51f0a mm, vmstat: hide /proc/pagetypeinfo from normal users
2686f71fdcc5 mm: thp: handle page cache THP correctly in PageTransCompoundMap
7dfa51beacac mm, meminit: recalculate pcpu batch and high limits after init completes
8e6bf4bc3a88 mm: memcontrol: fix network errors from failing __GFP_ATOMIC charges
6ecc16351a84 ALSA: hda/ca0132 - Fix possible workqueue stall
6921b1609912 ALSA: bebob: fix to detect configured source of sampling clock for Focusrite Saffire Pro i/o series
b85472244b70 ALSA: timer: Fix incorrectly assigned timer instance
107451b87ea5 net: hns: Fix the stray netpoll locks causing deadlock in NAPI path
26e398dcb3f1 ipv6: fixes rt6_probe() and fib6_nh->last_probe init
05b761423d67 net: mscc: ocelot: fix NULL pointer on LAG slave removal
1cfc967ef584 net: mscc: ocelot: don't handle netdev events for other netdevs
a6fdbaeef1f2 qede: fix NULL pointer deref in __qede_remove()
956b38853517 NFC: st21nfca: fix double free
1143496c9632 nfc: netlink: fix double device reference drop
760a1f7f22ee NFC: fdp: fix incorrect free object
5580091ce7d9 net: usb: qmi_wwan: add support for DW5821e with eSIM support
4fd218071f21 net: qualcomm: rmnet: Fix potential UAF when unregistering
b9bda52f8f3e net: fix data-race in neigh_event_send()
2fbfdb2de4a1 net: ethernet: octeon_mgmt: Account for second possible VLAN header
88f8c39912bc ipv4: Fix table id reference in fib_sync_down_addr
0ddabef89067 CDC-NCM: handle incomplete transfer of MTU
27b5f4bf5ba9 bonding: fix state transition issue in link monitoring
7d8dbefc22ff Linux 4.19.83
818c96ac80be usb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driver fails
b06f37eaa2b3 arm64: dts: ti: k3-am65-main: Fix gic-its node unit-address
54ee5ccd0251 ASoC: pcm3168a: The codec does not support S32_LE
3ddf2a70cf6d selftests/powerpc: Fix compile error on tlbie_test due to newer gcc
e7aaa8dd60c5 selftests/powerpc: Add test case for tlbie vs mtpidr ordering issue
ec199b24aa5c powerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9
06e8438eddf8 platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table
2d830cf287a5 wireless: Skip directory when generating certificates
558d2bdad5f6 net/flow_dissector: switch to siphash
f6ef35998fb0 r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2
c33f7efec3b3 net: dsa: fix switch tree list
6b5bf3f37f72 net: usb: lan78xx: Connect PHY before registering MAC
07c62fc7bf28 net: bcmgenet: reset 40nm EPHY on energy detect
6d3ccc2a5b19 net: phy: bcm7xxx: define soft_reset for 40nm EPHY
97cc6827f418 net: bcmgenet: don't set phydev->link from MAC
57e286f67554 net: dsa: b53: Do not clear existing mirrored port mask
db91be8e27c8 net/mlx5e: Fix ethtool self test: link speed
5eb1967bfde3 r8169: fix wrong PHY ID issue with RTL8168dp
9e7c4fa275cf net/mlx5e: Fix handling of compressed CQEs in case of low NAPI budget
0c3355cc8e19 selftests: fib_tests: add more tests for metric update
b166e8838a97 ipv4: fix route update on metric change.
cd3bcb44ee3b net: add READ_ONCE() annotation in __skb_wait_for_more_packets()
4f3df7f1eaa7 net: use skb_queue_empty_lockless() in busy poll contexts
eaf548feaa17 net: use skb_queue_empty_lockless() in poll() handlers
afa1f5e98c11 udp: use skb_queue_empty_lockless()
d5ac4232c376 net: add skb_queue_empty_lockless()
83532eb48049 vxlan: check tun_info options_len properly
a8a5adbbf779 udp: fix data-race in udp_set_dev_scratch()
12fab1634ab1 selftests: net: reuseport_dualstack: fix uninitalized parameter
321c99155f4b net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()
9da271c1cdc1 net: usb: lan78xx: Disable interrupts before calling generic_handle_irq()
40400fdd312a netns: fix GFP flags in rtnl_net_notifyid()
1d72dbb4ca2f net/mlx4_core: Dynamically set guaranteed amount of counters per VF
f05975d9f393 net: hisilicon: Fix ping latency when deal with high throughput
1d5cb12a2539 net: fix sk_page_frag() recursion from memory reclaim
189982d111c0 net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum
5536fc891221 net: dsa: bcm_sf2: Fix IMP setup for port different than 8
2c50a36d0b78 net: annotate lockless accesses to sk->sk_napi_id
0cfaf03c5d58 net: annotate accesses to sk->sk_incoming_cpu
07de738901d6 inet: stop leaking jiffies on the wire
163901dc945b erspan: fix the tun_info options_len check for erspan
96df1ec22b97 dccp: do not leak jiffies on the wire
f291613ff140 cxgb4: fix panic when attaching to ULD fail
1f032ca298dd nbd: handle racing with error'ed out commands
82b7c99ee141 nbd: protect cmd->status with cmd->lock
80b42f4381c2 cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs
a7448991fa3e i2c: stm32f7: remove warning when compiling with W=1
86fd9e339ab4 i2c: stm32f7: fix a race in slave mode with arbitration loss irq
d746ce649556 i2c: stm32f7: fix first byte to send in slave mode
18e7fae372a1 irqchip/gic-v3-its: Use the exact ITSList for VMOVP
39637aafa173 MIPS: bmips: mark exception vectors as char arrays
fcc3f7c810c3 of: unittest: fix memory leak in unittest_data_add
c56b9da70d09 ARM: 8926/1: v7m: remove register save to stack before svc
fa18f803d1f7 tracing: Fix "gfp_t" format for synthetic events
63571a1f375e scsi: target: core: Do not overwrite CDB byte 1
1df8da335d40 drm/amdgpu: fix potential VM faults
3cd2b6492cde ARM: davinci: dm365: Fix McBSP dma_slave_map entry
e18bf407ea3f perf kmem: Fix memory leak in compact_gfp_flags()
05dd6283b8fc 8250-men-mcb: fix error checking when get_num_ports returns -ENODEV
81809424cad7 perf c2c: Fix memory leak in build_cl_output()
7a79420034e0 ARM: dts: imx7s: Correct GPT's ipg clock source
e601e103cfed scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE
3dd0be3eeeb0 scsi: sni_53c710: fix compilation error
cf372c60ed13 scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
3ee6a8bdae81 scsi: qla2xxx: fix a potential NULL pointer dereference
9d27ba401eca ARM: mm: fix alignment handler faults under memory pressure
f0eabc9e9acb pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable()
9a5d5ffb3245 ARM: dts: logicpd-torpedo-som: Remove twl_keypad
d7e2a8e271aa ASoc: rockchip: i2s: Fix RPM imbalance
513474f59001 ASoC: wm_adsp: Don't generate kcontrols without READ flags
bab5c14b5c89 regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
6ef17b446081 ASoC: rt5682: add NULL handler to set_jack function
772c18df9f3d regulator: ti-abb: Fix timeout in ti_abb_wait_txdone/ti_abb_clear_all_txdone
c4c0e64deb9a arm64: dts: Fix gpio to pinmux mapping
0d3aef1ea7e8 arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
a3a208ac4608 arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
dc24ac36f304 ASoC: wm8994: Do not register inapplicable controls for WM1811
0f037d0a62b0 regulator: of: fix suspend-min/max-voltage parsing
b17eae5a0e16 kbuild: add -fcf-protection=none when using retpoline flags
5ee93551c703 Linux 4.19.82
914a7d429da5 Revert "ALSA: hda: Flush interrupts on disabling"
8f5603029223 powerpc/powernv: Fix CPU idle to be called with IRQs disabled
92930e922399 ALSA: usb-audio: Add DSD support for Gustard U16/X26 USB Interface
c08182dbf057 ALSA: usb-audio: Update DSD support quirks for Oppo and Rotel
d8808d2e79b5 ALSA: usb-audio: DSD auto-detection for Playback Designs
831317430693 ALSA: timer: Fix mutex deadlock at releasing card
145fadf6d99a ALSA: timer: Simplify error path in snd_timer_open()
a6c91087f5d5 sch_netem: fix rcu splat in netem_enqueue()
3ecf8529d52a net: usb: sr9800: fix uninitialized local variable
14a703ef2dc4 bonding: fix potential NULL deref in bond_update_slave_arr
24aaf7f4528f NFC: pn533: fix use-after-free and memleaks
8d9c4a9b8677 rxrpc: Fix trace-after-put looking at the put peer record
e8e51ce79c15 rxrpc: rxrpc_peer needs to hold a ref on the rxrpc_local record
570ab0dd35f9 rxrpc: Fix call ref leak
d634bd01b3a0 llc: fix sk_buff leak in llc_conn_service()
3f3f7409f028 llc: fix sk_buff leak in llc_sap_state_process()
948e8eba656f batman-adv: Avoid free/alloc race when handling OGM buffer
74001646d47c NFS: Fix an RCU lock leak in nfs4_refresh_delegation_stateid()
fd9a708c7bde drm/amdgpu/powerplay/vega10: allow undervolting in p7
3e285a5c1401 dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle
a0e406be17e5 dmaengine: qcom: bam_dma: Fix resource leak
64efcbc7a5a3 rtlwifi: Fix potential overflow on P2P code
a81669161528 arm64: Ensure VM_WRITE|VM_SHARED ptes are clean by default
8dd6066066a2 s390/idle: fix cpu idle time calculation
ced8cb0230d0 s390/cmm: fix information leak in cmm_timeout_handler()
be87ee689106 nl80211: fix validation of mesh path nexthop
14e0dd84db60 HID: fix error message in hid_open_report()
8a01c4b908cf HID: Fix assumption that devices have inputs
cf143d65c556 HID: i2c-hid: add Trekstor Primebook C11B to descriptor override
6608702bec70 scsi: target: cxgbit: Fix cxgbit_fw4_ack()
45e7acdff38e USB: serial: whiteheat: fix line-speed endianness
b7ad5aa67058 USB: serial: whiteheat: fix potential slab corruption
36e02e1fba89 usb: xhci: fix __le32/__le64 accessors in debugfs code
8e2cccd6c5d1 USB: ldusb: fix control-message timeout
3f1a7d903b8d USB: ldusb: fix ring-buffer locking
f1b94b60bb1c usb-storage: Revert commit 747668dbc061 ("usb-storage: Set virt_boundary_mask to avoid SG overflows")
d1c188d330ca USB: gadget: Reject endpoints with 0 maxpacket value
ceb6b658f0bd UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments")
a58cdc35d3a0 ALSA: hda/realtek - Add support for ALC623
101bb262ba43 ALSA: hda/realtek - Fix 2 front mics of codec 0x623
3ae205d7a0a2 ALSA: bebob: Fix prototype of helper function to return negative value
62e42369de37 fuse: truncate pending writes on O_TRUNC
72c913fdde9d fuse: flush dirty data/metadata before non-truncate setattr
696da0225946 ath6kl: fix a NULL-ptr-deref bug in ath6kl_usb_alloc_urb_from_pipe()
1a124f16b594 thunderbolt: Use 32-bit writes when writing ring producer/consumer
f2cc221b6515 USB: legousbtower: fix a signedness bug in tower_probe()
083322455c67 nbd: verify socket is supported during setup
e0064f8de3f5 iwlwifi: exclude GEO SAR support for 3168
5a445f805afc ALSA: hda/realtek: Reduce the Headphone static noise on XPS 9350/9360
ce005e5d6e9f ARM: 8914/1: NOMMU: Fix exc_ret for XIP
394c90d9ce13 tracing: Initialize iter->seq after zeroing in tracing_read_pipe()
12e132664f92 s390/uaccess: avoid (false positive) compiler warnings
da24be886ff6 NFSv4: Fix leak of clp->cl_acceptor string
cad4448dfc9c nbd: fix possible sysfs duplicate warning
c2ea451f22f1 virt: vbox: fix memory leak in hgcm_call_preprocess_linaddr
5865397db6c3 MIPS: fw: sni: Fix out of bounds init of o32 stack
317b6f68abb1 MIPS: include: Mark __xchg as __always_inline
4a4206a83fc6 iio: imu: adis16400: release allocated memory on failure
f2824a020746 drm/amdgpu: fix memory leak
a1112c465593 perf/x86/amd: Change/fix NMI latency mitigation to use a timestamp
2cd003a820fe sched/vtime: Fix guest/system mis-accounting on task switch
58d33d4a4a1d x86/cpu: Add Comet Lake to the Intel CPU models header
6258745b311b arm64: armv8_deprecated: Checking return value for memory allocation
c3689876f5b9 fs: ocfs2: fix a possible null-pointer dereference in ocfs2_info_scan_inode_alloc()
4de544b42c7a fs: ocfs2: fix a possible null-pointer dereference in ocfs2_write_end_nolock()
c18d86047622 fs: ocfs2: fix possible null-pointer dereferences in ocfs2_xa_prepare_entry()
2141f777e6e1 ocfs2: clear zero in unaligned direct IO
af140367ae66 x86/xen: Return from panic notifier
0169198631e7 MIPS: include: Mark __cmpxchg as __always_inline
9b7591cf6cf6 efi/x86: Do not clean dummy variable in kexec path
318885aa154d efi/cper: Fix endianness of PCIe class code
02c1fb11b6a0 serial: mctrl_gpio: Check for NULL pointer
497fd98a50b2 fs: cifs: mute -Wunused-const-variable message
579249a08348 gpio: max77620: Use correct unit for debounce times
7f3306a3b2df tty: n_hdlc: fix build on SPARC
14a4689f8847 tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'
d21a5d4a7339 arm64: ftrace: Ensure synchronisation in PLT setup for Neoverse-N1 #1542419
ca2cc4b47d01 nfs: Fix nfsi->nrequests count error on nfs_inode_remove_request
aeb242943505 HID: hyperv: Use in-place iterator API in the channel callback
9c75c230ded2 RDMA/iwcm: Fix a lock inversion issue
962cff4f3f89 RDMA/hfi1: Prevent memory leak in sdma_init
dfc1daba843b staging: rtl8188eu: fix null dereference when kzalloc fails
3545c018d0c3 perf annotate: Return appropriate error code for allocation failures
f8304a9310c3 perf annotate: Propagate the symbol__annotate() error return
4e2ca0c9143c perf annotate: Fix the signedness of failure returns
ec783e28e72d perf annotate: Propagate perf_env__arch() error
f0ba7ab26bfc perf tools: Propagate get_cpuid() error
c022c7f6171e perf jevents: Fix period for Intel fixed counters
5ecf35ed5d17 perf script brstackinsn: Fix recovery from LBR/binary mismatch
262ed71096ba perf map: Fix overlapped map handling
d975e5970965 perf tests: Avoid raising SEGV using an obvious NULL dereference
e3dc77d662ca libsubcmd: Make _FORTIFY_SOURCE defines dependent on the feature
915eb63dac7b iio: fix center temperature of bmc150-accel-core
78e6415d4f9a iio: adc: meson_saradc: Fix memory allocation order
1b6901f3c600 power: supply: max14656: fix potential use-after-free
a0d8a590d983 drm/amd/display: fix odm combine pipe reset
a897f54e921c PCI/PME: Fix possible use-after-free on remove
0e23eeb0fc58 net: dsa: mv88e6xxx: Release lock while requesting IRQ
646e5c77b418 exec: load_script: Do not exec truncated interpreter path
f251c83d6c08 ext4: disallow files with EXT4_JOURNAL_DATA_FL from EXT4_IOC_SWAP_BOOT
cc4d8283f6e9 media: vimc: Remove unused but set variables
c629fed0347e ALSA: hda/realtek - Apply ALC294 hp init also for S4 resume
b73132b74d25 cifs: add credits from unmatched responses/messages
ee4d28a716e8 CIFS: Respect SMB2 hdr preamble size in read responses
2a2022688a91 scsi: lpfc: Correct localport timeout duration error
1df87fc5e468 mlxsw: spectrum: Set LAG port collector only when active
e32271519bb9 arm64: kpti: Whitelist HiSilicon Taishan v110 CPUs
6021dd86ca38 arm64: Add MIDR encoding for HiSilicon Taishan CPUs
9190141529fb rtc: pcf8523: set xtal load capacitance from DT
961ba81d08d8 usb: handle warm-reset port requests on hub resume
3a77562e18bf ALSA: usb-audio: Cleanup DSD whitelist
a0608eec296d usb: dwc3: gadget: clear DWC3_EP_TRANSFER_STARTED on cmd complete
d0e8b35e915e usb: dwc3: gadget: early giveback if End Transfer already completed
335d4f818246 samples: bpf: fix: seg fault with NULL pointer arg
c41f30e8d233 HID: steam: fix deadlock with input devices.
4c8ae7221bcc HID: steam: fix boot loop with bluetooth firmware
ce05beb3b402 NFSv4: Ensure that the state manager exits the loop on SIGKILL
952b0285826e HID: Add ASUS T100CHI keyboard dock battery quirks
24ec7c1b9b17 staging: mt7621-pinctrl: use pinconf-generic for 'dt_node_to_map' and 'dt_free_map'
b064e272023c scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks
9aafa2996921 clk: boston: unregister clks on failure in clk_boston_setup()
1ba6488775f1 ath10k: assign 'n_cipher_suites = 11' for WCN3990 to enable WPA3
a6af54d4ad0d platform/x86: Fix config space access for intel_atomisp2_pm
8694ceba9338 platform/x86: Add the VLV ISP PCI ID to atomisp2_pm
8c1b1d3c7593 HID: i2c-hid: Add Odys Winbook 13 to descriptor override
3db3961160f6 HID: i2c-hid: Ignore input report if there's no data present on Elan touchpanels
e0bcac994ad8 HID: i2c-hid: Disable runtime PM for LG touchscreen
d8187ff32b23 netfilter: ipset: Make invalid MAC address checks consistent
cb38a17cc880 Btrfs: fix deadlock on tree root leaf when finding free extent
33970cf511c8 PCI: Fix Switchtec DMA aliasing quirk dmesg noise
437de04184bc bcache: fix input overflow to writeback_rate_minimum
be488566ef2f drm/msm/dpu: handle failures while initializing displays
b5b3bb03c372 x86/cpu: Add Atom Tremont (Jacobsville)
ab0888699734 tools/power turbostat: fix goldmont C-state limit decoding
4da8b5f8a71d usb: dwc2: fix unbalanced use of external vbus-supply
649ee6f0c677 HID: i2c-hid: add Direkt-Tek DTLAPY133-1 to descriptor override
ce43554395a3 f2fs: fix to recover inode->i_flags of inode block during POR
b619de076f9c f2fs: fix to recover inode's i_gc_failures during POR
23848022460f powerpc/powernv: hold device_hotplug_lock when calling memtrace_offline_pages()
bff91a961a05 sc16is7xx: Fix for "Unexpected interrupt: 8"
157c391babd7 scsi: lpfc: Fix a duplicate 0711 log message number.
6b2fbfacd74b f2fs: flush quota blocks after turnning it off
e5641f02dc9e wil6210: fix freeing of rx buffers in EDMA mode
d8ab4185ea55 btrfs: tracepoints: Fix wrong parameter order for qgroup events
6bcbe35027e2 btrfs: qgroup: Always free PREALLOC META reserve in btrfs_delalloc_release_extents()
96b9b94647b0 Btrfs: fix memory leak due to concurrent append writes with fiemap
692aa7d55ff8 Btrfs: fix inode cache block reserve leak on failure to allocate data space
a8afda7774a3 dm snapshot: rework COW throttling to fix deadlock
223f1af69da8 dm snapshot: introduce account_start_copy() and account_end_copy()
0ca37291020e zram: fix race between backing_dev_show and backing_dev_store
ef244c308885 Linux 4.19.81
27414f90ff6e RDMA/cxgb4: Do not dma memory off of the stack
054441182b51 blk-rq-qos: fix first node deletion of rq_qos_del()
2ada40308a0d PCI: PM: Fix pci_power_up()
ccb02adf3293 xen/netback: fix error path of xenvif_connect_data()
89ab39da1452 cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown
5f19cbb3ab3f memstick: jmb38x_ms: Fix an error handling path in 'jmb38x_ms_probe()'
0b95aaae783f btrfs: tracepoints: Fix bad entry members of qgroup events
1b921b5bc47f Btrfs: check for the full sync flag while holding the inode lock during fsync
ac6bae2b524d Btrfs: add missing extents release on file extent cluster relocation error
6cd5be9832eb btrfs: block-group: Fix a memory leak due to missing btrfs_put_block_group()
a5a10f7800ed pinctrl: armada-37xx: swap polarity on LED group
e0e489aa5bd0 pinctrl: armada-37xx: fix control of pins 32 and up
5e9d71802ddc pinctrl: cherryview: restore Strago DMI workaround for all versions
4dedaa73c4c4 x86/apic/x2apic: Fix a NULL pointer deref when handling a dying cpu
1709917289cd x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel area
e49c84c51c3a dm cache: fix bugs when a GFP_NOWAIT allocation fails
5ce7528c4d4a tracing: Fix race in perf_trace_buf initialization
96202569b9fe perf/aux: Fix AUX output stopping
01332b037066 CIFS: Fix use after free of file info structures
71cf88165ff0 CIFS: avoid using MID 0xFFFF
4292745536d2 arm64: Enable workaround for Cavium TX2 erratum 219 when running SMT
d97e4a6d2b2f EDAC/ghes: Fix Use after free in ghes_edac remove path
ca65fe21981b parisc: Fix vmap memory leak in ioremap()/iounmap()
19e2ed7bfabe xtensa: drop EXPORT_SYMBOL for outs*/ins*
30cff8ab6ed7 mm/memory-failure: poison read receives SIGKILL instead of SIGBUS if mmaped more than once
91eec7692b94 hugetlbfs: don't access uninitialized memmaps in pfn_range_valid_gigantic()
f712e3066f75 mm/page_owner: don't access uninitialized memmaps when reading /proc/pagetypeinfo
bb6932c5a473 mm/slub: fix a deadlock in show_slab_objects()
9792afbd630b mm/memory-failure.c: don't access uninitialized memmaps in memory_failure()
01a44055a48a mmc: cqhci: Commit descriptors before setting the doorbell
6ea856efef9f fs/proc/page.c: don't access uninitialized memmaps in fs/proc/page.c
43a2a6c2f0fb drivers/base/memory.c: don't access uninitialized memmaps in soft_offline_page_store()
4d5307c099af drm/amdgpu: Bail earlier when amdgpu.cik_/si_support is not set to 1
11377c3e997e drm/ttm: Restore ttm prefaulting
33af2a8ee304 drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50
24ca62892032 mac80211: Reject malformed SSID elements
73c066a9552a cfg80211: wext: avoid copying malformed SSIDs
83dc16707f6d ACPI: CPPC: Set pcc_data[pcc_ss_id] to NULL in acpi_cppc_processor_exit()
8e367b029e61 ASoC: rsnd: Reinitialize bit clock inversion flag for every format setting
b0dd6a24255e Input: synaptics-rmi4 - avoid processing unknown IRQs
aa9402c14df6 Input: da9063 - fix capability and drop KEY_SLEEP
e254d4359259 scsi: ch: Make it possible to open a ch device multiple times again
0c6905197c5b scsi: core: try to get module before removing device
2a675e73dfec scsi: core: save/restore command resid for error handling
0cea86f270e9 scsi: sd: Ignore a failure to sync cache due to lack of authorization
3638ccda1009 scsi: zfcp: fix reaction on bit error threshold notification
d07c028d2bc9 staging: wlan-ng: fix exit return when sme->key_idx >= NUM_WEPKEYS
4034a5030589 MIPS: tlbex: Fix build_restore_pagemask KScratch restore
9f7e157464cd USB: ldusb: fix read info leaks
3b73a0e453bd USB: usblp: fix use-after-free on disconnect
28ab2c5f5899 USB: ldusb: fix memleak on disconnect
edd3e9c71cc8 USB: serial: ti_usb_3410_5052: fix port-close races
068fcbe895cd usb: udc: lpc32xx: fix bad bit shift operation
7ed43d2eb0ec ALSA: hda - Force runtime PM on Nvidia HDMI codecs
7dda74810c9a ALSA: usb-audio: Disable quirks for BOSS Katana amplifiers
6c8a9a46ec57 ALSA: hda/realtek - Enable headset mic on Asus MJ401TA
30a83eb0a09d ALSA: hda/realtek - Add support for ALC711
5366778bf0ed USB: legousbtower: fix memleak on disconnect
99b45e7a1ba1 memfd: Fix locking when tagging pins
2770f80afde7 sctp: change sctp_prot .no_autobind with true
cd8c21ca7022 net: stmmac: disable/enable ptp_ref_clk in suspend/resume flow
da4f0aed87d5 net: ipv6: fix listify ip6_rcv_finish in case of forwarding
cc2d858b3f73 net/ibmvnic: Fix EOI when running in XIVE mode.
3f9d4e3c2954 net: i82596: fix dma_alloc_attr for sni_82596
da0baae9a725 net: bcmgenet: Set phydev->dev_flags only for internal PHYs
c0f5839a483f net: bcmgenet: Fix RGMII_MODE_EN value for GENET v1/2/3
16d67acad815 net: avoid potential infinite loop in tc_ctl_action()
2fa80e64de33 ipv4: Return -ENETUNREACH if we can't create route but saddr is valid
2ec0df4e3fee ipv4: fix race condition between route lookup and invalidation
0d3ad773b445 ocfs2: fix panic due to ocfs2_wq is null
0933b0db7fb2 Revert "drm/radeon: Fix EEH during kexec"
9457994a53d1 md/raid0: fix warning message for parameter default_layout
51f0c10890aa libata/ahci: Fix PCS quirk application
9bc5a4db9aa9 namespace: fix namespace.pl script to support relative paths
6acbcd1429f1 r8152: Set macpassthru in reset_resume callback
0cb5c7b06a0a lib: textsearch: fix escapes in example code
50699af3609c net: hisilicon: Fix usage of uninitialized variable in function mdio_sc_cfg_reg_write()
db1e664e2d80 mips: Loongson: Fix the link time qualifier of 'serial_exit()'
b43bf6b10344 net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name
a16a9c10b2b0 netfilter: nft_connlimit: disable bh on garbage collection
13104599d07f mac80211: fix txq null pointer dereference
09c5a5bb0f26 nl80211: fix null pointer dereference
90a886b68faa xen/efi: Set nonblocking callbacks
5d880444955e MIPS: dts: ar9331: fix interrupt-controller size
6d0da953bd8e net: dsa: qca8k: Use up to 7 ports for all operations
1cd24f5edab8 ARM: dts: am4372: Set memory bandwidth limit for DISPC
960019214539 ieee802154: ca8210: prevent memory leak
ec3817c62ede ARM: OMAP2+: Fix warnings with broken omap2_set_init_voltage()
a23cd06c2cd2 ARM: OMAP2+: Fix missing reset done flag for am3 and am43
fcff55e25593 scsi: qla2xxx: Fix unbound sleep in fcport delete path.
c3d475c7d9b9 scsi: megaraid: disable device when probe failed after enabled device
c6d91bd3fa35 scsi: ufs: skip shutdown if hba is not powered
db783e05df55 nvme-pci: Fix a race in controller removal
c3038e718a19 Linux 4.19.80
0603d82bcae4 perf/hw_breakpoint: Fix arch_hw_breakpoint use-before-initialization
91849adc9f90 PCI: vmd: Fix config addressing when using bus offsets
cd4b60e57a7a x86/asm: Fix MWAITX C-state hint value
99ada52ce213 hwmon: Fix HWMON_P_MIN_ALARM mask
b9040fab5f36 tracing: Get trace_array reference for available_tracers files
a6c9fb2c2ce4 ftrace: Get a reference counter for the trace_array on filter files
b7f758631d69 tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency
6271cbff9309 tracing/hwlat: Report total time spent in all NMIs during the sample
3766c9d9c47c arm64/sve: Fix wrong free for task->thread.sve_state
6f64aa703c0c media: stkwebcam: fix runtime PM after driver unbind
664ec2db3b1f Fix the locking in dcache_readdir() and friends
a64241ba496c arm64: topology: Use PPTT to determine if PE is a thread
b098a4cd99ff ACPI/PPTT: Add support for ACPI 6.3 thread flag
a73306414fcd ACPICA: ACPI 6.3: PPTT add additional fields in Processor Structure Flags
34ab38cd8098 MIPS: elf_hwcap: Export userspace ASEs
aaa81d9e6523 MIPS: Disable Loongson MMI instructions for kernel build
e9360f393d7b NFS: Fix O_DIRECT accounting of number of bytes read/written
e0805d7f7f1b btrfs: fix uninitialized ret in ref-verify
f7313de46e46 btrfs: fix incorrect updating of log root tree
a8de7090805d cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic
f6c715708fb8 iio: adc: stm32-adc: fix a race when using several adcs with dma and irq
a9968a4d6399 iio: adc: stm32-adc: move registers definitions
410ab742a503 gpiolib: don't clear FLAG_IS_OUT when emulating open-drain/open-source
b41013b51870 firmware: google: increment VPD key_len properly
491a39dcee44 mm/vmpressure.c: fix a signedness bug in vmpressure_register_event()
7bbe6eefdbb3 kernel/sysctl.c: do not override max_threads provided by userspace
230b339a7c75 CIFS: Force reval dentry if LOOKUP_REVAL flag is set
0bc78de461b4 CIFS: Force revalidate inode when dentry is stale
d72c2115108f CIFS: Gracefully handle QueryInfo errors during open
345c03a0defb blk-wbt: fix performance regression in wbt scale_up/scale_down
d855a5f2dec7 perf inject jit: Fix JIT_CODE_MOVE filename
47a4e4decddd perf llvm: Don't access out-of-scope array
ee7ee6cfc3af efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified
c9a182ddf2d4 iio: light: opt3001: fix mutex unlock race
811616a6400d iio: adc: axp288: Override TS pin bias current for some models
99757b1d9c17 iio: adc: ad799x: fix probe error handling
2cb6f0417ee1 iio: adc: hx711: fix bug in sampling of data
2f9a82e2d2e6 staging: vt6655: Fix memory leak in vt6655_probe
df455ed36901 Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc
d58d477c5852 gpio: eic: sprd: Fix the incorrect EIC offset when toggling
ce20fd3e1530 mei: avoid FW version request on Ibex Peak and earlier
d7e57796b6c0 mei: me: add comet point (lake) LP device ids
f931791751d3 USB: legousbtower: fix use-after-free on release
e3f445666f51 USB: legousbtower: fix open after failed reset request
99c0c615ff98 USB: legousbtower: fix potential NULL-deref on disconnect
fe471bf16720 USB: legousbtower: fix deadlock on disconnect
4fde6c982393 USB: legousbtower: fix slab info leak at probe
dff3bc5edcf6 usb: renesas_usbhs: gadget: Fix usb_ep_set_{halt,wedge}() behavior
55efffb294d2 usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()
3b089cef3cc1 USB: dummy-hcd: fix power budget for SuperSpeed mode
ab8d87d14d82 USB: microtek: fix info-leak at probe
0f14e44ebc0e USB: usblcd: fix I/O after disconnect
58c2b4c5610d USB: serial: fix runtime PM after driver unbind
8dcda04939fd USB: serial: option: add support for Cinterion CLS8 devices
f7ab1c54c1a4 USB: serial: option: add Telit FN980 compositions
13b0420eb2ea USB: serial: ftdi_sio: add device IDs for Sienna and Echelon PL-20
a463d20a5772 USB: serial: keyspan: fix NULL-derefs on open() and write()
21917fcb05d1 serial: uartlite: fix exit path null pointer
0c999b4b00db USB: ldusb: fix NULL-derefs on driver unbind
39fe586c4069 USB: chaoskey: fix use-after-free on release
2f2b039530ea USB: usblp: fix runtime PM after driver unbind
2095532522d1 USB: iowarrior: fix use-after-free after driver unbind
7f93c8c89541 USB: iowarrior: fix use-after-free on release
2fdcf7e19bde USB: iowarrior: fix use-after-free on disconnect
ab162d331cc1 USB: adutux: fix use-after-free on release
ca9c18c00a95 USB: adutux: fix NULL-derefs on disconnect
316f51d77597 USB: adutux: fix use-after-free on disconnect
ea7255663398 xhci: Increase STS_SAVE timeout in xhci_suspend()
cbc5abaa6f30 xhci: Prevent deadlock when xhci adapter breaks during init
fde058a17c18 usb: xhci: wait for CNR controller not ready bit in xhci resume
13e793da4f70 xhci: Fix USB 3.1 capability detection on early xHCI 1.1 spec based hosts
d6bdd4686ffc xhci: Check all endpoints for LPM timeout
faa0502a5be5 xhci: Prevent device initiated U1/U2 link pm if exit latency is too long
077855ba2df2 xhci: Fix false warning message about wrong bounce buffer write length
31604075ceb4 USB: usb-skeleton: fix NULL-deref on disconnect
dcabc48fe0ac USB: usb-skeleton: fix runtime PM after driver unbind
571a14063619 USB: yurex: fix NULL-derefs on disconnect
a8fe336f20b9 USB: yurex: Don't retry on unexpected errors
86575b7f636f USB: rio500: Remove Rio 500 kernel driver
95bcc0d980ae f2fs: use EINVAL for superblock with invalid magic
7d1688c6731b panic: ensure preemption is disabled during panic()
dafd634415a7 Linux 4.19.79
1bd17a737c9e nl80211: validate beacon head
527ba5d7634b cfg80211: Use const more consistently in for_each_element macros
ad180cace853 cfg80211: add and use strongly typed element iteration macros
3dab5ba6d7ae staging: erofs: detect potential multiref due to corrupted images
8b4341f9b80b staging: erofs: add two missing erofs_workgroup_put for corrupted images
596bbc4e0edf staging: erofs: some compressed cluster should be submitted for corrupted images
e7c44410387c staging: erofs: fix an error handling in erofs_readdir()
1b94c1e80ca8 coresight: etm4x: Use explicit barriers on enable/disable
effad578c23f vfs: Fix EOVERFLOW testing in put_compat_statfs64
d976344d27f7 arm64/speculation: Support 'mitigations=' cmdline option
af33d746286c arm64: Use firmware to detect CPUs that are not affected by Spectre-v2
17d1acc4c61d arm64: Force SSBS on context switch
fe22ea561ce0 arm64: ssbs: Don't treat CPUs with SSBS as unaffected by SSB
dada3a4abb43 arm64: add sysfs vulnerability show for speculative store bypass
f41df38898ec arm64: add sysfs vulnerability show for spectre-v2
9d1bb39cdd96 arm64: Always enable spectre-v2 vulnerability detection
b1a33cfd8034 arm64: Advertise mitigation of Spectre-v2, or lack thereof
59a6dc262c85 arm64: Provide a command line to disable spectre_v2 mitigation
c131623b1e9d arm64: Always enable ssb vulnerability detection
47a11f2eafcc arm64: enable generic CPU vulnerabilites support
512158d0c67e arm64: add sysfs vulnerability show for meltdown
047aac35fd1a arm64: Add sysfs vulnerability show for spectre-v1
edfc026626d6 arm64: fix SSBS sanitization
09c22781dd2c arm64: docs: Document SSBS HWCAP
a59d42ac50a1 KVM: arm64: Set SCTLR_EL2.DSSBS if SSBD is forcefully disabled and !vhe
1eaff33e2441 arm64: ssbd: Add support for PSTATE.SSBS rather than trapping to EL3
d286a37471b6 riscv: Avoid interrupts being erroneously enabled in handle_exception()
5b67a4721ddd perf stat: Reset previous counts on repeat with interval
15c57bf9dcf8 perf tools: Fix segfault in cpu_cache_level__read()
e5331c37c08b tick: broadcast-hrtimer: Fix a race in bc_set_next
140acbb09384 tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure
d1e4b4cc3bba powerpc/book3s64/radix: Rename CPU_FTR_P9_TLBIE_BUG feature flag
f5f31a6ea558 powerpc/pseries: Fix cpu_hotplug_lock acquisition in resize_hpt()
c688982ffaeb nbd: fix crash when the blksize is zero
63bb8b76ed62 KVM: nVMX: Fix consistency check on injected exception error code
34b13ff69668 KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP
1b155b4fe8b4 drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passed
04e0c84f137d nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
575a5bb3d372 perf unwind: Fix libunwind build failure on i386 systems
b0aaf65bb16a kernel/elfcore.c: include proper prototypes
bab46480e6f9 perf build: Add detection of java-11-openjdk-devel package
46ff0e2f869f sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr()
6cb7aa1b4f94 sched/membarrier: Fix private expedited registration check
e250f2b6aa9e sched/membarrier: Call sync_core only before usermode for same mm
9f33b178cbb2 libnvdimm/nfit_test: Fix acpi_handle redefinition
7b4f541fcd1c fuse: fix memleak in cuse_channel_open
2e93d24ac75e libnvdimm/region: Initialize bad block for volatile namespaces
9025adf37ee8 thermal_hwmon: Sanitize thermal_zone type
c01a9dbec18a thermal: Fix use-after-free when unregistering thermal zone device
55ebeb4e865d ntb: point to right memory window index
9dabade5c197 x86/purgatory: Disable the stackleak GCC plugin for the purgatory
65348659535d pwm: stm32-lp: Add check in case requested period cannot be achieved
19b1c70e911c pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors
1c70ae6a91f9 drm/amdgpu: Check for valid number of registers to read
e0af3b19ad77 drm/amdgpu: Fix KFD-related kernel oops on Hawaii
f7ace7f25214 netfilter: nf_tables: allow lookups in dynamic sets
f217883bbc92 watchdog: aspeed: Add support for AST2600
520c2a64fc78 ceph: reconnect connection if session hang in opening state
0275113fc09a ceph: fix directories inode i_blkbits initialization
2bc2a90a083a xen/pci: reserve MCFG areas earlier
18dd2b05f349 9p: avoid attaching writeback_fid on mmap with type PRIVATE
07f3596ce344 9p: Transport error uninitialized
448deb13ab9e fs: nfs: Fix possible null-pointer dereferences in encode_attrs()
4753e7a824cb ima: fix freeing ongoing ahash_request
b69c3085fcc6 ima: always return negative code for error
6df3c66de09d arm64: cpufeature: Detect SSBS and advertise to userspace
3a0e673305e2 cfg80211: initialize on-stack chandefs
16c75eb13a72 s390/cio: avoid calling strlen on null pointer
3f41e88f4bd4 ieee802154: atusb: fix use-after-free at disconnect
975859bb69b2 xen/xenbus: fix self-deadlock after killing user process
e409b81d9ddb Revert "locking/pvqspinlock: Don't wait if vCPU is preempted"
7ed2867ceb41 mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
4509a19d5082 mmc: sdhci: improve ADMA error reporting
873f49d6a4e8 drm/i915/gvt: update vgpu workload head pointer correctly
198bc7040c48 drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors
7a85c8673551 drm/msm/dsi: Fix return value check for clk_get_parent
0e45633f49ef drm/omap: fix max fclk divider for omap36xx
90ac4028739c perf stat: Fix a segmentation fault when using repeat forever
22f28afd3d77 watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout
e7cf8cc79f93 PCI: Restore Resizable BAR size bits correctly for 1MB BARs
956ce989c41f PCI: vmd: Fix shadow offsets to reflect spec changes
06f250215beb timer: Read jiffies once when forwarding base clk
12c6c4a50f66 usercopy: Avoid HIGHMEM pfn warning
e010c9835183 tracing: Make sure variable reference alias has correct var_ref_idx
022ca58f109e power: supply: sbs-battery: only return health when battery present
5cb6dd823127 power: supply: sbs-battery: use correct flags field
fb93ccde081e MIPS: Treat Loongson Extensions as ASEs
a0dc60ac6bef crypto: ccree - use the full crypt length value
f5c087a0d9a0 crypto: ccree - account for TEE not ready to report
561bf9309209 crypto: caam - fix concurrency issue in givencrypt descriptor
3683dd7074dc crypto: cavium/zip - Add missing single_release()
cd8e0a5d94fb crypto: skcipher - Unmap pages after an external error
9349108ae499 crypto: qat - Silence smp_processor_id() warning
532920b26678 tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file
4aaea17d3c31 can: mcp251x: mcp251x_hw_reset(): allow more time after a reset
9124eac41a67 powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions
19c12f12093e powerpc/powernv/ioda: Fix race in TCE level allocation
032ce7d766a9 powerpc/powernv: Restrict OPAL symbol map to only be readable by root
ba3ca9fcb0e7 powerpc/mce: Schedule work from irq_work
ee6eeeb88e79 powerpc/mce: Fix MCE handling for huge pages
1284f2073415 ASoC: sgtl5000: Improve VAG power and mute control
50090b75fa89 ASoC: Define a set of DAPM pre/post-up events
42b888f63333 PM / devfreq: tegra: Fix kHz to Hz conversion
9f0f39c92e4f nbd: fix max number of supported devs
eff3a54aae68 KVM: nVMX: handle page fault in vmread fix
21874027e1de KVM: X86: Fix userspace set invalid CR4
30fbe0d380aa KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9
4faa7f05af75 KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
577a5119d7af KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
46cb14a57088 s390/cio: exclude subchannels with no parent from pseudo check
9aa823b3c0a6 s390/topology: avoid firing events before kobjs are created
ddfef75f877b KVM: s390: Test for bad access register and size at the start of S390_MEM_OP
8b41a30f91db s390/process: avoid potential reading of freed stack
(From OE-Core rev: e23a86fa40be2e1dfe50baeebe787e98f793cc5b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
6e5893ab1fe2 Linux 5.2.23
86ac741509b1 kvm: x86: mmu: Recovery of shattered NX large pages
c553a0a399c9 kvm: Add helper function for creating VM worker threads
f2bf2c447af6 kvm: mmu: ITLB_MULTIHIT mitigation
f06ad290c8f0 KVM: x86: make FNAME(fetch) and __direct_map more similar
18b180d7a0f1 kvm: x86, powerpc: do not allow clearing largepages debugfs entry
ff893d92a664 Documentation: Add ITLB_MULTIHIT documentation
f9adaf5c4457 cpu/speculation: Uninline and export CPU mitigations helpers
0b2c4ab2b97c x86/cpu: Add Tremont to the cpu vulnerability whitelist
eaa0b155027e x86/bugs: Add ITLB_MULTIHIT bug infrastructure
dccf9a56da2e x86/speculation/taa: Fix printing of TAA_MSG_SMT on IBRS_ALL CPUs
32bd35cc9e6c x86/tsx: Add config options to set tsx=on|off|auto
c4ed63015b6a x86/speculation/taa: Add documentation for TSX Async Abort
43e4f038964c x86/tsx: Add "auto" option to the tsx= cmdline parameter
995c701aa712 kvm/x86: Export MDS_NO=0 to guests when TSX is enabled
085db27a9d8a x86/speculation/taa: Add sysfs reporting for TSX Async Abort
0d7366963e51 x86/speculation/taa: Add mitigation for TSX Async Abort
10d64704b2e6 x86/cpu: Add a "tsx=" cmdline option with TSX disabled by default
e97aa6c96e2e x86/cpu: Add a helper function x86_read_arch_cap_msr()
817956f7cd90 x86/msr: Add the IA32_TSX_CTRL MSR
4ad18dc35ed7 x86/cpu: Move arch_smt_update() to a neutral place
(From OE-Core rev: 441e9dc823fdf4fd9da2332ec63afcf6098773af)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
0bea818b6e18 Linux 5.2.22
5f1126e23315 nbd: verify socket is supported during setup
4888496abcfe USB: usblp: fix use-after-free on disconnect
0ba545e8fda8 USB: legousbtower: fix a signedness bug in tower_probe()
4c6f2341bb9f CIFS: Fix use after free of file info structures
f9c400068647 scsi: mpt3sas_ctl: fix double-fetch bug in _ctl_ioctl_main()
14c5cace4634 wcd9335: fix a incorrect use of kstrndup()
da7b0f2312c9 clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup()
ee72fe755500 cfg80211: wext: avoid copying malformed SSIDs
fc86526a556d rtlwifi: Fix potential overflow on P2P code
0ebeef211891 io_uring: only flush workqueues on fileset removal
e6a26dac8182 x86/asm: Fix MWAITX C-state hint value
65113f3d3937 mtd: rawnand: au1550nd: Fix au_read_buf16() prototype
31012d874e0c hwmon: Fix HWMON_P_MIN_ALARM mask
3abf2667e95a tracing: Get trace_array reference for available_tracers files
be0e6c911005 ftrace: Get a reference counter for the trace_array on filter files
a2a980deef30 tracing/hwlat: Don't ignore outer-loop duration when calculating max_latency
225fca30418d tracing/hwlat: Report total time spent in all NMIs during the sample
19b6d82baabe arm64/sve: Fix wrong free for task->thread.sve_state
2473b968eecb media: stkwebcam: fix runtime PM after driver unbind
eecc5223277d drm/i915: Mark contents as dirty on a write fault
04887f273e41 drm/i915: Whitelist COMMON_SLICE_CHICKEN2
60624198d203 Fix the locking in dcache_readdir() and friends
c5325876ceb9 arm64: topology: Use PPTT to determine if PE is a thread
393cf2726151 ACPI/PPTT: Add support for ACPI 6.3 thread flag
daa13a4b0635 RDMA/vmw_pvrdma: Free SRQ only once
6243ecc8cab6 MIPS: elf_hwcap: Export userspace ASEs
ae0799a4da1b MIPS: Disable Loongson MMI instructions for kernel build
f0f81c9999ab NFS: Fix O_DIRECT accounting of number of bytes read/written
7a80e6581ea9 btrfs: fix uninitialized ret in ref-verify
ddf6cef435f0 btrfs: fix incorrect updating of log root tree
1296b41cc1d3 Btrfs: fix memory leak due to concurrent append writes with fiemap
810f5770978a btrfs: fix balance convert to single on 32-bit host CPUs
7816678e3934 btrfs: allocate new inode in NOFS context
74ec5aa2c30a btrfs: relocation: fix use-after-free on dead relocation roots
bc1f6ac176a6 firmware: google: increment VPD key_len properly
9fc11ae5dee9 IB/core: Fix wrong iterating on ports
fee3c62537ff mm/vmpressure.c: fix a signedness bug in vmpressure_register_event()
e3a378783419 mm/page_alloc.c: fix a crash in free_pages_prepare()
e4891ccaef9e mm/z3fold.c: claim page in the beginning of free
7831f5a6c097 kernel/sysctl.c: do not override max_threads provided by userspace
44481a12c9bf cifs: use cifsInodeInfo->open_file_lock while iterating to avoid a panic
16ae17c41281 CIFS: Force reval dentry if LOOKUP_REVAL flag is set
2c272ff0cbd5 CIFS: Force revalidate inode when dentry is stale
43273ccd3283 CIFS: Gracefully handle QueryInfo errors during open
ca814325c659 selinux: fix context string corruption in convert_context()
ad8d7e2a7a26 blk-wbt: fix performance regression in wbt scale_up/scale_down
1b64f52e03de perf inject jit: Fix JIT_CODE_MOVE filename
5cc59bf53d49 perf llvm: Don't access out-of-scope array
7f9ed4c203f0 efivar/ssdt: Don't iterate over EFI vars if no SSDT override was specified
5ef016833bac iio: accel: adxl372: Perform a reset at start up
9f77cc5a7309 iio: accel: adxl372: Fix push to buffers lost samples
d3db274a52ef iio: accel: adxl372: Fix/remove limitation for FIFO samples
a9ab504bfa61 iio: adc: stm32-adc: fix a race when using several adcs with dma and irq
29166478ab00 iio: adc: stm32-adc: move registers definitions
05505674fad5 iio: adc: axp288: Override TS pin bias current for some models
f418fb5e545d iio: adc: ad799x: fix probe error handling
dc9b7ddfd0e5 iio: adc: hx711: fix bug in sampling of data
5f711a67527d staging: vt6655: Fix memory leak in vt6655_probe
e72f973d2600 staging: rtl8188eu: fix HighestRate check in odm_ARFBRefresh_8188E()
34a95338fd57 Staging: fbtft: fix memory leak in fbtft_framebuffer_alloc
b83f3fd3dc3c staging: bcm2835-audio: Fix draining behavior regression
fe77671d3437 staging/fbtft: Depend on OF
597abe928ec2 gpio: eic: sprd: Fix the incorrect EIC offset when toggling
5e7c238cfafe mei: avoid FW version request on Ibex Peak and earlier
4e68c8ad0d11 mei: me: add comet point (lake) LP device ids
74a2ab15fa03 USB: legousbtower: fix use-after-free on release
d5a37b79b977 USB: legousbtower: fix open after failed reset request
470d1d920d61 USB: legousbtower: fix potential NULL-deref on disconnect
b1c95308efbb USB: legousbtower: fix deadlock on disconnect
0d7afcc3e67d USB: legousbtower: fix slab info leak at probe
2164d586fe13 usb: typec: ucsi: displayport: Fix for the mode entering routine
ed9dc2e12645 usb: typec: tcpm: usb: typec: tcpm: Fix a signedness bug in tcpm_fw_get_caps()
ae07c4d583f0 usb: renesas_usbhs: gadget: Fix usb_ep_set_{halt,wedge}() behavior
59f9a556d12c usb: renesas_usbhs: gadget: Do not discard queues in usb_ep_set_{halt,wedge}()
c73e4656e029 USB: dummy-hcd: fix power budget for SuperSpeed mode
8604ad319705 USB: microtek: fix info-leak at probe
942d159f33d5 USB: usblcd: fix I/O after disconnect
45e6742b3543 USB: serial: fix runtime PM after driver unbind
f07e614a1eae USB: serial: option: add support for Cinterion CLS8 devices
60efccd42001 USB: serial: option: add Telit FN980 compositions
96464fe403ed USB: serial: ftdi_sio: add device IDs for Sienna and Echelon PL-20
e05502d06a6e USB: serial: keyspan: fix NULL-derefs on open() and write()
eb98769b935a serial: uartps: Fix uartps_major handling
7dba6bf5f7d8 serial: uartlite: fix exit path null pointer
46f1bfcd1c4e USB: ldusb: fix NULL-derefs on driver unbind
536e1ab01853 USB: chaoskey: fix use-after-free on release
2443d5a06e95 USB: usblp: fix runtime PM after driver unbind
78941115be20 USB: iowarrior: fix use-after-free after driver unbind
52f1bf2513ae USB: iowarrior: fix use-after-free on release
259a1454a1c4 USB: iowarrior: fix use-after-free on disconnect
63ee1fedd6de USB: adutux: fix use-after-free on release
b6c09eee2d43 USB: adutux: fix NULL-derefs on disconnect
0c72bbbe474a USB: adutux: fix use-after-free on disconnect
a12a9cd6c351 xhci: Increase STS_SAVE timeout in xhci_suspend()
a260279b7617 xhci: Prevent deadlock when xhci adapter breaks during init
c8d9f36aa6b1 usb: xhci: wait for CNR controller not ready bit in xhci resume
6885498721be xhci: Fix USB 3.1 capability detection on early xHCI 1.1 spec based hosts
137c690e919a xhci: Check all endpoints for LPM timeout
2cef9b4aef68 xhci: Prevent device initiated U1/U2 link pm if exit latency is too long
fc87747823b9 xhci: Fix false warning message about wrong bounce buffer write length
861e3b12fed9 USB: usb-skeleton: fix NULL-deref on disconnect
9f4070d847cf USB: usb-skeleton: fix runtime PM after driver unbind
968a3ec8e2de USB: yurex: fix NULL-derefs on disconnect
f2f71a47512c USB: yurex: Don't retry on unexpected errors
f12a275ccbf6 panic: ensure preemption is disabled during panic()
f80586c5fc9e coresight: etm4x: Use explicit barriers on enable/disable
f38e48b51908 vfs: Fix EOVERFLOW testing in put_compat_statfs64
a74f766b8f43 riscv: Avoid interrupts being erroneously enabled in handle_exception()
185f61b3655a perf stat: Reset previous counts on repeat with interval
1479778a1947 tick: broadcast-hrtimer: Fix a race in bc_set_next
a41c9cac2d45 KVM: nVMX: Fix consistency check on injected exception error code
b52c034939de Btrfs: fix selftests failure due to uninitialized i_mode in test inodes
a125322d48ac drm/radeon: Bail earlier when radeon.cik_/si_support=0 is passed
ea9d6a619d30 nfp: abm: fix memory leak in nfp_abm_u32_knode_replace
1f9e6c30c7ef mlxsw: spectrum_flower: Fail in case user specifies multiple mirror actions
cd2fdf60a063 perf unwind: Fix libunwind build failure on i386 systems
161dda893af0 i2c: qcom-geni: Disable DMA processing on the Lenovo Yoga C630
86b33efd649a bpf: Fix bpf_event_output re-entry issue
aaa8c1b8daa9 blk-mq: move lockdep_assert_held() into elevator_exit
fc1b4d3e8239 kernel/elfcore.c: include proper prototypes
6b2721b403ee include/trace/events/writeback.h: fix -Wstringop-truncation warnings
cee4aad767a2 perf build: Add detection of java-11-openjdk-devel package
043372e0afa3 sched/core: Fix migration to invalid CPU in __set_cpus_allowed_ptr()
adf80f2feec5 sched/membarrier: Fix private expedited registration check
61fa5ee7216c sched/membarrier: Call sync_core only before usermode for same mm
096f6c8487c3 libnvdimm/nfit_test: Fix acpi_handle redefinition
12a9a49442b2 fuse: fix memleak in cuse_channel_open
7912cdc163b2 libnvdimm: Fix endian conversion issues
4db2cd0d1ce5 libnvdimm/region: Initialize bad block for volatile namespaces
6fda5a687329 iommu/amd: Fix downgrading default page-sizes in alloc_pte()
3a019ac29c6b thermal_hwmon: Sanitize thermal_zone type
5d08f30e96d8 thermal: Fix use-after-free when unregistering thermal zone device
a429d11015c3 ntb: point to right memory window index
5aec3da44913 x86/purgatory: Disable the stackleak GCC plugin for the purgatory
833db2db7272 selftests/seccomp: fix build on older kernels
407e0ee74d22 pwm: stm32-lp: Add check in case requested period cannot be achieved
52e5ea59746f SUNRPC: Don't try to parse incomplete RPC messages
c0636eed33f0 pNFS: Ensure we do clear the return-on-close layout stateid on fatal errors
18fce724c0ea drm/amdgpu: Check for valid number of registers to read
aecbaa9bc7af drm/amdgpu: Fix KFD-related kernel oops on Hawaii
342e564c9b0f netfilter: nf_tables: allow lookups in dynamic sets
4c53aef11956 watchdog: aspeed: Add support for AST2600
fa83953efe4b SUNRPC: RPC level errors should always set task->tk_rpc_status
f835934a6275 ceph: reconnect connection if session hang in opening state
7403dda16eb9 ceph: fetch cap_gen under spinlock in ceph_add_cap
5c3e30081baa ceph: fix directories inode i_blkbits initialization
e821008425d5 fuse: fix request limit
92549d8ceef5 xen/pci: reserve MCFG areas earlier
e99fd0070701 9p: avoid attaching writeback_fid on mmap with type PRIVATE
5f374721b520 9p: Transport error uninitialized
d9b57935af8d xprtrdma: Send Queue size grows after a reconnect
d478e5024a78 xprtrdma: Toggle XPRT_CONGESTED in xprtrdma's slot methods
111e51fcf8b3 fs: nfs: Fix possible null-pointer dereferences in encode_attrs()
b3703c37a780 ima: fix freeing ongoing ahash_request
4752354b2b94 ima: always return negative code for error
9370b48fcb79 drivers: thermal: qcom: tsens: Fix memory leak from qfprom read
38ab9316e558 cfg80211: initialize on-stack chandefs
bc518ad5972a cfg80211: validate SSID/MBSSID element ordering assumption
b1515120bb24 nl80211: validate beacon head
dc1118edbc7c ieee802154: atusb: fix use-after-free at disconnect
dd72ec13bbe3 xen/xenbus: fix self-deadlock after killing user process
ffbd4ae78614 xen/balloon: Set pages PageOffline() in balloon_add_region()
fb019e226331 DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again
fd5a2a47f144 libnvdimm/altmap: Track namespace boundaries in altmap
f6e67e8fdfac Revert "locking/pvqspinlock: Don't wait if vCPU is preempted"
9898906f5274 mmc: sdhci: Let drivers define their DMA mask
8968e606a47f mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
56ced5e6024c mmc: sdhci: improve ADMA error reporting
ba5d052c4e62 mmc: tegra: Implement ->set_dma_mask()
31565ffd9d5d mac80211: keep BHs disabled while calling drv_tx_wake_queue()
c5fcd037a2b2 drm/i915/gvt: update vgpu workload head pointer correctly
359d2cb5c30a drm/nouveau/kms/nv50-: Don't create MSTMs for eDP connectors
0b1757e6f255 drm/msm/dsi: Fix return value check for clk_get_parent
00eccaeb55aa drm/omap: fix max fclk divider for omap36xx
88f34afe2774 drm: mali-dp: Mark expected switch fall-through
ccc3bc0df68d drm/atomic: Take the atomic toys away from X
d88c0c23427b drm/atomic: Reject FLIP_ASYNC unconditionally
6aecce20a2cd perf stat: Fix a segmentation fault when using repeat forever
1b4371e819e8 perf tools: Fix segfault in cpu_cache_level__read()
7311201faf48 watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout
79f5df7f2f92 selftests/tpm2: Add the missing TEST_FILES assignment
a895c40ca633 PCI: Restore Resizable BAR size bits correctly for 1MB BARs
0ea26a3c4336 PCI: vmd: Fix shadow offsets to reflect spec changes
7dfe1d4b949d PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
2bd27a041f5b PCI: vmd: Fix config addressing when using bus offsets
04576078716b timer: Read jiffies once when forwarding base clk
d964d65c20ae usercopy: Avoid HIGHMEM pfn warning
37fdb252a315 tracing: Make sure variable reference alias has correct var_ref_idx
212d21abd0f9 power: supply: sbs-battery: only return health when battery present
1cee0eb9f606 power: supply: sbs-battery: use correct flags field
51b90fe021de MIPS: Treat Loongson Extensions as ASEs
b127de42d3ea crypto: ccree - use the full crypt length value
f244496b19f2 crypto: ccree - account for TEE not ready to report
de6922d9ab63 crypto: caam - fix concurrency issue in givencrypt descriptor
4fd6651142be crypto: caam/qi - fix error handling in ERN handler
c4b56f7746ff crypto: cavium/zip - Add missing single_release()
a2edd8487639 crypto: skcipher - Unmap pages after an external error
85a3e980d873 crypto: qat - Silence smp_processor_id() warning
f00ae50250a7 tools lib traceevent: Do not free tep->cmdlines in add_new_comm() on failure
623451aba2cf tools lib traceevent: Fix "robust" test of do_generate_dynamic_list_file
3dcc2fed6e40 can: mcp251x: mcp251x_hw_reset(): allow more time after a reset
82262ec35ddb powerpc/mm: Fixup tlbie vs mtpidr/mtlpidr ordering issue on POWER9
ff2880ac0da2 powerpc/mm: Fix an Oops in kasan_mmu_init()
5a2987852f46 powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY
45a769de36eb powerpc/book3s64/radix: Rename CPU_FTR_P9_TLBIE_BUG feature flag
cf2b70b6b656 powerpc/book3s64/mm: Don't do tlbie fixup for some hardware revisions
2685e06f19a6 powerpc/kasan: Fix shadow area set up for modules.
5e7044ab7567 powerpc/kasan: Fix parallel loading of modules.
5e56a0800d67 powerpc/powernv/ioda: Fix race in TCE level allocation
e0f04cdca674 powerpc/pseries: Fix cpu_hotplug_lock acquisition in resize_hpt()
e76223f82362 powerpc/powernv: Restrict OPAL symbol map to only be readable by root
dae12b5175c7 powerpc/ptdump: Fix addresses display on PPC32
1552ecc37cf8 powerpc/32s: Fix boot failure with DEBUG_PAGEALLOC without KASAN.
aeea368a2c97 powerpc/603: Fix handling of the DIRTY flag
838485d94fac powerpc/mce: Schedule work from irq_work
5a707634e866 powerpc/mce: Fix MCE handling for huge pages
789e9c0c699d powerpc/xive: Implement get_irqchip_state method for XIVE to fix shutdown race
f7f281ee8c8d ASoC: sgtl5000: Improve VAG power and mute control
917b868fc1db ASoC: Define a set of DAPM pre/post-up events
f153e91caf36 PM / devfreq: tegra: Fix kHz to Hz conversion
883dbbc1e7ca nbd: fix max number of supported devs
f3a500b77c59 KVM: X86: Fix userspace set invalid CR4
15153db63642 KVM: PPC: Book3S HV: Don't lose pending doorbell request on migration on P9
a0bc470fc62e KVM: PPC: Book3S HV: Check for MMU ready on piggybacked virtual cores
9772769d3990 KVM: PPC: Book3S HV: Fix race in re-enabling XIVE escalation interrupts
93fd3eab6a8a KVM: PPC: Book3S HV: Don't push XIVE context when not using XIVE device
2d09838ea088 KVM: PPC: Book3S HV: XIVE: Free escalation interrupts before disabling the VP
1da0d7bce2bc KVM: PPC: Book3S: Enable XIVE native capability only if OPAL has required functions
ed90a05c0b1b KVM: s390: fix __insn32_query() inline assembly
87a6398ef7b8 s390/cio: exclude subchannels with no parent from pseudo check
bd54ca01c976 s390/cio: avoid calling strlen on null pointer
fbba7e0326fe s390/topology: avoid firing events before kobjs are created
8892a0c67e9a KVM: s390: Test for bad access register and size at the start of S390_MEM_OP
dac32cc04e95 s390/sclp: Fix bit checked for has_sipl
d08741d62973 s390/process: avoid potential reading of freed stack
(From OE-Core rev: 73c8fc8c9bf4b0fe0e485c12bee9922a64aa1cdd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
e91ef5bcdeda Linux 5.2.21
(From OE-Core rev: 1f51f1505cdeec5cc464bbbc14f5514d7440a426)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported patches and explicitly pass -std=gnu99 to native CFLAGS
to make sure build passes on older and still supported OSes like CentOS 7.
(From OE-Core rev: cc84d4dcc775c371389e1d351256946cbd003545)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop open_inner.patch
- Drop opkg_archive.patch
- Remove "remove_test_binaries" function
(From OE-Core rev: e795ba18613a3f45a81617207abc68f93039cbe5)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop 00001-Switch-all-scripts-to-use-Python-3.x.patch
- Drop 00001-opkg-build-clamp-mtimes-to-SOURCE_DATE_EPOCH.patch
- Drop pipefail.patch
(From OE-Core rev: bf51a4a1312562cc9b5944b7dfccba0b3d11dc3c)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This inc file isn't used anymore since the X.org protocol packages
merged into xorgproto.
(From OE-Core rev: 438f21ae14499e1f61d6e0c020153448d6ffa84c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of trying to change the RPATH in every file under the binary
directories, check that the file is an ELF first.
This means that we don't attempt to change the RPATH on the entire
Python standard library, for example.
Also return early if the directory to iterate doesn't exist.
(From OE-Core rev: 977f4baacf7c8d06d9cfe5c5e39bb8bc19f27028)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass --build-base so the build tree is a location we specify, which we
can ensure is empty when building.
This means we can stub out do_configure entirely and use cleandirs
instead.
When installing we need to tell it to do a build so that we can pass
--build-base, so also pass --skip-build to avoid the potential rebuild.
(From OE-Core rev: de1b57acedaaf01e10059792eb0031ceafcc8b97)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This variable isn't used by the build task, despite it's name.
(From OE-Core rev: 497ddaca42f805c119c022d77960d1eecc01436b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These staging tasks haven't been used since ~2010, so remove them.
(From OE-Core rev: d0eba7ccf54101e708ea50afb072f1bd2cf8fb6d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgdataui is a Python 3/GObject Introspection/GTK+ 3 tool to browse the pkgdata
database at your leisure. By being graphical it is easier to explore and can
follow links between packages.
This is very much a work in progress, so be gentle and patches are welcome.
(From OE-Core rev: 169634473a14dc025803e55382c187dc660ae2a2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using kernel-devsrc for older kernels do_install fails with:
| cp: failed to get attributes of 'arch/x86/entry': No such file or directory
In the Linux kernel commit 1f57d5d85
"x86/asm/entry: Move the arch/x86/syscalls/ definitions to arch/x86/entry/syscalls/"
moved some files copied in the kernel-devsrc recipe. Commit 1f57d5d85 was added in
v4.2.
To be able to use kernel-devsrc for kernels older than v4.2 this commit make use of find
for the files that shall be copied.
(From OE-Core rev: 53cccd5b5145c23cac3e227ef71edaf4609c11b5)
Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk. In
this codepath there is no point to using cachedpath.
(From OE-Core rev: 460222c54e4c65352c0687f2b6c70527cc9a2b4b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless cachedpath is used correctly then it's just a glorified clone of
os.walk, but without any of the recent optimisations in os.walk. In
this codepath there is no point to using cachedpath.
(From OE-Core rev: 765e0c3410d6bf3b4a50c4a036f555eae760acd2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch from 81485be19b ("gnutls: don't use HOSTTOOLS_DIR/bash as a
shell on target") as upstream now honours POSIX_SHELL when set as the
primary target shell.
(From OE-Core rev: bc487ced3be40569157fb40c99bfa68871f74744)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With out these changes, a traceback displayed when a file
is listed in the SRC_URI but the file does not exist.
raise FileNotFoundError and print the patch then mark the task as failed.
(From OE-Core rev: d4926c11a4ab9148bdb640a9367c9e1891491a5b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While multilib enabled, it builds vulkan-demos failed
...
|CMake Error at tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/
recipe-sysroot/usr/lib64/cmake/assimp-5.0/assimpTargets.cmake:85 (message):
| The imported target "assimp::assimp" references the file
| "tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/recipe-sysroot/usr/lib/libassimp.so.5"
| but this file does not exist. Possible reasons include:
...
Since oe-core set ASSIMP_LIB_INSTALL_DIR to baselib, use it rather than
hardcoded `/lib' to search library
(From OE-Core rev: 2f37056cc6380a6dbc6e43152d2c7a4846526904)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches are currently, crossing across repo boundaries, between glibc
and localedef, therefore it is better to divide the patches
accordiningly, with this patchset makery patch is spun out since that
applies to localedef alone.
There are no other code changes
(From OE-Core rev: 85b86bc810dcde3357d681ca8043883f2f4fdba0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This regex uses \ so is actually parsed incorrectly, mark it up as a raw
string.
(From OE-Core rev: 120e687bad03ad2cf4df4092e8a3f35a569e09f4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to ensure the correct working directory is used for this
tar command to succeed.
(Bitbake rev: e1a2a0e29a75dead3426ae083387181ad52da91f)
Signed-off-by: Christian Herzig <cherzig@gauselmann.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds core-image-sato and core-image-full-cmdline to the list of images
that the reproducible build test builds.
(From OE-Core rev: d6c62cc0305ab082e990041da104fedb5798e0e4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop all patches as they are no longer necessary with autotools,
fix problems that are addressed upstream, or (in case of no-vectorization.patch)
don't apply to the old version either, which means no one is using that hw target
anymore.
Remove custom systemd configs (provided by upstream), and custom
syslog config (also provided by upstream but not installed by default).
Adjust parselogs to not error out on not being able to find
System.map file during boot (that is packaged into kernel-dev
and is not normally installed).
License-Update: various tweaks; the license terms are the same.
(From OE-Core rev: dcf0bd14d78b0848f206eb35355f05bfbd51c02d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Scrubbed so subsequent releases are relevant to the
initial release only.
(From yocto-docs rev: 7bb2c4f851aa968eb05b11c5471b81962f268eba)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have bb.debug(2, xxx) messages in cooker which are useful for debugging
but have really bad effects on performance, 640,000 calls on recent profile
graphs taking tens of seconds.
Rather than commenting out debug which can be useful for debugging, don't
create events for debug log messages from cooker which would never be seen.
We already stop the messages hitting the IPC but this avoids the overhead
of creating the log messages too, which has been shown to be signficiant
on the profiles. This allows the code to perform whilst allowing debug
messages to be availble when wanted/enabled.
(Bitbake rev: f04cd931091fb0508badf3e002d70a6952700495)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't save much time but does make the profile counts for the
function more accurate which is in itself useful.
(Bitbake rev: d446fa89d206fbc6d098215163c968ea5a8cf4a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were seeing this running thousands of times with hashequiv, do
the filtering where it makes more sense and make it persist.
(Bitbake rev: 2cfeb9998a8ad5b1dcda0bb4e192c5e4306dab17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the calls to difference_update out a code level which improves efficiency
significantly.
Also further combine the outer loop for efficiency too.
These two changes remove a bottleneck from the performance charts.
(Bitbake rev: e28ec69356f1797de3e4e3fca0fef710bc4564de)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Creating a new sorted list of sstate tasks each iteration through runqueue is
extremely ineffecient and was compounded by the recent change from a list to set.
Create one sorted list instead of recreating it each time.
(Bitbake rev: de18824996841c3f35f54ff5ad12f94f6dc20d88)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are two operations happening in get_taskhash, the building of the
underlying data and the calculation of the hash.
Split these into two funtions since the preparation part doesn't need
to rerun when unihash changes, only the calculation does.
This split allows sigificant performance improvements for hashequiv
in builds where many hashes are equivalent and many hashes are changing.
(Bitbake rev: 6a32af2808d748819f4af55c443578c8a63062b3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "no dependencies" task case was not being correctly considered in this
code and seemed to be the cause of occasionaly task hash mismatch errors
that were being seen as the dependencies were never accounted for properly.
(Bitbake rev: 608b9f821539de813bfbd9e65950dbc56a274bc2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The looping over multiple changed hashes causes many calls to get_taskhash
and get_unihash which are potentially slow and then overwritten.
Instead, batch up all the tasks which have changed unihashes and then
do one big loop over the changed tasks rather than each in turn.
This makes worlds of difference to the performance graphs and should speed
up build where many tasks are being rehashed.
(Bitbake rev: c9c68d898985cf0bec6fc95f54c151cc50255cac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Discovered with a recipe under devtool. The ${S}/singletask.lock file (added by
externalsrc.bbclass) was leaked, giving a warning like:
WARNING: <PN>+git999-r0 do_populate_lic: /home/laplante/yocto/sources/poky/bitbake/lib/bb/build.py:582: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/laplante/yocto/build/workspace/sources/<PN>/singletask.lock' mode='a+' encoding='UTF-8'>
exec_func(task, localdata)
(Bitbake rev: 6beddf6214e22b4002626761031a9e9d34fb04db)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The local hash equivalence server used by bitbake requires python 3.5,
so bump up the minimum required version.
[YOCTO #13678]
(Bitbake rev: 1412dcc077b1bea10b72fc8b525d6258dca46d97)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of reporting ${LICENSE} when a package cannot be installed
into an image because it is using an incompatible license, report the
license(s) that are actually incompatible.
(From OE-Core rev: b1863e570d4b169cd2f0ea7b4fe7c2348943cb2c)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When excluding a package from being packaged due to incompatible
licenses, report the license(s) that are actually incompatible.
(From OE-Core rev: 7d5c07e4a32a0968942ae538023c2891b59d8ab5)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of reporting ${LICENSE} when a package is identified as using
an incompatible license, report the license(s) that are actually
incompatible.
(From OE-Core rev: fb3405fac7b933a3f9d23e5faf6a3cf2d1990982)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After a number of rewrites, the code checking if a package has been
whitelisted for an incompatible license was calculating the
whitelisted packages twice (as 'whitelist' and as 'incompatwl').
(From OE-Core rev: 01dcc8c94b882d865fc72a067a90d9721ac5fea7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes it possible to report the incompatible licenses.
(From OE-Core rev: 02a3189b4902e616f5b4277ee3d0fca10b73b4dc)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SRC_DISTRIBUTE_LICENSES variable and its static list of licenses
has been replaced by AVAILABLE_LICENSES, which automatically contains
all available licenses.
(From OE-Core rev: 64daaf29e2c12c8b587bafdebf9409433187ddf7)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, there was SRC_DISTRIBUTE_LICENSES, an undocumented
variable that contained a static list of licenses. It was used by
expand_wildcard_licenses() to expand any wildcards used in, e.g.,
INCOMPATIBLE_LICENSE. However, since this static list of licenses has
not been kept up-to-date, many licenses were missing, with the result
that if one tried to use any of those licenses with a wildcard, no
licenses would be found, effectively ignoring that they should be
marked as incompatible.
This introduces a new (documented) variable, AVAILABLE_LICENSES, that
is automatically updated to contain all licenses found in any
directories specified by ${COMMON_LICENSE_DIR} and ${LICENSE_PATH},
and uses it instead of SRC_DISTRIBUTE_LICENSES when expanding
wildcards.
(From OE-Core rev: 8c9ef587fe499c612a878a1ab42092eb79b334ef)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream mesa can either be built as a debug release (the default) or a
production release. This patch allows the user to choose which one they
want by setting MESA_BUILD_TYPE to either 'production' or 'debug' as
they see fit. Under OpenEmbedded a production build will be performed by
default.
(From OE-Core rev: 6a6b775d69aa59102e1f6a68c88276be6d54a8e6)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some upstream projects are employing the buildtype parameter so users
can create, say, "production" versus "debug" builds. Therefore create a
configurable parameter so recipes/users can tweak it.
(From OE-Core rev: 5b12211ef7856bedafd356f6b7a03add46eca6c7)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patches have been refreshed and all of meta-oe and oe-core was sucessfully built.
(From OE-Core rev: 469bcfbfe25afd9c480c26f117b81d65cc305fbe)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the user specified an http port to use for serving
files, use that instead of a random one. At the same
time, have the http server bind to all interfaces.
Binding to the server_ip might not always be possible,
e.g. in the case of running bitbake / oeqa from within
a docker container. In this case, the ip address is valid
outside the container, but not inside, and hence can't
be bound to. So switch to simply binding to all interfaces.
(From OE-Core rev: da529e6522959c2024023e90de52b5e42f160596)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow tests to access the listening port as just introduced.
Note that when using qemu this infrastructure shouldn't be
needed, but we still need to set the port to 0 so that
a listening port is determined automatically (e.g. by the
python http server).
(From OE-Core rev: ca58559fc30842c123907fb5cc68b3356c530862)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to the existing possibility to specify a port in
TEST_TARGET_IP, allow TEST_SERVER_IP to also contain a
port.
The intention is for this port to be passed into e.g.
the http server from the apt / dnf / opkg tests, or
any other (custom) tests that might need the target to
connect to a service spawned by bitbake / oeqa, where
bitbake is actually running inside a docker container.
(From OE-Core rev: 9f401cd8b010ca613a151d0323b251f2243f399f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Being able to specify the listening port is useful when
running OEQA from within a docker container, e.g.
crops or any other solution.
In that case, a port on the outside must be mapped to a
specific port inside the container. If no port is specified
for the http server module in this case, the http server
would choose a random port, which is unlikely to be mapped
and thus won't be reachable from the outside.
(From OE-Core rev: e54391ca9068661693275fbfcfded9bc0b2606f3)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nf_tables_inet.ko and nf_tables_ipv4.ko and nf_tables_ipv6.o
(and nf_tables_arp.ko and nf_tables_netdev.ko) were merged into
the core nf_tables.ko before v4.17 in kernel commit
02c7b25e5f54 netfilter: nf_tables: build-in filter chain type
nf_meta.ko was merged to be a builtin of nf_tables.ko before
v4.18 in kernel commit
8a22543c8e70 netfilter: nf_tables: make meta expression builtin
(From OE-Core rev: 98715c9dc8dd925cffce9bd5d57172206d1e2a7b)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a mere 24KB (on 32bit arm), avoiding to pull in
all of the remainder +300KB in small initramfs images
when not needed.
Add this new package to RDEPENDS of e2fsprogs so as to
not break existing users.
Also, remove a stale reference to the non-existent
e2fsprogs-fsck package which was removed in 2012 from here
in commit 98b1b9f047ef ("e2fsprogs: Drop fsck binary"),
commit 93d6471727 in poky, and sort some of the lists
alphabetically.
(From OE-Core rev: 19dd3453da39066564d899d561e4814822dcbd18)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script scans for services, parses them and makes sure those targets are still
there. The exists file check fails if the target is an alias, such as default.target
so add an additional test.
[YOCTO #13685]
(From OE-Core rev: 10bdbf033e51c97f6408c9114d480372135a2c2e)
Signed-off-by: Werner Grift <sky.captin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-Unset-need_charset_alias-when-building-for-musl.patch is no longer
necessary as upstream has removed the code.
dm_check.patch is replaced with 0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch
Rework ptests, in particular remove the generated Makefile
from the layer, and use the upstream Makefile.
Ptest pass rate is 100%.
(From OE-Core rev: 5dc6529d0b5b8b1bef12b90008f0a25612bd453e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-Use-labs-instead-of-abs.patch as problem is fixed upstream.
(From OE-Core rev: 6ecc17f83d57d08bbeb6366cb586993a8844c8a6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Optimise the call into the parent function to be only when needed.
(From OE-Core rev: 198bacaa1068fd68075d9182318fe64e9809dd36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On test machines we have python3 available at alternative locations. Use
these rather from the evnrionment rather than a hardcoded path.
(From OE-Core rev: 81ee68f39a155c79443d45321ce4b81d9bf6675e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With hashequiv the get_taskhash function is called much more regularly
and contains expensive operations. This these don't change based upon
hash in a given build, improve the caching within the function to
reduce overhead.
(From OE-Core rev: de98cfe3cde4b8d5f4b163b5fba3f129651ef06a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use wic instead of the live/hddimg filesystem type for x86 machines, as it
produces better filesystems and doesn't have a hard limit of 4GB.
(From OE-Core rev: 04e4e93efa4d8e2bdde950fe95c2fd95f89c13e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python 3.8 has started to throw this as a warning but usage is wrong see
[1], it seems to be working by accident and not design.
Fixes
SyntaxWarning: "is" with a literal. Did you mean "=="?
[1]: https://bugs.python.org/issue34850
(From OE-Core rev: c3cb6bc21f3f84e2ed103b6438516ab85222faa9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configures the options passed to nasm to remove build paths in the
generated object files.
(From OE-Core rev: 9119a882adbf19df9f47f66cebaa7f730d3e9462)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to nasm to change the prefix for file paths encoded in
the object files. This allows builds to be reproducible regardless of
the build directory.
(From OE-Core rev: ad5c914933c7b38296dcb8bba3c36aed45aacc32)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
goarch is used in all classes of recipes ranging from native to target,
therefore its best to contain the variables and not spill over into
recipe classes where they can adversely affect shared state reuse e.g.
go-native currently gets TUNE_FEATURES into dependency chain of
referenced variables which means go-native gets rebuilt when we change
from qemuarm to qemux86 machine types since TUNE_FEATURES is defined
with DEFAULTTUNE which would change as machines are switched
These variables are specific to arm/mips/x86 so marking them with
appropriate overrides for native recipes will be right thing here
Chose 'hardfloat' for mips which is default too, 7 for arm and sse2 for x86
somehow go-native bootstrap compiler (1.4) still needs them so feed
commonly used values or defaults.
Fixes
ERROR: go-native different signature for task do_configure.sigdata between qemux86copy and qemuarm
...
List of dependencies for variable TUNE_FEATURES changed from '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-core2-32'}' to '{'DEFAULTTUNE', 'TUNE_FEATURES_tune-armv7vethf-neon'}'
changed items: {'TUNE_FEATURES_tune-core2-32', 'TUNE_FEATURES_tune-armv7vethf-neon'}
(From OE-Core rev: 83eebf5577dd0a23be937375c1a8a15e3da4fa64)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes the log very large and breaks the ptest result
parser.
(From OE-Core rev: 78221af4c0297e0278c042eed390ad0e53f2548a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a big pile of backports.
Disable zsh completions, as they're unlikely to be useful.
(From OE-Core rev: dad8cd50bcc4203a65d153dc2445502c1e728975)
(From OE-Core rev: 1a31a31a3bd68f027ba0a13f8e66ce92104a4d4c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
busybox as well as vlock utility from meta-oe provides vlock utility
which can conflict when with kbd if pam is a enabled distro_feature
Fixes image build errors
update-alternatives: Error: not linking <rootfs>/usr/bin/vlock to /bin/busybox.suid since <rootfs>/usr/bin/vlock exists and is not a link
ERROR: yoe-qt5-wayland-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
(From OE-Core rev: 08636708f6ca677a6ee6c88fa2999c7b70b7d474)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
The vlock doesn't exist if PAM isn't enabled.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When doing reproducible builds inherit podfix to remove the possibility
of differing Perl versions causing manpages to change.
(From OE-Core rev: 5dc43edab4787906f2c9f51e51bf78d1dc966286)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Manpages generated by Pod::Man contain the version number, which isn't
reproducible if we're using the host Perl to generate manpage.
One option is to always depend on perl-native when generating manpages
but this is a heavy dependency, so instead strip out the versions in
do_install().
(From OE-Core rev: 18d8e5ac689d6eb6098f68ac785f43e9d5f5938a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we fail to run the command to generate the tap devices then we should
show a reasonable message and then exit, without showing a traceback.
"return 1" at this point in the code does nothing because the caller
doesn't check the return, so just use sys.exit().
(From OE-Core rev: 47e40fdd7dd58bde4e017e2375c16450fcb14eca)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is not a good idea to mix logging and calls to print() - if the
output is being captured the result can be that the two types of output
are not recorded contiguously; this could be observed if an error
occurred running runqemu from inside testimage:
---------- snip ----------
ERROR: core-image-minimal-1.0-r0 do_testimage: Output from runqemu:
runqemu - INFO - Continuing with the following parameters:
runqemu - INFO - Setting up tap interface under sudo
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
runqemu - ERROR - Setting up tap device failed:
Command '('sudo', '/home/paul/poky/poky/scripts/runqemu-ifup', '1000', '1000', '/home/paul/poky/poky/build/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin')' returned non-zero exit status 1.
Run runqemu-gen-tapdevs to manually create one.
runqemu - INFO - Cleaning up
KERNEL: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/bzImage--5.2.20+git0+bd0762cd13_dd25a04fc5-r0-qemux86-64-20191205213021.bin]
MACHINE: [qemux86-64]
FSTYPE: [ext4]
ROOTFS: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4]
CONFFILE: [/home/paul/poky/poky/build/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.qemuboot.conf]
---------- snip ----------
What we should see here is the KERNEL, MACHINE, etc. lines appearing
immediately after the "Continuing with the following parameters:" line
as they do when you run runqemu directly. If we put all of the lines
through the logger instead then it works properly.
(From OE-Core rev: ca64a3d490fbe1bf87c9f1dd6d87a1ecdeba8325)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we get here in the code it's because runqemu has failed, this is not
a debug situation - we need to see the output, so print it as an error.
Fixes [YOCTO #13681].
(From OE-Core rev: c1def38c680d64c992839166bbf9bec51eb0788a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). One of
those commands is "top -bn1", however top restricts the output to the
width of the calling terminal, and for whatever reason this is a little
restrictive when called from inside testimage, so set COLUMNS in the
environment to a high value to fix it. (Another way is to use the -w
option, but that is not supported by our default busybox configuration
so it will then fail when this same list of commands is used on the
target).
(From OE-Core rev: 07da998f5aa6c3f5ffeee5150fc579e8a1051ba4)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If runqemu fails, there is some logic to run a set of commands to dump
various bits of information that might help debug the issue
(particularly in a busy situation such as on the autobuilder). However,
when we try to run these we are inside the normal build environment
which restricts commands to be run on the host to those specified in
HOSTTOOLS. Since this isn't a place where host contamination is going to
be a problem, override PATH to a reasonable default so that we run the
actual host tools directly to avoid the issue. (Logically we would want
to use the original PATH value here, but it is not easily accessible.)
(From OE-Core rev: 3f6dcf67bccb4f0fc1a9a64e02bd0e2da620ad0e)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If mtools isn't present on the underlying system this test would fail.
Ensure wic-tools is available in a similar way to other wic selftests
in OE-Core.
(From meta-yocto rev: 5d48d41a3f93ca0e7085ce3c0f646b1d0c8d52d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
replace .wks with .wks.in and refer loader to EFI_PROVIDER
to enable different bootloader.
soft assign default EFI_PROVIDER "grub-efi" for genericx86.
(From meta-yocto rev: 11ecd2febed95e923c8cc68e2c438cd846a88d02)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a significant performance issue in get_unihash(). The issue turns out
to be the lookups of setscene tasks. We can fix this by using a set() instead of
the current list.
(Bitbake rev: 1e561672d039ebfb8cd0e0654a44dcf48513317c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit c4b8440f730c33eaf9f818b856ae81b2f1017fec.
The logic in this change is flawed and needs to be re-thought.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing huge slowdowns on large builds on the autobuilder. A qemux86 world
build was running really slowly, a primary feature was lots of rehashing going on
due to an sstate change which caused a rebuild when all output should be identical.
This was traced to the hundreds of thousands of calls to get_unihash() from
get_taskash(). If we simplify the unitaskhashes data structure, we can bypass
the function call and access the data directly. In local profile charts,
this significanly sped up process_possible_migrations(), both on profiles
and visually.
Whilst this change doesn't aid readability, it does solve an otherwise
huge performance issue.
(Bitbake rev: c4b8440f730c33eaf9f818b856ae81b2f1017fec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Batch all updates to scenequeue data together in a single invocation
instead of checking each task serially. This allows the checks for
sstate object to happen in parallel, and also makes sure the log
statement only happens once (per set of rehashes).
(Bitbake rev: db033a8f8a276d864bdb2e1eef159ab5794a0658)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids a directory not present error.
Fix a comment typo whilst here.
(From OE-Core rev: 1360d8d7d99b70a80c8cdbc1fc6d9e6752483139)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patches meant the mkdir might no longer match the final target
directory. Fix this.
(From OE-Core rev: 0af4dae84099e8632a9ea6a4afdbea2f232bb170)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
STATE_PKG may have been changed by sstate_report_unihash so don't
cache the variable's value.
(From OE-Core rev: be29a25400c4ea285ab3f588c5831f00ba5d4f63)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit dad8cd50bcc4203a65d153dc2445502c1e728975.
It is causing performance problems in ptest, taking hours (~18) to parse the ptest runner logs.
Log output increased from ~4MB to ~65MB. Revert until we can deal with the performance issue.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its rather antisocial to overwrite SSTATE_PKG with an expanded form for the variable
and it stops the value of BB_UNIHASH being changed when the package is written out.
Instead of expanding the variable, append to it instead to avoid this rather
hard to figure out behaviour and allow the siggen code to behave as expected.
(From OE-Core rev: 62eca02024b4c44d618ab9bcf87a3166c886dadb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible the new unihash may not exist in sstate. Currently the code
would create an sstate object with the old hash however this updates it to
create the object with the new unihash.
(Bitbake rev: abcaa1398031fa5338a43859c661e6d4a9ce863d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to recently released version 1.1 of NVD CVE JSON feed, as in
https://nvd.nist.gov/General/News/JSON-1-1-Vulnerability-Feed-Release
it is mentioned that
Due to changes required to support CVSS v3.1 scoring, the JSON
vulnerability feeds must be modified. This will require the consumers
of this data to update their internal processes. We will be providing
the JSON 1.1 schema on the data feeds page and the information below
to prepare for this transition.
...
The JSON 1.1 data feeds will be available on September 9th, 2019. At
that time the current JSON 1.0 data feeds will no longer available.
This change was tested briefly by issuing 'bitbake core-image-minimal'
with 'cve-check.bbclass' inherited via local.conf, and then comparing
the content between the resulting two
'DEPLOY_DIR_IMAGE/core-image-minimal-qemux86.cve' files, which did not
seem to contain any other change, except total of 167 entries like
CVSS v3 BASE SCORE: 0.0
were replaced with similar 'CVSS v3 BASE SCORE:' entries which had
scores that were greater than '0.0' (up to '9.8').
(From OE-Core rev: cc20e4d8ff2f3aa52a2658404af9a0ff358cc323)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Updates to poky.ent
* Updates to mega-manual.sed
* Updates to all <manual>.xml files for date
(From yocto-docs rev: 5f752ef0193cb60cd5d46a63e99ffcd02107e0c2)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Unset-need_charset_alias-when-building-for-musl.patch
as the problematic code is gone.
Rebase the other patches.
License-Update: http links changed to https
(From OE-Core rev: b234a4ed4d6a9c2e00f5fa38cf04867c7ada24a0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile used for flex-ptest can pick up the path to the uninative
loader through BUILD_LDFLAGS. This includes the full path to the
uninative loader, which is not reproducible. Replace it with /bin/false.
It doesn't appear as if these native programs are used in the test
suites and if there are likely to be other problems related to building
them using the BUILD_* flags.
(From OE-Core rev: 3cce2d1c36b0859186139d650fd50d2a56e91abd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For ptest only RDEPENDS is needed, and packaging glibc-locale
slowed down builds with ptest disabled.
(From OE-Core rev: 53f61ca73e69508bff6ea75da666d6873b5384f5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should help debug which part of this selftest is failing.
We can not tell which outloop is failing so split the tests into
systemd and sysvinit.
[YOCTO #13650]
(From OE-Core rev: 5f49ac73ca38ae711e093b35ae0feb5a0674198a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop CVE patches which are already available on binutils-2_33-branch
Forward port rest of the patches
(From OE-Core rev: 7bcfce05045fb7e10456aa1f5301e70c178f20d7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch also helps to build with EXTERNALSRC.
(From OE-Core rev: e63dc57f0950dbfc594efe8570333a16baadf51a)
Signed-off-by: Daisuke Yamane <yamane07ynct@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 674596421320de08142e010fdd65ec6f0a0f34e9 and
9dc1aaed83f0627db65f387de0b1e51503ab07b1.
The headers provided by libtirpc are not drop in replacements for the
RPC header files previously provided by glibc, so do not install them
as if they were. Additionally, they clash with the header files
installed by glibc if an older version of glibc is used.
Any problems related to the lack of the old header files from glibc
should be addressed in the application/library that expects them.
(From OE-Core rev: 8311e8b399fda66deee980dfd36068fafed2a2aa)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Disable assembly for vulkan-loader, as it tries to execute
a target binary (previously it would fail to detect a working
assembler and do the same fallback quietly).
(From OE-Core rev: fe2db77803846faa29226b821aaa985e009ac3cc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is only a problem with older Apache versions.
(From OE-Core rev: 492d43296b15514ec72dfb15f37c6d2ab1fbbae3)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One Windows-only CVE that cannot be fixed, and two CVEs
where upstream agreement is that they are not vulnerabilities.
(From OE-Core rev: 56d5b181f3b119f2bbd310dedd6d3b26e76f5944)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson has support for downloading subprojects using something called
wraps. This interferes with bitbake's expectations of all downloads
being done by the fetch task. To avoid this, tell meson to not
download any wraps.
Suggested-by: Mattias Jernberg <mattias.jernberg@axis.com>
(From OE-Core rev: b547637ad84bad8f7fe27193bf636541f8588ae8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that, support is not enabled for machines which do not
support VSX
(From OE-Core rev: cd38be40cd2d65787dd6f6f6667c320f4865716e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar fix was applied already upstream but not extended to all the
cases
(From OE-Core rev: ec6d1e337f36d75588133d5b6988ee438600b8ad)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-This-fixes-an-issue-that-clang-reports-about-mutlipl.patch,
the problem has been fixed upstream.
Rebase the other patches.
License-Update: copyright years
(From OE-Core rev: 5372e1acdd68367e64d13e19d1beb2d7b3e3c224)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch over to meson, and add an option for wayland support.
(From OE-Core rev: 5ca54ccab8c7a10072be84d9335fbc71e2f73042)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mkfontdir utility has been merged into mkfontscale source tree,
so a separate recipe is no longer needed (and clashes on install).
License-Update: additional copyright claims from Red Hat and Open Group
(From OE-Core rev: d4d403bb1d116751c676eab121698c7e09f070ee)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patch.
tls-check merely checks at configure time whether glib-networking has tls
support enabled (by running a target executable which doesn't work for us);
it does not affect the actual build.
(From OE-Core rev: 2537fcf3143153e272630c42fc1d7ce85b463590)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop a big pile of backports.
Disable zsh completions, as they're unlikely to be useful.
(From OE-Core rev: dad8cd50bcc4203a65d153dc2445502c1e728975)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop fix-setgroup.patch as the upstream has fixed the issue.
(From OE-Core rev: 45edc6d23e20f7634c50db71e419c7e3bb7f393e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase set-proper-path-of-resources.patch
Add a patch to address a string format error; as it modifies
a .l file, add a dependency on flex which is processing that into
C source code.
License-Update: file with copyright statements was replaced with original GPLv2 text
(From OE-Core rev: 729ac34dce472378cec5447c366a28de2081e7de)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds the option to disable DTD validation when building wayland-scanner,
which makes libxml2 optional.
(From OE-Core rev: d821415ab09248a894d58f6e5a5749e822d30939)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this change, python 2.x recipes are ready to be moved to an external layer.
Once that happens, they will be removed from oe-core.
(From OE-Core rev: 3f8d803b76254e3bd2294cfd96a6a53859053423)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As Alex Kanavin found, dependencies aren't always populated, particularly
with the hash equivalence server enabled locally:
'bitbake core-image-minimal' with gtk+ disabled.
can confirm with: $ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.
Enable gtk in local.conf with: PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"
'bitbake core-image-minimal', without deleting tmp/
$ tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-x86_64 -display gtk
qemu-system-x86_64: Display 'gtk' is not available.
This change ensures the dependencies are correctly handled as the full
sysroot is always depended upon even if things come from sstate.
(From OE-Core rev: d40853b10dd9f01d6a8dd4edcb941cfa8a544922)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables depend on TUNE_FEATURES variable and that creeps into
dependencies for native as well as a result, which means go-native gets
recompiled everytime machine/arch is changed.
Fixes sstate differences found e.g.
basehash changed from 600fb6be571fa4853232a7fed78945ee19b324e54b1b94cff93ef472b6290103 to 994de861190a56064d3e186d9c411152127e230bf2f77b17e59b2c5932a41249
List of dependencies for variable TUNE_FEATURES changed from '{'TUNE_FEATURES_tune-core2-32', 'DEFAULTTUNE'}' to '{'TUNE_FEATURES_tune-armv7vethf-neon', 'DEFAULTTUNE'}'
changed items: {'TUNE_FEATURES_tune-core2-32', 'TUNE_FEATURES_tune-armv7vethf-neon'}
(From OE-Core rev: 4825eede606b075d0d529b38d6162999f1dec506)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change all recipes to https where we get an http 301 permanent redirect.
(From OE-Core rev: e514acda9e12bccde6d3974e0fd1a37b3837191a)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
netbase-add-rpcbind-as-an-alias-to-sunrpc.patch
Removed since it is included in 5.7
(From OE-Core rev: 18799b309e4ae221aef6a8e70ec5f1c1a3d11475)
Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ldconfig should be prior to glibc-utils in PACKAGES variable, or else
ldconfig binary would not be split to its own package, hence will lead
to runtime issues for the packages that depending on ldconfig, like
systemd.
(From OE-Core rev: 5101aecacfb5a8e48bba74b538742bef9409b999)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a patch to prevent the gzip'ed man pages from including the build
date
(From OE-Core rev: 5cdb34cee19271b104e1debed8d740996f3447d9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps fix an issue where python interpreter in hg script could
overflow the BINPRM_BUF_SIZE which is 128 on most of systems, because
interpreter is hardcoded and build paths can be deep.
This patch helps, because now the absolute python interp path in hg can
be replaced with '/usr/bin/env python3' and it will ensure that python3
from native install is used instead of the one on host.
(From OE-Core rev: 3adaaab787bd105cc0049d36c7b8caeaa9b633e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstream backport of integer overflow in XMSS private key parsing.
Add PACKAGECONFIG for kerberos, libedit and ldns. If api-documentation
is enabled then install man(7) manpages rather than catman pages.
License-Update: convert to UTF-8
(From OE-Core rev: b084fa095800c090389b9c00d66f109d7cd11455)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix wrong path of command "ln -sf", the file should under folder
rpcsvc
(From OE-Core rev: 9dc1aaed83f0627db65f387de0b1e51503ab07b1)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
imp was replaced by importlib as it's deprecated, but the import
line was left, so remove this useless line.
(From OE-Core rev: 95574a7d18a8acfbed1b956677e72044bdfa7ebc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the generation of the testglibc script which could be used to run
the glibc test suite with a remote target. The same functionality can
now be achieved with the 'do_check' task of glibc-testsuite or with
oe-selftest (for automation of execution against qemu-user/qemu-system
targets).
(From OE-Core rev: 6d6fb46631d7d551cc2de48b51172cfcf36e8dd3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the generation of the testgcc script which could be used to run
the gcc test suite against a cross compiler with a remote execution
target. The same functionality can now be achieved with the 'do_check'
task of gcc-runtime or with oe-selftest (for automation of execution
against qemu-user/qemu-system targets).
(From OE-Core rev: 1a6801c4d0850e9f1b6d993f1d6a2492f5bbea85)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the gcc embedded checksum from containing a checksum that was
computed with build specific paths. The checksum-options file included
the value of LINKER/LDFLAGS which contains DEBUG_PREFIX_MAP and
STAGING_DIR_TARGET.
(From OE-Core rev: 0ead8cbdfb96c4fcbefd24c6647d0f50599f45b3)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the full recipe-sysroot path from leaking into configargs.h. The
configargs.h header is intended to be static and unchanged as the
content is used as a means of determining that a gcc plugin is built for
the same gcc. This also effects the output of 'gcc -v'. Due to per
recipe sysroots and staging, the sysroot path would be replaced with the
sysroot local to the recipe thus changing the content of configargs.h.
This change also improves gcc binary reproducibility. The sysroot path
is replaced with the base target root "/".
(From OE-Core rev: b8d6e2ab68ee5e341fe970b191bfd334e6d2c40b)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids some tracebacks we've seen on failed autobuilder builds which would
allow the real error to be seen.
(From OE-Core rev: a4031935a7b8ea4f61b9020c1aa5598e186e7ad7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing huge delays on the autobuilder during oe-selftest builddir
deletion. For example there is a currently running selftest we could do
with the results from and its been going 13 hours, at least 8 of which
was in deletion of the builddirs.
There are a variety of ways we could solve this problem however the
autobuilder has a mechanism for deferred deletion, "clobberdir" which
it already uses for this kind of work.
Whilst in general hardcoding things like this is horrible, I believe
in this case the benefits (and resulting improvements on my sanity
if nothing else) mean this is a case where we should do it.
If/as/when someone can come up with a better solution that is fine
and this can be replaced.
(From OE-Core rev: 51a84937d32a85cbdb7d5b1d1ec69a290d0c303b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An example:
NOTE: recipe binutils-cross-testsuite-2.32.0-r0: task do_check: Started
ERROR: Taskhash mismatch b074da4334aff8aa06572e7a8725c941fa6b08de4ce714a65a90c0c0b680abea versus 17375278daed609a7129769b74a1336a37bdef14b534ae85189ccc033a9f2db4 for /home/pokybuild/yocto-worker/qemux86-64/build/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.32.bb:do_check
NOTE: recipe binutils-cross-testsuite-2.32.0-r0: task do_check: Succeeded
Is caused by a rehash in a dependency happening somewhere earlier in the build
and the taint being reset.
Change the code so that nostamp taints are preserved to avoid the issue.
(Bitbake rev: 61624a3fc38e8546e01356d5ce7a09f21e7094ab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen cases where a task can execute with a given pid, complete
and a new task can start using the same pid before the UI handler has
had time to adapt.
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/qemux86-alt/build/bitbake/lib/bb/ui/knotty.py", line 484, in main
helper.eventHandler(event)
File "/home/pokybuild/yocto-worker/qemux86-alt/build/bitbake/lib/bb/ui/uihelper.py", line 30, in eventHandler
del self.running_tasks[event.pid]
KeyError: 13490
This means using pids to match up events on the UI side is a bad
idea. Change the code to use task ids instead. There is a small
amount of fuzzy matching for the progress information since there
is no task information there and we don't want the overhead of a task
ID in every event, however since pid reuse is unlikely, we can live
with a progress bar not quite working properly in a corner case like
this.
[YOCTO #13667]
(Bitbake rev: e427eafa1bb04008d12100ccc5c862122bba53e0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures cmake uses the correct python binary rather than
potentially, the host system one.
(From OE-Core rev: afb8d456360d86254ab00f05866c34d947d02749)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These aren't needed and just enlarge the patch.
(From OE-Core rev: ba540681ee2965c7222b9725f3755d5e8496f844)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Run gettextize and autoreconf and fix up the resulting problem so that
it builds more-or-less cleanly and "make dist" works. Some of the
existing patches that contained particular point fixes are now rolled
into a single big patch.
(From OE-Core rev: b045f83519807d645a22f74c590c037a4ebc4fbe)
Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Zstandard (or just Zstd) compression support. This allows to
create Zstd compressed tarballs by using tar.zst as IMAGE_FSTYPES.
(From OE-Core rev: 77e0f502020085875bbc74da66815c89f19a9351)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency isn't in OE-Core so we need to disable this test.
(From OE-Core rev: 3646499cb34e91c1d012d057eedfdeff08a4f06c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop both patches as they are no longer necessary.
Rewrite ptest support as it has been refactored upstream.
Ptest results:
TOTAL: 67
PASS: 59
SKIP: 8 (due to missing valgrind)
(From OE-Core rev: bd40260cbacf660e7390f4f5ef5e096e75774b05)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add libtasn-native dependency as meson builds need asn1Parser executable.
(From OE-Core rev: 3d80c598b0677e84c493ff1a928653ded843e0ba)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a couple patches to address ppc(64) build failures.
License-Update: copyright years
(From OE-Core rev: 9aab37ac40c8da5121a931f5979fcc88489021d2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports.
Drop 0001-gen.c-extend-DIRNAMESIZE-from-256-to-512.patch and
0001-lib-dns-gen.c-fix-too-long-error.patch as problem is fixed
upstream.
(From OE-Core rev: 6965ec5c491e71d5951dfb58fc060bd0b717e33d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit bc66b2f45a added systemd helper
unit for automatic IPv4 rule loading. Complement the effort by adding
systemd helper unit also for automatic IPv6 rule loading.
(From OE-Core rev: 3b8df6b6aba3632de7c3c01c8468fbcedb032493)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases a distribution may want to install rules file into a
location other than /etc/iptables/ so introduce custom recipe-level
IPTABLES_RULES_DIR parameter which allows conveniently overriding
the rules directory location.
(From OE-Core rev: 64eeedcdc586c221e3684861ba85e8e4bc9c5dd1)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce cosmetic changes to recipe content, most notably
- Change indentation style to four spaces in task statements
- Reorder several entries according to oe-stylize.py suggestions
(From OE-Core rev: c1d162b6165f11b7b5ae5c6066e7683d5e1379fc)
Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the pthread.h header is found, make sure library containing
"pthread_atfork" is added to the list of libraries against which to
link. On some hosts (e.g. openSUSE 15.1) "-lpthread" needs to be
explicitly added in order for the code to compile correctly.
We already had a workaround for this for native builds, but using some
external toolchains, we can be bit by this for the target recipe as
well.
Most of this is courtesy Trevor Woerner <twoerner@gmail.com>, via his
patch at stevegrubb/libcap-ng#10, the last thanks to Khem Raj.
(From OE-Core rev: 8d84fdea1c26ed5f8f8261c89070df44da3f1855)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't particularly change performance but allows users to have
build speedup doing rebuilds during local development so should be
useful and enabled by default.
(From meta-yocto rev: 6a6a8cb38899ee4c09bb2592a67085b422b6b525)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Based on the hashserv's new ability to accept hash mappings, update runqueue
to use this through a helper function in siggen.
This addresses problems with meta-extsdk-toolchain and its dependency on
gdb-cross which caused errors when building eSDK. See the previous commit
for more details.
(Bitbake rev: 39098b4ba2133f4d9229a0aa4fcf4c3e1291286a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reason for this should be recorded in the commit logs. Imagine
you have a target recipe (e.g. meta-extsdk-toolchain) which depends on
gdb-cross. sstate in OE-Core allows gdb-cross to have the same hash
regardless of whether its built on x86 or arm. The outhash will be
different.
We need hashequiv to be able to adapt to the prescence of sstate artefacts
for meta-extsdk-toolchain and allow the hashes to re-intersect, rather than
trying to force a rebuild of meta-extsdk-toolchain. By this point in the build,
it would have already been installed from sstate so the build needs to adapt.
Equivalent hashes should be reported to the server as a taskhash that
needs to map to an specific unihash. This patch adds API to the hashserv
client/server to allow this.
[Thanks to Joshua Watt for help with this patch]
(Bitbake rev: 674692fd46a7691a1de59ace6af0556cc5dd6a71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test was failing to split the URL list to individual URLs, so if
SRC_URI is something like this then the test incorrectly triggers:
SRC_URI = "git://github.com/foo http://example.com/archive/foo"
Fix this by splitting the SRC_URI list and iterating through the URIs
one at time.
[ YOCTO #13660 ]
(From OE-Core rev: ddd2c5624404848ee668dabec0f61599ab5003e4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix this error seen when using dosfsck -l to list fs contents:
CP437: Invalid argument
(From OE-Core rev: 8a5fdac3c2d207b2cfac64ec2a2626c3ef154d84)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This project doesn't require target flex or bison, just the natives,
and it uses m4 explicitly in its configuration.
(From OE-Core rev: a1c227ad41b091aaf9c53750554a17beae54b4cb)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's already a variable for "the host python to use during the build
when cross-compiling", so there's no need to add another.
(From OE-Core rev: 1ede9777478469fbdb633782e0ffb2ae68b1a578)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use EXTRA_OECONF and CACHED_CONFIGUREVARS as nature intended.
(From OE-Core rev: 260804462766116941a1d9100ef8be3e66b93300)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upgrade from 2.7.3 to 2.7.9 in oe-core cb02ecb introduced some
copy-paste errors which inadvertandly disabled the generation of
optimised bytecode (.pyo files).
Restore the intended behaviour and bring back .pyo files.
(From OE-Core rev: f49077af44969212530a7f1b5cb9370fefb85434)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The manifest parsing code was only adding .py and .pyc paths to FILES,
generalise the latter to .py? so it catches .pyo files too.
(From OE-Core rev: 1e0ef76dcccfa10cdf473670acd2c52332bb3412)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of passing the same five variables to oe_runmake repeatedly, add them to
EXTRA_OEMAKE once.
(From OE-Core rev: c4ae09134732e4e95f17d6e572756bec49a9e3d0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no need to patch in HOSTPGEN when we can just override PGEN directly.
(From OE-Core rev: d274a3d3bd90d8726752c3a18bc15fdf6bc2f37d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python3-misc is not in the manifest file
so it needs to be added explicitely to RPROVIDES_class-native.
(From OE-Core rev: 95c6a1180f14e1db815ff92f7a1dce8506bdb294)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python-misc is not in the manifest file
so it needs to be added explicitely to RPROVIDES for native class.
(From OE-Core rev: f6164cc210d584efb702445dcd2167aa352b40af)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the native(sdk) sysroot path from leaking into configargs.h. The
configargs.h header is intended to be static and unchanged as the
content is used as a means of determining that a gcc plugin is built for
the same gcc. This also effects the output of 'gcc --version'. Due to
per recipe sysroots and staging, the sysroot path would be replaced with
the sysroot local to the recipe thus changing the content of
configargs.h.
The sysroot path is replaced with a generic "/host" prefix which
represents the host sysroot (e.g. native or nativesdk).
(From OE-Core rev: 84a78f46d59447eeec3d69532a7506148f64c979)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without relocating PREFIX/EXEC_PREFIX the system can not do runtime
relocation for the path to the usr/lib/gcc directory, and other components.
While this is not a normal or supported use-case it does work in the upstream
gcc. This is difficult to test with the regular OE SDKs, as it requires
running the components with the correct LD_LIBRARY_PATH and ld.so.
Without this update, gcc will typically not be able to find the gcc
provided include file for stddef.h and similar. This is due to certain
relocations being based on the PREFIX and/or EXEC_PREFIX locations which
are hardcoded at compilation time.
(From OE-Core rev: b879fe730bc2cbce99704705cb53fa9ee958b311)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When kernel-devicetree is in RRECOMMENDS such as via variable
MACHINE_EXTRA_RRECOMMENDS for some bsp, it shows QA warning of multilib:
| WARNING: lib32-packagegroup-base-1.0-r83 do_package: QA Issue:
| lib32-packagegroup-base package lib32-packagegroup-machine-base
| - suspicious values 'kernel-devicetree' in RRECOMMENDS [multilib]
Add kernel-devicetree to exceptions to fix the QA issue. Because there
are already 3 kernel related criteria, simplify them by judging package
names whether start with 'kernel-'. And also refactor to remove
duplicate 'not'.
(From OE-Core rev: 5e4504026c6358c7d5649843dc354247f5972558)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following errors for newlib and baremetal libcs:
ld: unrecognized option '--hash-style=sysv'
ld: unrecognized option '--hash-style=gnu'
(From OE-Core rev: 8ae998fa8dd216d008cc9ddbea98bbb945501e41)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When follow the instructions of multiconfig from Yocto dev manual that
set in core-image-sato recipe:
do_image[mcdepends] = "multiconfig:x86:arm:core-image-minimal:do_rootfs"
it show too many annoying warnings look like:
| WARNING: Deferring mc:x86:virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot
| after mc:arm: virtual:native:/buildarea6/kkang/poky/meta/recipes-support/libxslt/libxslt_1.1.33.bb:do_populate_sysroot
Treat them as infomations rather than warnings.
(Bitbake rev: 0fb4b5153237af4a13b2c65711ab798b0de06c2f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is essential for sensible use of hash equivalence which we also plan
to enable by default in the next release.
(From meta-yocto rev: aa1405c864b1dda82da5bea0c5b96bcb9ca1aea0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
traceback2 adds traceback for python2. Rather than depend on traceback2, we're
python3 only so just use traceback.
This caused breakage in oe-selftest -j which uses testtools on the autobuilder
using buildtools-tarball.
[YOCTO #13652]
(From OE-Core rev: ee80a06c107375e3cf0d246ea17c09dda4536dab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm 4.15 no longer allows it, which makes sense.
(From OE-Core rev: 017d0f34619cf56dd223ba8c075af5f7e128e61b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're about to need to use this variable in the main include file so
restructure the users of it to all set it appropriately.
(From OE-Core rev: 4a247e7c961286cbed73b6dc0f4074ecf856402a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When cross-compiling Python 2 you need a native pgen binary, but the cross
recipe can't do this on it's own so we build it in python-native and install it.
The rule to build pgen was also causing a complete rebuild of all of the
generated sources, which meant that building Python 2 needs a *host* Python 2.
This can be fixed by simply building pgen, as this is all we need to install.
[ YOCTO #13645 ]
(From OE-Core rev: 04f7e28963b413b88724c80f67787b440793570e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSE file contains all the license information so there is no
need to also include it from the png.h file (and additionally some
lines were left out from the latter).
License-Update: Remove duplicate license information
(From OE-Core rev: 5a0df07de5f18e701bdcb6004c9883838cb0d5c9)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 11ec4435da94e345d98fc7a9077c1fce526b5f71)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 2fbb2d74042902b91aa29c0719bca105de644bdd)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids including irrelevant information when calculating the
license checksum.
License-Update: Trim the text part used for the license file checksum
(From OE-Core rev: 714d9a89dde0bbb10cf3aca8c0635c593b249a6b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 new test cases are added to cover the various archiver modes
documented at the top of archiver.bbclass. Each test sets the
appropriate configuration options, runs the `do_deploy_archives` task
for the selftest-ed recipe and checks for the presence of the expected
archive file.
(From OE-Core rev: d3bf1012e918109e958cf78c89feda0f4dfe17c5)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
currently 'wic cp' only works for copy file from local storage to
wic image.
enhance 'wic cp' to copy file/directory from wic image to local storage.
include selftest and 'wic help' updates.
[YOCTO#12169]
(From OE-Core rev: bd669c1809a378f93580eb9e0679a26ec6746cb8)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a combined backport from upstream patches for added risc-v
support
Upstream code has been re-organised before risc-v support was added to
its mix of two commits
primarily
171b533800680a752c83
(From OE-Core rev: 7356ae622bd71ba1a022a9ed18c4cf085e948b38)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Find lists files in the order that the filesystem has registered them,
which can vary. Adding a sort should have minimal performance impact.
Also use the --reproducible option to cpio.
(From OE-Core rev: 930c1f69c928e21bda6bef7aad926d335195e107)
Signed-off-by: Ernst Sjöstrand <ernst.sjostrand@verisure.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the GccCrossSelfTest testcase into separate testcases for 'gcc'
and 'g++' respectively. In order to split them use the "check-gcc-*"
language make check targets.
(From OE-Core rev: 84cc08942fd3d17fb603e90f362a1ee5653a225d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all QEMU machines are capable of having more than one serial port,
this is due to the machine emulating a physical device/board.
Rework QemuRunner to handle machines that only have 1 serial port, where
the serial port shares output of the kernel log buffer and a login
console. In this case the output is mixed but enables the machine to
boot and have QemuRunner detect the login prompt.
QemuTarget uses SERIAL_CONSOLES to determine the number of available
serial ports.
(From OE-Core rev: 333897c4a00b41681ffe34312a08cae09274327e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make sure that the (newer) /dev/pts/ptmx is accessible by users. This
is useful e.g. when running containers which symlink /dev/ptmx to
/dev/pts/ptmx on start. The default mode (000) does not allow to
create ptys inside the container.
Using 666 when symlinking /dev/ptmx is also recommended by the kernel
documentation when /dev/ptmx is symlinked:
https://www.kernel.org/doc/Documentation/filesystems/devpts.txt
Also buildroot uses ptmxmode=0666. The patch introducing the change
explains related use cases why this is necessary a bit more in depth:
8196b299ba (diff-2d4604b9e565eb19fa52ce31f282f06c)
(From OE-Core rev: c999bc5ddd9beb5274f77b885e2ac71205e42266)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is python gdb script for static libstdc++ archives as well
fixes
ERROR: gcc-runtime-9.2.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
/usr/lib/libstdc++.a-gdb.py
(From OE-Core rev: 9becb6c1ea68096930fe77cc0e4126ff204d0592)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/13.0/
Dropped intltool-native from DEPENDS. The .desktop file translations
don't need intltool any more, gettext is enough.
Dropped upstreamed patches:
0001-alsa-Fix-inclusion-of-use-case.h.patch
0001-introduce-a-special-build-flag-to-explicitly-disable.patch
Added a new package: pulseaudio-pa-info. It contains the new pa-info
script.
BlueZ 4 support was removed in this version. That's not visible in the
recipe, but I noticed that the BlueZ 4 modules were still being built in
12.2, since they hadn't been explicitly disabled in the recipe.
(From OE-Core rev: e4b9e98100cdeb74d4898afcab2d76f2e0855960)
Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In most cases, the RPATH is stripped out when the ELF file is packages,
but by then the damage is done from a reproducible perspective because
this absolute path is hashed as part of the build-id generated at link
time ([1] has a good explanation). Fortunately, newer cmake has an
option to generated relative RPATHs that use $ORIGIN to set the path, so
set it in the toolchain file.
[1]: https://gitlab.kitware.com/cmake/cmake/issues/18413
(From OE-Core rev: 44e77d3f97af4cd4ad8bc0984f093a116a830986)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a patch to fix to make the -src packages reproducible
(From OE-Core rev: 42458635b52f5cff6448d7440a44b03114e6842d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch to fix the build reproducibility of the -src package.
(From OE-Core rev: 372793803f31ccd7cfa8c6cc79cb2340b0ebc3d3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
librsvg was encoding the path to the build directory in order to find a
font file for testing. This wouldn't work in OE anyway since the build
directory isn't present at that exact location on the target, so remove
the offending path to make the build reproducible.
(From OE-Core rev: b79a2cec587a1f9f3d6a6f979f5c5504baccd75f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not reset libdir and base_libdir in sysroot_strip, and just pass crude
paths as they will be reset later in strip_execs.
(From OE-Core rev: eab7f448aa537539b45ee21df4ea25de97e60a7e)
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use upstream systemd service files instead of our own service files.
This also makes sure that /run/rpcbind.sock is used which fixes the
following systemd warning:
/usr/lib/systemd/system/rpcbind.socket:5: ListenStream= references a
path below legacy directory /var/run/, updating /var/run/rpcbind.sock
\xe2\x86\x92 /run/rpcbind.sock; please update the unit file accordingly.
(From OE-Core rev: ad08385393bb0d072f2f27f5a189041037e06195)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a hash is reported to the hash server, the stamp written out by the
current task didn't account for any new hash the server may have provided.
Fix this so the correct stamp is written. This means "bitbake X; bitbake X"
no longer rebuilds lots of things when hashequiv is active.
(Bitbake rev: 9dc5178f56ab8ae37e1a646c09117c503e48d072)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setscene hard dependencies were not being correctly handled during task migration.
For example, do_package of recipe X might become valid due to hashequiv yet we're
still rebuilding pseudo-native, a harddep of do_package. This would mean
it would try to execute that setscene task despite pseudo not being present.
Fix this by ignoring tasks with failed harddependencies. This does mean
stlightly more rebuilds than is optimal but it avoids build crashes. Ultimately
the new runqueue model can likely better handle these cases than the older codebase
could but that is for another more invasive patch.
(Bitbake rev: 0dc61e8b9964f7fe41d51b6a481ca7aeaacd8bce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server is now restarting when running commands which doesn't make
sense. Only restart if its configuration has changed. This should
potentially fix various memory resident bitbake usages too.
(Bitbake rev: 0d2c67abf8c92386802eccfbb6b124dd65597941)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As a recipe for zbar was added 2016-12-26,
we can add an option in PACKAGECONFIG for it.
(From OE-Core rev: 655e46772c7f93469e42e791037013338bdcf787)
Signed-off-by: Norbert Wesp <n.wesp@phytec.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A flaw was found in all versions of ghostscript 9.x before 9.28,
where the `.charkeys` procedure, where it did not properly secure
its privileged calls, enabling scripts to bypass `-dSAFER` restrictions.
An attacker could abuse this flaw by creating a specially crafted
PostScript file that could escalate privileges within the Ghostscript
and access files outside of restricted areas or execute commands.
References:
https://nvd.nist.gov/vuln/detail/CVE-2019-14869
Upstream patches:
https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=485904
(From OE-Core rev: 0bb88ac63b4e1728373c6425477a32f7a6362b2c)
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_configure() essentially calls autogen.sh to generate some sources and then
autoreconf, but autogen.sh also calls autoreconf.
Pass a magic variable so that autogen.sh doesn't autoreconf for us.
(From OE-Core rev: 19e18446c09fef14c3dd54b0de12a8d21b280c93)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Grub uses pkg-config but is only in the sysroot via dependencies. Be explicit
and inherit pkgconfig directly.
(From OE-Core rev: 6cdf9a0712b136a1002e8a814274e23ee7a5f06d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For cross-platform, chkconfig can't work, so should remove check for it.
This can only be reproduced on some platform with chkconfig(e.g. CentOS
Linux release 7.2.1511), and need with --enable-install-cron and without
--enable-copy-only.
Fixed:
| if [ "n" == "n" ]; then \
| if [ -x "/usr/sbin/chkconfig" ]; then \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/init.d && /usr/sbin/chkconfig --add sysstat; \
| else \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d; \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d; \
| [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d ] || mkdir -p /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc2.d && ln -s -f ../init.d/sysstat S01sysstat; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc3.d && ln -s -f ../init.d/sysstat S01sysstat; \
| cd /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d/rc5.d && ln -s -f ../init.d/sysstat S01sysstat; \
| fi \
| fi \
| elif [ -d /path/to/tmp/work/corei7-64-wrs-linux/sysstat/11.1.5-r0/image/etc/rc.d ]; then \
| ...
| fi
| error reading information on service sysstat: No such file or directory
| Makefile:382: recipe for target 'install_all' failed
(From OE-Core rev: d193caa4bd94661b87393719d72d6e9cacc60439)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests that use at and acl tool were removed in release 20190115.
See ltp commit 0fc9b8624bea8acfdb408bf5ff4916b1453e3daa
(From OE-Core rev: 256479b01b6dfdd1e2a35f41a5fbcde799ba2742)
Signed-off-by: Joerg Vehlow <joerg.vehlow@aox-tech.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has a patch that replaces "install -s" with an INSTALL_STRIP
make variable, which can be used to replace the custom patch being
carried.
License checksum change was due to a date in the license text being
updated. The actual contents are unchanged.
(From OE-Core rev: 0f261c26131b24f2b39c51232132dd9ace546c96)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The last user of this obsolete recipe (abandoned upstream in 2010, removed from
oe-core build dependencies in 2012) has now been deleted from oe-core, so delete
the recipe too.
(From OE-Core rev: 3be906bad55fb44228a2aa2b8fa3c567c3d01b83)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
texi2html isn't a build requirement and hasn't been since 2012 (oe-core
aa1c451).
(From OE-Core rev: 362fcae816e6985193c06e3848c20b6fa0bd1180)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Very little software needs intltool to build, and we don't need it on the host
to build Poky.
(From OE-Core rev: 0ba27bd08e9e5b20edbcb00316f785184c9d9fc7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Intltool is deprecated these days, as gettext can handle almost everything
intltool could. Remove it from the SDK packagegroups, if it is needed then the
user can add it explicitly.
(From OE-Core rev: 52558efc0f401b665e5060c51d956e2337c47da8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The last release of this was in 2002(!), kbd is the modern,
supported alternative.
(From OE-Core rev: 320319f24dd1be300bc89c52b97d1703eab83029)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add default values for go environment variables to go-common.inc.
Override where appropriate in other go*.inc files, and use
host/target tuples from goarch for setting CC flags.
(From OE-Core rev: 1e3f040b1f68fa1f808851ecd9623544e935e9ad)
Signed-off-by: Alex Kube <alexander.j.kube@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The opkg-utils change didn't trigger a full repackage due to its mention
in layer.conf for update-alternatives hash exclusion. Do it manually
to invalidate broken ipks.
(From OE-Core rev: 6dd59dffd73618e4c0979b284a7968055a4eb8fb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Older versions break opkg-build when reproducible builds are enabled.
Rather than trying to be selective based on which features are enabled,
lets just make this a minimum version.
(From OE-Core rev: 0fdc43da005c3c6102cf07383ad6f451d2203fa5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The key problem is that currently running setscene tasks are not
accounted for when processing task migrations. This means can allow
two of the same task to execute at the same time with unpredictable
effects.
This change allows us to stop doing that and refactor the code slightly
to make it clearer that these conditions don't arrive even with
deferred tasks.
(Bitbake rev: ac1922d348613ca46a1047ad5ddf755eac16d568)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move bitbake.vim from bitbake/contrib/vim/indent to contrib/vim/indent.
(Bitbake rev: d2654a4ad8b0b885feac697448128baf7bf8a1c9)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/fetch2/clearcase.py:148: SyntaxWarning: "is" with a literal. Did you mean "=="?
if command is 'mkview':
bitbake/lib/bb/fetch2/clearcase.py:155: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif command is 'rmview':
bitbake/lib/bb/fetch2/clearcase.py:159: SyntaxWarning: "is" with a literal. Did you mean "=="?
elif command is 'setcs':
Python 3.8 is quite correct and we so mean "==" here, fix it to
avoid the warnings.
(Bitbake rev: 1fab03f6e10eaa13b8a89ce0b2f9fe8ce5157189)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
md5_file() uses a mmap() window to improve performance when hashing files, so
refactor the code and do the same for SHA1 and SHA256.
(Bitbake rev: ecf87437ff796e17c3e4f210b5803b0136a9e8a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Less was coming from busybox in these images, add the full version.
[YOCTO #13630]
(From OE-Core rev: 42047185d55fc878821defec4908b119884d3d07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
opkg-build was failing on hosts where tar < 1.28 and reproducibile builds
were enabled but it was doing this silently and generating corrupted
(empty) ipk files. Add a fix for this (submitted upstream).
The fix requires bash but if you're building ipk files this shoudn't be
a problem.
(From OE-Core rev: ff9ec19b02650a3ae230e4d1bdc99ec686cc4c81)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An ipk with a zero size data.tar file caused opkg to crash with a
double free abort. Add the upstream fixes for this.
(From OE-Core rev: aa17a8096263934f5c1877f3ef749df595486a9c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the reproducible_build class is inherited then there may be a
"source-date-epoch" subdirectory in a fetched source tree; devtool
upgrade was not expecting that in the upgraded source. Take a small
snippet of code from recipetool create which already handles this,
and make it a shared function that can be used in both places.
Additionally, fix an assumption that the source is always in a
subdirectory in the cleanup code that blocked debugging this.
[YOCTO #13635]
(From OE-Core rev: 0d642861cd9cf034b8d4951433980addc215d4fd)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should be no longer needed. if needed then meta-clang might be
better suited
(From OE-Core rev: ad9dd755646fdb42b88440e9464f1d94e244c316)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a regression in this functionality that went unnoticed
due to lack of tests.
(From OE-Core rev: a75e4eceb703b2b13ddd4ba3dea3a86af0b0a9eb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code used to construct a single SQL statement that fetched the NVD data for
every CVE requested. For recipes such as the kernel where there are over 2000
CVEs to report this can hit the variable count limit and the query fails with
"sqlite3.OperationalError: too many SQL variables". The default limit is 999
variables, but some distributions such as Debian set the default to 250000.
As the NVD table has an index on the ID column, whilst requesting the data
CVE-by-CVE is five times slower when working with 2000 CVEs the absolute time
different is insignificant: 0.05s verses 0.01s on my machine.
(From OE-Core rev: 53d0cc1e9b7190fa66d7ff1c59518f91b0128d99)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove obsolete Python 2 code, and use convenience methods for neatness.
(From OE-Core rev: f19253cc9e70c974a8e21a142086c13d7cde04ff)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A previous optimisation was premature and resulted in false-negatives in the report.
Rewrite the checking algorithm to first get the list of potential CVEs by
vendor:product, then iterate through every matching CPE for that CVE to
determine if the bounds match or not. By doing this in two stages we can know
if we've checked every CPE, instead of accidentally breaking out of the scan too
early.
(From OE-Core rev: d61aff9e22704ad69df1f7ab0f8784f4e7cc0c69)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
urllib handles adding proxy handlers if the proxies are set in the environment,
so call bb.utils.export_proxies() to do that and remove the manual setup.
(From OE-Core rev: 6b73004668b3b71c9c38814b79fbb58c893ed434)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create an index on the PRODUCTS table which contains a row for each CPE,
drastically increasing the performance of lookups for a specific CVE.
(From OE-Core rev: b4048b05b3a00d85c40d09961f846eadcebd812e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the database filename, there's a variable for this in
cve-check.bbclass.
(From OE-Core rev: 0d188a9dc4ae64c64cd661e9d9c3841e86f226ab)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As upstream has released a new stable version,
the exception is no longer needed.
(From OE-Core rev: fa99c061275cd96cf375ff60d1c73a6e818dca25)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 41d225f4a3.
Unfortunately this change broke 'devtool upgrade' functionality,
causing 'devtool finish' to write out an upgraded recipe that no
longer includes the original upstream source in SRC_URI.
(From OE-Core rev: 2d6e55192dba0bf7f6e23e5ab5b3dbc68835bb28)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports, rebase a couple of patches.
This is the second last release of py 2.x; upstream support ends on
1 January 2020, there will be one final 2.x afterwards.
Note that the only thing that still needs python 2.x in oe-core is
u-boot; when the next u-boot update arrives, we should find out
where the py3 migration is for that component before merging the
update.
(From OE-Core rev: 184b60eb905bb75ecc7a0c29a175e624d8555fac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extra diretory created by reproducibile_builds was confusing recipetool
and hence devtool. Ignore this directory to restore the correct behaviour and
allow it to work with the class.
(From OE-Core rev: 188ba30ef290efab6d5a9b95fba8e991b779ab33)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
inherits can be unset resulting in:
UnboundLocalError: local variable 'inherits' referenced before assignment
which can mask real errors. Avoid this.
(From OE-Core rev: 29a0502e101ed0667e960f9f8591b0a2d60a4bcb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a native recipe so won't be installed as root.
If the string 'root' is part of the username then the install script
can get tricked into thinking we are root (regardless of the actual
uid or permissions) resulting in attempts to run chown/chgrp
inappropriately.
(From OE-Core rev: 5db7b80140410cd3c164e4522dc87df92fac93b0)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ltpstress was removed in Oct 2018
e752f7c196 (diff-5231627fc8640e0adb955f9e69c3c08d)
Remove LTP stress tests
ltpstress.sh runs stress.part[1-3]. But these runtest files just
duplicate definitions:
* stress.part1: fs, mm, nfs
* stress.part2: ipc, math, nptl
* stress.part3: net.multicast, pty, syscalls
The definitions are outdated anyway. There is no point trying
to keep them sync.
(From OE-Core rev: 85b3f9ef568a8a11569898c6637b0e80c057fbfb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
done as part of IncompatibleLicensePerImageTests
(From OE-Core rev: b6e66d388001cdbb833a18056781f69a6f8c82fb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit: d336110b94 boost: update to 1.67.0
dropped the patch that ensured boost doesn't over-ride the architecture flags
set by us resulting in errors:
| build/tmp/work/x86_64_x32-poky-linux-gnux32/boost/1.69.0-r0/recipe-sysroot/usr/include/bits/long-double.h:44:10: fatal error: bits/long-double-64.h: No such file or directory
| #include <bits/long-double-64.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
Remove the relevant part from gcc.jam again to ensure we are passing
them correctly again.
Fixes [YOCTO #13598]
(From OE-Core rev: aad28f42b1c8aa1335c040630ebff4a69be07e35)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade mesa and mesa-gl to 19.2.4.
The license hash change was a trivial new line removal.
The glx-tls option was removed as it isn't included in the meson.build
file. It has been replaced with 'use-elf-tls' instead.
I have backported the asm removal as an attempt to fix the musl build
issue.
(From OE-Core rev: 82c2acc1f658f039becac04aa3dae696418bd1de)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
selftest to make sure wic rm with -r flag for ext partition
could remove directory and all its content.
(From OE-Core rev: d7ccbb393a71501424b7c0d4c1d78e4bac1ecccf)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic currently unable to remove non-empty directory in ext* partition.
enable wic rm to remove non-empty directory and all the sub-content
with -r flag.
update help documents for 'wic rm'.
[YOCTO #12404]
(From OE-Core rev: 5cb7a329d0aaac8fe5328eb2001692c540aa5ade)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 50-systemd-user.sh which is packaged to sub-package
${PN}-xorg-xinitrc, it exports environment variables DISPLAY and
XAUTHORITY to systemd. It fails to start systemd services which require
these environment variables such as thunar.service:
root@qemux86-64:~# systemctl --user status thunar
● thunar.service - Thunar file manager
Loaded: loaded (/usr/lib/systemd/user/thunar.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:Thunar(1)
Nov 14 07:47:29 qemux86-64 systemd[352]: Starting Thunar file manager...
Nov 14 07:47:29 qemux86-64 Thunar[873]: cannot open display:
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Main process exited, code=exited, status=1/FAILURE
Nov 14 07:47:29 qemux86-64 systemd[352]: thunar.service: Failed with result 'exit-code'.
Nov 14 07:47:29 qemux86-64 systemd[352]: Failed to start Thunar file manager.
It is not convenient to make all such kind of packages require package
${PN}-xorg-xinitrc, so remove the sub-package and merge the only file
provided by it to main package.
No recipe depends on ${PN}-xorg-xinitrc in oe-core and meta-openembedded
now, so no need to set rprovides for it.
(From OE-Core rev: 9b7d65aa52171cb559cc12ca3fdeaee54b9022c1)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Besides checking DISTRO_FEATURES for required or conflicting features,
being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also
be useful at times.
Temporarily support the old class name with a warning about future
deprecation.
(From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should have been removed together with expanded_data in commit
e3694e73 (cooker/command: Drop expanded_data).
(Bitbake rev: 33197db8abf82be240d7c1c5c9d2484a08a90849)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With PRSERV_HOST = "localhost:0", this message would occasionally pop up
during the initial cache read:
WARNING: /home/matic/ambayocto/poky/bitbake/lib/bb/cache.py:446: ResourceWarning: unclosed <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 45655)>
value = pickled.load()
The file location stated is irrelevant; it just happens to be wherever
CPython decides to run the garbage collector. The issue is that after we
fork off a PRServer, self.socket is also duplicated. The parent side of
it also needs to be closed.
(Bitbake rev: c45b0140c37f2d68c4fa08cd17f0321b8d6524a8)
Signed-off-by: Gavin Li <gavin@matician.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some installation rules have been seen to run chgrp for native recipes
which leads to 'Operation not permitted' errors. To prevent this we
need a chgrp intercept script to go with the existing chown intercept.
(From OE-Core rev: dfb3b566412fb704c5ce67c2dec74c5b1a20921f)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that its using linux headers for matching the syscall
structures
(From OE-Core rev: 3f91512ffc8c1c3374b3a67df5f86e884c78d7a1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes a race where it tries to build version res file in build directory
before it has even been created. Prevents intermittent errors on
autobuilder when building for mingw:
| /bin/bash ../SDL2-2.0.10/build-scripts/updaterev.sh
| /bin/bash ../SDL2-2.0.10/build-scripts/mkinstalldirs build
| mkdir -p -- build
| x86_64-pokysdk-mingw32-windres --include-dir=/home/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-libsdl2/2.0.10-r0/recipe-sysroot/opt/poky/3.0/sysroots/x86_64-pokysdk-mingw32/us
| /include ../SDL2-2.0.10/src/main/windows/version.rc build/version.o
| x86_64-pokysdk-mingw32-windres: build/version.o: No such file or directory
| Makefile:692: recipe for target 'build/version.o' failed
| make: *** [build/version.o] Error 1
| make: *** Waiting for unfinished jobs....
| touch build/.created
| WARNING: exit code 1 from a shell command.
(From OE-Core rev: 1cb3c64b70e0b16aabd2fe9cd6012564165ac476)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libedit/0001-readline.c-fix-cannot-get-history.patch
Removed since this is included in 20191025-3.1.
(From OE-Core rev: a29bb560de072e669835e16d65ef50b72583a081)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xserver testing is done at runtime and selftest via sato image
(From OE-Core rev: 0146b3a0b60f54fa6ea84461e4ced6fae59aafa7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some test should not be run in QEMU systems so
add some checks to make that easier
(From OE-Core rev: 1b1e53c4ad33a71d526887d1133598f255a476ec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There have been a number of changes back and forth as to when and how
to use the systemd unit files provided by the package. The correct
condition is actually that both cron and systemd need to be enabled
for them to be installed.
(From OE-Core rev: d6c975160197f67937dfbe91b08100b0f597c589)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 8862f21e (sysstat: 12.1.3 -> 12.1.6), sa_lib_dir was changed
from "${libdir}/sa" to "${libexecdir}/sa" to avoid problems with
multilib. However, the systemd unit file was not changed accordingly,
which lead to the following error when trying to start the service:
systemd[4698]: sysstat.service: Failed at step EXEC spawning
/usr/lib/sa/sa1: No such file or directory
(From OE-Core rev: 0fd691b9801b5313ff2e2c2cd5ca13fd50063235)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes some issues with reproducible builds. Adds a patch to allow the
configure arguments to be omitted from the build and also explicitly
setting some autoconf paths that were picking up hosttools.
(From OE-Core rev: f54d60ee8f15229aa515e168b9c7d248663b48fe)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Icecream environment creation script runs when the SDK is installed
and uses patchelf to fix up executables. Rather than rely on the host
system to provided patchelf (which often can be older versions that
produce buggy executables), mark the OE version of patchelf as a
dependency of icecc-create-env when included in the SDK.
(From OE-Core rev: b0293d9734372c90a0b4eec7967b55e0db96102e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the option to add extra test environment data to the
configuration of each test result (as optional).
Example of optional test environment data include:
- custom packages included for runtime test
- detail machine specification used as target
- detail host environment used for bitbake
(From OE-Core rev: 3cc887a72c5726024c3699e6a3deb72fad4992a9)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add total passed, failed, and skipped statistic to test result.
(From OE-Core rev: 7ad74f99b6105f23bcf930712627aac279c6af10)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of debugging, report user need to acccess the raw
test result. Instead of going back to source file/directory/URL
to manually pull out the raw result, provide alternative
way to let report showing raw test results by providing
the result id (optional).
(From OE-Core rev: 8b2485bc0d0fa2f72b37e8bafbfa663d456ea98c)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default, report will use the store_map to generate the key
to reference each result set. In some situation when using store_map
with multiple set of tests sharing similar test configurations,
the report will only showing partial result set for results
that having identical result_id (use of multiconfig to run tests
where it generate identical result_id).
Enable report to have the option to use the regression_map (optional)
instead of the default store_map, where it will take larger
set of configurations to generate the key to reference each
result set, this will prevent the report from only showing
partial result set.
(From OE-Core rev: 8577abce6feb1f529537da554d39e86a5b05ca2d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We already fetch the yearly CVE metadata and check that for updates before
downloading the full data, but we can speed up CVE checking further by only
checking the CVE metadata once an hour.
(From OE-Core rev: 50d898fd360c58fe85460517d965f62b7654771a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch scanner works with patch files in the layer, not in the workdir, so it
doesn't need to unpack.
(From OE-Core rev: 2cba6ada970deb5156e1ba0182f4f372851e3c17)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of depending on iasl-native, depend on ovmf-native as iasl was merged
into that recipe some time ago.
bc-native doesn't appear to be a build requirement anymore, and for clarity
merge two overridden DEPENDS into a single DEPENDS.
(From OE-Core rev: 78d2f68a956ff49410b238456ce0a23c5a0667aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream tarballs now have a unified source license of Intel|BSD|GPLv2 and
the old BSD|GPLv2 tarballs are deprecated.
Add the Intel license to the license collection, update the LICENSE field, and
update the license checksum to actually point at a license fragment.
(From OE-Core rev: 84f046187e5794d6723094e3aafab057ea396d3e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been merged to master now, so mark as a backport.
(From OE-Core rev: bf8a5c92f2c2a40150159b811fa9d0a12919d43e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the host system is expected to have enough capabilities that the
buildtools-tarball is not required, we don't need to bundle it.
This can save some significant space, especially when using with a minimal
eSDK.
minimal eSDK - core-image-minimal-qemux86-64
with buildtools-tarball - 34 MB installer - 281 MB installed
without buildtoools-tarball - 11 MB installer - 48 MB installed
(From OE-Core rev: e2b215054d11527a05210066b9bfd7d9a2054e01)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
export OPENSSL_CONF to aviod SDK openssl can not find openssl.cnf.
(From OE-Core rev: 0aaf3dd17dcde959e9c0d62543cb91c9b33551b4)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix parentheses placement in the message from:
Package version for package X went backwards which would break package feeds from (Y to Z)
to this one:
Package version for package X went backwards which would break package feeds (from Y to Z)
(From OE-Core rev: 3a5a61fb6b3f811bd4f7232ba902afcfd2019154)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Busybox's implementation of chown and chmod doesn't provide a
"--reference" option used in the latest version of dhclient-script.
This change works around that limitation by using stat to read
ownership and permissions flags and simple chown/chmod calls
supported in both coreutils and busybox.
Patch submitted upstream to ISC, tracked as bug 48771.
(From OE-Core rev: a311013e1fd0e7b874dfe11bb3cdf4839cd91c9f)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Import issues are encountered for the python3 aifc module,
on images with python3-misc installed:
|>>> import aifc
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.7/aifc.py", line 254, in <module>
|from chunk import Chunk
|ModuleNotFoundError: No module named 'chunk'
|>>>
The chunk module is part of python3-audio. Add python3-audio
to RDEPENDS for python3-misc to fix the error.
(From OE-Core rev: 9f0e61f6ce1d945226b706f4376a762fcc636703)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_ar_recipe fails on perf recipe on line:
include ${@bb.utils.contains('PACKAGECONFIG', 'scripting', 'perf-perl.inc', '', d)}
1. "${...}" part expands into empty string
2. bb.utils.which() takes empty string and returns first directory name from bbpath
3. shutil.copy() fails on copying directory:
Exception: IsADirectoryError: [Errno 21] Is a directory: ......
Hence, check "incfile" variable on each step.
(From OE-Core rev: 3b393da7d2d15de12e2a8a9c11591078b40b188a)
Signed-off-by: grygorii tertychnyi <gtertych@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clean the displayed path so it clearly shows the package name and path in that
package.
(From OE-Core rev: 46bf5f0db164e88c2effdbf5437f4d0836e4aadd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The whole D-Bus source has no reference to the netdev group. It
seems that the netdev group is nowhere used. Early avahi package
versions used this group for the D-Bus specific rules. However,
today avahi uses --with-avahi-priv-access-group=adm and hence
uses the adm group for its D-Bus policy rules.
If a package is using the netdev group in its D-Bus policy rules,
that package should add the group instead.
(From OE-Core rev: 70354028811c874434fe1a54cbdd9a4d2c267350)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that ldconfig may get installed from a feed, use it when it's
available on the target.
(From OE-Core rev: 0f09f19dc48edf2ac50b554c18c217b7f97d4ae3)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only recommend its installation, if it's enabled in distro features.
(From OE-Core rev: fda7cd9328ba26e0023d7ddfaa23f73b59443a08)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Back in 2010[1] we made pseudo statically link against sqlite3. Since then
the world has changed, pseudo now has separate processes for the database
in the server and the client and they have separate linking commands.
Also, whilst there were concerns about needing specific versions of sqlite3,
in the OE environment, this is always the case.
[1] http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ad0ac0ecd38fc77daf42485489fccc10a5e1e3e7
The static sqlite3-native is causing us problems, in particular:
tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+060058bb29-r0/recipe-sysroot-native/usr/lib/libsqlite3.a(sqlite3.o):(.data.rel+0xb0): undefined reference to `fcntl64'
which occurs if sqlite3-native was built on a machine with glibc 2.28 or later
and pseudo-native is being built on glibc before that. With dyanmical linking,
libc is backwards compatible and works but with static linking it does not.
There appears to be no easy way to avoid this other than adding a copy of
sqlite3 into the pseudo recipe. Given the static linking doesn't seem to
be required any longer due to the separate processes, drop that to fix
those issues.
(From OE-Core rev: a0c238d40a9cc1f87da0607fddaaef0c31d93720)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Instead of overwriting the stamp name with 'dummy', handle
setscene promotion in the default case block
* Merge '*do_image_complete_setscene*' and '*do_image_qa_setscene*'
case handling
(From OE-Core rev: 3fe6574c93a02e2e67d16e66f24be1053af383b7)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
harfbuzz binary package size increased from 624608 bytes in yocto 2.5 to
1365431 bytes in yocto 3.0. Most of the size increase is in the new
libharfbuzz-subset.so* library
https://harfbuzz.github.io/utilities.html#utilities-command-line-hbsubset
Split it to its own binary package which will be installed if anyone needs it.
Effect to harfbuzz binary package size is:
-PKGSIZE = 1476271
+PKGSIZE = 1007424
(From OE-Core rev: eb661eaa2067e91b533fb077479be5432b6e586b)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass `--checksum md5` and `--checksum sha256` to opkg-make-index.
Sha256 checksum enables more reliable install-time validation of IPKs.
This is particularly useful when installing from signed feeds --
I.e. feeds using signed Packages index files that deliver otherwise
unsigned IPKs. Such feeds rely on hash validation of enclosed IPKs to
thwart tampering. After download, opkg verifies IPK's checksum against
the (signed) Packages index file. Weak hashes like md5 are prone to
collision and therefore tampering.
The md5 checksum is purely for backward compatibility. Sha256 validation
was recently added to opkg. Newer builds of opkg will use it. Older
builds still look for an md5 checksum. Md5 is deprecated and should be
removed once old build are phased out.
Testing: I ran `bitbake package-index` after building a few IPKs and
verified MD5Sum and SHA256sum attributes are present in Packages.
Using opkg-utils 0.4.0.
Performance Impact: It takes about 40 seconds to cleanly re-index 8000
IPKs on an Intel Xeon E5-1620 machine. This was previously about
20 seconds.
NOTE: It's recommended to delete all Packages* files after applying this
patch. Otherwise, some IPKs won't have sha256.
(From OE-Core rev: e462f47489f35902b6972f9837d9adfa542fc796)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable nativesdk builds of gnupg and it's dependencies (libksba, npth,
and pinentry) to fix builds of nativesdk-opkg.
This is necessary on distribution which enable gpg signature
verification in opkg and also build SDK images that include opkg.
(From OE-Core rev: e935cba0122a93df611c9a846c16b7841b715fd8)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gnupg-gpg is a minimal installation of gnupg with enough functionality
to verify signatures and manage keys. Use this package instead of full
gnupg to slim down opkg installations with "--enable-gpg".
(From OE-Core rev: c0d663da05c5a2c466658246feaa7872756ded2c)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add minimal "gnupg-gpg" package containing just enough binaries to run
gpg and gpg-agent. Add dependency in normal "gnupg" package to preserve
old behavior.
Some applications like opkg don't need all functionality provided by
normal gnupg installations. This minimal package provides just enough
functionality to verify and manage keys in opkg, in order to minimize
disk overhead.
(From OE-Core rev: 6686c64ad30481d4d67af6a7b9bec7e7ae1a83fe)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libevent produces several libraries that might or might not
be used in the end. We can prevent those potentially unused
libraries from being pulled into a file-system by splitting
the individual shared libraries into individual packages.
Because this recipe only provides shared libraries which are
handled automatically by bitbake (shlibs), there is no need
to add the subpackages to the RDEPENDS of PN for backwards
compatibility. The packaging process of dependees will
simply pull in the sub-packages as runtime dependency as
needed.
This also how Debian splits this up.
While updating the packaging, we can also drop event_rpcgen.py
which appears to be a tool for generating rpc bindings, i.e.
something that should normally be in -dev. Given Debian
doesn't package this at all, and given it actually requires
python to run but no runtime dependency is stated at the
moment, it would appear that no users of this exist.
(From OE-Core rev: d10e8384bfa08d928dfec3a00c59006badfc88ee)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add "esp_extra_blocks" plugin parameter so that caller may change
ESP's free space from the default 100 blocks.
(From OE-Core rev: db4be094b0d6741ca4f9e2cbb499fc9c224fa690)
Signed-off-by: Haris Okanovic <haris.okanovic@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the Sun RPC is deprecated in glibc, the rpc header files
are not provided any more, but it allows alternative RPC
implementations, such as TIRPC or rpcsvc-proto, to be used.
So we create the symbol link for rpc header files for tirpc to
be more compatible with the glibc version and the application usage.
(From OE-Core rev: 674596421320de08142e010fdd65ec6f0a0f34e9)
Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From announcement:
What's new in the WebKitGTK 2.26.2 release?
===========================================
- Improve performance of querying system fallback fonts.
- Don't use prgname in dbus-proxy socket path.
- Fix thread-safety issues in image decoders.
- Fix the build with WebDriver disabled.
- Disable accelerated compositing when we fail to initialize the EGL dispaly under Wayland.
- Fill the objects category in emoji picker.
- Fix several crashes and rendering issues.
(From OE-Core rev: 854a9aa2212cc24620c9ad3d24acc52f686b5c1a)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Modern distros (e.g. fedora30) are starting to use the new statx() syscall through
the newly exposed glibc wrapper function in software like coreutils (e.g. the ls
command). Add support to intercept this to pseudo.
(From OE-Core rev: 11694eb59bea347085d6e389df0b46826219c0d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option that can be used to copy the offending packages to a temp
directory for later evaluation. This is useful on the Autobuilder to
investigate failures.
(From OE-Core rev: 54b29bae78d1711074fbd18f0350ef0b83b555d1)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix mercurial fetching after breakage from changes to the core fetcher.
Fix username and password usage and setting moddir needed by setup_revisions.
(Bitbake rev: 8962b27abc68427eae085624f26300108ae88aa1)
Signed-off-by: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake-worker child on the SIGTERM signal handling send the SIGTERM to all
processes in it's process group. In cases when the bitbake-worker child got
SIGTERM after registering own SIGTERM handler and before the os.setsid() call
it can send SIGTERM to unwanted processes.
In the worst case during SIGTERM processing the bitbake-worker child can be in
the group of the process that started BitBake itself. As a result it can kill
processes that not related to BitBake at all.
(Bitbake rev: b97b1ef0b1b00848a4a44b34eca123ccf33188f4)
Signed-off-by: Ivan Efimov <i.efimov@inango-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bibake is currently too 'chatty' when hash equivalence is enabled. Fix
this by only printing the log output if a rehash happens and it matches
an sstate object.
Also, pass a summary option to the hash checking function. This was
already changed to a mechanism which allows addition of new parameters
so this should be backwards and forwards compatible.
(Bitbake rev: 0c4515603ad08775e3b0404cba5374367e49f236)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There isn't anything specific about the target in these cases an in
general recipes should touch CFLAGS. This ensures people don't
copy/paste bad example usages. In reality, behaviour is mostly
unchanged.
(From OE-Core rev: ae6e7dd19b6da81090a38792dfdf31b459290466)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new package for bcm4366c and include available NVRAM config files
into the corrent bcm* packages.
(From OE-Core rev: dde0f79f32fa6bab045ef60199903f74c4cc3393)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
include stdint.h since the test uses uintptr_t C99 type
(From OE-Core rev: b0791cfeeed3d4346ea5c9285f09b0a532c58bf8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this file is supposed be included via endian.h indirectly, moreover
Future musl versions does not have this file
(From OE-Core rev: 3ef6adbc48ea7d5714d04555f3bc80b6e220efa8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests shouldn't be writing to layers during tests as this could corrupt
other tests running in parallel.
Modify the test to write the bbappend to a separate temporary layer
which is added and removed by the test. This avoids race failures
on the autobuilder.
(From OE-Core rev: 467c72ff2c9fe00c40d04d5d859d860fb267499e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its confusing to keep seeing sstate summary messages when hash equivalency is
active. This adds an option to control it. A default value is given which
maintains compatibility with different bitbake versions.
(From OE-Core rev: 038004866ff6650bcff7bb1bde36de6c0f451d29)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if files move between recipes, do_prepare_sysroot can fail with a message like
Exception: FileExistsError: [Errno 17] File exists:
'TMPDIR/sysroots-components/core2-64/libx11/usr/include/X11/extensions/XKBgeom.h' ->
'TMPDIR/work/core2-64-poky-linux/gtk+3/3.24.8-r0/recipe-sysroot/usr/include/X11/extensions/XKBgeom.h'
This is because files are removed and then added per package. What needs to
happen is all removes need to be processed, then all additions.
This patch changes the code to process in two phases, removals first, then additions,
which avoids the problem.
(From OE-Core rev: e3e5ace6e68d5fe68e4add301a44c1a1b8607411)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a weird error in OE-Core where "devtool modify virtual/kernel"
was showing basehash mismatch errors. This was due to SRCPV sometimes being:
AUTOINC+b867b78b50_47b80ef7bd and sometimes AUTOINC+b867b78b50_255a750d28.
The latter hash comes from KBRANCH and meant sometimes the correct branch
was seen, sometimes it was not. The issue was complicated by the execution
using a remote datastore over tinfoil.
The problem turns out to be a fetcher caching error. If the datastore
changes, the cached url data may not be valid.
We therefore ensure we match cached url data against the datastore that
generated it, which appears to fix this issue.
(Bitbake rev: 0540abd338ed2ffd822edbd2947cab2f18873422)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a memory leak that nobody else can replicate and has been rejected by
upstream.
(From OE-Core rev: 2c2f70f0f364474e2d9c7d7e5480e80c77e5dea4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is about race conditions in 'ps' which make it unsuitable for security
audits. As these race conditions are unavoidable ps shouldn't be used for
security auditing, so this isn't a valid CVE.
(From OE-Core rev: b3fa0654abf9ac32f683ac174e453ea5e64b6cb8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is actually a memory leak in gif2png 2.x, so whitelist it in the libpng
recipe.
(From OE-Core rev: 341e43ebd935daeb592cb073bf00f80c49a8ec2d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* they moved to meson build
* all autotools specific patches must go
* although not inheriting gettext dependency on intltool-native can go
* tested with all variants of PACKAGECONFIG
* need it for gnome-terminal 3.34
(From OE-Core rev: 6e7cfd2edd7b35201478e66d47b21547a1032e30)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change in 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9 cases the
following to be printed during boot:
/etc/rcS.d/S00psplash.sh: line 28: [: -q: binary operator expected
and the volume is thus never mounted, neither when invoked during
boot nor shutdown/reboot.
(From OE-Core rev: 7a84ef8effcbb4770b27f0af59d84db343d05701)
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we apply the same patches to native and target builds of file, we can verify
that the patches are not breaking by executing the test suite during the build
of file-native.
(From OE-Core rev: 03591b9945bf04baca794e221b93ac66568b0609)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tag has been removed, so we don't need to work around it anymore.
(From OE-Core rev: 1ab9fc04d6666de0c5c176f546f64c11dffe2106)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The list-pkgs currently print packages in unordered format.
Enable list-pkgs to print ordered packages that will ease
viewing.
(From OE-Core rev: ab661f96e2fd529588692c978274a840f34ee7cf)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Existing tests check that adding a specific gpl3 package (bash)
to core-image-minimal results in expected behaviour.
These tests check the ability to build two common images
without gpl3 components in them:
1. core-image-minimal needs no further tweaks and works
out of the box.
2. core-image-full-cmdline requires dropping the GNU packages
that it pulls in; for good measure this tweaked image is
verified with runtime tests.
These two tests allow dropping meta-gplv2 from being tested
on the autobuilder, however there should be a community consensus
first.
(From OE-Core rev: a181f46b8aae066a4b8a26a8045797c38a63e834)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
recipeutils-test has virtual/libx11 as a DEPENDS, but this will cause errors if
the recipe is built in an environment without x11 in DISTRO_FEATURES.
This dependency isn't actually used for anything so we could remove it, but to
save updating the test cases too just swap virtual/libx11 for zlib.
[ YOCTO #13611 ]
(From OE-Core rev: 7dbd72a08a81436d9ddd168f44e5c13e28eaff99)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the sdl frontend, qemu isn't able to even boot fully,
so let's skip the test early.
(From OE-Core rev: 7b0708da20e4f04070837e5696e4fa3ee5990e8f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade libgcrypt. Upstream repo now has a pkg-config
feature. The new patch for compatibility with oe-core
is a replacement for a patch that added pkg-config as
a feature when upstream did not have it.
(From OE-Core rev: 53b73a39ae4a4c8db19fb18ef1881033f6b9ff51)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some GStreamer recipes like gstreamer1.0-vaapi already use HTTPS instead
of http. Also, access to http:// is simply redirected by the freedesktop
server to https://, and using HTTPS is anyway generally recommended over
plain HTTP for security reasons. So, normalize the URLs to use HTTPS only.
(From OE-Core rev: c10cd9a54c5df7c5afddfa553b28a62fb0e80ff3)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed gtkdoc-no-tree.patch since its changes are now included in 1.16.1
(From OE-Core rev: d8efb46efbc47049c43d366ad7f73183474ee1b2)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
* headerfix.patch
Removed since these changes are already included in 1.16.1
(From OE-Core rev: 46dcf91b5ff6dc495cb9550a539eb7aa16d6170b)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The copy of the kernel's top level include directory is not
required to build perf. We have both the linux-libc-headers and
perf's captured/copied headers for what it requires.
The copy of the kernel's headers is leading us to multiple smaller
fixes to ensure that the various .h files are in sync. We can
remove the copy and all of the sync checks, and perf still builds
and executes correctly.
(From OE-Core rev: 79bfd5515887e5faf315a581d98bda63899760da)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perf can use libcap when available, so we add a packageconfig
for those that want the support.
(From OE-Core rev: 9a35c61d2218e139aa4420ef25f8cf4a0c4c2cfc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we need to copy a single file from the linux source tree into
the perf source tree, we need to ensure that the directory structure
it requires has been created first.
(From OE-Core rev: 7c33f0b1ee35031aa97e5e5231f53d8502b583c9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building perf for 5.4+, we have some new files that need to
be copied (and synchronized) due to structural changes in the
kernel source tree.
Some of the issues these fixes are warnings, but none the less,
they are worth fixing.
- We copy arch/${ARCH}/Makefile, since it is source by some perf
Makefiles
- We copy scripts/, since the perf utilities are looking for files
in that directory stucture.
- We have *three* copies of ctypes.h in the tools/* hierarchy
during the build. If the tools/perf/util/include/linux/ variant
is used, it will trigger build errors since it is not complete.
We copy the kernel's main include/linux/ctype.h to ensure they
are in sync.
(From OE-Core rev: 6a000d734c2fe57b4a601fe7e7373096345b02b4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
56fd0c9f5473 Linux 5.2.20
6f375cee0394 vfs: set fs_context::user_ns for reconfigure
fbad63fcf7f8 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie
23721140761c KVM: hyperv: Fix Direct Synthetic timers assert an interrupt w/o lapic_in_kernel
f6e1c74f5664 kexec: bail out upon SIGKILL when allocating memory.
a761ba725477 NFC: fix attrs checks in netlink interface
08519f370a57 dm raid: fix updating of max_discard_sectors limit
069a73c93447 smack: use GFP_NOFS while holding inode_smack::smk_lock
73cf33180fd5 Smack: Don't ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set
e4875cfb207f soundwire: fix regmap dependencies and align with other serial links
455807823191 arm: use STACK_TOP when computing mmap base address
a7d44c89fb47 arm: properly account for stack randomization and stack guard gap
d474fced6704 mips: properly account for stack randomization and stack guard gap
5edc5cfcd1ce arm64: consider stack randomization for mmap base only when necessary
0499bb1b61cd kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
b71617b36dc6 ocfs2: wait for recovering done after direct unlock request
5f63ef732675 kbuild: clean compressed initramfs image
26235380e633 crypto: hisilicon - Fix double free in sec_free_hw_sgl()
ef1bb2f3c68c hypfs: Fix error number left in struct pointer member
86fa1c1b3ab1 pktcdvd: remove warning on attempting to register non-passthrough dev
30ef03cb2c46 fat: work around race with userspace's read via blockdev while mounting
049e9c72a671 ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
68a14319be38 ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer
b10ee4270915 PCI: Use static const struct, not const static struct
88b4b5b7e2a8 security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb()
0728352751bb PCI: exynos: Propagate errors for optional PHYs
6eb7a0a0eb86 PCI: imx6: Propagate errors for optional regulators
130642ed27a6 PCI: histb: Propagate errors for optional regulators
dc35055b644f PCI: rockchip: Propagate errors for optional regulators
06f8fc7effb5 HID: apple: Fix stuck function keys when using FN
1c8c46bdfcde PCI: Add pci_info_ratelimited() to ratelimit PCI separately
400a250cc06f selinux: fix residual uses of current_security() for the SELinux blob
30f8969d6265 rtc: pcf85363/pcf85263: fix regmap error in set_time
1a5f22226ad0 rtc: snvs: fix possible race condition
6edfcbdc24be ARM: 8875/1: Kconfig: default to AEABI w/ Clang
5a58f0bf27ff soundwire: intel: fix channel number reported by hardware
175f4efcb12a ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
cf4e9c2472ac mips/atomic: Fix smp_mb__{before,after}_atomic()
a7ef43bf9064 livepatch: Nullify obj->mod in klp_module_coming()'s error path
677540cb39e0 PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver
97c3d2a3dd8f PCI: pci-hyperv: Fix build errors on non-SYSFS config
57e4c0e0efce mips/atomic: Fix loongson_llsc_mb() wreckage
11daaf5c38f2 HID: wacom: Fix several minor compiler warnings
503aae8dcc18 PCI: tegra: Fix OF node reference leak
b0a68c638875 mfd: intel-lpss: Remove D3cold delay
b6cb1efe18cc i2c-cht-wc: Fix lockdep warning
d1d45f98a6e6 MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean
7bd355196324 MIPS: Don't use bc_false uninitialized in __mm_isBranchInstr
cac61f5b7d95 MIPS: Ingenic: Disable broken BTB lookup optimization.
b67fd3bfeec5 ext4: fix potential use after free after remounting with noblock_validity
ad849db7534b f2fs: fix to drop meta/node pages during umount
ce7adbbc06e3 dma-buf/sw_sync: Synchronize signal vs syncpt free
99a2037bec11 scsi: core: Reduce memory required for SCSI logging
cbd9a87fbdf9 clk: sprd: add missing kfree
4d5a7f001acc mbox: qcom: add APCS child device for QCS404
910d8b71530c powerpc: dump kernel log before carrying out fadump or kdump
04dddb1ca7ad clk: Make clk_bulk_get_all() return a valid "id"
b6185efcf241 clk: imx: clk-pll14xx: unbypass PLL by default
d54c3307cac1 clk: imx: pll14xx: avoid glitch when set rate
9b538d38aa92 clk: at91: select parent if main oscillator or bypass is enabled
39a3ff30b6ad arm64: fix unreachable code issue with cmpxchg
15786d677bbc mailbox: mediatek: cmdq: clear the event in cmdq initial flow
1496f3d15934 pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c
112f51caf1b6 powerpc/pseries: correctly track irq state in default idle
f87906966831 clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
e5169c0043af powerpc/eeh: Clean up EEH PEs after recovery finishes
c25829e2e7de pstore: fs superblock limits
b32e4cc264c8 powerpc/64s/exception: machine check use correct cfar for late handler
f939cc03668f drm/amdgpu/si: fix ASIC tests
bfbc57ef3481 selftests/powerpc: Retry on host facility unavailable
73bffb99ddca drm/amd/display: support spdif
18184bd06a69 clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
b4b220dfcd36 clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
b5c5e7dfde66 pinctrl: amd: disable spurious-firing GPIO IRQs
b1a330db3cc3 drm/nouveau/volt: Fix for some cards having 0 maximum voltage
ecce6020a052 drm/nouveau/kms/tu102-: disable input lut when input is already FP16
6ad134a33083 vfio_pci: Restore original state on release
169edc8a1b8b powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag
0b54040780ce pinctrl: tegra: Fix write barrier placement in pmx_writel
a16c6638d760 powerpc/perf: fix imc allocation failure handling
4ce5f278af62 powerpc/pseries/mobility: use cond_resched when updating device tree
714886254f3c powerpc/64s/radix: Fix memory hotplug section page table creation
de37ad13aca1 powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
f2118bfd0259 powerpc/rtas: use device model APIs and serialization during LPM
26c32f58d8eb powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
fa702b72cbf9 clk: zx296718: Don't reference clk_init_data after registration
5772dedde987 clk: sprd: Don't reference clk_init_data after registration
3c384b661818 clk: meson: axg-audio: Don't reference clk_init_data after registration
8e9a12894cc3 clk: sirf: Don't reference clk_init_data after registration
5a90971761cd clk: actions: Don't reference clk_init_data after registration
672ce7241a40 powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window
97641efe039e drm/amd/display: reprogram VM config when system resume
075ad48409c1 drm/amd/display: Fix frames_to_insert math
73de2baa5b3c drm/amd/display: fix issue where 252-255 values are clipped
98ecf758e63f clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
60e5b94e4fe6 clk: qoriq: Fix -Wunused-const-variable
99340b4cad30 ipmi_si: Only schedule continuously in the thread in maintenance mode
dc8331fb5397 pinctrl: stmfx: update pinconf settings
49b23a7d976d PCI: rpaphp: Avoid a sometimes-uninitialized warning
d1deded18c3e clk: imx8mq: Mark AHB clock as critical
22acd1a64d95 gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()
0cb2ddf9a3a0 drm/radeon: Fix EEH during kexec
a86a8e6ef256 drm/amdgpu: Fix hard hang for S/G display BOs.
d8847b4b3a24 drm/rockchip: Check for fast link training before enabling psr
d85e0b4ef1f2 drm/panel: check failure cases in the probe func
f85634c3ffd2 drm/stm: attach gem fence to atomic state
0b271676816a drm/tinydrm/Kconfig: drivers: Select BACKLIGHT_CLASS_DEVICE
21eee05ca2c8 video: ssd1307fb: Start page range at page_offset
b51bb2f57998 drm/amd/display: add monitor patch to add T7 delay
d7c8317943b5 drm/panel: simple: fix AUO g185han01 horizontal blanking
bdcef6cd4c94 drm/vkms: Avoid assigning 0 for possible_crtc
29079f2260ff drm/bridge: tc358767: Increase AUX transfer length limit
b66b85d54494 drm/vkms: Fix crc worker races
c036f925087e net: sched: taprio: Avoid division by zero on invalid link speed
411184eda7d0 net: sched: cbs: Avoid division by zero when calculating the port rate
90053e8de295 ptp_qoriq: Initialize the registers' spinlock before calling ptp_qoriq_settime
4437b0b5d236 xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
04e6fa02cc6e net/rds: Fix error handling in rds_ib_add_one()
d6870bbdacd6 udp: only do GSO if # of segs > 1
da0f508134bb tcp: adjust rto_base in retransmits_timed_out()
c5994847e736 net: dsa: rtl8366: Check VLAN ID and not ports
11432777d98b vsock: Fix a lockdep warning in __vsock_release()
fba0b06b5941 udp: fix gso_segs calculations
9af774bcc460 tipc: fix unlimited bundling of small messages
c01fc241d449 sch_dsmark: fix potential NULL deref in dsmark_init()
392053bb2328 sch_cbq: validate TCA_CBQ_WRROPT to avoid crash
e752bb81ed39 rxrpc: Fix rxrpc_recvmsg tracepoint
7fc879a38f81 qmi_wwan: add support for Cinterion CLS8 devices
600c91857832 nfc: fix memory leak in llcp_sock_bind()
50b26ba8938f net: Unpublish sk from sk_reuseport_cb before call_rcu
4e71bbe0fdc8 net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte
a087259d42ba net: qlogic: Fix memory leak in ql_alloc_large_buffers
ff917e2d2c8d net: ipv4: avoid mixed n_redirects and rate_tokens usage
3e586883beb4 ipv6: Handle missing host route in __ipv6_ifa_notify
a0efe1cbadc4 ipv6: drop incoming packets having a v4mapped source address
93b1f9364559 hso: fix NULL-deref on tty open
7edcdec673dc erspan: remove the incorrect mtu limit for erspan
a203f2d6b4ea cxgb4:Fix out-of-bounds MSI-X info array access
076d9f965e56 Linux 5.2.19
8c4f7f403e79 platform/chrome: cros_ec_rpmsg: Fix race with host command when probe failed
d4ecc0a011cc mt76: mt7615: fix mt7615 firmware path definitions
7dcd2e608bd3 mt76: mt7615: always release sem in mt7615_load_patch
c959aebdc313 md/raid0: avoid RAID0 data corruption due to layout confusion.
cb2daf3e8cef drm/amd/display: Restore backlight brightness after system resume
5bd1ab51d4c7 CIFS: Fix oplock handling for SMB 2.1+ protocols
b90f653c964e CIFS: fix max ea value size
bc3a3e7c695c i2c: riic: Clear NACK in tend isr
ba86f3d55fc1 hwrng: core - don't wait on add_early_randomness()
fa0c86d48184 quota: fix wrong condition in is_quota_modification()
6c8042e92499 ext4: fix punch hole for inline_data file systems
7c7aff67e841 ext4: fix warning inside ext4_convert_unwritten_extents_endio
026f900e102a mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option
afe3a71e655d ipmi: move message error checking to avoid deadlock
b0df636473e5 xfs: Fix stale data exposure when readahead races with hole punch
b56335c486f7 mm: Handle MADV_WILLNEED through vfs_fadvise()
a775ad97ce77 fs: Export generic_fadvise()
f811fce3971f /dev/mem: Bail out upon SIGKILL.
84a85e7ec32e cfg80211: Purge frame registrations on iftype change
d1e007a497f6 md: only call set_in_sync() when it is expected to succeed.
c4ab81dab3b0 md: don't report active array_state until after revalidate_disk() completes.
801070ab8ad5 md/raid6: Set R5_ReadError when there is read failure on parity disk
82dd0828253a ACPI / LPSS: Save/restore LPSS private registers also on Lynxpoint
ca1a7debf461 SUNRPC: Fix buffer handling of GSS MIC without slack
89c2c6f70602 SUNRPC: Dequeue the request from the receive queue while we're re-encoding
e5b682d7792f Btrfs: fix race setting up and completing qgroup rescan workers
8e2074d3c283 btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
f2a4259af36d btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
51bae3f5578c btrfs: adjust dirty_metadata_bytes after writeback failure of extent buffer
3c6b7c79fe96 btrfs: Relinquish CPUs in btrfs_compare_trees
620cde3fe214 Btrfs: fix use-after-free when using the tree modification log
db66429314dd btrfs: fix allocation of free space cache v1 bitmap pages
0a19609d9a2f ovl: filter of trusted xattr results in audit
ee080509c14e ovl: Fix dereferencing possible ERR_PTR()
e2a5e040a63b smb3: fix leak in "open on server" perf counter
79aeacfeebb5 smb3: allow disabling requesting leases
a98f553d2b78 block: fix null pointer dereference in blk_mq_rq_timed_out()
facb691f45d6 block: mq-deadline: Fix queue restart handling
ab3d89dbec88 i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
00cac3533335 ath10k: fix channel info parsing for non tlv target
7228bca11c14 rtw88: pci: Use DMA sync instead of remapping in RX ISR
80e456c82a5c rtw88: pci: Rearrange the memory usage for skb in RX ISR
a8e0442493bf KEYS: trusted: correctly initialize digests and fix locking issue
e1ff89ad3dde mt76: round up length on mt76_wr_copy
d08bb3463d8f lib/lzo/lzo1x_compress.c: fix alignment bug in lzo-rle
482859563c02 memcg, kmem: do not fail __GFP_NOFAIL charges
ef54420b0726 memcg, oom: don't require __GFP_FS when invoking memcg OOM killer
1cbbcacdcdf4 mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
5377b8767d64 z3fold: fix memory leak in kmem cache
ed99d2d1af39 z3fold: fix retry mechanism in page reclaim
9a6b2645aa75 gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
9b4f0cba4476 efifb: BGRT: Improve efifb_bgrt_sanity_check
d6acb54716ff regulator: Defer init completion for a while after late_initcall
f11e0e8942f4 iommu/vt-d: Fix wrong analysis whether devices share the same bus
f683465f0564 alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
5d67ad366f2b iommu/arm-smmu-v3: Disable detection of ATS and PRI
7fd38df794c2 arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
ef2fa63bbe95 arm64: tlb: Ensure we execute an ISB following walk cache invalidation
516d62914766 ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
b9cbc0df92c3 ARM: samsung: Fix system restart on S3C6410
f1592b754350 ASoC: Intel: Fix use of potentially uninitialized variable
6c03deb9baf9 ASoC: Intel: Skylake: Use correct function to access iomem space
4ccbdceb2e2b ASoC: Intel: NHLT: Fix debug print format
89beb34d7533 binfmt_elf: Do not move brk for INTERP-less ET_EXEC
a24d7c499db0 spi: spi-fsl-dspi: Exit the ISR with IRQ_NONE when it's not ours
f0724e4dc181 spi: ep93xx: Repair SPI CS lookup tables
215019d6ef10 media: don't drop front-end reference count for ->detach
11f20198e922 media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
682dbe2cb5e7 media: videobuf-core.c: poll_wait needs a non-NULL buf pointer
e1bbf7d2cd21 KVM: x86/mmu: Use fast invalidate mechanism to zap MMIO sptes
32076032e7db KVM: x86: Disable posted interrupts for non-standard IRQs delivery modes
fb817d533600 KVM: x86: Manually calculate reserved bits when loading PDPTRS
c5c761130003 KVM: x86: set ctxt->have_exception in x86_decode_insn()
8d1e0c157027 KVM: x86: always stop emulation on page fault
8e422d4af87d platform/x86: intel_int0002_vgpio: Fix wakeups not working on Cherry Trail
c1b3752b5f25 parisc: Disable HP HSC-PCI Cards to prevent kernel crash
3a1f5551534d fuse: fix beyond-end-of-page access in fuse_parse_cache()
99a21e616426 fuse: fix missing unlock_page in fuse_writepage()
831bd6ec1633 fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
843d38c96532 tpm: Wrap the buffer from the caller to tpm_buf in tpm_send()
d59609b135ac tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for interrupts
43e8e81e357c tpm_tis_core: Turn on the TPM before probing IRQ's
830afcbc9391 powerpc/imc: Dont create debugfs files for cpu-less nodes
c9321577cbc9 scsi: implement .cleanup_rq callback
2492d1d7f34a blk-mq: add callback of .cleanup_rq
22b97cad6d67 ALSA: hda/realtek - PCI quirk for Medion E4254
f0028c2bed93 rcu/tree: Fix SCHED_FIFO params
d567e81a20c0 ARM: dts: am3517-evm: Fix missing video
5f8095b682d6 randstruct: Check member structs in is_pure_ops_struct()
03d53cb8acb8 RDMA: Fix double-free in srq creation error flow
3d97d7d688e7 IB/hfi1: Do not update hcrc for a KDETH packet during fault injection
040fc3258d95 IB/hfi1: Define variables as unsigned long to fix KASAN warning
dcbb25d9400b IB/mlx5: Free mpi in mp_slave mode
44602a8a1406 printk: Do not lose last line in kmsg buffer dump
9dfb1ce6b615 scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
a16791fccaf6 scsi: scsi_dh_rdac: zero cdb in send_mode_select()
6e8f051e504d ALSA: firewire-tascam: check intermediate state of clock status and retry
75c1a117e1f7 ALSA: firewire-tascam: handle error code when getting current source of clock
77567ebc4060 iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
9d9c01542848 ARM: omap2plus_defconfig: Fix missing video
3d226661238e ARM: dts: logicpd-torpedo-baseboard: Fix missing video
2e847a842b2b PM / devfreq: passive: fix compiler warning
8e16bddcc6bd media: omap3isp: Set device on omap3isp subdevs
d6595ad8ca5d kvm: Nested KVM MMUs need PAE root too
37099d7a3e66 btrfs: Detect unbalanced tree with empty leaf before crashing btree operations
3d95c52d789c btrfs: tree-checker: Add ROOT_ITEM check
9ae8394e41d7 btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
7ee67b37a0bf btrfs: delayed-inode: Kill the BUG_ON() in btrfs_delete_delayed_dir_index()
9e6431c0f2e4 zd1211rw: remove false assertion from zd_mac_clear()
8e9a39559b73 iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems
d6dfca753d7a ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
798b010be17b drm: fix module name in edid_firmware log message
dae45bd9b873 media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
06752109ced1 drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
33e91a59bf81 ALSA: hda - Drop unsol event handler for Intel HDMI codecs
5397eb1a1fb0 ALSA: hda - Add a quirk model for fixing Huawei Matebook X right speaker
354098b7045d e1000e: add workaround for possible stalled packet
27a2b39359f8 libertas: Add missing sentinel at end of if_usb.c fw_table
9eff1ebe2c90 mmc: mtk-sd: Re-store SDIO IRQs mask at system resume
c5f89ff633d2 raid5: don't increment read_errors on EILSEQ return
7cb4bc790e12 mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
6d9a663aca54 mmc: core: Add helper function to indicate if SDIO IRQs is enabled
d32263d8b9b5 mmc: sdhci: Fix incorrect switch to HS mode
de6fea9fcf1e sched/psi: Correct overly pessimistic size calculation
106af0369442 mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
f9762c19d883 raid5: don't set STRIPE_HANDLE to stripe which is in batch list
d54de8cfa4a1 block: make rq sector size accessible for block stats
6c7b70e220d5 io_uring: fix wrong sequence setting logic
38b24f688d64 ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
a7963f92406d platform/x86: intel_pmc_core: Do not ioremap RAM
c7e971d4f027 x86/cpu: Add Tiger Lake to Intel family
6e2056c4424c irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
74a94a7e0a01 s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
cf8360a5be18 irqchip/sifive-plic: set max threshold for ignored handlers
1f57c45eaab5 x86/mm: Fix cpumask_of_node() error condition
daecd8d05e3d kprobes: Prohibit probing on BUG() and WARN() address
6265d3c8b96b dmaengine: ti: edma: Do not reset reserved paRAM slots
18a00f37f418 md/raid1: fail run raid1 array when active disk less than one
b92d8e39fa70 hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
d57d9213d8b8 hwmon: (k10temp) Add support for AMD family 17h, model 70h CPUs
94a379db627a closures: fix a race on wakeup from closure_sync
4b88669aa2f8 ACPI / PCI: fix acpi_pci_irq_enable() memory leak
70424999fbf1 ACPI: custom_method: fix memory leaks
997c08a49443 x86/amd_nb: Add PCI device IDs for family 17h, model 70h
91180767bba9 ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
a6ff82b2cb60 libtraceevent: Change users plugin directory
4509537c378a iommu/iova: Avoid false sharing on fq_timer_on
b20a5ef80779 libata/ahci: Drop PCS quirk for Denverton and beyond
aecef5f0a4fd ASoC: Intel: Haswell: Adjust machine device private context
a9c3dacf2939 iommu/amd: Silence warnings under memory pressure
4d3f9cdc0f3e ALSA: firewire-motu: add support for MOTU 4pre
311abc6a314c nvme-multipath: fix ana log nsid lookup when nsid is not found
3c971d5dc374 nvmet: fix data units read and written counters in SMART log
07e66eb2a8c0 x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
6198f3954f15 ASoC: fsl_ssi: Fix clock control issue in master mode
c9e116d055f9 x86/mm/pti: Do not invoke PTI functions when PTI is disabled
6e46d1f16473 perf evlist: Use unshare(CLONE_FS) in sb threads to let setns(CLONE_NEWNS) work
b70a9f2ab2fa arm64: kpti: ensure patched kernel text is fetched from PoU
9093a2e343f2 x86/apic/vector: Warn when vector space exhaustion breaks affinity
12dae85048f1 sched/cpufreq: Align trace event behavior of fast switching
92402bba4f32 ACPI / CPPC: do not require the _PSD method
51f464d8bce7 ASoC: es8316: fix headphone mixer volume table
57869649b230 leds: lm3532: Fixes for the driver for stability
ee3251c9e71f media: ov9650: add a sanity check
826a67380c4a media: aspeed-video: address a protential usage of an unitialized var
c10ea8447736 perf script: Fix memory leaks in list_scripts()
8d70572f69cc perf report: Fix --ns time sort key output
fffe93c89d8b perf trace beauty ioctl: Fix off-by-one error in cmd->string table
723809bb6d16 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
1c6a694568db media: cpia2_usb: fix memory leaks
ecc548676360 media: saa7146: add cleanup in hexium_attach()
730e14891202 media: cec-notifier: clear cec_adap in cec_notifier_unregister
b74f2a4c0af2 PM / devfreq: exynos-bus: Correct clock enable sequence
61496a6956d5 PM / devfreq: passive: Use non-devm notifiers
6cf8764ed327 ARM: OMAP2+: move platform-specific asm-offset.h to arch/arm/mach-omap2
7f6346e814ec PM / devfreq: Fix kernel oops on governor module load
0ac4a7a4562b soc: renesas: Enable ARM_ERRATA_754322 for affected Cortex-A9
841ee26cb0eb soc: renesas: rmobile-sysc: Set GENPD_FLAG_ALWAYS_ON for always-on domain
c5a678041db9 ARM: at91: move platform-specific asm-offset.h to arch/arm/mach-at91
45a550e54f0c EDAC/amd64: Decode syndrome before translating address
71e85351f2d3 EDAC/amd64: Recognize DRAM device type ECC capability
e4739ed9e9f4 libperf: Fix alignment trap with xyarray contents in 'perf stat'
28e3cfd1c820 EDAC/amd64: Support more than two controllers for chip selects handling
8c17f6f5d0d6 media: dvb-core: fix a memory leak bug
de23b986dd21 posix-cpu-timers: Sanitize bogus WARNONS
3df4944a75a3 media: dvb-frontends: use ida for pll number
328d309f578d media: mceusb: fix (eliminate) TX IR signal length limit
14944c1cdf66 s390/kasan: provide uninstrumented __strlen
ad856c85132c arm64: entry: Move ct_user_exit before any other exception
919bb091f3bb ACPI / APEI: Release resources if gen_pool_add() fails
8e8821e51180 nbd: add missing config put
cb00bdfdf4a1 ASoC: mchp-i2s-mcc: Fix unprepare of GCLK
fd3a27888511 led: triggers: Fix a memory leak bug
78a5d7570357 ASoC: mchp-i2s-mcc: Wait for RX/TX RDY only if controller is running
cf37fc6525e6 ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
cfc27d524fe8 tools headers: Fixup bitsperlong per arch includes
0de9cb3ccaf4 powerpc/Makefile: Always pass --synthetic to nm if supported
b72464b49572 ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
a6856ba2704a media: hdpvr: add terminating 0 at end of string
ea9b3fba2de5 media: radio/si470x: kill urb on error
abec08cc8afd x86/platform/intel/iosf_mbi Rewrite locking
5ac00c9194ae ARM: dts: imx7-colibri: disable HS400
d89e114b2f42 ARM: dts: imx7d: cl-som-imx7: make ethernet work again
a510a16fee76 m68k: Prevent some compiler warnings in Coldfire builds
751ac20a3913 net: lpc-enet: fix printk format strings
c3e1334bc47a kasan/arm64: fix CONFIG_KASAN_SW_TAGS && KASAN_INLINE
3c88b089e592 media: imx: mipi csi-2: Don't fail if initial state times-out
cab41bda0849 media: omap3isp: Don't set streaming state on random subdevs
ebe068d7bb79 media: i2c: ov5645: Fix power sequence
3993c8429927 media: vsp1: fix memory leak of dl on error return path
91faaa0e282f perf record: Support aarch64 random socket_id assignment
b8179cfaf017 ARM: xscale: fix multi-cpu compilation
cb2d2b999afe dmaengine: iop-adma: use correct printk format strings
50ab41d72d35 media: rc: imon: Allow iMON RC protocol for ffdc 7e device
b251e979c979 perf unwind: Fix libunwind when tid != pid
2bc1f53cc46a arm64/efi: Move variable assignments after SECTIONS
c0282736b94f media: em28xx: modules workqueue not inited for 2nd device
de122406a437 media: fdp1: Reduce FCP not found message level to debug
b18c1c75b90a media: i2c: tda1997x: prevent potential NULL pointer access
f5d115ba1687 media: mtk-mdp: fix reference count on old device tree
6156280768c3 perf test vfs_getname: Disable ~/.perfconfig to get default output
a056ef7090e2 perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig
b134b502d3b6 media: gspca: zero usb_buf on error
5e1feedf563e blk-mq: Fix memory leak in blk_mq_init_allocated_queue error handling
503ac6efb245 idle: Prevent late-arriving interrupts from disrupting offline
b2ee96a78c9a sched/fair: Use rq_lock/unlock in online_fair_sched_group
fc31f1c241b0 firmware: arm_scmi: Check if platform has released shmem before using
a1a19299a6a5 efi: cper: print AER info of PCIe fatal error
30ff832e9a23 EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
cdfe5e064210 perf tools: Fix paths in include statements
43894a0475c6 loop: Add LOOP_SET_DIRECT_IO to compat ioctl
bb07be974180 ACPI / processor: don't print errors for processorIDs == 0xff
fd8bd7dfb04f ASoC: hdac_hda: fix page fault issue by removing race
338c95ab2187 RAS: Build debugfs.o only when enabled in Kconfig
ff45dc5d103f media: media/platform: fsl-viu.c: fix build for MICROBLAZE
c0053b3c6142 md: don't set In_sync if array is frozen
274971880ff9 md: don't call spare_active in md_reap_sync_thread if all member devices can't work
a1f4fcb88098 md/raid1: end bio when the device faulty
998d765255aa arm64/prefetch: fix a -Wtype-limits warning
912d58f959f1 ASoC: rsnd: don't call clk_get_rate() under atomic context
5da3a9eb8159 EDAC/altera: Use the proper type for the IRQ status bits
873aa4af4fdd ia64:unwind: fix double free for mod->arch.init_unw_table
e89c79710aed ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
42c6b180a7bf base: soc: Export soc_device_register/unregister APIs
383466793900 soc: amlogic: meson-clk-measure: protect measure with a mutex
55b520f85a97 arm64: mm: free the initrd reserved memblock in a aligned manner
bfae8c471054 cpuidle: teo: Allow tick to be stopped if PM QoS is used
c02ec6220cf3 media: iguanair: add sanity checks
db934a6df6d9 EDAC/mc: Fix grain_bits calculation
7b1c5aa61d98 ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
0294075e5872 ALSA: hda - Show the fatal CORB/RIRB error more clearly
9107c9b7bcce x86/apic: Soft disable APIC before initializing it
be86447601cb rcu/tree: Call setschedule() gp ktread to SCHED_FIFO outside of atomic region
cc41123523d1 x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
2965c2e1ec69 sched/deadline: Fix bandwidth accounting at all levels after offline migration
6c4121115c87 x86/apic: Make apic_pending_intr_clear() more robust
e75ff42011f1 sched/core: Fix CPU controller for !RT_GROUP_SCHED
a02f3db8994e sched/fair: Fix imbalance due to CPU affinity
2af6db20ceae time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
5db042229a8c media: i2c: ov5640: Check for devm_gpiod_get_optional() error
7c36a65b2ea1 media: hdpvr: Add device num check and handling
988a38ff1cf0 media: vivid: work around high stack usage with clang
615883ae490f media: vb2: reorder checks in vb2_poll()
4610656c129e media: vivid:add sanity check to avoid divide error and set value to 1 if 0.
7fe87b686cb9 media: exynos4-is: fix leaked of_node references
1a53850754a9 ASoC: SOF: pci: mark last_busy value at runtime PM init
f76aa9d803b6 media: mtk-cir: lower de-glitch counter for rc-mm protocol
5efaf000347a media: dib0700: fix link error for dibx000_i2c_set_speed
8d68efb7e270 leds: leds-lp5562 allow firmware files up to the maximum length
3dee582e6190 dmaengine: bcm2835: Print error in case setting DMA mask fails
5d6d34ade679 firmware: qcom_scm: Use proper types for dma mappings
8e81af05436c ASoC: sgtl5000: Fix charge pump source assignment
57868b5cbc50 ASoC: sgtl5000: Fix of unmute outputs on probe
27879a37f7ad ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
dae532b1a1cc spi: dw-mmio: Clock should be shut when error occurs
e534295b4c17 regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
8c3a9421b2ef cpufreq: ap806: Add NULL check after kcalloc
4defe8b0f2f5 ASoC: SOF: Intel: hda: Make hdac_device device-managed
6646813ee81d ALSA: hda: Flush interrupts on disabling
a269a7a7632b nfc: enforce CAP_NET_RAW for raw sockets
f91ee5bc2100 ieee802154: enforce CAP_NET_RAW for raw sockets
faf60340e231 ax25: enforce CAP_NET_RAW for raw sockets
ef03ebc40bc8 appletalk: enforce CAP_NET_RAW for raw sockets
1ca53dc648e8 mISDN: enforce CAP_NET_RAW for raw sockets
df20d3ce66c5 net/mlx5: Add device ID of upcoming BlueField-2
38be58c880d9 tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state
4378493fed94 net: sched: fix possible crash in tcf_action_destroy()
5f39dd75e078 net/mlx5e: Fix traffic duplication in ethtool steering
6386577b2927 vrf: Do not attempt to create IPv6 mcast rule if IPv6 is disabled
229b983d5221 net_sched: add policy validation for action attributes
629815b9e1eb ipv4: Revert removal of rt_uses_gateway
d5f1d310bb2b net/sched: cbs: Fix not adding cbs instance to list
4bbf97f6c114 net: phy: micrel: add Asym Pause workaround for KSZ9021
3ef1d54a72ca usbnet: sanity checking of packet sizes and device mtu
b5e57553acde usbnet: ignore endpoints with invalid wMaxPacketSize
35ad2e82044d tcp_bbr: fix quantization code to not raise cwnd if not probing bandwidth
afc7190e3847 skge: fix checksum byte order
0102608d70f0 selftests: Update fib_tests to handle missing ping6
da0d6e47c20d sch_netem: fix a divide by zero in tabledist()
9f64c6630929 ppp: Fix memory leak in ppp_write
bd1df844b1f9 openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
b86bd41b767a nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
9561c1351232 nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
ba5f359f2be0 net_sched: add max len check for TCA_KIND
19bd1045958b net/sched: act_sample: don't push mac header on ip6gre ingress
ee8c5c7a6f9a net: qrtr: Stop rx_worker before freeing node
6ee46a2b68fc net/phy: fix DP83865 10 Mbps HDX loopback disable function
d879091836db macsec: drop skb sk before calling gro_cells_receive
d37c96675204 ipv6: do not free rt if FIB_LOOKUP_NOREF is set on suppress rule
98f1a3a21500 cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
890984f31888 arcnet: provide a buffer big enough to actually receive packets
0a9d6a58b4ac Linux 5.2.18
c704eb3aaffa f2fs: use generic EFSBADCRC/EFSCORRUPTED
673d1167b40e net/rds: Check laddr_check before calling it
fc5b59770306 net/rds: An rds_sock is added too early to the hash table
719532b9b832 net_sched: check cops->tcf_block in tc_bind_tclass()
bd740eacb1d2 Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
f63432cd1bb2 netfilter: nft_socket: fix erroneous socket assignment
a2a3638f3e6f xfrm: policy: avoid warning splat when merging nodes
b442b6d3742b xfs: don't crash on null attr fork xfs_bmapi_read
baa3902119f5 drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
452b129e4876 ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
62b72c1f7ba5 Bluetooth: btrtl: HCI reset on close for Realtek BT chip
f6983a936fbf net: don't warn in inet diag when IPV6 is disabled
955b7a09bf57 drm/dp: Add DP_DPCD_QUIRK_NO_SINK_COUNT
a7734a035acf drm: Flush output polling on shutdown
453bcdd2432b f2fs: fix to do sanity check on segment bitmap of LFS curseg
d331d4b99fb6 net/ibmvnic: Fix missing { in __ibmvnic_reset
8defaa56897e dm zoned: fix invalid memory access
bca9bfa41e3f Revert "f2fs: avoid out-of-range memory access"
47af17950b03 objtool: Clobber user CFLAGS variable
0f5df0b76e4f platform/x86: i2c-multi-instantiate: Derive the device name from parent
811fc53c37be ALSA: hda - Apply AMD controller workaround for Raven platform
b5215e9269c7 ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
d51c3b844afb ALSA: dice: fix wrong packet parameter for Alesis iO26
bf4d30e9950e ALSA: usb-audio: Add DSD support for EVGA NU Audio
284a30488891 ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
d17860e1e894 Revert "mm/z3fold.c: fix race between migration and destruction"
2de3de21bc8a Revert "HID: logitech-hidpp: add USB PID for a few more supported mice"
807370d02413 clk: imx: imx8mm: fix audio pll setting
bdbf837b89a9 crypto: talitos - fix missing break in switch statement
a1e67dae1599 mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
6c6d88dc737a HID: Add quirk for HP X500 PIXART OEM mouse
af5676bf7d89 HID: hidraw: Fix invalid read in hidraw_ioctl
8d88e0d1b3e6 HID: logitech-dj: Fix crash when initial logi_dj_recv_query_paired_devices fails
55c2b2ac2706 HID: logitech: Fix general protection fault caused by Logitech driver
a069e96b5280 HID: sony: Fix memory corruption issue on cleanup.
5f2ba05924ca HID: prodikeys: Fix general protection fault during probe
df3cc96b2049 Revert "net: hns: fix LED configuration for marvell phy"
3349449ae730 drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
be3b5f44206e powerpc/xive: Fix bogus error code returned by OPAL
606f7f9fc442 drm/amd/display: Don't replace the dc_state for fast updates
0365d15f565a drm/amd/display: Skip determining update type for async updates
891eae79f7a5 drm/amd/display: Allow cursor async updates for framebuffer swaps
f6faeecb3659 net/ibmvnic: free reset work of removed device from queue
cdc112b9cb64 phy: qcom-qmp: Correct ready status, again
b08d7b36f11d phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay
3da810f95b86 smb3: fix unmount hang in open_shroot
e6d6a001ed5a Revert "Bluetooth: validate BLE connection interval updates"
(From OE-Core rev: cad18801b7a26e8435734caaca78ec5f6d3a041f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/4.19 to the latest korg -stable release that comprises
the following commits:
58fce2064530 Linux 4.19.78
5b0446c8e0a8 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie
d85bc11a6894 kexec: bail out upon SIGKILL when allocating memory.
c8a65ec0602a NFC: fix attrs checks in netlink interface
1b42503211ca smack: use GFP_NOFS while holding inode_smack::smk_lock
ef9744a0218f Smack: Don't ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set
4703593498d3 soundwire: fix regmap dependencies and align with other serial links
322753c78d1d soundwire: Kconfig: fix help format
74e2a311a226 sch_cbq: validate TCA_CBQ_WRROPT to avoid crash
ed9420ddce87 tipc: fix unlimited bundling of small messages
a1afd826e549 xen-netfront: do not use ~0U as error return value for xennet_fill_frags()
36a4043c4bb8 net/rds: Fix error handling in rds_ib_add_one()
012363f5ded0 udp: only do GSO if # of segs > 1
5c08d7e4f1ea net: dsa: rtl8366: Check VLAN ID and not ports
3c1f0704401c vsock: Fix a lockdep warning in __vsock_release()
544aee546174 udp: fix gso_segs calculations
79fd59ae7c2f sch_dsmark: fix potential NULL deref in dsmark_init()
76b552775d60 rxrpc: Fix rxrpc_recvmsg tracepoint
7047aae65456 qmi_wwan: add support for Cinterion CLS8 devices
dd9c580a6d9b nfc: fix memory leak in llcp_sock_bind()
d5b1db1c7ce4 net: Unpublish sk from sk_reuseport_cb before call_rcu
9d0995cc268b net: qlogic: Fix memory leak in ql_alloc_large_buffers
124b64feafa9 net: ipv4: avoid mixed n_redirects and rate_tokens usage
6f8564edf8c1 ipv6: Handle missing host route in __ipv6_ifa_notify
658d7ee4da50 ipv6: drop incoming packets having a v4mapped source address
a495fd19cce2 hso: fix NULL-deref on tty open
7f30c44b7ca4 erspan: remove the incorrect mtu limit for erspan
2b8389112292 cxgb4:Fix out-of-bounds MSI-X info array access
ed568ca73601 bpf: fix use after free in prog symbol exposure
dbb7339cfddf block: mq-deadline: Fix queue restart handling
af10ffa69b06 arm: use STACK_TOP when computing mmap base address
f91a9c6591c0 arm: properly account for stack randomization and stack guard gap
53ba8d4358eb mips: properly account for stack randomization and stack guard gap
e1b391abbfce arm64: consider stack randomization for mmap base only when necessary
30ab799e758e kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K
52132ff52cad ocfs2: wait for recovering done after direct unlock request
d4a546452dcc kbuild: clean compressed initramfs image
d983182d4002 crypto: hisilicon - Fix double free in sec_free_hw_sgl()
22c788ba7a52 hypfs: Fix error number left in struct pointer member
bbd76d9514c7 pktcdvd: remove warning on attempting to register non-passthrough dev
0840daeea6cb fat: work around race with userspace's read via blockdev while mounting
297904ea60a3 ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address
9a87ab2b4d60 security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb()
69a32a7306dd PCI: exynos: Propagate errors for optional PHYs
1264d2e7b75b PCI: imx6: Propagate errors for optional regulators
403d6c9284f1 PCI: histb: Propagate errors for optional regulators
ac9c0e2ecc49 PCI: rockchip: Propagate errors for optional regulators
709c4841e51f HID: apple: Fix stuck function keys when using FN
31e98cba55ed rtc: pcf85363/pcf85263: fix regmap error in set_time
607f95788fa9 rtc: snvs: fix possible race condition
078937549f47 ARM: 8875/1: Kconfig: default to AEABI w/ Clang
3039c788d648 soundwire: intel: fix channel number reported by hardware
6a684e002561 ARM: 8898/1: mm: Don't treat faults reported from cache maintenance as writes
0f0ced702d53 livepatch: Nullify obj->mod in klp_module_coming()'s error path
78a1138672af HID: wacom: Fix several minor compiler warnings
3b7fbbddeb7a PCI: tegra: Fix OF node reference leak
c74a801ded7d mfd: intel-lpss: Remove D3cold delay
70bb4bf9fdfb i2c-cht-wc: Fix lockdep warning
371077ea2e75 MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean
3ed14a8d2fe7 MIPS: Ingenic: Disable broken BTB lookup optimization.
5b400fed74df ext4: fix potential use after free after remounting with noblock_validity
81fbd2327c32 dma-buf/sw_sync: Synchronize signal vs syncpt free
c76e18970d93 scsi: core: Reduce memory required for SCSI logging
c6304d4d7458 clk: sprd: add missing kfree
7cd89b8db60c mbox: qcom: add APCS child device for QCS404
324b0c9efc77 powerpc: dump kernel log before carrying out fadump or kdump
72884423e77f clk: at91: select parent if main oscillator or bypass is enabled
952d1c6d7cf0 arm64: fix unreachable code issue with cmpxchg
b25bd837a637 pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c
b717a47dd913 powerpc/pseries: correctly track irq state in default idle
ae089bf87c57 clk: qcom: gcc-sdm845: Use floor ops for sdcc clks
2c16f72135fb pstore: fs superblock limits
0c09b02842b8 powerpc/64s/exception: machine check use correct cfar for late handler
39b6d05169b2 drm/amdgpu/si: fix ASIC tests
4dcbca872a84 drm/amd/display: support spdif
38dfc974f322 clk: renesas: cpg-mssr: Set GENPD_FLAG_ALWAYS_ON for clock domain
0b5ac607db4b clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain
2cfb89832179 pinctrl: amd: disable spurious-firing GPIO IRQs
274d7acb0b81 drm/nouveau/volt: Fix for some cards having 0 maximum voltage
9b2d2f2ad003 vfio_pci: Restore original state on release
c1f7b3fb87cf powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag
b2df456c83e3 pinctrl: tegra: Fix write barrier placement in pmx_writel
4c91e678d27c powerpc/pseries/mobility: use cond_resched when updating device tree
6d728a172732 powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
6aa455b0d0a0 powerpc/rtas: use device model APIs and serialization during LPM
25c501f0f9d9 powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL
2cca24b2cb9a clk: zx296718: Don't reference clk_init_data after registration
efa0fe4cde05 clk: sprd: Don't reference clk_init_data after registration
89dc59fb267d clk: sirf: Don't reference clk_init_data after registration
bd3a445c2717 clk: actions: Don't reference clk_init_data after registration
437399ed906a powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window
782a77f2eb39 drm/amd/display: reprogram VM config when system resume
24ba84ec0016 drm/amd/display: fix issue where 252-255 values are clipped
efb0e1e3d0e1 clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks
a2279550f7be clk: qoriq: Fix -Wunused-const-variable
84038a98b904 ipmi_si: Only schedule continuously in the thread in maintenance mode
b351726bb5be PCI: rpaphp: Avoid a sometimes-uninitialized warning
0936c46139cb gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()
6e03bca91f8e drm/radeon: Fix EEH during kexec
441c15582338 drm/rockchip: Check for fast link training before enabling psr
f3d62177dee3 drm/panel: check failure cases in the probe func
9cb3698dcc86 drm/stm: attach gem fence to atomic state
043f0229f442 video: ssd1307fb: Start page range at page_offset
bd5b6a7c89ef drm/panel: simple: fix AUO g185han01 horizontal blanking
db472be8b340 drm/bridge: tc358767: Increase AUX transfer length limit
053d0ec61e33 tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations
d598712712e4 tpm: use tpm_try_get_ops() in tpm-sysfs.c.
6cad9d0cf87b Linux 4.19.77
2c60da90ec44 drm/amd/display: Restore backlight brightness after system resume
4d8bdf7f3a86 mm/compaction.c: clear total_{migrate,free}_scanned before scanning a new zone
5bead06b3443 fuse: fix deadlock with aio poll and fuse_iqueue::waitq.lock
bbe3e2056d27 md/raid0: avoid RAID0 data corruption due to layout confusion.
4290a9e59323 CIFS: Fix oplock handling for SMB 2.1+ protocols
a3a150895b6f CIFS: fix max ea value size
a0f7fd38acf5 i2c: riic: Clear NACK in tend isr
fec38267a2bf hwrng: core - don't wait on add_early_randomness()
060986096fea quota: fix wrong condition in is_quota_modification()
091c754d5ca9 ext4: fix punch hole for inline_data file systems
775e3e734bd3 ext4: fix warning inside ext4_convert_unwritten_extents_endio
caa6926d94f1 /dev/mem: Bail out upon SIGKILL.
bd3a11af1bde cfg80211: Purge frame registrations on iftype change
5dc86e9574a1 md: only call set_in_sync() when it is expected to succeed.
598a2cda62d3 md: don't report active array_state until after revalidate_disk() completes.
e8323e0ddce1 md/raid6: Set R5_ReadError when there is read failure on parity disk
bacff03bb286 Btrfs: fix race setting up and completing qgroup rescan workers
b5c42ef09df3 btrfs: qgroup: Fix reserved data space leak if we have multiple reserve calls
c521bfa8e2dc btrfs: qgroup: Fix the wrong target io_tree when freeing reserved data space
067f82a05c2f btrfs: Relinquish CPUs in btrfs_compare_trees
b08344be3546 Btrfs: fix use-after-free when using the tree modification log
4874c6fe1c9e btrfs: fix allocation of free space cache v1 bitmap pages
934243a72849 ovl: filter of trusted xattr results in audit
e7265adc0a3c ovl: Fix dereferencing possible ERR_PTR()
2e96c9332595 smb3: allow disabling requesting leases
82652c06f976 block: fix null pointer dereference in blk_mq_rq_timed_out()
db5b2fe4d33c i40e: check __I40E_VF_DISABLE bit in i40e_sync_filters_subtask
b4a734a529b8 memcg, kmem: do not fail __GFP_NOFAIL charges
d40b3eafb52e memcg, oom: don't require __GFP_FS when invoking memcg OOM killer
e0c1e6e55bca gfs2: clear buf_in_tr when ending a transaction in sweep_bh_for_rgrps
3620b06b1db0 efifb: BGRT: Improve efifb_bgrt_sanity_check
c4f65c2fb0f5 regulator: Defer init completion for a while after late_initcall
3784576fc639 alarmtimer: Use EOPNOTSUPP instead of ENOTSUPP
174bbcc560cc arm64: dts: rockchip: limit clock rate of MMC controllers for RK3328
8cfe3b8aa3b6 arm64: tlb: Ensure we execute an ISB following walk cache invalidation
fc7d6bfdd774 Revert "arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}"
881edc165b8e ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up
2209279439a1 ARM: samsung: Fix system restart on S3C6410
ad884155fb9c ASoC: Intel: Fix use of potentially uninitialized variable
7bdab36455f9 ASoC: Intel: Skylake: Use correct function to access iomem space
3c54f463402f ASoC: Intel: NHLT: Fix debug print format
29ecf8cae5f4 binfmt_elf: Do not move brk for INTERP-less ET_EXEC
02ef5c299d15 media: don't drop front-end reference count for ->detach
589ca8ec4c62 media: sn9c20x: Add MSI MS-1039 laptop to flip_dmi_table
496cf984a60e KVM: x86: Manually calculate reserved bits when loading PDPTRS
933e3e2b5070 KVM: x86: set ctxt->have_exception in x86_decode_insn()
9723e4458604 KVM: x86: always stop emulation on page fault
8225db4a70b2 parisc: Disable HP HSC-PCI Cards to prevent kernel crash
ad41162974c6 fuse: fix missing unlock_page in fuse_writepage()
ecfe4b5f70c8 powerpc/imc: Dont create debugfs files for cpu-less nodes
e94443fc7b64 scsi: implement .cleanup_rq callback
4ec3ca2770e7 blk-mq: add callback of .cleanup_rq
4848fb93243e ALSA: hda/realtek - PCI quirk for Medion E4254
e9bcaf82dd37 ceph: use ceph_evict_inode to cleanup inode's resource
72f0fff3c450 Revert "ceph: use ceph_evict_inode to cleanup inode's resource"
98dc6d958bd9 randstruct: Check member structs in is_pure_ops_struct()
ad6819cd68be IB/hfi1: Define variables as unsigned long to fix KASAN warning
a924850c93d4 IB/mlx5: Free mpi in mp_slave mode
40b071992ca5 printk: Do not lose last line in kmsg buffer dump
28f142b940af scsi: qla2xxx: Fix Relogin to prevent modifying scan_state flag
03b75e65ceed scsi: scsi_dh_rdac: zero cdb in send_mode_select()
2e21e5b225ef ALSA: firewire-tascam: check intermediate state of clock status and retry
f5779e4449da ALSA: firewire-tascam: handle error code when getting current source of clock
fdd131eab68f iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 36
6437ec272eda PM / devfreq: passive: fix compiler warning
814f7fe56ebb media: omap3isp: Set device on omap3isp subdevs
c5dbd74f8259 btrfs: extent-tree: Make sure we only allocate extents from block groups with the same type
2aeeb0a4b440 iommu/amd: Override wrong IVRS IOAPIC on Raven Ridge systems
291da335040c ALSA: hda/realtek - Blacklist PC beep for Lenovo ThinkCentre M73/93
8630a4d13683 media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
d47636913bda drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)
5370cf8d90ad ALSA: hda - Drop unsol event handler for Intel HDMI codecs
ac1d43a20a08 e1000e: add workaround for possible stalled packet
35b6cba971f5 libertas: Add missing sentinel at end of if_usb.c fw_table
0a43d5d458d5 raid5: don't increment read_errors on EILSEQ return
da87dfca25aa mmc: dw_mmc: Re-store SDIO IRQs mask at system resume
a0dd3d95fb21 mmc: core: Add helper function to indicate if SDIO IRQs is enabled
8ba99d50cb61 mmc: sdhci: Fix incorrect switch to HS mode
869122775782 mmc: core: Clarify sdio_irq_pending flag for MMC_CAP2_SDIO_IRQ_NOTHREAD
a5443cd24063 raid5: don't set STRIPE_HANDLE to stripe which is in batch list
064fba888e77 ASoC: dmaengine: Make the pcm->name equal to pcm->id if the name is not set
476eda2539bb platform/x86: intel_pmc_core: Do not ioremap RAM
e836cd2917c6 x86/cpu: Add Tiger Lake to Intel family
b21919eeced6 s390/crypto: xts-aes-s390 fix extra run-time crypto self tests finding
fad90d4bfa8d kprobes: Prohibit probing on BUG() and WARN() address
213077da3e7c dmaengine: ti: edma: Do not reset reserved paRAM slots
f1db75622996 md/raid1: fail run raid1 array when active disk less than one
76cf93f04c3d hwmon: (acpi_power_meter) Change log level for 'unsafe software power cap'
f0956418d997 closures: fix a race on wakeup from closure_sync
9fcfdff61f74 ACPI / PCI: fix acpi_pci_irq_enable() memory leak
e4467fb6ef54 ACPI: custom_method: fix memory leaks
6fceb241dc76 ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
e4b4280dcd97 libtraceevent: Change users plugin directory
c55659cd1459 iommu/iova: Avoid false sharing on fq_timer_on
223b0481ed4b libata/ahci: Drop PCS quirk for Denverton and beyond
de888e0244cb iommu/amd: Silence warnings under memory pressure
6241c0ac301e ALSA: firewire-motu: add support for MOTU 4pre
ad58ce6cacd1 nvme-multipath: fix ana log nsid lookup when nsid is not found
9edc229b9c90 nvmet: fix data units read and written counters in SMART log
7bbb7a9dd2c3 x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()
5201b4ffc324 ASoC: fsl_ssi: Fix clock control issue in master mode
4b7d9c2a716e x86/mm/pti: Do not invoke PTI functions when PTI is disabled
eb2485e32f90 arm64: kpti: ensure patched kernel text is fetched from PoU
b619496540ba x86/apic/vector: Warn when vector space exhaustion breaks affinity
01e8f487cecb sched/cpufreq: Align trace event behavior of fast switching
2919fa0398ad ACPI / CPPC: do not require the _PSD method
b79922133f9c ASoC: es8316: fix headphone mixer volume table
dd25f76c1f34 media: ov9650: add a sanity check
342a0bee4d94 perf trace beauty ioctl: Fix off-by-one error in cmd->string table
57409ea782e7 media: saa7134: fix terminology around saa7134_i2c_eeprom_md7134_gate()
78550c5cfe6d media: cpia2_usb: fix memory leaks
d796c6c1aab4 media: saa7146: add cleanup in hexium_attach()
ab20f38ce522 media: cec-notifier: clear cec_adap in cec_notifier_unregister
d51268d7574b PM / devfreq: exynos-bus: Correct clock enable sequence
7e19b7e0d640 PM / devfreq: passive: Use non-devm notifiers
f9de170eaf7e EDAC/amd64: Decode syndrome before translating address
6f80e91a66e0 EDAC/amd64: Recognize DRAM device type ECC capability
adb97f18b4e7 libperf: Fix alignment trap with xyarray contents in 'perf stat'
4df2427a5148 media: dvb-core: fix a memory leak bug
8d5fccff7b0c posix-cpu-timers: Sanitize bogus WARNONS
9df9652b7345 media: dvb-frontends: use ida for pll number
006a6065c867 media: mceusb: fix (eliminate) TX IR signal length limit
d093d3183ca2 nbd: add missing config put
e497ec26cc43 led: triggers: Fix a memory leak bug
83c2a42b1b84 ASoC: sun4i-i2s: Don't use the oversample to calculate BCLK
5466c30b11cb tools headers: Fixup bitsperlong per arch includes
b1f1b83e2583 ASoC: uniphier: Fix double reset assersion when transitioning to suspend state
e6bc6e2c0d1f media: hdpvr: add terminating 0 at end of string
4a2cb7600b72 media: radio/si470x: kill urb on error
dfaf60580191 ARM: dts: imx7-colibri: disable HS400
c20ee5d906ec ARM: dts: imx7d: cl-som-imx7: make ethernet work again
21927786df27 m68k: Prevent some compiler warnings in Coldfire builds
ba8f56ffaebf net: lpc-enet: fix printk format strings
aa2d05a9de05 media: imx: mipi csi-2: Don't fail if initial state times-out
1b7df445d881 media: omap3isp: Don't set streaming state on random subdevs
0c3802174754 media: i2c: ov5645: Fix power sequence
3dfbac0add22 media: vsp1: fix memory leak of dl on error return path
c47022e019fe perf record: Support aarch64 random socket_id assignment
482c1d0a7cc4 dmaengine: iop-adma: use correct printk format strings
19a1fa140594 media: rc: imon: Allow iMON RC protocol for ffdc 7e device
a527d3d4b513 media: em28xx: modules workqueue not inited for 2nd device
6a1c59a7603d media: fdp1: Reduce FCP not found message level to debug
e3f5f626e17a media: mtk-mdp: fix reference count on old device tree
066afce8d87d perf test vfs_getname: Disable ~/.perfconfig to get default output
96b61fe7a5f7 perf config: Honour $PERF_CONFIG env var to specify alternate .perfconfig
db751f6d5241 media: gspca: zero usb_buf on error
511110236089 idle: Prevent late-arriving interrupts from disrupting offline
9addfbd40959 sched/fair: Use rq_lock/unlock in online_fair_sched_group
6e9d45022d26 firmware: arm_scmi: Check if platform has released shmem before using
0dbdc1986bb4 efi: cper: print AER info of PCIe fatal error
4410b8517950 EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
cf8f20a1aacf loop: Add LOOP_SET_DIRECT_IO to compat ioctl
18e5e458c6d8 ACPI / processor: don't print errors for processorIDs == 0xff
465bc6e80fd2 media: media/platform: fsl-viu.c: fix build for MICROBLAZE
371538451c21 md: don't set In_sync if array is frozen
d38aff20c407 md: don't call spare_active in md_reap_sync_thread if all member devices can't work
1cd972e0a107 md/raid1: end bio when the device faulty
7d75275fbfb1 arm64/prefetch: fix a -Wtype-limits warning
829bebdc1ce6 ASoC: rsnd: don't call clk_get_rate() under atomic context
f5bef62df824 EDAC/altera: Use the proper type for the IRQ status bits
87bc43e2a775 ia64:unwind: fix double free for mod->arch.init_unw_table
ca57eca32b3e ALSA: usb-audio: Skip bSynchAddress endpoint check if it is invalid
d76b5ac5016c base: soc: Export soc_device_register/unregister APIs
4a75e77ef1b5 media: iguanair: add sanity checks
fe8fc7d7cb64 EDAC/mc: Fix grain_bits calculation
55a98e872186 ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls()
1af6822f29d6 ALSA: hda - Show the fatal CORB/RIRB error more clearly
b40c15c20e42 x86/apic: Soft disable APIC before initializing it
ce7fdd5cd83e x86/reboot: Always use NMI fallback when shutdown via reboot vector IPI fails
0f30856944d4 sched/deadline: Fix bandwidth accounting at all levels after offline migration
d29c7b8be599 x86/apic: Make apic_pending_intr_clear() more robust
f381d3d2c39c sched/core: Fix CPU controller for !RT_GROUP_SCHED
417cf53b4b85 sched/fair: Fix imbalance due to CPU affinity
7cebdfa62f22 time/tick-broadcast: Fix tick_broadcast_offline() lockdep complaint
64f3fb5d751c media: i2c: ov5640: Check for devm_gpiod_get_optional() error
6cc816dd644e media: hdpvr: Add device num check and handling
8bc254d3e6b8 media: exynos4-is: fix leaked of_node references
7ec720763a20 media: mtk-cir: lower de-glitch counter for rc-mm protocol
920acbff8932 media: dib0700: fix link error for dibx000_i2c_set_speed
8f9dc49928c2 leds: leds-lp5562 allow firmware files up to the maximum length
fdcf06a35bc6 dmaengine: bcm2835: Print error in case setting DMA mask fails
e841313b5731 firmware: qcom_scm: Use proper types for dma mappings
ec4815460d81 ASoC: sgtl5000: Fix charge pump source assignment
84bb4024b358 ASoC: sgtl5000: Fix of unmute outputs on probe
a7ace049bddc ASoC: tlv320aic31xx: suppress error message for EPROBE_DEFER
3657e58405fb regulator: lm363x: Fix off-by-one n_voltages for lm3632 ldo_vpos/ldo_vneg
3eec108aa879 ALSA: hda: Flush interrupts on disabling
5b6c791f494d nfp: flower: prevent memory leak in nfp_flower_spawn_phy_reprs
33fe1f517e29 nfc: enforce CAP_NET_RAW for raw sockets
dd651ab7a114 ieee802154: enforce CAP_NET_RAW for raw sockets
6f0f18e53269 ax25: enforce CAP_NET_RAW for raw sockets
6fbf86627608 appletalk: enforce CAP_NET_RAW for raw sockets
50dddec689cb mISDN: enforce CAP_NET_RAW for raw sockets
f06b0b3e5d76 net/mlx5: Add device ID of upcoming BlueField-2
3fdcf6a88ded tcp: better handle TCP_USER_TIMEOUT in SYN_SENT state
a749eea97ac9 net: sched: fix possible crash in tcf_action_destroy()
831d0fcba1cf usbnet: sanity checking of packet sizes and device mtu
b7eeccc1c786 usbnet: ignore endpoints with invalid wMaxPacketSize
ff4419d725c7 skge: fix checksum byte order
9a623e1b1d03 sch_netem: fix a divide by zero in tabledist()
1cd663adcece ppp: Fix memory leak in ppp_write
99952b08537c openvswitch: change type of UPCALL_PID attribute to NLA_UNSPEC
587df35cbf65 nfp: flower: fix memory leak in nfp_flower_spawn_vnic_reprs
195a3ea494d2 net_sched: add max len check for TCA_KIND
c31096dc586e net/sched: act_sample: don't push mac header on ip6gre ingress
abb04d0a9dea net: qrtr: Stop rx_worker before freeing node
6ea3bc412506 net/phy: fix DP83865 10 Mbps HDX loopback disable function
831d082be72c macsec: drop skb sk before calling gro_cells_receive
fd0034688358 cdc_ncm: fix divide-by-zero caused by invalid wMaxPacketSize
0bf79588586c arcnet: provide a buffer big enough to actually receive packets
555161ee1b7a Linux 4.19.76
59a5cea41dd0 f2fs: use generic EFSBADCRC/EFSCORRUPTED
fc3d296491f4 net/rds: Check laddr_check before calling it
3de749d6d7ce net/rds: An rds_sock is added too early to the hash table
07f7ec87b5f6 net_sched: check cops->tcf_block in tc_bind_tclass()
90b0761c1b81 Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices
6934809432d2 netfilter: nft_socket: fix erroneous socket assignment
649836fe946c xfs: don't crash on null attr fork xfs_bmapi_read
91ae87240166 drm/nouveau/disp/nv50-: fix center/aspect-corrected scaling
3717f4a49b34 ACPI: video: Add new hw_changes_brightness quirk, set it on PB Easynote MZ35
46beb6eacef5 Bluetooth: btrtl: HCI reset on close for Realtek BT chip
8ffd7ba9ffb1 net: don't warn in inet diag when IPV6 is disabled
ff0fbfacc94f drm: Flush output polling on shutdown
303f6d6bbc0c f2fs: fix to do sanity check on segment bitmap of LFS curseg
dec09554eba9 net/ibmvnic: Fix missing { in __ibmvnic_reset
dc9118feb472 dm zoned: fix invalid memory access
73d90f57fcc2 Revert "f2fs: avoid out-of-range memory access"
40cdc71e1111 blk-mq: move cancel of requeue_work to the front of blk_exit_queue
313efb253d03 blk-mq: change gfp flags to GFP_NOIO in blk_mq_realloc_hw_ctxs
75448f40b9f6 initramfs: don't free a non-existent initrd
ad16dfef4a44 bcache: remove redundant LIST_HEAD(journal) from run_cache_set()
08fdaee2d97b PCI: hv: Avoid use of hv_pci_dev->pci_slot after freeing it
ef2baa03b7f0 f2fs: check all the data segments against all node ones
ef06c33dc371 irqchip/gic-v3-its: Fix LPI release for Multi-MSI devices
52b4947bac50 bpf: libbpf: retry loading program on EAGAIN
a935d78e54cc Revert "drm/amd/powerplay: Enable/Disable NBPSTATE on On/OFF of UVD"
288831cba980 scsi: qla2xxx: Return switch command on a timeout
2b983f212c68 scsi: qla2xxx: Remove all rports if fabric scan retry fails
6b449e4cf090 scsi: qla2xxx: Turn off IOCB timeout timer on IOCB completion
9423770eb336 locking/lockdep: Add debug_locks check in __lock_downgrade()
0c23335a2d81 power: supply: sysfs: ratelimit property read error message
1456c40aa906 pinctrl: sprd: Use define directive for sprd_pinconf_params values
037d73a6458e objtool: Clobber user CFLAGS variable
952844f31eb7 ALSA: hda - Apply AMD controller workaround for Raven platform
50c9ccffe041 ALSA: hda - Add laptop imic fixup for ASUS M9V laptop
866a1a7e9f23 ALSA: dice: fix wrong packet parameter for Alesis iO26
9829fd27501e ALSA: usb-audio: Add DSD support for EVGA NU Audio
303921276360 ALSA: usb-audio: Add Hiby device family to quirks for native DSD support
8a845c02e495 ASoC: fsl: Fix of-node refcount unbalance in fsl_ssi_probe_from_dt()
a5e2c65034f8 ASoC: Intel: cht_bsw_max98090_ti: Enable codec clock once and keep it enabled
ec2a3681b30c media: tvp5150: fix switch exit in set control handler
ba6860700d1f iwlwifi: mvm: always init rs_fw with 20MHz bandwidth rates
ced0676fc9c2 iwlwifi: mvm: send BCAST management frames to the right station
b3873e34cbf2 net/mlx5e: Rx, Check ip headers sanity
404f118f2790 net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
c95ebb394d65 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
79e972a89cad net/mlx5e: Allow reporting of checksum unnecessary
8da68f79b3b3 mlx5: fix get_ip_proto()
44da02576b5d net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets
6debda97411e net/mlx5e: Set ECN for received packets using CQE indication
e867ef113004 CIFS: fix deadlock in cached root handling
f3160a1d71f7 crypto: talitos - fix missing break in switch statement
c1a7fe486647 mtd: cfi_cmdset_0002: Use chip_good() to retry in do_write_oneword()
5fdefdcb92bb HID: Add quirk for HP X500 PIXART OEM mouse
3d072c272b88 HID: hidraw: Fix invalid read in hidraw_ioctl
acc96be807bb HID: logitech: Fix general protection fault caused by Logitech driver
3e785174fb35 HID: sony: Fix memory corruption issue on cleanup.
eb77929769e3 HID: prodikeys: Fix general protection fault during probe
2661d462aaa9 IB/core: Add an unbound WQ type to the new CQ API
70ec2eecc550 drm/amd/display: readd -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines
80fc27953e74 powerpc/xive: Fix bogus error code returned by OPAL
4eb92a114834 RDMA/restrack: Protect from reentry to resource return path
373f9092df95 net/ibmvnic: free reset work of removed device from queue
2af977b0d1db Revert "Bluetooth: validate BLE connection interval updates"
d573e8a79f70 Linux 4.19.75
b841a9f58d9c media: technisat-usb2: break out of loop at end of buffer
f35f5a990a07 arm64: kpti: Whitelist Cortex-A CPUs that don't implement the CSV3 field
c0ccb4da26bc binfmt_elf: move brk out of mmap when doing direct loader exec
c3817ffb1036 floppy: fix usercopy direction
9c13e770cca9 ovl: fix regression caused by overlapping layers detection
5e74396d8beb PCI: kirin: Fix section mismatch warning
0d50f7b1e8c8 iommu/amd: Fix race in increase_address_space()
52f32e4aec50 iommu/amd: Flush old domains in kdump kernel
ca77acdf1ac9 keys: Fix missing null pointer check in request_key_auth_describe()
d73515a17c14 x86/hyper-v: Fix overflow bug in fill_gva_list()
371357770c8b x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation
72c762b01eb0 dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
d04b522a65c0 dmaengine: ti: dma-crossbar: Fix a memory leak bug
6bc421d5a04a net: seeq: Fix the function used to release some memory in an error handling path
83360eb798ca net: aquantia: fix out of memory condition on rx side
30c345bd786a tools/power turbostat: fix buffer overrun
d485c65853de tools/power x86_energy_perf_policy: Fix argument parsing
254b9b2971a7 tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2
a85a0d9f3796 amd-xgbe: Fix error path in xgbe_mod_init()
7ec11cad3fde perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
560857de3064 perf/x86/intel: Restrict period on Nehalem
65ad72ce10e7 i2c: designware: Synchronize IRQs when unregistering slave client
5a45b14b03f7 sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
6cce2adae3e1 ibmvnic: Do not process reset during or after device removal
080ca754f5db ARM: 8901/1: add a criteria for pfn_valid of arm
c6d779fd8197 usb: host: xhci-tegra: Set DMA mask correctly
b62946852afa cifs: Use kzfree() to zero out the password
325fa2a6729b cifs: set domainName when a domain-key is used in multiuser
9a74f799b99c kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
0f7130177325 NFSv2: Fix write regression
60f0d449601d NFSv2: Fix eof handling
6075729f76da netfilter: nf_conntrack_ftp: Fix debug output
7ac5947f7578 netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
e997c0730520 x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
688fdaa54a3e r8152: Set memory to all 0xFFs on failed reg reads
d9f79f0ace55 bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
7d4201ff9f73 batman-adv: Only read OGM2 tvlv_len after buffer len check
5b8b66274183 ARM: 8874/1: mm: only adjust sections of valid mm structures
b870f8afc5a5 qed: Add cleanup in qed_slowpath_start()
30881d79de31 xdp: unpin xdp umem pages in error path
55ed0ad50201 Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105
767877deb25a NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
4ac4f4716fba NFSv4: Fix return value in nfs_finish_open()
d7565d51af18 NFSv4: Fix return values for nfs4_file_open()
4e5fbcb9a615 netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
a02c676c0f03 netfilter: nft_flow_offload: missing netlink attribute policy
a4fa6c68ecc3 netfilter: ebtables: Fix argument order to ADD_COUNTER
634dd5a48627 fpga: altera-ps-spi: Fix getting of optional confd gpio
0d393f23f18e tools: bpftool: close prog FD before exit on showing a single program
c5bb033529f1 selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390
48d77ca1497f s390/bpf: use 32-bit index for tail calls
999f33c2438c bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
1a85d5819ade ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
a8919f8d352f ARM: dts: dra74x: Fix iodelay configuration for mmc3
2ff2bd2c5526 ARM: OMAP2+: Fix omap4 errata warning on other SoCs
73d003274a42 s390/bpf: fix lcgr instruction encoding
c1e0937ef4d5 bus: ti-sysc: Fix using configured sysc mask value
0aee9e118eee ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss
f696ba6b122d ARM: dts: am57xx: Disable voltage switching for SD card
ac8f26f6a035 ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails
c237a050df3b ieee802154: hwsim: Fix error handle path in hwsim_init_module
6a10e87ffca1 nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
941431c491a6 mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings
770cee245191 tty/serial: atmel: reschedule TX after RX was started
4c2f60ed8ed8 serial: sprd: correct the wrong sequence of arguments
2871621518ac firmware: google: check if size is valid when decoding VPD data
232a6462f43f KVM: coalesced_mmio: add bounds checking
7a1bad565ceb net_sched: let qdisc_put() accept NULL pointer
47288968eebd xen-netfront: do not assume sk_buff_head list is empty in error handling
fdd60d80c429 udp: correct reuseport selection with connected sockets
97b5f8c95b75 ip6_gre: fix a dst leak in ip6erspan_tunnel_xmit
4fb95f299504 phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current
abf389e0795a media: tm6000: double free if usb disconnect while streaming
77d4e2a05885 USB: usbcore: Fix slab-out-of-bounds bug during device reset
b01b1eb24c04 powerpc/mm/radix: Use the right page size for vmemmap mapping
289f3c82b116 Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
305c3b497662 RDMA/restrack: Release task struct which was hold by CM_ID object
8993c673d6c4 HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
2a0aa8a06aea netfilter: nf_flow_table: set default timeout after successful insertion
dbc29aff8d04 Linux 4.19.74
9d587fe2cd70 x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
96c08711fc66 nvmem: Use the same permissions for eeprom as for nvmem
3622d621e9be rsi: fix a double free bug in rsi_91x_deinit()
780f3aadee1e platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table
52bfcc9c8406 modules: fix compile error if don't have strict module rwx
ae415d7a2707 modules: fix BUG when load module with rodata=n
0ae0c43abcbf iio: adc: stm32-dfsdm: fix data type
acf77c411b4e Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
a03ed2891cdb drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
d13a836d787d drm: panel-orientation-quirks: Add extra quirk table entry for GPD MicroPC
4b30a0698208 firmware: ti_sci: Always request response from firmware
3dfc787f2f50 crypto: talitos - HMAC SNOOP NO AFEU mode requires SW icv checking.
e89d4cb6fba3 crypto: talitos - Do not modify req->cryptlen on decryption.
9aff4077304b crypto: talitos - fix ECB algs ivsize
c4d7148e2d67 crypto: talitos - check data blocksize in ablkcipher.
02ebbb4f8df8 crypto: talitos - fix CTR alg blocksize
39fa02a36bb3 crypto: talitos - check AES key size
e1666bcbae0c driver core: Fix use-after-free and double free on glue directory
72cd230b3231 ubifs: Correctly use tnc_next() in search_dh_cookie()
a65290083b66 gpio: fix line flag validation in lineevent_create
0f4095f33557 PCI: Always allow probing with driver_override
70facf939ba2 mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue
6da56f8982bb clk: rockchip: Don't yell about bad mmc phases when getting
a63416f39aaf drm/meson: Add support for XBGR8888 & ABGR8888 formats
d9e8b4ba0397 powerpc: Add barrier_nospec to raw_copy_in_user()
eb020b77b646 x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
73c31bd92039 KVM: nVMX: handle page fault in vmread
6e60900cfa3e KVM: x86: work around leak of uninitialized stack contents
09a9f894c65b KVM: s390: Do not leak kernel stack data in the KVM_S390_INTERRUPT ioctl
9f8a2825918c KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()
991b3458da56 genirq: Prevent NULL pointer dereference in resend_irqs()
5b5f14601e0a ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
7cbd49cf0d62 Btrfs: fix assertion failure during fsync and use of stale transaction
22ed1d472811 gpio: fix line flag validation in linehandle_create
705df757e937 gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
0f4ceb259493 tun: fix use-after-free when register netdev failed
9a4598424e99 tipc: add NULL pointer check before calling kfree_rcu
67fe3b94a833 tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
7c34a29261ee sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
41b624ff83d2 sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
a9e91767b921 sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
a7f46e18ecfe net: sched: fix reordering issues
3600a311f83d net: phylink: Fix flow control resolution
821302dd0c51 net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list
88a46756f016 net: Fix null de-reference of device refcount
b26f489245b3 ixgbe: Fix secpath usage for IPsec TX offload.
2354e925e361 isdn/capi: check message length in capi_write()
ea6ec671c87e ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
a20c8e4ae48d cdc_ether: fix rndis support for Mediatek based smartphones
f57fd58dda42 bridge/mdb: remove wrong use of NLM_F_MULTI
db2d0b7c1dde Linux 4.19.73
ba03ee62aed0 vhost: make sure log_num < in_num
569775bd5364 powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
052bc385f970 powerpc/tm: Remove msr_tm_active()
f193e02265aa PCI: Reset both NVIDIA GPU and HDA in ThinkPad P50 workaround
ff69322509bb ext4: unsigned int compared against zero
292666d2d868 ext4: fix block validity checks for journal inodes using indirect blocks
97fbf573460e ext4: don't perform block validity checks on the journal inode
1e88a1f874ca drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors
b1dd1d06b31d virtio/s390: fix race on airq_areas[]
057cdb6f0f47 drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
b113f98432ae bcache: fix race in btree_flush_write()
f73c35d92976 bcache: add comments for mutex_lock(&b->write_lock)
7989a5026fd1 bcache: only clear BTREE_NODE_dirty bit when it is set
652993a5aae5 NFSv4: Fix delegation state recovery
5026932adb1a iio: adc: gyroadc: fix uninitialized return code
2e7e7c8f9423 mm/migrate.c: initialize pud_entry in migrate_vma()
b8ad18a10f70 i2c: at91: fix clk_offset for sama5d2
4c9170b55f3a i2c: at91: disable TXRDY interrupt after sending data
c9c90711ee88 gpio: don't WARN() on NULL descs if gpiolib is disabled
a532a120a5cd iommu/iova: Remove stale cached32_node
c4fc7cb93e0a powerpc/mm: Limit rma_size to 1TB when running without HV mode
5b9a6ba975c0 ALSA: hda - Fix intermittent CORB/RIRB stall on Intel chips
87c3692172da drm/panel: Add support for Armadeus ST0700 Adapt
ecf99cdea02d dm thin metadata: check if in fail_io mode when setting needs_check
5e9a2ce6d3b4 pstore: Fix double-free in pstore_mkfile() failure path
192b9af8caf0 resource: fix locking in find_next_iomem_res()
485bcc29a200 resource: Fix find_next_iomem_res() iteration issue
9a80dfccade1 resource: Include resource end in walk_*() interfaces
1c13c9c40e31 btrfs: correctly validate compression type
0ca2688bd7cd RDMA/srp: Accept again source addresses that do not have a port number
9541604735b2 RDMA/srp: Document srp_parse_in() arguments
bab0ff2d87db ARM: dts: gemini: Set DIR-685 SPI CS as active low
3a1b79ade460 KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
3ac718069f7c KVM: PPC: Use ccr field in pt_regs struct embedded in vcpu struct
beeeead95b2f KVM: VMX: check CPUID before allowing read/write of IA32_XSS
891011ca564d KVM: VMX: Fix handling of #MC that occurs during VM-Entry
74ce13331db9 KVM: VMX: Always signal #GP on WRMSR to MSR_IA32_CR_PAT with bad value
74fd8aae19d9 KVM: x86: optimize check for valid PAT value
812810399999 ceph: use ceph_evict_inode to cleanup inode's resource
42fa0e35d6e0 ALSA: hda - Don't resume forcibly i915 HDMI/DP codec
987564c28e8a cifs: Properly handle auto disabling of serverino option
d85e830d8534 scsi: zfcp: fix request object use-after-free in send path causing wrong traces
ba8701d2226c staging: wilc1000: fix error path cleanup in wilc_wlan_initialize()
60b856dc1744 scsi: target/iblock: Fix overrun in WRITE SAME emulation
ba52842de1ad scsi: target/core: Use the SECTOR_SHIFT constant
17111037fdf0 apparmor: reset pos on failure to unpack for various functions
90ca4912e55d IB/hfi1: Avoid hardlockup with flushlist_lock
fa717fc442ff clk: tegra210: Fix default rates for HDA clocks
350503c8982b clk: tegra: Fix maximum audio sync clock for Tegra124/210
acc07941e224 cifs: add spinlock for the openFileList to cifsInodeInfo
1d0648767ccf Btrfs: fix race between block group removal and block group allocation
f276beb324cc drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc
7abeffff7bc3 drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2)
d5f6539381c7 kvm: Check irqchip mode before assign irqfd
90772cf58838 drm/amdkfd: Add missing Polaris10 ID
cacbc85376b6 ARC: mm: SIGSEGV userspace trying to access kernel virtual memory
7edfa9c99d21 ARC: mm: fix uninitialised signal code in do_page_fault
0828438e523e signal/arc: Use force_sig_fault where appropriate
fcb2f1e2ea68 dm crypt: move detailed message into debug level
96b44c20e6f0 cifs: smbd: take an array of reqeusts when sending upper layer data
3f27a14b03d8 PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify code
842da8fac182 mmc: sdhci-pci: Add support for Intel CML
e238e6dc222b blk-mq: free hw queue's resource in hctx's release handler
69409854ba08 dm mpath: fix missing call of path selector type->end_io
0fe097012b6c PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
5659dfca74d0 PCI: Add macro for Switchtec quirk declarations
e4ba157877db dt-bindings: mmc: Add disable-cqe-dcmd property.
eb83f9fa10f7 dt-bindings: mmc: Add supports-cqe property
0a0176f93ea9 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
445a78ea3f90 ARM: dts: qcom: ipq4019: Fix MSI IRQ type
df1216d8bc86 ARM: dts: qcom: ipq4019: fix PCI range
2fd4629de519 ext4: protect journal inode's blocks using block_validity
f10a92309b83 media: i2c: tda1997x: select V4L2_FWNODE
4061e662c8e9 cifs: Fix lease buffer length error
df5d4ea2d8be KVM: x86: Always use 32-bit SMRAM save state for 32-bit kernels
7a74d806bdaa x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
163b24b1a68c kvm: mmu: Fix overflow on kvm mmu page limit calculation
feced628c068 IB/mlx5: Reset access mask when looping inside page fault handler
37222eaf7eb7 arm64: dts: stratix10: add the sysmgr-syscon property from the gmac's
3cfce8b77aad usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
fba4f7c118e4 drm/i915: Sanity check mmap length against object size
6423a2ad5709 drm/i915: Handle vm_mmap error during I915_GEM_MMAP ioctl with WC set
778d626c6af3 CIFS: Fix leaking locked VFS cache pages in writeback retry
fb2dabeabb17 CIFS: Fix error paths in writeback code
e407b58c3576 drm: add __user attribute to ptr_to_compat()
e1a12c3b6f87 PCI: qcom: Don't deassert reset GPIO during probe
be905d0f2330 PCI: qcom: Fix error handling in runtime PM support
476ecc14cfdb btrfs: init csum_list before possible free
936690bdd8e6 btrfs: scrub: fix circular locking dependency warning
ff55333f5c52 btrfs: scrub: move scrub_setup_ctx allocation out of device_list_mutex
8ba3169dceac btrfs: scrub: pass fs_info to scrub_setup_ctx
df7329207870 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
915c9d0a1d68 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
b3f864b88256 spi: spi-gpio: fix SPI_CS_HIGH capability
1d60902a5448 x86/kvmclock: set offset for kvm unstable clock
716b0cfa88a5 iwlwifi: add new card for 9260 series
213566a9b0de iwlwifi: fix devices with PCI Device ID 0x34F0 and 11ac RF modules
2b76fcb6ba62 drm/nouveau: Don't WARN_ON VCPI allocation failures
173b6557fcbc mt76: fix corrupted software generated tx CCMP PN
0d7f329e2431 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
4e516b721a50 dt-bindings: iio: adc: exynos-adc: Add S5PV210 variant
7f588a7262b3 iio: adc: exynos-adc: Add S5PV210 variant
cd490d44150d KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
687e470e9123 bcache: treat stale && dirty keys as bad keys
d1cec665de2c bcache: replace hard coded number with BUCKET_GC_GEN_MAX
ee30121fbd78 tpm: Fix some name collisions with drivers/char/tpm.h
c207ac66848e mfd: Kconfig: Fix I2C_DESIGNWARE_PLATFORM dependencies
6fd5e50add36 drm/i915/ilk: Fix warning when reading emon_status with no output
2b4f567912ad drm/vblank: Allow dynamic per-crtc max_vblank_count
71f719105462 crypto: ccree - add missing inline qualifier
72eec6b303f4 crypto: ccree - fix resume race condition on init
f0e286550af8 IB/uverbs: Fix OOPs upon device disassociation
8c6fb55abf2c ARC: mm: do_page_fault fixes#1: relinquish mmap_sem if signal arrives while handle_mm_fault
96af7d92d8d2 ARC: show_regs: lockdep: re-enable preemption
424b75b79994 media: vim2m: only cancel work if it is for right context
be77686f0369 btrfs: Use real device structure to verify dev extent
a2790b9939ae btrfs: volumes: Make sure no dev extent is beyond device boundary
cfbf227e0591 powerpc/pkeys: Fix handling of pkey state across fork()
2ad95be18995 scsi: megaraid_sas: Use 63-bit DMA addressing
3263f78640cc scsi: megaraid_sas: Add check for reset adapter bit
dc4e3ec9d226 scsi: megaraid_sas: Fix combined reply queue mode detection
eb124aaa2e85 btrfs: Fix error handling in btrfs_cleanup_ordered_extents
1669d1d2e696 btrfs: Remove extent_io_ops::fill_delalloc
338a528b7922 Btrfs: fix deadlock with memory reclaim during scrub
fac803479f60 Btrfs: clean up scrub is_dev_replace parameter
d3984e80d7f2 KVM: PPC: Book3S HV: Fix race between kvm_unmap_hva_range and MMU mode switch
d88b01d04c6a drm/i915: Cleanup gt powerstate from gem
b185bde520d5 drm/i915: Restore sane defaults for KMS on GEM error load
f999485109d1 media: vim2m: use cancel_delayed_work_sync instead of flush_schedule_work
a7b6f95f3ca6 media: vim2m: use workqueue
e432a58d7a0d s390/zcrypt: reinit ap queue state machine during device probe
a4f404af3ca8 ARM: davinci: dm644x: define gpio interrupts as separate resources
8d6b2b24ca85 ARM: davinci: dm355: define gpio interrupts as separate resources
d31f2b61e7f9 ARM: davinci: dm646x: define gpio interrupts as separate resources
4883e9e66f76 ARM: davinci: dm365: define gpio interrupts as separate resources
0a6c3bdae2c9 ARM: davinci: da8xx: define gpio interrupts as separate resources
016218ef6bb0 drm/amd/dm: Understand why attaching path/tile properties are needed
853dc0759586 drm/amd/pp: Fix truncated clock value when set watermark
5faabd22ed64 powerplay: Respect units on max dcfclk watermark
11bedb2e77a0 Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up
74ff258346e4 Drivers: hv: kvp: Fix the indentation of some "break" statements
e352d8eb9394 drm/atomic_helper: Disallow new modesets on unregistered connectors
cff9e1e33151 drm/i915/gen9+: Fix initial readout for Y tiled framebuffers
8ccbb1d24c26 drm/i915: Rename PLANE_CTL_DECOMPRESSION_ENABLE
4b2dfc0e2d44 drm/i915: Fix intel_dp_mst_best_encoder()
796469e361ed x86/kvm/lapic: preserve gfn_to_hva_cache len on cache reinit
cdad0f65050e KVM: hyperv: define VP assist page helpers
b0d9043bdbe6 KVM: x86: hyperv: keep track of mismatched VP indexes
f031fd03e22e KVM: x86: hyperv: consistently use 'hv_vcpu' for 'struct kvm_vcpu_hv' variables
0b535f7b95af KVM: x86: hyperv: enforce vp_index < KVM_MAX_VCPUS
8e91cc7f7f91 drm/amdgpu: Update gc_9_0 golden settings.
bcc3bd761ab5 drm/amdgpu/gfx9: Update gfx9 golden settings.
2c2cf2245ff6 remoteproc: qcom: q6v5-mss: add SCM probe dependency
4d9707586ec7 x86, hibernate: Fix nosave_regions setup for hibernation
805e0e46eb54 Drivers: hv: kvp: Fix two "this statement may fall through" warnings
3f3beae22842 keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h
bac1c4edb5c4 scsi: qla2xxx: Move log messages before issuing command to firmware
6e087eae89df media: cec: remove cec-edid.c
851308450a8f media: cec/v4l2: move V4L2 specific CEC functions to V4L2
c09d675f294b drm/i915: Re-apply "Perform link quality check, unconditionally during long pulse"
3015291b2fb5 kernel/module: Fix mem leak in module_add_modinfo_attrs
9c49f7811f82 modules: always page-align module section allocations
84ba9ae18fbb remoteproc: qcom: q6v5: shore up resource probe handling
56944c0b9774 clk: s2mps11: Add used attribute to s2mps11_dt_match
480101a4aea2 nvme-fc: use separate work queue to avoid warning
5f147150b753 riscv: remove unused variable in ftrace
8d23872c7539 scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
6c550a5db18f arm64: dts: rockchip: enable usb-host regulators at boot on rk3328-rock64
573370113b24 media: stm32-dcmi: fix irq = 0 case
7f8b23600779 powerpc/64: mark start_here_multiplatform as __ref
85a24825b2e6 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
b93aed78eb78 selftests: fib_rule_tests: use pre-defined DEV_ADDR
68829256e1f9 timekeeping: Use proper ktime_add when adding nsecs in coarse offset
1aa38eceb6c0 {nl,mac}80211: fix interface combinations on crypto controlled devices
178d1337a527 blk-iolatency: fix STS_AGAIN handling
5f33e81250a6 Blk-iolatency: warn on negative inflight IO counter
91a71a61da8c hv_sock: Fix hang when a connection is closed
86d5ae21d6b8 batman-adv: Only read OGM tvlv_len after buffer len check
4b5fee457723 batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
47a0f70d7d9a powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
6e7040d65a71 vhost/test: fix build for vhost test - again
4f45483faadf vhost/test: fix build for vhost test
dcd22e14780a drm/vmwgfx: Fix double free in vmw_recv_msg()
38d38d1e0cc5 sched/fair: Don't assign runtime for throttled cfs_rq
044ab4715585 ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
849f85bfdf12 ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
a956998ac1c2 ALSA: hda/realtek - Add quirk for HP Pavilion 15
d11ca2d79334 ALSA: hda/realtek - Fix overridden device-specific initialization
2c4d2ce8b799 ALSA: hda - Fix potential endless loop at applying quirks
(From OE-Core rev: 085b5b4638bf91e17814e4a1b8c296158ee17433)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A small test to verify that oe-run-native is correctly working.
(From OE-Core rev: 1b577bcc44cbf7a9e94f8770f21841a16ad50c64)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pass all of the compiler and linker flags so the build is correctly configured.
(From OE-Core rev: 05151064eb2c0907ebb815c9ae3481a912835b39)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Displaying a help message if help was requested isn't an error.
(From OE-Core rev: 9d98e881de9030d80e451519b054681d4e9d2621)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The coreutils implementation of stdbuf uses LD_PRELOAD
to dynamically load libstdbuf which calls setvbuf().
This can't be implemented simply in busybox since it produces
one or two statically linked executables. Therefore, stdbuf
should be packaged separately for people who are using busybox
instead of coreutils for the other tools.
coreutils depends on the new package,
so nothing changes when installing coreutils.
(From OE-Core rev: 992cec44ad2073cfe05cb2c58936032af189748a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tools are not written in Perl anymore, so they should be in PN no PN-perltools.
(From OE-Core rev: 8a2e4dac4f5086fbfc094fb1f16e91108ee1b247)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVEs that are whitelisted or were not vulnerable when there are version
comparisons were not included in the report, so alter the logic to ensure that
all relevant CVEs are in the report for completeness.
(From OE-Core rev: 98256ff05fcfe9d5ccad360582c36eafb577c264)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix the following runtime failure.
mem.c:814: INFO: set overcommit_memory to 0
overcommit_memory.c:213: FAIL: alloc passed, expected to fail
(From OE-Core rev: c4bf0b80ab1be8b4faa2af7708bdca990d94a329)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0.24:
- Add support for extended groups in settings files.
0.25:
- Fix issue with stopping DHCP client and owner notification.
- Fix issue with time calculation overflow and DHCP.
(From OE-Core rev: 8b41a5b0418d1d85741a88b236bbe5ae30ec4355)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
reproduce steps:
1. add DISTRO_FEATURE_append = 'usrmerge' in local.conf
2. bitbake mdadm --success
3. remove DISTRO_FEATURE_append = 'usrmerge' from local.conf
4. bitbake mdadm -- failed when do_package
it is not proper to change source Makefile during do_install by sed,
fix by pass correct config to EXTRA_OEMAKE
[YOCTO #13493]
(From OE-Core rev: 8eb457bd396592094b59098496d88db0ba03d013)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Elfutils has optional support for bzip2 and xz (lzma). It uses
this for decompressing embedded ELF sections like the .gnu_debugdata
section for "mini debuginfo":
https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html
Previously this support was unconditionally disabled but the reasons for
disabling them seem to no longer apply. Both the target and native
variants of elfutils can build successfully against both bzip2 and xz.
(From OE-Core rev: 37f4b2311eab6736ee92fc6ac39ddcba6d56a38e)
(From OE-Core rev: a898b13763a145f15dfd8ada033ae9f0d60e4185)
Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream added support for optional docs, so
0001-Do-not-generate-gtkdoc-or-python-bindings.patch is replaced
with an option to disable gtk-doc (as the modulemd feature is not used
in oe-core anyway).
(From OE-Core rev: cb5bb2b9635ebf709f1eb0b154f28419d548ad70)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcr uses gettext now, so no need to depend on intltool-native.
(From OE-Core rev: fc300e7adc0ad6e5573744434e5010d177f6c2db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport changes to tinfo/comp_hash.c, tinfo/parse_entry.c,
and progs/dump_entry.c from upstream to fix CVEs.
(From OE-Core rev: 69c31032f1ec0e300c3247efa71aa9b4ebdaf23d)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows layers adding packages other than locales automatically to
images based on languages selected in IMAGE_LINGUAS.
E.g if a layer has recipes creating packages as:
| ${PN}-foo-en / ${PN}-foo-de / ${PN}-foo-it / ..
it would set
| IMAGE_LINGUAS_COMPLEMENTARY_append = " *-foo-%s"
in its layer.conf to enable auto-adding.
(From OE-Core rev: 3a9e9585aeb67234901b2f842113dbe20c3801b3)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream fix. No upstream release version of
binutils it yet, so backport the fix independently.
(From OE-Core rev: 3693a0a8b9461521b95613a76b7fd79c86a3bf8f)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport upstream fix. No upstream release version of
binutils it yet, so backport the fix independently.
(From OE-Core rev: a4ead72b958ded4941f96741029f4955930ba758)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- remove the inc file
- run oe-stylize on the recipe
(From OE-Core rev: 3bfec923cf717bd1082beb0e026567951c2e99c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
oe-core e37a1ecc stopped downloading a LZMA tarball, but the checksums were not
removed at the same time.
(From OE-Core rev: 73a1e1135618a23f3f2a714c311df39c7b809ed5)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Automatic generation seems to work fine,
and does not become outdated.
(From OE-Core rev: 8993270f8bc65e152418d84fde03f8ead83c054b)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some hosts need -pthread in order to link properly (e.g. openSUSE 15.1).
(From OE-Core rev: 6196e68ffc83ae0655336d3466d950828d42e191)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Part of patch fixed upstream removed.
(From OE-Core rev: 82169fd7684389f9cdedd6f91a00698641741a8c)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When bitbake determines if a git clone needs updating, it only checks for the
needed srcrevs, not the revs listed in BB_GIT_SHALLOW_REVS, which will fail if
using shallow and the needed rev was added to the upstream git repo after a
previous fetch. Ensure that we also check for shallow revs.
[YOCTO #13586]
(Bitbake rev: 93b65e3c6ca64f644946953980595c44fbbcc748)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intention of this commit is so that git history will clearly
show the changes made to the Python indent code.
Taken from Vim commit 7a9bd7c1e0ce1baf5a02daf36eeae3638aa315c7
(Bitbake rev: 3eb3ed6b31859e108020e47faee7215841fea8f6)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changing the gl options to qemu doesn't result in a correctly rebuilt
binary, the GL linkage can persist from a build where it was enabled
to one where it was not.
As well as clearly being incorrect and non-reproducible, this caused
some mystery failures on the autobuilder.
Cleaning ${B} at do_configure time avoids this. Most recipes
(e.g. autotools derived ones) already clean ${B} as appropriate and
avoid this issue.
(From OE-Core rev: b91b30c09ffbcd81e8dcaae832b3ae4f61046236)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure /etc/exports exists and is readable before calling exportfs
to avoid errors.
(From OE-Core rev: 723f2464f746624ece06caa9752910a52f290f95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'accept' function on the socket of unfsd daemon
is always in below error state:
accept(4, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
accept(6, 0x7ffd5e6dddc0, [128]) = -1 EINVAL (Invalid argument)
And 'strace -c -p <the pid of unfsd>' shows:
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
70.87 0.005392 0 513886 513886 accept
29.13 0.002216 0 256943 poll
This error state is in the 'for' loop of the daemon, so it consumes 100%
CPU. The reason is that 'listen' is not called for the TCP socket before
'accept'. Actually the called 'svc_tli_create' from libtirpc will not call
'listen' on a bound socket.
(From OE-Core rev: 1f6784d2e839f81749d21ad1b615a9f7bb0e64d6)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches to fix CVE-2019-6471 and CVE-2018-5743 for bind.
CVE-2019-6471 is fixed by 0001-bind-fix-CVE-2019-6471.patch and the
other 6 patches are for CVE-2018-5743. And backport one more patch to
fix compile error on arm caused by these 6 commits.
(From OE-Core rev: 3c39d4158677b97253df63f23b74c3a9dd5539f6)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Like the -dbg package, this package is automatically generated and contains
source filenames. We expect this to change on every upgrade, so don't show the
differences unless the user wants to see all changes.
(From OE-Core rev: 30acbf6f89ba76d6fab8987ed20f72d1fa3d70fa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Need it for gnome-settings-daemon 3.34:
| meson.build:91:0: ERROR: Invalid version of dependency, need 'gsettings-desktop-schemas' ['>= 3.33.0'] found '3.32.0'.
(From OE-Core rev: e94ce7ecc80efd41ec496fadf7546ea027f7dafd)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12760]
Updated the cmake.bbclass description to tell what directory
to insall custom CMake toolchain files into. Also, updated
the two areas in the "Writing a New Recipe" section that
mention CMake. Placed a couple notes there concerning the
same directory stuff.
(From yocto-docs rev: a65cd2c4c062d4ae388191b9d6708b4fadffaa3f)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
commited a change to these manuals (see
9e79e96cad66316c1b4ee608723edfa763f0f9ef) and did not
use YP documentation standards for the content. I cleaned
up the text and tabbing.
(From yocto-docs rev: 9c95799322e1830a5faae0980384ab10b6504007)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in a moving to YP version 1.8 migration section.
(From yocto-docs rev: b87f0882c39524747004fafc4d1caf58b3344c3a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was using "2.8" throughout the manual set instead
of "3.0". Updated all aspects to "3.0".
(From yocto-docs rev: db19937e98c59d4d2a9ce89877be3c8e0b05991a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turned "2.8" into "3.0". Nobody told me about skipping
2.8 and 2.9.
(From yocto-docs rev: 13819f0651c48adae9d1a8d6d19341ba5ee44978)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The connman-wait-online package currently isn't marked as
systemd-enabled package. This means it is impossible to
auto-enable the service during image creation or package
installation, as no preset files and no pkg_postinst()
snippet is being created.
This change should have been done as part of the
upgrade to v1.31
Note:
connman-wait-online is needed when connman is in use
in more complex network/interface setups for systemd's
network-online.target to report success.
systemd-networkd's systemd-networkd-wait-online.service
alone doesn't work in such scenarios and simply times
out, as it know nothing about the expected network/
interface configuration, meaning the target doesn't
boot successfully (systemctl list-units --failed),
and long delays are seen, caused by waiting for the
systemd-networkd-wait-online.service timeout.
(From OE-Core rev: 1a8d18eeee6dc188d8becc778bfa933031490781)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass installs non-standard kernels (where
KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}.
To achieve this kernel_do_deploy sets the deployDir shell variable to
${DEPLOYDIR} for the standard kernel or
${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels.
kernel-devicetree.bbclass's do_deploy_append ought to do the same
and can do so by using the same shell variable.
(From OE-Core rev: db5752911fe085337b9d3d4af85f89a0c664388e)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel.bbclass installs non-standard kernels (where
KERNEL_PACKAGE_NAME is not "kernel") in a subdirectory of ${DEPLOYDIR}.
To achieve this kernel_do_deploy sets the deployDir shell variable to
${DEPLOYDIR} for the standard kernel or
${DEPLOYDIR}/${KERNEL_DEPLOYSUBDIR} for non-standard kernels.
kernel-fitimage.bbclass's kernel_do_deploy_append ought to do the same
and can do so by using the same shell variable.
(From OE-Core rev: d324b22d32eaea9e4337c963c8b1a33b0ba6a2dd)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer
account can bypass certain policy blacklists and session PAM modules,
and can cause incorrect logging, by invoking sudo with a crafted user
ID. For example, this allows bypass of !root configuration, and USER=
logging, for a "sudo -u \#$((0xffffffff))" command.
(From OE-Core rev: 4e11cd561f2bdaa6807cf02ee7c9870881826308)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a backported commit from upstream which helps fix build failures
in meta-oe.
(From OE-Core rev: 6665e84bfba43cd8897b9561b14975ac524fbbe2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PKNAME is NULL when run "lsblk -o+PKNAME /dev/sda1"
backport an upstream patch to fix it.
(From OE-Core rev: a5a987ff5e5e333e28be44a12e729907272ea3cb)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When loading controllers as (external) modules, the code currently
tries to load all files ending with .py. This is a problem when
during development using an editor that creates a lock-file
in the same directory as the .py file, as the lock file is
typically called '.#xxxx.py'.
Python will try to load the lock file and fail miserably with
an exception:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_testimage(d)
0003:
File: 'poky/meta/classes/testimage.bbclass', lineno: 114, function: do_testimage
0110: netstat -an
0111:}
0112:
0113:python do_testimage() {
*** 0114: testimage_main(d)
0115:}
0116:
0117:addtask testimage
0118:do_testimage[nostamp] = "1"
File: 'poky/meta/classes/testimage.bbclass', lineno: 294, function: testimage_main
0290:
0291: # the robot dance
0292: target = OERuntimeTestContextExecutor.getTarget(
0293: d.getVar("TEST_TARGET"), logger, d.getVar("TEST_TARGET_IP"),
*** 0294: d.getVar("TEST_SERVER_IP"), **target_kwargs)
0295:
0296: # test context
0297: tc = OERuntimeTestContext(td, logger, target, host_dumper,
0298: image_packages, extract_dir)
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 116, function: getTarget
0112: # XXX: Don't base your targets on this code it will be refactored
0113: # in the near future.
0114: # Custom target module loading
0115: target_modules_path = kwargs.get('target_modules_path', '')
*** 0116: controller = OERuntimeTestContextExecutor.getControllerModule(target_type, target_modules_path)
0117: target = controller(logger, target_ip, server_ip, **kwargs)
0118:
0119: return target
0120:
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 128, function: getControllerModule
0124: # ImportError raised if a provided module can not be imported.
0125: @staticmethod
0126: def getControllerModule(target, target_modules_path):
0127: controllerslist = OERuntimeTestContextExecutor._getControllerModulenames(target_modules_path)
*** 0128: controller = OERuntimeTestContextExecutor._loadControllerFromName(target, controllerslist)
0129: return controller
0130:
0131: # Return a list of all python modules in lib/oeqa/controllers for each
0132: # layer in bbpath
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 163, function: _loadControllerFromName
0159: # Raise ImportError if a provided module can not be imported
0160: @staticmethod
0161: def _loadControllerFromName(target, modulenames):
0162: for name in modulenames:
*** 0163: obj = OERuntimeTestContextExecutor._loadControllerFromModule(target, name)
0164: if obj:
0165: return obj
0166: raise AttributeError("Unable to load {0} from available modules: {1}".format(target, str(modulenames)))
0167:
File: 'poky/meta/lib/oeqa/runtime/context.py', lineno: 173, function: _loadControllerFromModule
0169: @staticmethod
0170: def _loadControllerFromModule(target, modulename):
0171: obj = None
0172: # import module, allowing it to raise import exception
*** 0173: module = __import__(modulename, globals(), locals(), [target])
0174: # look for target class in the module, catching any exceptions as it
0175: # is valid that a module may not have the target class.
0176: try:
0177: obj = getattr(module, target)
Exception: ImportError: No module named 'oeqa.controllers.'
Simply ignore those when collecting the list of files to try
to load.
(From OE-Core rev: 682f223cf2e2dabe8cf60634b6779bb2d5e359bd)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tweak the write loop slightly to avoid dict lookups that can easily be
done in the for loop.
(From OE-Core rev: 35c65b7336c52c19810e3e9e87a36a8636ac4120)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace copy-and-if with a filtering list comprehension.
(From OE-Core rev: eb763856be8da854d37c7d4b8e8d645ab1d3fa06)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The PID file referenced in dbus-1.init script was out of date and no longer existed. This meant that dbus could not be restarted via init.d without force removing the old PID file.
(From OE-Core rev: 2ed6f06f30cb54b9c70f1a92d93c920ec4d01ffe)
Signed-off-by: fridgecow <fridgecow@fb.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* the (new?) ruby expects some additional compiled libraries
to run, so we need to copy them as part of ptest.
Fixes errors like:
# ruby ./runner.rb ./-ext-/vm/test_at_exit.rb
Run options:
# Running tests:
[1/1] TestVM#test_at_exit = 0.06 s
1) Failure:
TestVM#test_at_exit [/usr/lib/ruby/ptest/test/-ext-/vm/test_at_exit.rb:7]:
1. [1/2] Assertion for "stdout"
| <["begin", "end"]> expected but was
| <[]>.
2. [2/2] Assertion for "stderr"
| <[]> expected but was
| <["-:1:in `require': cannot load such file -- -test-/vm/at_exit (LoadError)",
| "\tfrom -:1:in `<main>'"]>.
* the 'erb' test can't find the erb binary, as we're not
running this from within the build directory
(From OE-Core rev: 158d5285372240f6b3502a6c715a2491e37a3118)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By exporting ICECC_CC, ICECC_CXX, and ICECC_VERSION in a wrapper-script,
and putting this wrapper-script in the PATH, the Makefiles generated by CMake or
the autotools are able to function correctly outside of bitbake.
This provides a convenient developer workflow in which the
modify-compile-unittest cycle can happen directly in the ${B} directory.
The `rm -f $ICE_PATH/$compiler` line is transitional,
and can go at some later date (October 2020 or later, perhaps).
(From OE-Core rev: 40d74cb1d0ddce930267e49764cacb263b244091)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Most patches had to be refreshed
Note that we can now drop
EXTRA_AUTORECONF += "--exclude=aclocal"
from the recipe, as ruby upstream now fully supports
runnning aclocal:
df9bf70cd2ec43478f34
Also note that 'created.rid' is not being installed
anymore since v2.6.0
While additional LICENSEs were added to the recipe,
they should always have been mentioned in this recipe,
i.e. the license checksum was updated only because:
* URLs were updated
* new imported components were mentioned (with no new licenses)
* formatting was changed
* dates were updated
(From OE-Core rev: 7124051b3b2e91e81c7b8565104ae9c5bea10be1)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The find_program command will fail if it is used on a tool that is listed in
ASSUME_PROVIDED. This is because these tools are in the hosttools directory
which is not listed in CMAKE_FIND_ROOT_PATH so cmake will not find them.
Adding the directory HOSTTOOLS_DIR to the CMAKE_FIND_ROOT_PATH variable fixes
the initial issue of needing to search for tools in ASSUME_PROVIDED.
Note that this change alone does not fix the issue because find_program will
by default only look into the subdirectories bin and usr/bin under the paths
in CMAKE_FIND_ROOT_PATH to find the programs and the hosttools directory has
instead the symlinks directly present without these subdirectories.
Set CMAKE_PROGRAM_PATH to by default include the root directory so
find_program can search the hosttools directory without needing the prefix
directories.
(From OE-Core rev: 7847f431cd8db59fce8c9401a603c4b0678ee16d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable --remove-work option for devtool reset command that allows user
to clean up source directory within workspace.
Currently devtool reset command only removes recipes and user is forced
to manually remove the sources directory within the workspace before
running devtool modify again.
Using devtool reset -r or devtool reset --remove-work option, user can
cleanup the sources directory along with the recipe instead of manually
cleaning it.
syntax: devtool reset -r <recipename>
Ex: devtool reset -r zip
devtool finish -r <recipename> <layer-name>
Ex: devtool finish -r zip meta-yocto-bsp
(From OE-Core rev: 0d6dd01b8633ad63d77c24568a4b20852aaa366f)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multilib builds python3-config gets renamed to eg python3-config-lib64 but
this ends up being packaged in python3-core not python3-dev.
The manifest uses an extended glob to package all python* binaries that are not
python-config into python3-core:
"${bindir}/python*[!-config]",
However, this doesn't do what was intended, as [] is a range match.
Replace the globs with more verbose but precise matches, and clear out
FILES_${PN} to ensure that new binaries don't end up in ${PN} (which shouldn't
exist).
[ YOCTO #13592 ]
(From OE-Core rev: c780f21c33b0684dafff3421600cd1c11ddd0c48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With python3-config using the 'python-config' name, it's possible for
python-config to point at python3-config, which is obviously wrong.
(From OE-Core rev: 80a4a44d4d9da1cacda5f50ea955017502829c6d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was used for build result reporting back in the OE-Classic days. Its
not been touched in years, isn't used as far as I know and can be removed.
(From OE-Core rev: f5d107f2ac448d6fe9fe8e4a2451e5cefdfd892a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New version fixes CVE-2019-17544 as well as various other bugs.
CVE: CVE-2019-17544
RP: Added tweak to fix meta-selftest
(From OE-Core rev: 3b788da31af6296a0404ed6080aef17708d61303)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been the traditional way of enabling systemd services.
It may conflict with presets feature, but other layers, image classes
and recipes add services to be enabled using SYSTEMD_SERVICE
variable also with read-only rootfs, e.g. IMAGE_FEATURES has
stateless-rootfs and systemd_preset_all task is not executed.
Fixes startup of custom services from our recipes using custom
image classes with various BSP layers. In the worst case even
serial console getty service wasn't starting due to dependency
no not enabled services.
(From OE-Core rev: 68a10763e64764a0d43be9162e7b99833f5296db)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't work on read-only-rootfs:
AssertionError: 1 != 0 : SYSTEMD_BUS_TIMEOUT=240s systemctl disable avahi-daemon.service
Failed to disable unit: File /etc/systemd/system/multi-user.target.wants/avahi-daemon.service: Read-only file system
This patch does two things:
1) Decorate the existing test to be skipped if the rootfs is
read-only
2) add a new test to be executed only if the rootfs is
read-only. This new test remounts the rootfs read-write
before continuing to execute the existing test, making
sure to clean up correctly after itself (remount r/o
again).
(From OE-Core rev: ec856301887b1139f93aa54d04bed9b842357b4f)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Images can have package management enabled, but be
generally running as read-only. In this case, the
test fails at the moment with various errors due to
that.
Use the new @skipIfFeature decorator to also skip
this test in that case.
(From OE-Core rev: 84640e2b4daf4cf22c5b0324c22332f59e4d51e3)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
skipIfFeature will skip a test if a given DIST_FEATURE
or IMAGE_FEATURE is enabled.
(From OE-Core rev: ff2218f7cc3992725dd35499c14ec3396120dcc5)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When device names are long (more than 20 characters), the
df test will fail with an exception:
self.assertTrue(int(output)>5120, msg=msg)
ValueError: invalid literal for int() with base 10: ''
at least when busybox is in use.
The reason is that busybox breaks the line in that case:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02
1998672 87024 1790408 5% /
and the code tries to extract the fourth field from the
second line, which is empty of course.
df can be told not to break lines, though, using the -P
flag, which turns on the POSIX output format, and is
supported by busybox df and coreutils df:
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/disk/by-partuuid/8e991e5a-cebd-4f88-9494-c9db4f30cb02 1998672 87024 1790408 5% /
(From OE-Core rev: 8c23c1476d0c64b9bc8806db03414fa914c1e658)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some targets might use ssh to do their power- or serial-
control. In that case, ssh might need access to the
ssh agent, or otherwise won't work.
So export it into the environment.
Note that the (old) oeqa/controllers/masterimage.py
tries to do that as well by exporting all of BB_ORIGENV
into the test environment. Here in testimage.bbclass we
are a bit more strict and only pass the ssh related
environment variables.
(From OE-Core rev: d99617b8f2a9354b7357524fcd2eee16af0677b7)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the introduction of the new runtime framework for target
testing in commit 2aa5a4954d76
("testimage.bbclass: Migrate class to use new runtime framework")
commit 3857e5c91d in poky.git, target controllers have no
access to the global datastore 'd' anymore.
This makes it impossible for a specific OEQA (hardware)
controller to access documented properties like
TEST_POWERCONTROL_CMD, TEST_SERIALCONTROL_CMD, etc,
meaning it's impossible for those controllers to actually
control the hardware.
To solve this, simply add those documented variables into
the target_kwargs[].
(From OE-Core rev: 0ab7e3b573a58cc3a869ef33fd8737ca7fe04550)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG so that readline can be disabled if desired.
(From OE-Core rev: 6958f7e4c6a1c27e823ae0a74c1642d78ca7a45e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-config uses distutils:
Traceback (most recent call last):
File "/usr/bin/python3-config", line 9, in <module>
from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'
Add the dependency so that distutils is always present.
[ YOCTO #13592 ]
(From OE-Core rev: 04136dbac48986dce5b2b872b2c0b46c673c44f2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
# decode-dimms
Can't locate Carp.pm in @INC (you may need to install the Carp module) (@INC contains: /usr/lib/perl5/site_perl/5.28.1/x86_64-linux /usr/lib/perl5/site_perl/5.28.1 /usr/lib/perl5/vendor_perl/5.28.1/x86_64-linux /usr/lib/perl5/vendor_perl/5.28.1 /usr/lib/perl5/5.28.1/x86_64-linux /usr/lib/perl5/5.28.1 .) at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
BEGIN failed--compilation aborted at /usr/lib/perl5/5.28.1/Tie/Hash.pm line 190.
Compilation failed in require at /usr/lib/perl5/5.28.1/x86_64-linux/POSIX.pm line 505.
Compilation failed in require at /usr/bin/decode-dimms line 41.
BEGIN failed--compilation aborted at /usr/bin/decode-dimms line 41.
root@qt5222:~# apt-get install perl-module-carp
(From OE-Core rev: c73d2a2c0ecc99f0d6d7e6a1861ecce7a2312a57)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file will automatically enable seccomp if the seccomp headers are available, but
the build will fail on Opensuse Tumbleweed because the include paths are wrong.
Enabling seccomp is a bad idea because it interacts badly with pseudo (causing
build failures), so explicitly and globally disable seccomp.
(From OE-Core rev: a752faa152df031df5acaa40491299ac115109a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the source file is located in a subdirectory of DEPLOY_DIR
rawcopy will currently fail in sparse_copy function on
open(dst_fname, 'wb'), as the parent directory for destination
file does not exist.
This patch helps to avoid that by recursively creating
parent directories.
(From OE-Core rev: 073c435644091c2801e45c6d02afa917de575082)
Signed-off-by: Eugene Smirnov <evgenii.smirnov@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case multiple builds share UNINATIVE_DLDIR's location, one build
might be in the process of downloading the tarball while another is
just checking whether the tarball exists. Check for the done file
instead and rely on the fetchers lockfile mechanism in case two
builds are running.
(From OE-Core rev: a1c95580549cb4f77601e62c7f026b19c752d853)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If SDK_VENDOR isn't formatted as -foosdk and is instead for example -foo-sdk
then the triple that are constructed are not in fact triples, which results in
mysterious compile errors.
Check in sanity.bbclass so this failure is detected early.
[ YOCTO #13573 ]
(From OE-Core rev: b0efd8d4d0dbc30e6505b42f5603f18fa764d732)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
PACKAGECONFIG_append_pn-bluez5 = ' btpclient'
$ bitbake bluez5
btpclient.c:2834:7: error: 'SIGINT' undeclared (first use in this function)
(From OE-Core rev: e72cd2950b38a5fc45908c9601679e601cf60559)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_prepare_recipe_sysroot may perform groupadd, which requires pseudo.
However, do_prepare_recipe_sysroot does not depend on pseudo explicitly,
which sometimes causes a build error when building a recipe that adds
groups.
This issue only occurs when executing do_prepare_recipe_sysroot for a
recipe that adds groups before finishing a task that depends on pseudo
for a recipe that doesn't add groups.
(From OE-Core rev: 427320d7621846d57649af46bf57c88f86cac612)
Signed-off-by: Mattias Hansson <mattihn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libOptRemarks has been renamed as libRemarks
RISC-V backend is now supported
(From OE-Core rev: 7f4870132ece9efa7f1404e2620a2e05055bca12)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-fribidi/meson.patch
Removed since this is included in 1.0.7.
(From OE-Core rev: 79297c6041342f4cb67131d08368a103d9791a9a)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license of the two libraries are BSD-3-Clause.
(From OE-Core rev: 04849897a3152d0fe7ffa2e86e6bf1a6faba8e88)
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed a warning message during startup caused by referencing the legacy
directory /var/run instead of /run. An extra parameter is passed to the
configure script to achiveve this. Upstream cannot provide a fix due to
another Linux distribution (Slackware) uses /var/run and /run as
different directories.
Refer to https://gitlab.freedesktop.org/dbus/dbus/issues/282 for
details.
(From OE-Core rev: f31896504c0e5619f77555689e87b8324f9ccbd8)
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous homepage and issue tracker is no longer available.
Remove some trailing whitespace
(From OE-Core rev: 1c60c5744b02c5c4eefb240923db5c4cd7959606)
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Version 2 of the recipe is not actually required by anything; the
lidmodulemd dependency in createrepo-c is optional, and the
libmodulemd feature is not used in YP.
(From OE-Core rev: e5bf0814f565458c1c13d305dfc80a70a060555e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has split version 1 of the libmodulemd recipe into
its own branch and removed version 1 from the master
branch and 2.x releases; as libdnf requires v1 of libmodulemd,
this commit introduces a v1-specific revipe.
(From OE-Core rev: e0678765b1fb66df6ec37da1d32836bee2237af1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the patch that has been merged upstream.
(From OE-Core rev: 5bcf7ab7d9c45bdef6c55195d5a648cc0a773762)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patches:
- 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch - this
has been a pain to rebase for a while as upstream keeps shifting and
changing the code that needs to be modified. If the issue the patch
is addressing is still relevant, please work with upstream to fix it
at the source
- 0001-gstreamer-add-a-missing-format-string.patch, narrowing.patch
are integrated upstream
- detect-gstreamer-gl.patch is adjusting something that is better done
from the yocto package configuration
Add an option to disable an enabled-by-default sandbox that requires
a component that oe-core does not have.
(From OE-Core rev: d9e3ff36af9e06c1bc94c7a4c37ae87afceea5ca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported 0001-meson-do-a-build-time-check-for-strlcpy-before-attem.patch
and 0001-meson.build-do-not-hardcode-linux-as-the-host-system.patch where
upstream has removed the problematic bit.
(From OE-Core rev: 5a0de7b1ee37d52f3bf013301030a2679a8c0a9f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has removed autotools support entirely, so we can drop
the chunks of patches that touch it.
(From OE-Core rev: a41ee35a709b7e5b66b18f91a062ae56eae5b562)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some host distributions (opensuse for example) are using 'pkgconf',
which, unlike the original pkg-config, appends PKG_CONFIG_SYSROOT_DIR
to every directory from the .pc file.
(From OE-Core rev: 2d5ecc560dcfbaaaff307f8367d789d8c7e00dcf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is setting INCOMPATIBLE_LICENSE per image,
rather than as an awkward, and too strict global setting.
This for example would allow building development images with gplv3 tools,
but production images without them, and checking that nothing gpl3-licensed
gets into the latter.
Examples are provided via the selftest: four scenarios are tested:
- bash is added to the image, with a default gpl3 license; this is rejected
- bash is added to the image, with a "gpl3 & other" license; this is also rejected
- bash is added to the image, with a "gpl3 | other" license; this is accepted, but
only 'other' is added to the license manifest (this was already handled correctly
previously).
- bash is added to the image with a default gpl3 license, and is additionally
whitelisted for that image; this is accepted.
Eventually, this would allow deprecating the meta-gplv2 layer, while still
enforcing the no-gpl3 rule where possible and needed.
(From OE-Core rev: fd50395bc0783a3cce7b5b0d7398f22783ebbeca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This would help with checking incompatible licenses at do_rootfs step
in image creation, where it is beneficial to pass the license string
directly to the function.
(From OE-Core rev: 8a0f342e4fc33b1aa53089b1de583d45d2951476)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in the target installation actually needs it.
(From OE-Core rev: 0357b2d2cdcbcef89a346126969ec3e1856bda95)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is as well allowing gpl3-free builds without
pulling in outdated meta-gpl2 recipes.
(From OE-Core rev: 1f9610b33b18e0aa160da41e4cecf57c177fbc1e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows not pulling in gawk, which is gplv3 licensed when
only the libcheck library itself is needed. checkmk is a
development tool that writes out a C boilerplate for tests.
(From OE-Core rev: 61adf39b552e9a94226c998c81e6a411ccaf9476)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the readline module would have been built regardless of
readline's presence in the sysroot, and the recipe would
fail at package_qa.
(From OE-Core rev: 79ebbca6943bc66b619671f93ac283ed2cfc8e5c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use case is building a gpl3-free image, without having
to rely on outdated recipes from meta-gplv2 layer.
(From OE-Core rev: 02eb487c8145e0f3d957c39cf16f6f805e95e536)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent versions of gdbm are gplv3, so in some scenarios
it is beneficial to not depend on it.
(thanks Ross for leading the way with the db option :)
(From OE-Core rev: 88cf0b10d2e6c7f0cd08838ebe90ecdb95f31b2b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSuse's libreadline has extra symbol information which upsets our uninative
loader as our libreadline is missing symbols with the appropriate versions.
The simplest solution is to add the version information as they're harmless.
(From OE-Core rev: 4dc83cd3110e2cc103b29769629e91c38187a6f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids failures seen on the autobuilder when generating eSDKs
and release sstate copies.
(From OE-Core rev: 8ffe6ca984e034976322beea9b16c92d46708d15)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libpcap/0001-pcap-usb-linux.c-add-missing-limits.h-for-musl-syste.patch
Removed since this is included in 1.9.1.
(From OE-Core rev: d42f381c4f5f9ec248e5b464a2aab39fdc9a7644)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If this test fails then the output doesn't help in any meaningful way, so
improve the test to output the unparsable JSON and display unexpected output.
(From OE-Core rev: 6a710ad0b445295991b17545f634684f4f317099)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test-gobject-header test suite needs UTF-16 encoding:
test_decode_header_name_ascii:
assertion failed (err == NULL):
Unicode conversion failed:
Conversion from character set ?UTF-16BE? to ?UTF-8? is not supported (g-obex-error-quark, 256)
Add gconv-utf-16 to the bluez5-ptest RDEPENDS.
(From OE-Core rev: c75707bbd24552e72ae2e564c0d6f72823b63b8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
after gcc upgrade to 9.1.0, with this flags will make below error:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
remove it as workaround, after remove it, powerpc can compile successfully
(From OE-Core rev: 487eb18928c26e7781bb86a972369f3594ecdcca)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A perl module recipe extending to provide native version causes target
perl dependencies to be pulled into native build if the module recipe
has RDEPENDS_${PN} = "perl-module-XXXX" e.g. libxml-sax-base-perl
recipe.
The reason is that native bbclass empties out PACKAGES_DYNAMIC and
perl's PACKAGES_DYNAMIC_class-target is greedy enough to usurp native
modules as well.
Eventually we end up with errors like when sstate is used across
machines
* ERROR: libxml-sax-base-perl-native different signature for task do_populate_sysroot.sigdata between qemux86copy and qemuarm
Therefore, to fix this native case needs to handled specially when
re-assigning module dependencies in split_perl_packages(), where the
modules are named correctly for native case and have a single dependency
on perl-native, secondly, PACKAGES_DYNAMIC for target case needs to be
reined in to spare, -native modules, thirdly, let perl-native take over
the case for providing native modules
This will fix several sstate signature errors like above with external
perl modules providing native variants and having runtime dependencies on
modules which are provided by perl proper
(From OE-Core rev: 34834d06ceb84221dd53defd27eb94201723d6c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check package busybox which is required by cases test_dnf_installroot
and test_dnf_installroot_usrmerge.
(From OE-Core rev: 0f09c5b7a9a66af825951354b436b69dd9a596a4)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk builds such as nativesdk-dnf are installing systemd
service files, leading bitbake to throw installed-vs-shipped
warnings, but these are not needed in nativesdk:
WARNING: nativesdk-dnf-4.2.2-r0 do_package: QA Issue: nativesdk-dnf: Files/directories were installed but not shipped in any package:
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-makecache.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-makecache.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-notifyonly.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-download.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-download.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-notifyonly.service
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-install.timer
/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/systemd/system/dnf-automatic-install.service
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nativesdk-dnf: 13 installed and not shipped files. [installed-vs-shipped]
Rather than have each recipe remove the files, an RMINITDIR case
for nativesdk builds should be added to systemd.bbclass.
(From OE-Core rev: 86092fdac2ed2935b25a6c05f16055df77a10575)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We now build Pango with Meson which doesn't use libtool, so we can remove the
FILES that packages up non-existant .la files.
(From OE-Core rev: f8e3a294eaa475db3b1126de708294b8162b66c9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping SRCREVs to pickup the following kernel commit:
[
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Tue Oct 8 13:15:46 2019 +0000
signal/ptrace: fix cgroup2/freezer long runtimes
As reported in the thread: https://lkml.org/lkml/2019/10/1/789, in
kernels with commit 76f969e8948d82 [cgroup: cgroup v2 freezer], we
were seeing much longer runtime in strace/ptrace tests (4 minutes
versus 4 seconds).
The issue only manifests if CONFIG_PREEMPT is enabled, which is in
all of the default configurations.
As sugggested in the thread, the movement of preempt_enable_no_resched()
until after the cgroup is frozen returns the behaviour to pre-5.2
runtimes.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
With this change in place, our times are back to normal:
root@qemux86-64:~# cd /usr/lib/strace/ptest/tests
root@qemux86-64:/usr/lib/strace/ptest/tests# time ../strace -o log -qq -esignal=none -e/clock ./printpath-umovestr>ttt
real 0m3.909s
user 0m0.534s
sys 0m3.342s
This will eventually loop around via -stable, or may need future
tweaks, but it does address the immediate issue/symptom that we are
seeing, with no obvious side effects.
[YOCTO #13556]
(From OE-Core rev: 55a54aed27ffa94a235da526a39aeea59caa3417)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to 5.2-rt9. Which comprises the following fixes:
90a5890111ca v5.2.17-rt9
7700ef5f6438 sched: migrate disable: Protect cpus_ptr with lock
11d09bb2607b sched: Remove dead __migrate_disabled() check
ceb75897bca0 sched: __set_cpus_allowed_ptr: Check cpus_mask, not cpus_ptr
70d3cef7a488 printk: devkmsg: read: Return EPIPE when the first message user-space wants has gone
eef2411714d4 drm/i915: Drop the IRQ-off asserts
f063808d4629 drm/i915: Don't disable interrupts for intel_engine_breadcrumbs_irq()
d3136b34629a rcutorture: Avoid problematic critical section nesting on RT
ded0345350a6 rcu: Use rcuc threads on PREEMPT_RT as we did
ea804ff7a3de sched: migrate_dis/enable: Use sleeping_lock…() to annotate sleeping points
5221cc57007f rcu: Acquire RCU lock when disabling BHs
b05b0d20c207 posix-timers: Unlock expiry lock in the early return
066bbfed5243 v5.2.17-rt8
163d8462f622 v5.2.14-rt7
41f51767f77d hrtimer: Add a missing bracket and hide `migration_base' on !SMP
8d0056d6bd7a v5.2.14-rt6
(From OE-Core rev: aba70cbbc1ef6139aad862160427eb70faafda84)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Verify that the build inside the SDK is detected as a cross compilation.
(From OE-Core rev: 3dc75ab44c23c4ff26502b96abded3c1c0b94e38)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The readelf binary is prefixed, so export READELF in the SDKs so that the
correct readelf binary can be used.
This fixes problems with the symbol extractor in Meson with multilib SDKs where
readelf can't be found correctly.
(From OE-Core rev: 2795e3bfdefc9f48294802ea7301dae1910553dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add Fedora 30 and Ubuntu 19.04.
Swap openSUSE 42.3 for Leap 15.1.
Remove huge comment of old distributions.
(From yocto-docs rev: 8fe3040a68c0aee44c4a6dcd5088b61d6908b0f9)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The syntax to use multiconfig builds changed from multiconfig:foo:target
to mc:foo:target, change the syntax on bitbakes documentation.
Clarify that BBMULTICONFIG defines additional configurations along with
the one coming from local.conf.
(Bitbake rev: 648ec12d776d801a6839f759975c91a93aa3a36e)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The syntax to use multiconfig builds changed from multiconfig:foo:target
to mc:foo:target.
Clarify that BBMULTICONFIG defines additional configurations along with
the one coming from local.conf.
Fix these changes on both the dev manual and the reference manual.
(From yocto-docs rev: 9e79e96cad66316c1b4ee608723edfa763f0f9ef)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Toaster directly supports the last two stable branches of Yocto
Project. With "Zeus" being released, it is time to replace "Thud".
[YOCTO #13579]
(Bitbake rev: 29374386fd7fcfac9d4070584dff76327845595e)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Bugzilla Bug 13201] -- https://bugzilla.yoctoproject.org/show_bug.cgi?id=13201
Newer versions of gnome-terminal (3.32.0 and up) are not starting
as expected for commands e.g. "bitbake -c devshell zlib". This
manifests as the instance appearing as a new tab rather than a
new window. Fix this (and maintain new window preferred behavior)
by changing the "-x" option to "--" as per the warning message,
avoiding deprecated options:
# Option “--command” is deprecated and might be removed in a later version of gnome-terminal.
# Use “-- ” to terminate the options and put the command line to execute after it.
(From OE-Core rev: d5fd205239c8e3a1d68649562a7e91c8fbbc805e)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE does not provide libpaper recipe, and the configure check looks for
libpaper if not disabled, this causes problems especially when shared
state is built on a machine which has libpaper installed on host but the
consumer machine although running same OS, but does not have libpaper
installed, the artifact from sstate are re-used but then native binary
./obj/aux/packps fails to execute
./obj/aux/packps: error while loading shared libraries: libpaper.so.1: cannot open shared object file: No such file or directory
So either we need to provide libpaper in OE or we disable it, disabling
is best for now
(From OE-Core rev: 11e85220d97299be5f65d5208ec21d4ad215317a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd throws a warning about the value of PIDFile:
systemd[1]: /usr/lib/systemd/system/watchdog.service:11: PIDFile=
references a path below legacy directory /var/run/, updating
/var/run/watchdog.pid → /run/watchdog.pid; please update the
unit file accordingly.
This is actually due to patch file 0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch
setting PIDFile=/var/run/watchdog.pid. Modify PIDFile in the patch
to be correctly set to /run/watchdog.pid.
(From OE-Core rev: c279c9d7f0c948856052015cad59310a55274b92)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perlocal.pod is an index file of locally installed modules and so shouldn't be
installed by any distribution packages. cpan.bbclass already sets NO_PERLOCAL
to stop this file being generated by most Perl recipes, but if a recipe is using
MakeMaker directly (such as rrdtool) then they might not be doing this
correctly.
To avoid multiple packages shipping this file and then failing to install
together, add a QA test to check if this file exists and by default emit an
error if it does.
[ YOCTO #13491 ]
(From OE-Core rev: 5d16d265cc61c4e279fe3bf66016a00d9daa4068)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This service file is designed to do first-boot initialisation of the udev hwdb
database, but the condition logic to fire it is suboptimal: it can fire if not
needed, and can also not fire if needed. Specifically it will always fire on
first boot, even though as part of rootfs generation we build the hwdb database.
On slow machines this can take a significant amount of time, the pathological
case being qemumips where the service can time out after 90 seconds of
processing.
Other distributions have also noticed this problem (specifically, at least
Debian and Clear) and solve it by using traditional postinst scripts to generate
the hwdb (which we already do) and deleting the service file (which we don't).
Finish the fix and improve boot times across all boards by deleting the service
file.
[ YOCTO #13504 ]
(From OE-Core rev: b1fffd407029d5936e01ba6988b9e82279d98285)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is already installed by the install target to $datadir/pkgconfig, so
there's no need to install it again to $libdir/pkgconfig.
(From OE-Core rev: 9f0f688cecbd2bad28c46f8dc467eb88486a3f6e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson 0.51 onwards detects if a build is cross by whether the host and build
machines match. However this doesn't work in a number of cross compilation
cases: notably where host is Windows but build is Linux, but also the common
OpenEmbedded case where the host and build machine are both x86-64.
Previously we'd patched this to instead look at whether an executable wrapper is
needed: our cross files always set this to true so all cross builds would be
identified as cross. However, this breaks build on the target as without a
cross file the early cross build detection fails as we don't yet know if an exe
wrapper is needed.
The neater solution is to simply go back to the older logic: a cross build has
cross files defined.
[ YOCTO #13571 ]
(From OE-Core rev: 9aa543aa9bd78c63343ae28fc85113ca2c9e0094)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Meson needs python3-pkg-resources to work to add to RDEPENDS.
Remove python3-core as this is automatically pulled in by python3-modules.
(From OE-Core rev: d253b061fbe45ae965af71008e9a6c6fe5037cd3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When wks describes extra partitions that aren't in the partition
table (e.g. boot loader) and exactly four primary MBR partitions, the
last partition gets added to fstab as partition #5 instead of #4.
[YOCTO #13560]
(From OE-Core rev: 7537580b3dd21bd512fb26e56e92b6553c549fa8)
Signed-off-by: Michael Cooper <michaelcooper81@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All devtool commands right now are filtering out the devtool workspace
bbappends in build/workspace/appends when calling parse_recipe. While
this may make sense for devtool add and modify, we need devtool finish
to include those appends.
A specific breakage that is caused because devtool finish filters devtool
appends is the cmake/cml1 flow where a file is created in the WORKDIR
that finish needs access to, to commit those files. Particularly for
git packages with SRCPV in PV, SRCPV is only changed to 999 when using
external source, hence when creating the cfg or cmake config files using
for instance bitbake -c diffconfig, these files are created in the
git999 workdir correctly (as in the devtool bbapends, we are inheriting
externalsrc class). But when devtool finish is run, the devtool appends
are not parsed, hence SRCPV is not changed to 999 and devtool is looking
for the fragment files in the wrong WORKDIR.
Changing the parse_recipe call just in devtool finish to not filter out
the devtool workspace.
Fixes [YOCTO #13533]
(From OE-Core rev: aa94f00eec64ef936acc80dfa826fd309daa294f)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* in oe-core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d I've accidentally
removed the backshash here
Reported-By: "Hilsdorf, Jan (LAWO)" <Jan.Hilsdorf@lawo.com>
(From OE-Core rev: 44f0047c0268f3e9f9fdf78f93bdad9bfe491174)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default URI returns a gzip-compressed index page
which browsers can auto-detect, but we can't.
(From OE-Core rev: 73eb644db1121ccbc205b8fe3e60fa918fa5bbed)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.7 release updates glibc to version 2.30. Recently added to openSUSE
Tumbleweed and needed for Fedora Core 31.
(From OE-Core rev: a87c3e425dd0292d29e71ea1fdfa753ff1b74cd8)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows metadata to depend on SignatureGeneratorUniHashMixIn which was recently added.
(Bitbake rev: f0f814407fdd2fffa7071c36c011b489bfcd53da)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need SignatureGeneratorUniHashMixIn from newer bitbake so bump the minimum
version.
(From OE-Core rev: 178e2d0ba8e645c5cd962b07bd7b31839cb269d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Turn:
ERROR: Unable to parse Var <OE_IMPORTED[:=]>
Traceback (most recent call last):
File "Var <OE_IMPORTED[:=]>", line 1, in <module>
File "/media/build1/poky/meta/classes/base.bbclass", line 35, in oe_import(d=<bb.data_smart.DataSmart object at 0x7f1d941ad208>):
for toimport in oe.data.typed_value("OE_IMPORTS", d):
> imported = __import__(toimport)
inject(toimport.split(".", 1)[0], imported)
File "/media/build1/poky/meta/lib/oe/sstatesig.py", line 267, in <module>:
>class SignatureGeneratorOEEquivHash(SignatureGeneratorOEBasicHashMixIn, bb.siggen.SignatureGeneratorUniHashMixIn, bb.siggen.SignatureGeneratorBasicHash):
name = "OEEquivHash"
bb.data_smart.ExpansionError: Failure expanding variable OE_IMPORTED[:=], expression was ${@oe_import(d)} which triggered exception AttributeError: module 'bb.siggen' has no attribute 'SignatureGeneratorUniHashMixIn'
into:
ERROR: Error importing OE modules: module 'bb.siggen' has no attribute 'SignatureGeneratorUniHashMixIn'
which can then trigger a version mismatch error message.
(From OE-Core rev: 5b01726d1cf478aba8d1acc73e29f6cab0c9371e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packagegroups whose dependencies are affected by MACHINE_FEATURES
need to be marked as MACHINE_ARCH *before* inheriting the
packagegroup class, not after.
This has changed in commit 9c826962ec8f
("packagegroup: Make allarch inherit conditional"),
commit 4f3f34deaf in poky but the comment here
wasn't updated at the time.
(From OE-Core rev: 7eae2502936aa36401491cd1e0e5975db96529ae)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create bash-completion-pkgs image feature to load *-bash-completion packages
into an image. The packages are created by the bash-completion
bbclass but are currently never loaded.
(From OE-Core rev: d47c5981877555a5a6b9aeb93ea6f3c1aa97fc44)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't have a compiler, so no icecc.
Silences a spew of warnings of the form:
do_configure: Cannot use icecc: could not get ICECC_CC or ICECC_CXX
(From OE-Core rev: 0315aabeff8e6483b737d0e23d6841f1394ad3c8)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When systemd is built without internal resolver, it does not make
sense to expose it as a resolv-conf alternative and can even break
images where this alternative would be chosen, because of an
invalid symlink.
(From OE-Core rev: 91efc50723229672b6e8187b69b183cba525f199)
Signed-off-by: Alexandre Bard <alexandre.bard@netmodule.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there is now a new version of binutils,
upstream version check works again.
(From OE-Core rev: c63c7fb890ab356c747d6948ca9e13e0c3b83dfb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using the glob function to map signatures to sstate files is very slow
when the sstate is large and accessed over nfs. The lookup now only
loads the necessary prefixes and doesn't use glob as all.
Unfortunately I don't have access to the systems where the performance
isse was noticed and on my test system the glob is fast enough that
the performance numbers aren't useful. I could verify that file list
returned by the new code is the same.
[YOCTO #13539]
(From OE-Core rev: ad36335b8592e0387dd36066920cd5ffefd375f8)
Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Creates the source data epoch file destination directory when restoring
from sstate
(From OE-Core rev: f5259a62d444dfc221a9ba592dbca35564f794ac)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the objects that bitbake reports to Toaster as dependencies to packages
are known objects that are not packages, for example library files and kernel
modules. In the Toaster logs, mark these as "Info" instead of "Warning".
[YOCTO #13386]
(Bitbake rev: 0d66f644d647900e8f5afa526a6d9cee687c41cc)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were three issues in this one bug.
1) The Add Layer button allows empty layers
2) The internal XHR URL was wrong, which caused a hidden AJAX error
and did not correctly complete the action nor disable the button
after an add.
3) There was a race condition between typing in the dependent layer
select text box (which would normally disable the add button), and
the typeahead pull-down selection (which would normally enable the
add button). This forced the user to select the typedahead layer twice.
[YOCTO #13385]
(Bitbake rev: c4ccf3a792ae7e8549b879ba77ff7f7edb0e665a)
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updates the local.conf sample file to reference the variables required
to enable a local hash equivalence server.
(From meta-yocto rev: 29c3a4087c4f358ab88193fdf3787f731a4f4913)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hashserve can delete its socket whilst the cleanup us happening leading to
backtraces and test failures.
Add code to avoid this race condition.
[YOCTO #13542]
(Bitbake rev: efd7b025cee25d0ee668c09476395d08fcf5ae1a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When IPv6 support is disabled, this recipe mis-configures
ruby so that it end up non-working:
--enable-wide-getaddrinfo instructs ruby to re-implement
the standard getaddinfo(), but IPv6 support is still
automatically detected via ext/socket/extconf.rb
independently of that flag.
To re-implement getaddrinfo(), ruby uses the obsolete
getipnodebyaddr() and getipnodebyname() functions - i.e.
according to the man-page, glibc provided those only in
glibc 2.1.91-95; and of course compilation fails. [1]
Switch to ruby's standard --enable-ipv6= configure
options to make the build work without warnings, and
ruby work at runtime as well.
[1] Compilation and linking actually succeed, albeit with
a warning regarding implicit declaration / unresolved
symbols. The error is only obvious at runtime due to the
unresolved symbols...
(From OE-Core rev: 6ff71dd308b1611df7a8ea811a79b7cb884c99e9)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure script does not detect isnan/isinf as macros
as is the case in musl:
checking for isinf... no
checking for isnan... no
Backport an upstream patch from 2.7.0-preview1 to address this:
checking whether isinf is declared... yes
checking whether isnan is declared... yes
(From OE-Core rev: b1afaccdba31341cace4b8d84d118ca76098587e)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The service file was removed in oe-core 23dcf7ea but the inherit was not.
(From OE-Core rev: f5bb06129391b62f7dff400f10a0b4d2934625d2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to the fix possible hang caused by the case of CVE-2017-17052.
CVE: CVE-2017-17052
(From OE-Core rev: 3bde502f612f17b6ed928b04cf5c4ba9ad54d598)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The testiter test case fails if libthai support isn't enabled because it
execises codepaths that need libthai to be correct. Backport a patch to skip
this test if libthai isn't enabled.
(From OE-Core rev: 7472bdb6ed1039b7f38afc728c034a13d0bbee0e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The runpy module is used to implement 'python3 -m foo', so move it to
python3-core as it's an essential part of the CLI.
(From OE-Core rev: eba857d3e52f83d426e95fa8373799da058f9484)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
ERROR: python-2.7.16-r0 do_package_qa: QA Issue:
/usr/lib/python2.7/lib-dynload/_tkinter.so contained in package
python-tkinter requires libtk8.6.so, but no providers found in
RDEPENDS_python-tkinter? [file-rdeps]
(From OE-Core rev: f78248a2380bbbbf271b5bb02c762f5bc7a3a92e)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous commit <shadow: use relaxed usernames> works only for
target. When test with configuration:
INHERIT += 'extrausers'
EXTRA_USERS_PARAMS += "useradd -p '' aBcD; "
and run "bitbake core-image-minimal", error occurs:
NOTE: core-image-minimal: Performing useradd with [
-R .../build/tmp-glibc/work/qemux86_64-wrs-linux/core-image-minimal/1.0-r0/rootfs -p '' aBcD]
useradd: invalid user name 'aBcD'
Here move the patch for using relaxed usernames from class_target to
the source code for all.
(From OE-Core rev: 8adf98e63fefeaf2c841a038a4497f9845bc7b04)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The full paths make the cache useless in the sdk. They also bloat the
cache size. They're for human debugging benefit only so compromise and
reduce this to the filename.
(Bitbake rev: 3b275c4083eae1d3781f0862919af9de83932b0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A minor performance optmisation to keep lists smaller when running large
builds. We can do this since once a task has been built, we don't need
to worry about it. This improves a major bottleneck that shows up on
performance profile charts in dryruns.
(Bitbake rev: cd6b89230823707c3c9bb9e6883bf5a971916581)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some runqueue code paths where the unihash cache would not be
saved where for example only parsing or an occurred. Save the cache at the
end of runqueue generation to ensure entries are cached.
(Bitbake rev: 9eee0d36870c11dd303894a6151c33a83bd3a1bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the unihash in the output filename of sigdata files else the contents
of stamp directories is misleading. Write the unihash into the singature to
make it clear what happened.
(Bitbake rev: feb01ee54d3706fe93768f332054c7532f7209e4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to set the setscene tasklist before we call into the
taskhash/unihash code else the behaviour is inconsistent.
Avoid reporting hashes for non setscene tasks since we'd never
query that.
(Bitbake rev: 419a7840b8627278db694029c25df00214d01d96)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently runqueue will rerun setscene tasks multiple times as hashes
change. This has caused numerous problems since a setscene task may
become "unavailable" for some future signature combination and the code
then can't easily "unskip" tasks its already passed into the execution
queue.
At least for now, only run setscene once and assume they're equivalent
at that point. In practise that has been much more stable in testing.
Tweak the test to match the change in behaviour.
(Bitbake rev: 4205a3ef23834f317642bba155d67cd772176fb6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The setscenetasks list needs to be available in the worker contexts
else the signature behaviour there mismatches what the server does.
Add the data to get/set_taskdata to ensure this happens.
(Bitbake rev: 632980ef90fe126b7ba3d138f4d574ae05914779)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tasks were not migrating consistently, particularly:
* if a task was rehashed which had already run
* if a task which was valid became invalid due to a rehash
We need to always run the migration code for rehashed tasks and then
reprocess them for hash validity. This means rearranging the code.
It also means several tests are no longer correct and can't be written
correctly to work on all possible workflows so those are removed.
(Bitbake rev: 8443989ee41e9b162972935513e437b5c66ea74d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently systemd cannot boot correctly on NFS. This is because
the code uses readdir which returns DT_UNKNOWN instead of DT_LNK
on NFS. So consider DT_UNKNOWN to fix this problem.
(From OE-Core rev: 9973f89dafdf9d21f4021f59f1f4669f4ac13aff)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lighttpd builds fail if "fam" (and therefore gamin) is enabled.
In conf/local.conf:
CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"
bitbake error:
ERROR: Nothing PROVIDES 'gamin' (but /yow-lpggp31/tgamblin/oe-core.git/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'gamin']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'lighttpd', 'gamin']
Since gamin hasn't been maintained for several years, this should
be removed from the list of lighttpd PACKAGECONFIG options.
--without-fam is hard-coded in EXTRA_OECONF for good measure.
(From OE-Core rev: ea714fff3869ef19cf1dc94bdffbca2c69658954)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the packagegroups violate the allarch policy therefore the ones
which do so, should be marked as TUNE specific
Fixes QA errors
packagegroup-self-hosted-1.0: Package version for package packagegroup-self-hosted-graphics went backwards which would break package feeds from (0:1.0-r13.12 to 0:1.0-r13.9) [version-going-backwards]
(From OE-Core rev: c26569320817263a487eceb610e3c70badba0b52)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In commit 8689e561 (lib/oe/lsb: attempt to ensure consistent distro id
regardless of source), the distro ID returned by
oe.lsb.distro_identifier() was lowercased, but only if a release
version is also present.
This changes the code to always lowercase the distro ID, including the
default distro ID "unknown", which is used if no other ID can be
identified.
(From OE-Core rev: 4ba7ef79d23a4cf688d7a794064893fe5f2f473b)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not decode the log content into a string only to re-encode it as
binary data again. Some logs might un-intentionally contain bytes that
do not decode as utf-8, as such preserve the log file content as it was
on disk.
Handle the decoding on the resulttool side, but also handle the failure
to decode the data.
(From OE-Core rev: 20531dc0b8f76a6e37cc856f36cd94077b6aba50)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle the streaming of exception content with details data. The
testtools package allows both 'err' and 'details' kwargs but can only
pass one of them to the parent.
To handle the passing of exception traceback and details data at the
same time, encode the traceback into the details object and remove the
'err' arg from the add* result call. This encodes the traceback similar
to how 'err' is handled without any details object. Decoding is already
done by testtools when the traceback is encoded in the details object.
(From OE-Core rev: 3613451825b251784b7673d89db465b9782c3a31)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Write out the hash equiv cache file into any eSDK so that it doesn't rely
on having to call the hash server for the basic data requests.
(From OE-Core rev: 05c6842e747261b3350d6325e238429cf8728ca0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locked sigs class needs to be inherited after the hashequiv mixin so
that get_unihash can correctly wrap the underlying hashequiv function.
To do this turn the locked sigs class into a second mixin, then the order
can be correctly handled. Tweak the get/set_taskdata to match.
(From OE-Core rev: 73d3414ecf594e426e6024b71931038a201eca52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were two issues with the test one is that an equivalent hash
could come from the server meaning the signature didn't change when it
should. A uuid string is injected to ensure this does not happen.
If there were multiple warnings the test would also fail as only the
first is prefixed with WARNING. Tweak the string to avoid that failure
mode.
(From OE-Core rev: e58eaf5b8c93521dc311b77593e0dd7debca602d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using locked signatures with the hash equivalency server ran into
problems. We need to:
a) Ensure the lockedhashes data object is passed from the core to
any individual tasks using the get/set_taskdata methods
b) Return a locked singature instead of a unihash
c) Write the unihash being used to locked signature lists rather than
the calculated taskhash
d) Skip warnings of hash mismatch if the hash is a unihash
These changes fix esdk builds (which use locked sigs) when a hash equivalence
server is in use.
(From OE-Core rev: 25dc3d78de01dffa77a3a2452d6a97d741b446d9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the reference BSP SRCREVs and versions to 5.2.17 to match
the latest for qemu* and to pickup some reference board specific
patches.
(From meta-yocto rev: fcc920580380a2b57b5b8e1649b4ad94bd3d15b7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hash server process is terminated and waited on with join(), so it
should not be a daemon. Daemonizing it cause races with the server
cleanup, especially in the selftest because the process may not have
terminated and cleanup up its socket before the test cleanup runs and
tries to do it.
[YOCTO #13542]
(Bitbake rev: 7c829675581818f92d57056b57fbd3880829b6bd)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The HashConnectionError class was moved to the client module and needs
to be updated.
[YOCTO #13537]
(Bitbake rev: 9fb862685e5e5a2aa534bc25cab1e4158d708b40)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The os module is required to connect to a unix domain socket
(Bitbake rev: 31a5111bcd0080a583d0d95fad3e09ae78bdf0fa)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The variable values that result from parsing multiconfig should be
included in the cooker data hash, otherwise changes to these files won't
be detected, which will allow the parsing cache to be loaded with the
old values for the multiconfigs. This can either manifest as the
variable values simply not updating, or getting basehash changed errors
when building.
This bug was previously undetected because all of the multiconfig base
files were a direct file dependency in all parsed recipes. This was
fixed in 34137a00f60 ("bitbake: bitbake: cooker: Rename __depends in all
multiconfigs"), exposing this bug.
[YOCTO #13541]
(Bitbake rev: c74481aa15226e1bff9d53e4ee4b702ebfa1ad32)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test case to exercise the detection of git-lfs repositories and the
behaviour of the lfs parameter.
(Bitbake rev: a7cf4fc72cce357c425084dc2c5f35b5ed1a4b7b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor the git-lfs checking: this means both clearer code in the download()
function and allows unit testing to monkeypatch the functionality.
(Bitbake rev: 33cf9172ded50a869f7201ba463ab9ecc69b8252)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
set in the ramdisk node the compression property
always to "none", as U-Boot nowadays since commit:
b1307f884a91 ("fit: Support compression for non-kernel components (e.g. FDT)")
decompress non kernel components. Setting compression
to the used comression algorithm now, will end in
fail of your kernel boot with the ramdisk.
This issue is fixed since commit:
bddd98573465 ("fit: Do not automatically decompress ramdisk images")
which now prints a warning in U-Boot, instead of decompressing
the ramdisk, but we should setup compression property correct.
(From OE-Core rev: f963a51544a9a7b1abbaa87c95b3c0279847d697)
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pip3 depends on pickle, so add python3-pickle to RDEPENDS.
Without it, errors such as the following occur:
>>> import pip._internal
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.7/site-packages/pip/internal/init_.py", line 40, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/main_parser.py", line 7, in <module>
from pip._internal.cli import cmdoptions
File "/usr/lib64/python3.7/site-packages/pip/_internal/cli/cmdoptions.py", line 29, in <module>
from pip._internal.utils.ui import BAR_TYPES
File "/usr/lib64/python3.7/site-packages/pip/_internal/utils/ui.py", line 16, in <module>
from pip._internal.utils.logging import get_indentation
File "/usr/lib64/python3.7/site-packages/pip/_internal/utils/logging.py", line 6, in <module>
import logging.handlers
File "/usr/lib64/python3.7/logging/handlers.py", line 26, in <module>
import logging, socket, os, pickle, struct, time, re
ModuleNotFoundError: No module named 'pickle'
(From OE-Core rev: 39f53aae947f08284bf4864934f62c33e4e9be3c)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Once use kexec in arm arch, it will throw out the error info as below:
Could not find a free area of memory of 0xc78e744 bytes...
This is because that kexec use kexec_file_load to load image by default
but arm doesn't support it. So add this patch to avoid use kexec_file_load
in arm platforms.
(From OE-Core rev: 952a3fa77c80f16cd6d97f35afdb474876a39483)
Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update corresponds to 68 commits to the ffmpeg git repo.
52 of these commits are oss-fuzz bug fixes. The remainder include
improved codex handling and some rpi performance tweaks.
(From OE-Core rev: 642b3e79c66779ab2851d978d44cf2e5aab47c68)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test to verify that when multiconfig conf files changed, recipes
are correctly reparsed.
[YOCTO #13541]
(From OE-Core rev: a424ef0a0c49123f4518e8fef993fd10f6fc5f4e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without access to unittest, subunit cannot be imported in python3:
root@qemux86-64:~# python3
Python 3.7.4 (default, Sep 20 2019, 13:38:31)
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import subunit
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/subunit/__init__.py", line 123, in <module>
import unittest
ModuleNotFoundError: No module named 'unittest'
>>>
Adding python3-testtools to python3-subunit's RDEPENDS fixes the
issue. This also implicitly provides the functionality found in
the python3-extras module.
(From OE-Core rev: 7ed7dc39e379c18f757e3c326ec1466c8ab27b41)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This works just like the already existing --no-clean option to the
`devtool reset` command.
(From OE-Core rev: 4433d3133ce53cdf7db17f5e7914fe8c4d78dba3)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The _get_patchset_revs() function returns the patches in an
OrderedDict to keep them ordered. However, this information was lost
when the patches were added to the bbappend file.
(From OE-Core rev: 69b7a2ba3af1280cc220ab236032f8466246ee93)
Signed-off-by: Niclas Svensson <niclas.svensson@axis.com>
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed when built the project in a long path (len(TMPDIR) > 200):
$ bitbake dejagnu-native
[snip]
checking Tcl version 8.5 or greater... *** buffer overflow detected ***:
TOPDIR/tmp-glibc/work/x86_64-linux/dejagnu-native/1.6.2-r0/recipe-sysroot-native/usr/bin/expect terminated
[snip]
(From OE-Core rev: c8d0bf3411846bb3852bffaf59193801d9c7530a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The deployment of the source date epoch file had a race condition where
any task attempting to read from the file would race with creation of
the sstate archive for the do_deploy_source_date_epoch task. The
creation of the sstate archive requires moving the directory to a
temporary location, then moving it back. This means that the file
disappears for a short period of time, which will cause a failure if any
other task is running and trying to open the file to get the current
source date epoch.
The solution is to copy the source date epoch file to a separate
directory when deploying so the file never disappears. When the file is
restored from sstate, it is moved to the correct location after being
extracted.
[YOCTO #13501]
(From OE-Core rev: ac27d12fe5480e9b8cc93de6a32bf9631c52d7f4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's INITRAMFS_FSTYPES that can be set differently.
(From OE-Core rev: 141d02400696020e83df3edcf13021fde139d261)
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake nativesdk-net-tools
ERROR: nativesdk-net-tools-1.60-26-r0 do_package: QA Issue: nativesdk-net-tools: Files/directories were installed but not shipped in any package:
/usr
/usr/share
/usr/share/man
[snip]
(From OE-Core rev: fd3c46840851651fd737fe50916294cdffb3d718)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ bitbake nativesdk-expect
checking for Tcl public headers... configure: error: tcl.h not found. Please specify its location with --with-tclinclude
(From OE-Core rev: bd8ba628b0ff1ad3603b08981467edf5e36ec024)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit 8e48b4d6c4 makes wic ignores IMAGE_ROOTFS_SIZE for rootfs
size and makes it uses the computed one only. Re-add support for
IMAGE_ROOTFS_SIZE variable and compute roots size only if the former
is not defined. Moreover the size of a provided directory with
--rootfs-dir="" in the .wks file should always be computed on the fly,
else every partition will be constrained to be the same size as what
ever value was in ROOTFS_SIZE.
(From OE-Core rev: 0217a0392b8cc534fcc0d760b7663a1845b306f5)
Signed-off-by: Alessio Igor Bogani <alessio.bogani@elettra.eu>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
install_locales() here is actually operating on nativesdk and only glibc
is the default library for nativesdk, since thats what most of
desktop/server distros use, therefore bailing out based on TCLIBC is not
needed here, since nativesdk-glibc would be required for all non-glibc
targetting SDKs as well.
Fixes SDK install time error
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Your system needs to support the en_US.UTF-8 locale.
ERROR: SDK preparation failed
(From OE-Core rev: ba2df1fa43b79c4959911c1b0bcad996f255b7a8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang 9.x ( which is now default in meta-clang ) supports riscv
(From OE-Core rev: 198689f74915756ce6ae38d6735780a26e9b3f7e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It checked whether busybox is in task-depends.dot after run "bitbake -g
core-image-minimal", but busybox is not a must for core-image-minimal since it
is configurable:
VIRTUAL-RUNTIME_base-utils = ""
VIRTUAL-RUNTIME_base-utils-syslog = ""
VIRTUAL-RUNTIME_base-utils-hwclock = ""
VIRTUAL-RUNTIME_login_manager = "shadow"
VIRTUAL-RUNTIME_syslog = ""
So the case may fail when busybox is not present, check
base-files which is more reliable.
(From OE-Core rev: f73676b07f6d8a4573a5f46c3e082831b34b7d18)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
5e408889e4af Linux 5.2.17
12434939ba58 vfs: Fix refcounting of filenames in fs_parser
d4911cc1f4b6 media: technisat-usb2: break out of loop at end of buffer
19ad4c4fe19c floppy: fix usercopy direction
d7aa8c546ab9 ovl: fix regression caused by overlapping layers detection
52f2aba47d71 Revert "arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}"
785ca708a908 iommu/amd: Fix race in increase_address_space()
ed52f6cf0e84 iommu/amd: Flush old domains in kdump kernel
24962eb0edd0 keys: Fix missing null pointer check in request_key_auth_describe()
16ed4b9b7bf7 dmaengine: rcar-dmac: Fix DMACHCLR handling if iommu is mapped
d604a12cc6d5 dmaengine: sprd: Fix the DMA link-list configuration
d5898d2f06fc iommu/vt-d: Remove global page flush support
5df0a5fd4d1c x86/hyper-v: Fix overflow bug in fill_gva_list()
4bdb9988ad38 x86/uaccess: Don't leak the AC flags into __get_user() argument evaluation
4dabe50389c4 dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe()
9de496fe242a dmaengine: ti: dma-crossbar: Fix a memory leak bug
4b898223a979 arm64: dts: renesas: r8a77995: draak: Fix backlight regulator name
4ad64281e4d3 net: seeq: Fix the function used to release some memory in an error handling path
0275857577e5 enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions
d18638671b96 net: dsa: microchip: add KSZ8563 compatibility string
05172612ab3a net: aquantia: fix out of memory condition on rx side
95acd66ba70a net: aquantia: linkstate irq should be oneshot
e4d1449ca4a5 net: aquantia: reapply vlan filters on up
6a6e09b7a519 net: aquantia: fix removal of vlan 0
b5789a160c2d tools/power turbostat: Fix CPU%C1 display value
54f4f3b38133 tools/power turbostat: Add Ice Lake NNPI support
8bae84e5203b tools/power turbostat: Fix Haswell Core systems
0926ee9f5327 tools/power turbostat: fix buffer overrun
94132aca9472 tools/power turbostat: fix file descriptor leaks
0a1ba2cd9d62 tools/power turbostat: fix leak of file descriptor on error return path
caab8b8b3aca tools/power x86_energy_perf_policy: Fix argument parsing
edf8ba32bc2b tools/power x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2
e9e492c92d8c netfilter: nf_flow_table: clear skb tstamp before xmit
27264af16969 amd-xgbe: Fix error path in xgbe_mod_init()
8b7bf7b1b2dd i2c: mediatek: disable zero-length transfers for mt8183
316c15048f40 i2c: iproc: Stop advertising support of SMBUS quick cmd
9027939cc8f7 perf/x86/amd/ibs: Fix sample bias for dispatched micro-ops
e1efdaaa9b46 perf/x86/intel: Restrict period on Nehalem
1ffda54f0546 i2c: designware: Synchronize IRQs when unregistering slave client
0910434c455d sky2: Disable MSI on yet another ASUS boards (P6Xxxx)
cd6901e723fc ibmvnic: Do not process reset during or after device removal
3ee4ed9cd3a0 ARM: 8901/1: add a criteria for pfn_valid of arm
eaaa11a4f8d0 RISC-V: Fix FIXMAP area corruption on RV32 systems
22c521335522 usb: host: xhci-tegra: Set DMA mask correctly
97b1d81abc61 libceph: don't call crypto_free_sync_skcipher() on a NULL tfm
b8632186884a cifs: Use kzfree() to zero out the password
8db988a98290 cifs: set domainName when a domain-key is used in multiuser
a8bf51b5c6f5 drm/amd/powerplay: correct Vega20 dpm level related settings
f5c6d0245f97 netfilter: conntrack: make sysctls per-namespace again
6612f6edf1f1 kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
7c1a4283b606 NFS: remove set but not used variable 'mapping'
de932b20ed88 NFSv2: Fix write regression
646d295fdded NFSv2: Fix eof handling
16986c7cf8b5 netfilter: nf_conntrack_ftp: Fix debug output
0dec70d3c249 netfilter: xt_physdev: Fix spurious error message in physdev_mt_check
e3813a30bd6f drm/amdgpu: fix dma_fence_wait without reference
9b914306b0f7 NFS: Fix writepage(s) error handling to not report errors twice
78f0f9007523 NFS: Fix spurious EIO read errors
fa38f165c78a pNFS/flexfiles: Don't time out requests on hard mounts
7999b21e2224 x86/apic: Fix arch_dynirq_lower_bound() bug for DT enabled machines
c19a0d7ef095 r8152: Set memory to all 0xFFs on failed reg reads
f1b6d7c8de4c bpf: allow narrow loads of some sk_reuseport_md fields with offset > 0
5e0251d82954 flow_dissector: Fix potential use-after-free on BPF_PROG_DETACH
31320b857d13 batman-adv: Only read OGM2 tvlv_len after buffer len check
9ae47d48cd2d ARM: 8874/1: mm: only adjust sections of valid mm structures
b77b8c17df13 drm/virtio: use virtio_max_dma_size
5a2ffd1ffa54 drm/omap: Fix port lookup for SDI output
fc45ccc7b85b qed: Add cleanup in qed_slowpath_start()
304a65866fbe selftests/bpf: add config fragment BPF_JIT
c963cd4ec138 selftests/bpf: fix test_cgroup_storage on s390
f4a9b28782c6 xdp: unpin xdp umem pages in error path
b484e28554d0 Kconfig: Fix the reference to the IDT77105 Phy driver in the description of ATM_NICSTAR_USE_IDT77105
b8438c08476c NFS: On fatal writeback errors, we need to call nfs_inode_remove_request()
518c9d0158e0 NFS: Fix initialisation of I/O result struct in nfs_pgio_rpcsetup
d29a04e98cdb NFSv4: Fix return value in nfs_finish_open()
b8cb57c86f93 NFSv4: Fix return values for nfs4_file_open()
7844dde203db netfilter: xt_nfacct: Fix alignment mismatch in xt_nfacct_match_info
f30dade2d5d5 netfilter: nft_flow_offload: missing netlink attribute policy
399676d85515 netfilter: ebtables: Fix argument order to ADD_COUNTER
5b0d408d8ad6 fpga: altera-ps-spi: Fix getting of optional confd gpio
52ba08b93fee tools: bpftool: close prog FD before exit on showing a single program
840aec7a8b48 selftests/bpf: fix "bind{4, 6} deny specific IP & port" on s390
99eb87b50faa s390/bpf: use 32-bit index for tail calls
62c3bfff7d9e ARM: dts: Fix incomplete dts data for am3 and am4 mmc
0a3d2a039339 bus: ti-sysc: Simplify cleanup upon failures in sysc_probe()
e92814b0aae1 ARM: OMAP1: ams-delta-fiq: Fix missing irq_ack
3d8729676adb ARM: dts: dra74x: Fix iodelay configuration for mmc3
70af7f6d9e6a ARM: dts: am335x: Fix UARTs length
b6858c94d535 ARM: OMAP2+: Fix omap4 errata warning on other SoCs
71d668a95351 s390/bpf: fix lcgr instruction encoding
f262a47d4bc9 arm64: dts: meson-g12a: add missing dwc2 phy-names
3d3879d57e3b ARM: dts: Fix incorrect dcan register mapping for am3, am4 and dra7
6d326307187b ARM: dts: Fix flags for gpio7
de457d8d0f18 bus: ti-sysc: Fix using configured sysc mask value
84b9540898a9 bus: ti-sysc: Fix handling of forced idle
9f500d6b3df2 ARM: OMAP2+: Fix missing SYSC_HAS_RESET_STATUS for dra7 epwmss
cff4410f5d31 ARM: dts: am57xx: Disable voltage switching for SD card
05b57db138f3 ieee802154: hwsim: unregister hw while hwsim_subscribe_all_others fails
b090ed1779d8 ieee802154: hwsim: Fix error handle path in hwsim_init_module
6fc6065f5f2c nl80211: Fix possible Spectre-v1 for CQM RSSI thresholds
fb91d697f851 mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings
314a961abd99 tty/serial: atmel: reschedule TX after RX was started
3bf0e241c813 serial: sprd: correct the wrong sequence of arguments
3049e5125169 firmware: google: check if size is valid when decoding VPD data
ad0ef1b06e7b KVM: coalesced_mmio: add bounds checking
0d84424bdfcd net: dsa: Fix load order between DSA drivers and taggers
7f4aa339581b xen-netfront: do not assume sk_buff_head list is empty in error handling
82369aa61ec7 udp: correct reuseport selection with connected sockets
a4cb1c43dc6c net_sched: let qdisc_put() accept NULL pointer
81608038502a net/sched: fix race between deactivation and dequeue for NOLOCK qdisc
8a00845c5d64 ip6_gre: fix a dst leak in ip6erspan_tunnel_xmit
8d3dc8dfe890 net: aquantia: fix limit of vlan filters
bd950d777e3a net: hns: fix LED configuration for marvell phy
854c67e19e73 scripts/decode_stacktrace: match basepath using shell prefix operator, not regex
88f16147459f powerpc/mm/radix: Use the right page size for vmemmap mapping
badbf863ed91 nfs: disable client side deduplication
543792290cce media: stm32-dcmi: fix irq = 0 case
1fb6db57b831 SUNRPC: Handle connection breakages correctly in call_status()
5d96613b372d Input: elan_i2c - remove Lenovo Legion Y7000 PnpID
41a22481ec5d HID: wacom: generic: read HID_DG_CONTACTMAX from any feature report
7902ff2b8c97 netfilter: nf_flow_table: set default timeout after successful insertion
e9bc4f96c596 net: hns3: adjust hns3_uninit_phy()'s location in the hns3_client_uninit()
32e50e282ea7 phy: renesas: rcar-gen3-usb2: Disable clearing VBUS in over-current
262c7b193cbb media: tm6000: double free if usb disconnect while streaming
1fc15d29540a USB: usbcore: Fix slab-out-of-bounds bug during device reset
(From OE-Core rev: ee7b48e1ca1e4262941f71a1735ec5b4a9cfc11d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:
1e2ba4a74fa7 Linux 5.2.16
2508f833875c x86/build: Add -Wnoaddress-of-packed-member to REALMODE_CFLAGS, to silence GCC9 build warning
8803770b85d3 rsi: fix a double free bug in rsi_91x_deinit()
d8bcd38cb933 platform/x86: pcengines-apuv2: use KEY_RESTART for front button
f7a15c7068f0 platform/x86: pmc_atom: Add CB4063 Beckhoff Automation board to critclk_systems DMI table
657d4ca80d64 KVM: SVM: Fix detection of AMD Errata 1096
54d782e7c865 kvm: nVMX: Remove unnecessary sync_roots from handle_invept
00ab9eeb0314 modules: always page-align module section allocations
ec93d0db91ce modules: fix compile error if don't have strict module rwx
0a199213f586 modules: fix BUG when load module with rodata=n
63e3de7299ba iio: adc: stm32-dfsdm: fix data type
bb9dee6edb5a iio: adc: stm32-dfsdm: fix output resolution
83ad11d6d7fa Revert "Bluetooth: btusb: driver to enable the usb-wakeup feature"
7c218ebc7899 mm/z3fold.c: fix lock/unlock imbalance in z3fold_page_isolate
1894d857ce86 mm/z3fold.c: remove z3fold_migration trylock
ead8b4f3b2f9 drm/mediatek: mtk_drm_drv.c: Add of_node_put() before goto
009b31923398 drm: panel-orientation-quirks: Add extra quirk table entry for GPD MicroPC
6dbe4b80180c firmware: ti_sci: Always request response from firmware
71f0dafe61ce crypto: talitos - HMAC SNOOP NO AFEU mode requires SW icv checking.
456945703690 crypto: talitos - Do not modify req->cryptlen on decryption.
dcefbf43b003 crypto: talitos - fix ECB algs ivsize
291d9ef44614 crypto: talitos - check data blocksize in ablkcipher.
86545794d2e5 crypto: talitos - fix CTR alg blocksize
808a33cd37dd crypto: talitos - check AES key size
0a7737c960e3 driver core: Fix use-after-free and double free on glue directory
6502d1acbe63 ubifs: Correctly use tnc_next() in search_dh_cookie()
85e398e6aa01 PCI: Always allow probing with driver_override
f5a7b0f01b23 mtd: rawnand: mtk: Fix wrongly assigned OOB buffer pointer issue
7b20eb930bd0 clk: rockchip: Don't yell about bad mmc phases when getting
4111a1f2142e mt76: mt7615: Use after free in mt7615_mcu_set_bcn()
195d154b8a71 mt76: Fix a signedness bug in mt7615_add_interface()
76d64d6d9ed8 clk: Simplify debugfs printing and add a newline
268311c39a7f clk: Fix debugfs clk_possible_parents for clks without parent string names
a9258bc6e0b3 drm/meson: Add support for XBGR8888 & ABGR8888 formats
5924bb61ac94 x86/ima: check EFI SetupMode too
c5699cc857a0 x86/boot: Use efi_setup_data for searching RSDP on kexec-ed kernels
2fd4aaaf615d kernel/module: Fix mem leak in module_add_modinfo_attrs
a9ce57d57155 powerpc: Add barrier_nospec to raw_copy_in_user()
6876bd0c34c8 x86/purgatory: Change compiler flags from -mcmodel=kernel to -mcmodel=large to fix kexec relocation errors
cc0feeebbb3f KVM: nVMX: handle page fault in vmread
9e8659bdca66 KVM: x86/mmu: Reintroduce fast invalidate/zap for flushing memslot
db68c0c83a76 KVM: x86: work around leak of uninitialized stack contents
17cd7cf4b355 KVM: s390: Do not leak kernel stack data in the KVM_S390_INTERRUPT ioctl
0c3ffd500445 KVM: s390: kvm_s390_vm_start_migration: check dirty_bitmap before using it as target for memset()
71661b871973 regulator: twl: voltage lists for vdd1/2 on twl4030
803c7bbc0d5d genirq: Prevent NULL pointer dereference in resend_irqs()
041f865f676b mt76: mt76x0e: disable 5GHz band for MT7630E
fbf07d827d82 Revert "rt2800: enable TX_PIN_CFG_LNA_PE_ bits per band"
868921b1f3d5 ixgbe: Prevent u8 wrapping of ITR value to something less than 10us
c42a7b87b8d7 ixgbe: fix double clean of Tx descriptors with xdp
076566aafd94 ipc: fix sparc64 ipc() wrapper
b2c92cb1d141 ipc: fix semtimedop for generic 32-bit architectures
b68833b65bf0 drm/i915: Restore relaxed padding (OCL_OOB_SUPPRES_ENABLE) for skl+
e0e11df7f249 drm/i915: Limit MST to <= 8bpc once again
8eb5a78c20e8 drm/lima: fix lima_gem_wait() return value
46d1c96a1a5e mmc: tmio: Fixup runtime PM management during remove
f5e9862fedd0 mmc: tmio: Fixup runtime PM management during probe
e5b9762c20a3 Revert "mmc: sdhci: Remove unneeded quirk2 flag of O2 SD host controller"
0699a10fe9ed Revert "mmc: bcm2835: Terminate timeout work synchronously"
c554749c3f7e cgroup: freezer: fix frozen state inheritance
4fa875f06c43 Btrfs: fix assertion failure during fsync and use of stale transaction
09234426db8f gpio: fix line flag validation in lineevent_create
94cd945b2d24 gpio: fix line flag validation in linehandle_create
c54f5198f527 gpio: mockup: add missing single_release()
06477d8e4425 gpiolib: acpi: Add gpiolib_acpi_run_edge_events_on_boot option and blacklist
3c0bf14d186b net: sock_map, fix missing ulp check in sock hash case
f3724b27ca29 sctp: fix the missing put_user when dumping transport thresholds
488eefe22491 net: fixed_phy: Add forward declaration for struct gpio_desc;
e33190acd588 ipv6: addrconf_f6i_alloc - fix non-null pointer check to !IS_ERR()
e854b3329bd9 net-ipv6: fix excessive RTF_ADDRCONF flag on ::1/128 local route (and others)
eddd5617db91 tun: fix use-after-free when register netdev failed
48da78093aa1 tipc: add NULL pointer check before calling kfree_rcu
055102e1467f tcp: fix tcp_ecn_withdraw_cwr() to clear TCP_ECN_QUEUE_CWR
434e93757f3f sctp: use transport pf_retrans in sctp_do_8_2_transport_strike
91c1460ecbf5 sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'
af241597df3e sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
c36f33d49df7 net: sched: fix reordering issues
69b37604889b net: phylink: Fix flow control resolution
92984818ff8c net: gso: Fix skb_segment splat when splitting gso_size mangled skb having linear-headed frag_list
f8f235f9a5dc net: Fix null de-reference of device refcount
c012f28d7a73 ixgbevf: Fix secpath usage for IPsec Tx offload
dc0921f74221 ixgbe: Fix secpath usage for IPsec TX offload.
3d970bbd8f0d isdn/capi: check message length in capi_write()
2e898bf96a7d ipv6: Fix the link time qualifier of 'ping_v6_proc_exit_net()'
4702849bf8af cdc_ether: fix rndis support for Mediatek based smartphones
7b2687fe1142 bridge/mdb: remove wrong use of NLM_F_MULTI
6e282ba6ff6b Linux 5.2.15
e86a7794620a vhost: make sure log_num < in_num
f6b72d0920f4 Btrfs: fix unwritten extent buffers and hangs on future writeback attempts
051d85e1b2d3 drm/i915/icl: whitelist PS_(DEPTH|INVOCATION)_COUNT
0b50b2beafe7 drm/i915: Add whitelist workarounds for ICL
a22fc7cea6af drm/i915: whitelist PS_(DEPTH|INVOCATION)_COUNT
abb4c8b10fc7 drm/i915: Support whitelist workarounds on all engines
d05cba91e1de drm/i915: Support flags in whitlist WAs
4b1bac380cdc virtio/s390: fix race on airq_areas[]
8db034bb05b1 usb: chipidea: imx: fix EPROBE_DEFER support during driver probe
e7bc0c0aeb77 usb: chipidea: imx: add imx7ulp support
cb77c43fa0bb mmc: sdhci-sprd: Fix the incorrect soft reset operation when runtime resuming
c0e2dbd7d707 drm/i915: Make sure cdclk is high enough for DP audio on VLV/CHV
07c37f641842 drm/i915: Disable SAMPLER_STATE prefetching on all Gen11 steppings.
c31f3dc4e075 IB/hfi1: Unreserve a flushed OPFN request
bef755d188f5 IB/{rdmavt, qib, hfi1}: Convert to new completion API
9d3d11319bd2 IB/rdmavt: Add new completion inline
16d2d609ff0f bcache: fix race in btree_flush_write()
913855877794 bcache: add comments for mutex_lock(&b->write_lock)
b622ba2bcd4e bcache: only clear BTREE_NODE_dirty bit when it is set
bb70b2729b7a batman-adv: Only read OGM tvlv_len after buffer len check
e2b3974bc4ab batman-adv: fix uninit-value in batadv_netlink_get_ifindex()
398f2c8277f2 powerpc/tm: Fix restoring FP/VMX facility incorrectly on interrupts
7f20c56c0b7a powerpc/tm: Fix FP/VMX unavailable exceptions inside a transaction
12c6a7776680 powerpc/64e: Drop stale call to smp_processor_id() which hangs SMP startup
6890ea590cb7 vhost/test: fix build for vhost test - again
478e21d516d2 vhost/test: fix build for vhost test
9844e52dd977 drm/nouveau/sec2/gp102: add missing MODULE_FIRMWAREs
ee116fa63272 drm/vmwgfx: Fix double free in vmw_recv_msg()
1f570399e490 sched/fair: Don't assign runtime for throttled cfs_rq
f43cf5ff54a2 ALSA: hda/realtek - Fix the problem of two front mics on a ThinkCentre
b305db85076a ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL
6157216e86f3 ALSA: hda/realtek - Add quirk for HP Pavilion 15
dfdf3c29f72a ALSA: hda/realtek - Fix overridden device-specific initialization
1a413713ee16 ALSA: hda - Fix potential endless loop at applying quirks
d89e8b4684f1 gpio: pca953x: use pca953x_read_regs instead of regmap_bulk_read
b3a1644a19a7 gpio: pca953x: correct type of reg_direction
997fee5473ce Linux 5.2.14
0ccc5c227f88 Revert "mmc: core: do not retry CMD6 in __mmc_switch()"
317a66e24b46 x86/boot: Preserve boot_params.secure_boot from sanitizing
1a7fd193e9d8 Revert "x86/apic: Include the LDR when clearing out APIC registers"
ae96cf9e1e31 libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
8d50b82ea79b x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
852a051ef22b KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
44dfa46aaf7c gpio: Fix irqchip initialization order
157ec0a3f834 RDMA/bnxt_re: Fix stack-out-of-bounds in bnxt_qplib_rcfw_send_message
cf9ec2e9056c afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
3f6685835889 afs: Fix possible oops in afs_lookup trace event
c231241d83b9 afs: Fix leak in afs_lookup_cell_rcu()
7f134d569e1a KVM: arm/arm64: Only skip MMIO insn once
39c62cdaa2d4 ceph: fix buffer free while holding i_ceph_lock in fill_inode()
c4e28be29a45 ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
f41cd559f1f3 ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
3ebab463e9f4 drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl
23da8e9ef69b selftests/kvm: make platform_info_test pass on AMD
666a41848d72 selftests: kvm: fix state save/load on processors without XSAVE
dd53d830bb30 infiniband: hfi1: fix memory leaks
bcb3211656fa infiniband: hfi1: fix a memory leak bug
1e93149659cc IB/mlx4: Fix memory leaks
fc38afc04343 RDMA/cma: fix null-ptr-deref Read in cma_cleanup
d61a256fece2 nvme: Fix cntlid validation when not using NVMEoF
e1031b6c8100 nvme-multipath: fix possible I/O hang when paths are updated
6950d5b64a15 Tools: hv: kvp: eliminate 'may be used uninitialized' warning
195b5aa923ec Input: hyperv-keyboard: Use in-place iterator API in the channel callback
31b60e5c604c scsi: lpfc: Mitigate high memory pre-allocation by SCSI-MQ
aa4bc3a35253 x86/boot/compressed/64: Fix boot on machines with broken E820 table
3091859b0b5e HID: cp2112: prevent sleeping function called from invalid context
e8fd4f47b224 HID: intel-ish-hid: ipc: add EHL device id
d58500c6fcb4 kprobes: Fix potential deadlock in kprobe_optimizer()
9ad89d579c01 sched/core: Schedule new worker even if PI-blocked
086ddc5e7172 ravb: Fix use-after-free ravb_tstamp_skb
37f12b895446 wimax/i2400m: fix a memory leak bug
461f5b613b4d net: cavium: fix driver name
1915dd1826be ibmvnic: Unmap DMA address of TX descriptor buffers after use
895a07a5a03a net: kalmia: fix memory leaks
241a735f5f68 cx82310_eth: fix a memory leak bug
e8f8411a8def vfs: fix page locking deadlocks when deduping files
a4234e27ed05 lan78xx: Fix memory leaks
96ece5798677 clk: Fix potential NULL dereference in clk_fetch_parent_index()
a6cb8dd3664e clk: Fix falling back to legacy parent string matching
7da16490e5a5 net: myri10ge: fix memory leaks
0f1c537cf09c liquidio: add cleanup in octeon_setup_iq()
101743ca0284 selftests: kvm: fix vmx_set_nested_state_test
5aac82ac9c7c selftests: kvm: provide common function to enable eVMCS
926a6e9efce9 selftests: kvm: do not try running the VM in vmx_set_nested_state_test
bf31a46ead59 cxgb4: fix a memory leak bug
46bf670f4455 scsi: target: tcmu: avoid use-after-free after command timeout
8e639df33729 scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
6fe444e60cda drm/mediatek: set DMA max segment size
1e12afb4c60a drm/mediatek: use correct device to import PRIME buffers
2b4a29f04533 netfilter: nft_flow_offload: skip tcp rst and fin packets
1dcb0d4eaf85 gpio: Fix build error of function redefinition
f6bd80bc6223 ibmveth: Convert multicast list size for little-endian system
d45c33d890bc s390/qeth: serialize cmd reply with concurrent timeout
b12691c24ea9 Bluetooth: hci_qca: Send VS pre shutdown command.
113d5ca74866 Bluetooth: btqca: Add a short delay before downloading the NVM
ab0f749707ea net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
37a0be861375 hv_netvsc: Fix a warning of suspicious RCU usage
936315c0c94e ixgbe: fix possible deadlock in ixgbe_service_task()
1dc961de7733 tools: bpftool: fix error message (prog -> object)
ea3c243ce799 netfilter: nf_flow_table: teardown flow timeout race
96a517d0ba5f netfilter: nf_flow_table: conntrack picks up expired flows
586f00143091 netfilter: nf_tables: use-after-free in failing rule with bound set
830b5c3760ff net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
60a4f2b2b6b8 clk: samsung: exynos542x: Move MSCL subsystem clocks to its sub-CMU
c65a2b20a934 clk: samsung: exynos5800: Move MAU subsystem clocks to MAU sub-CMU
f7bd5e9fe13f clk: samsung: Change signature of exynos5_subcmus_init() function
8f37477964e9 net/mlx5e: Fix error flow of CQE recovery on tx reporter
701b89908ba1 netfilter: nf_flow_table: fix offload for flows that are subject to xfrm
b8a132a4c4b6 libbpf: set BTF FD for prog only when there is supported .BTF.ext data
a65fb2895af4 libbpf: fix erroneous multi-closing of BTF FD
fa689968da49 batman-adv: Fix netlink dumping of all mcast_flags buckets
a4c88340b3ea net/rds: Fix info leak in rds6_inc_info_copy()
fdd2bc365fc6 net/sched: pfifo_fast: fix wrong dereference when qdisc is reset
e9cc0513248f net/sched: pfifo_fast: fix wrong dereference in pfifo_fast_enqueue
0b003edac850 net: dsa: tag_8021q: Future-proof the reserved fields in the custom VID
c7f05c1d9bf4 Add genphy_c45_config_aneg() function to phy-c45.c
98ded313ffda net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
622f16b30519 taprio: Set default link speed to 10 Mbps in taprio_set_picos_per_byte
4f15d0e51268 taprio: Fix kernel panic in taprio_destroy
61f10b1bb84d r8152: remove calling netif_napi_del
5a9ceccb6385 Revert "r8152: napi hangup fix after disconnect"
7e21536433d0 nfp: flower: handle neighbour events on internal ports
f7ec32a4ae5c nfp: flower: prevent ingress block binds on internal ports
64a2a93ba385 tcp: remove empty skb from write queue in error cases
5cef2bfc9e3f tcp: inherit timestamp on mtu probe
939cc35d5f81 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
505aac7f4e48 net_sched: fix a NULL pointer deref in ipt action
3c6dfd2adb7a net: sched: act_sample: fix psample group handling on overwrite
5038bd027ac3 net: fix skb use after free in netpoll
baa513580b25 mld: fix memory leak in mld_del_delrec()
(From OE-Core rev: c4811bc2eefbeee6b1150559b24353b328469e97)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest korg -stable for 5.2, which comprises the
following changes:
997fee5473ce Linux 5.2.14
0ccc5c227f88 Revert "mmc: core: do not retry CMD6 in __mmc_switch()"
317a66e24b46 x86/boot: Preserve boot_params.secure_boot from sanitizing
1a7fd193e9d8 Revert "x86/apic: Include the LDR when clearing out APIC registers"
ae96cf9e1e31 libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
8d50b82ea79b x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
852a051ef22b KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
44dfa46aaf7c gpio: Fix irqchip initialization order
157ec0a3f834 RDMA/bnxt_re: Fix stack-out-of-bounds in bnxt_qplib_rcfw_send_message
cf9ec2e9056c afs: use correct afs_call_type in yfs_fs_store_opaque_acl2
3f6685835889 afs: Fix possible oops in afs_lookup trace event
c231241d83b9 afs: Fix leak in afs_lookup_cell_rcu()
7f134d569e1a KVM: arm/arm64: Only skip MMIO insn once
39c62cdaa2d4 ceph: fix buffer free while holding i_ceph_lock in fill_inode()
c4e28be29a45 ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
f41cd559f1f3 ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
3ebab463e9f4 drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl
23da8e9ef69b selftests/kvm: make platform_info_test pass on AMD
666a41848d72 selftests: kvm: fix state save/load on processors without XSAVE
dd53d830bb30 infiniband: hfi1: fix memory leaks
bcb3211656fa infiniband: hfi1: fix a memory leak bug
1e93149659cc IB/mlx4: Fix memory leaks
fc38afc04343 RDMA/cma: fix null-ptr-deref Read in cma_cleanup
d61a256fece2 nvme: Fix cntlid validation when not using NVMEoF
e1031b6c8100 nvme-multipath: fix possible I/O hang when paths are updated
6950d5b64a15 Tools: hv: kvp: eliminate 'may be used uninitialized' warning
195b5aa923ec Input: hyperv-keyboard: Use in-place iterator API in the channel callback
31b60e5c604c scsi: lpfc: Mitigate high memory pre-allocation by SCSI-MQ
aa4bc3a35253 x86/boot/compressed/64: Fix boot on machines with broken E820 table
3091859b0b5e HID: cp2112: prevent sleeping function called from invalid context
e8fd4f47b224 HID: intel-ish-hid: ipc: add EHL device id
d58500c6fcb4 kprobes: Fix potential deadlock in kprobe_optimizer()
9ad89d579c01 sched/core: Schedule new worker even if PI-blocked
086ddc5e7172 ravb: Fix use-after-free ravb_tstamp_skb
37f12b895446 wimax/i2400m: fix a memory leak bug
461f5b613b4d net: cavium: fix driver name
1915dd1826be ibmvnic: Unmap DMA address of TX descriptor buffers after use
895a07a5a03a net: kalmia: fix memory leaks
241a735f5f68 cx82310_eth: fix a memory leak bug
e8f8411a8def vfs: fix page locking deadlocks when deduping files
a4234e27ed05 lan78xx: Fix memory leaks
96ece5798677 clk: Fix potential NULL dereference in clk_fetch_parent_index()
a6cb8dd3664e clk: Fix falling back to legacy parent string matching
7da16490e5a5 net: myri10ge: fix memory leaks
0f1c537cf09c liquidio: add cleanup in octeon_setup_iq()
101743ca0284 selftests: kvm: fix vmx_set_nested_state_test
5aac82ac9c7c selftests: kvm: provide common function to enable eVMCS
926a6e9efce9 selftests: kvm: do not try running the VM in vmx_set_nested_state_test
bf31a46ead59 cxgb4: fix a memory leak bug
46bf670f4455 scsi: target: tcmu: avoid use-after-free after command timeout
8e639df33729 scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
6fe444e60cda drm/mediatek: set DMA max segment size
1e12afb4c60a drm/mediatek: use correct device to import PRIME buffers
2b4a29f04533 netfilter: nft_flow_offload: skip tcp rst and fin packets
1dcb0d4eaf85 gpio: Fix build error of function redefinition
f6bd80bc6223 ibmveth: Convert multicast list size for little-endian system
d45c33d890bc s390/qeth: serialize cmd reply with concurrent timeout
b12691c24ea9 Bluetooth: hci_qca: Send VS pre shutdown command.
113d5ca74866 Bluetooth: btqca: Add a short delay before downloading the NVM
ab0f749707ea net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
37a0be861375 hv_netvsc: Fix a warning of suspicious RCU usage
936315c0c94e ixgbe: fix possible deadlock in ixgbe_service_task()
1dc961de7733 tools: bpftool: fix error message (prog -> object)
ea3c243ce799 netfilter: nf_flow_table: teardown flow timeout race
96a517d0ba5f netfilter: nf_flow_table: conntrack picks up expired flows
586f00143091 netfilter: nf_tables: use-after-free in failing rule with bound set
830b5c3760ff net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
60a4f2b2b6b8 clk: samsung: exynos542x: Move MSCL subsystem clocks to its sub-CMU
c65a2b20a934 clk: samsung: exynos5800: Move MAU subsystem clocks to MAU sub-CMU
f7bd5e9fe13f clk: samsung: Change signature of exynos5_subcmus_init() function
8f37477964e9 net/mlx5e: Fix error flow of CQE recovery on tx reporter
701b89908ba1 netfilter: nf_flow_table: fix offload for flows that are subject to xfrm
b8a132a4c4b6 libbpf: set BTF FD for prog only when there is supported .BTF.ext data
a65fb2895af4 libbpf: fix erroneous multi-closing of BTF FD
fa689968da49 batman-adv: Fix netlink dumping of all mcast_flags buckets
a4c88340b3ea net/rds: Fix info leak in rds6_inc_info_copy()
fdd2bc365fc6 net/sched: pfifo_fast: fix wrong dereference when qdisc is reset
e9cc0513248f net/sched: pfifo_fast: fix wrong dereference in pfifo_fast_enqueue
0b003edac850 net: dsa: tag_8021q: Future-proof the reserved fields in the custom VID
c7f05c1d9bf4 Add genphy_c45_config_aneg() function to phy-c45.c
98ded313ffda net/sched: cbs: Set default link speed to 10 Mbps in cbs_set_port_rate
622f16b30519 taprio: Set default link speed to 10 Mbps in taprio_set_picos_per_byte
4f15d0e51268 taprio: Fix kernel panic in taprio_destroy
61f10b1bb84d r8152: remove calling netif_napi_del
5a9ceccb6385 Revert "r8152: napi hangup fix after disconnect"
7e21536433d0 nfp: flower: handle neighbour events on internal ports
f7ec32a4ae5c nfp: flower: prevent ingress block binds on internal ports
64a2a93ba385 tcp: remove empty skb from write queue in error cases
5cef2bfc9e3f tcp: inherit timestamp on mtu probe
939cc35d5f81 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
505aac7f4e48 net_sched: fix a NULL pointer deref in ipt action
3c6dfd2adb7a net: sched: act_sample: fix psample group handling on overwrite
5038bd027ac3 net: fix skb use after free in netpoll
baa513580b25 mld: fix memory leak in mld_del_delrec()
(From OE-Core rev: ece5ad6200be49d7d187b7f302b11ea1c2f33871)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest -korg -stable relase. A summary of the
changes follows:
ee809c7e0895 Linux 4.19.72
991467a47cf2 Revert "x86/apic: Include the LDR when clearing out APIC registers"
0f134f6e722c libceph: allow ceph_buffer_put() to receive a NULL ceph_buffer
5049632bc958 x86/boot/compressed/64: Fix missing initialization in find_trampoline_placement()
b8727dff55f0 KVM: arm/arm64: VGIC: Properly initialise private IRQ affinity
1a31b0d0ddfa afs: Fix leak in afs_lookup_cell_rcu()
111d36b6fb7e KVM: arm/arm64: Only skip MMIO insn once
b84817d96e0f ceph: fix buffer free while holding i_ceph_lock in fill_inode()
5cd1e3552f0e ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob()
dfb8712c7acc ceph: fix buffer free while holding i_ceph_lock in __ceph_setxattr()
ddb55cc39c70 selftests/kvm: make platform_info_test pass on AMD
6cb9f8d60f8f selftests: kvm: fix state save/load on processors without XSAVE
08c2052815e3 infiniband: hfi1: fix memory leaks
d1b7f3252d56 infiniband: hfi1: fix a memory leak bug
adb87027b5ff IB/mlx4: Fix memory leaks
5e416b11b4a9 nvme-multipath: fix possible I/O hang when paths are updated
5bbebceec61d Tools: hv: kvp: eliminate 'may be used uninitialized' warning
1d42e40fe3c5 Input: hyperv-keyboard: Use in-place iterator API in the channel callback
e02aac3edb46 x86/boot/compressed/64: Fix boot on machines with broken E820 table
05d611c4ffb7 HID: cp2112: prevent sleeping function called from invalid context
5e1d50a3eafe kprobes: Fix potential deadlock in kprobe_optimizer()
a5839b6b3a79 ravb: Fix use-after-free ravb_tstamp_skb
54eac3997ee4 wimax/i2400m: fix a memory leak bug
7506e8c4bec8 net: cavium: fix driver name
ea78dc8b5e66 ibmvnic: Unmap DMA address of TX descriptor buffers after use
4fcb9b3f263e net: kalmia: fix memory leaks
1ad45d0f69d2 cx82310_eth: fix a memory leak bug
ac3cc25f380b vfs: fix page locking deadlocks when deduping files
9ea1feadf5e0 lan78xx: Fix memory leaks
375ab446ec76 net: myri10ge: fix memory leaks
f13b7ec5e1c5 liquidio: add cleanup in octeon_setup_iq()
2c3dd20f852a cxgb4: fix a memory leak bug
b8cd0b7b09ed scsi: target: tcmu: avoid use-after-free after command timeout
6c9a1e17d063 scsi: qla2xxx: Fix gnl.l memory leak on adapter init failure
b3496367d9cb drm/mediatek: set DMA max segment size
c9f595453bc3 drm/mediatek: use correct device to import PRIME buffers
a54fa5dff8cd netfilter: nft_flow_offload: skip tcp rst and fin packets
6052090280b8 gpio: Fix build error of function redefinition
cc8aa6155611 ibmveth: Convert multicast list size for little-endian system
32e912b91b5d Bluetooth: btqca: Add a short delay before downloading the NVM
7b7a11549dc1 net: tc35815: Explicitly check NET_IP_ALIGN is not zero in tc35815_rx
752832f2e8c9 hv_netvsc: Fix a warning of suspicious RCU usage
463d87bc13ff tools: bpftool: fix error message (prog -> object)
5776970fb4ec netfilter: nf_tables: use-after-free in failing rule with bound set
d22ed7b72acf net: tundra: tsi108: use spin_lock_irqsave instead of spin_lock_irq in IRQ context
3ddda4f3114b spi: bcm2835aux: fix corruptions for longer spi transfers
fe49c3de7372 spi: bcm2835aux: remove dangerous uncontrolled read of fifo
a4a9ee79036b spi: bcm2835aux: unifying code between polling and interrupt driven code
ee271ead3b61 x86/boot: Preserve boot_params.secure_boot from sanitizing
9484203d254d net/rds: Fix info leak in rds6_inc_info_copy()
5977bc19ce7f tcp: remove empty skb from write queue in error cases
6f3126379879 tcp: inherit timestamp on mtu probe
6f8348f63706 net: stmmac: dwmac-rk: Don't fail if phy regulator is absent
38166934f89c net_sched: fix a NULL pointer deref in ipt action
5ff0ab0c668b net: sched: act_sample: fix psample group handling on overwrite
6a2bd8261630 net: fix skb use after free in netpoll
8a5d27eaba68 mld: fix memory leak in mld_del_delrec()
e7d2672c66e4 Linux 4.19.71
72168ae78629 Revert "Input: elantech - enable SMBus on new (2018+) systems"
0fed55c248d9 Linux 4.19.70
9854d089f790 Revert "ASoC: Fail card instantiation if DAI format setup fails"
e064466cb614 mt76: mt76x0u: do not reset radio on resume
b307f99dca5a x86/ptrace: fix up botched merge of spectrev1 fix
3b26fa9e3ec3 i2c: piix4: Fix port selection for AMD Family 16h Model 30h
4f4be79c9ee7 NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
b5891b624b9a NFS: Pass error information to the pgio error cleanup routine
812de6dee596 NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
57c491fd844d NFS: Clean up list moves of struct nfs_page
79f1b33c53a0 KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI
ab8ecc278dc8 KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is long
db1841a2dd4c KVM: PPC: Book3S: Fix incorrect guest-to-user-translation error handling
938e383738d9 mac80211: Correctly set noencrypt for PAE frames
4f139c0376fb mac80211: Don't memset RXCB prior to PAE intercept
58f91aac4dfe mac80211: fix possible sta leak
945b35972803 Revert "cfg80211: fix processing world regdomain when non modular"
690a424838ca crypto: ccp - Ignore unconfigured CCP device on suspend/resume
4e77b2ea941b VMCI: Release resource if the work is already queued
2a964875def7 bus: hisi_lpc: Add .remove method to avoid driver unbind crash
649532efef46 bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free
68b58d392464 drm/i915: Call dma_set_max_seg_size() in i915_driver_hw_probe()
c7615333645d drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest
6d3003f56449 drm/amdgpu: Add APTX quirk for Dell Latitude 5495
c4616a9b3d3f lib: logic_pio: Add logic_pio_unregister_range()
7faef13e6f68 lib: logic_pio: Avoid possible overlap for unregistering regions
b865c2c6e3f2 lib: logic_pio: Fix RCU usage
79829fc4ff33 fsi: scom: Don't abort operations for minor errors
e44840b7320c typec: tcpm: fix a typo in the comparison of pdo_max_voltage
e91c9c119dba intel_th: pci: Add Tiger Lake support
ce1c894e1e89 intel_th: pci: Add support for another Lewisburg PCH
cad1d3bfdd5d stm class: Fix a double free of stm_source_device
abc42341b6c4 mmc: core: Fix init of SD cards reporting an invalid VDD range
1ecc65e1418b mmc: sdhci-of-at91: add quirk for broken HS200
be8e9fa67ea7 mei: me: add Tiger Lake point LP device ID
5ed36421af24 USB: storage: ums-realtek: Whitelist auto-delink support
f79d1598968b USB: storage: ums-realtek: Update module parameter description for auto_delink_en
f46fd68a541f usb: host: xhci: rcar: Fix typo in compatible string matching
7af7737491ce usb: host: ohci: fix a race condition between shutdown and irq
a209827549da usb: chipidea: udc: don't do hardware access if gadget has stopped
97bec7afb98f usb: hcd: use managed device resources
ebad9fd106da USB: cdc-wdm: fix race between write and disconnect due to flag abuse
cbf5a279a22d usb-storage: Add new JMS567 revision to unusual_devs
8ea639525db6 ftrace: Check for empty hash and comment the race with registering probes
9d98e0f4859d ftrace: Check for successful allocation of hash
f184b16748f4 ftrace: Fix NULL pointer dereference in t_probe_next()
edc454cd5a04 x86/apic: Include the LDR when clearing out APIC registers
959832657c03 x86/apic: Do not initialize LDR and DFR for bigsmp
941d875cd44a uprobes/x86: Fix detection of 32-bit user mode
3c2b4827798e KVM: x86: Don't update RIP or do single-step on faulting emulation
3ec35109c80a kvm: x86: skip populating logical dest map if apic is not sw enabled
cbd905dac535 ALSA: usb-audio: Add implicit fb quirk for Behringer UFX1604
b5d1f31d97af ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate()
98a2017c4a17 ALSA: seq: Fix potential concurrent access to the deleted pool
842317de9797 ALSA: hda - Fixes inverted Conexant GPIO mic mute led
5ef43bdc7321 ALSA: line6: Fix memory leak at line6_init_pcm() error path
c94c0bf878bf ALSA: usb-audio: Check mixer unit bitmap yet more strictly
5dd2db1ab006 mm/zsmalloc.c: fix build when CONFIG_COMPACTION=n
9febfd30aede ipv4/icmp: fix rt dst dev null pointer dereference
0a6a9c473080 tcp: make sure EPOLLOUT wont be missed
3e79bd1e4f9a net/smc: make sure EPOLLOUT is raised
ff129837a5f6 ipv6: Default fib6_type to RTN_UNICAST when not set
02127bdfee97 ipv6/addrconf: allow adding multicast addr if IFA_F_MCAUTOJOIN is set
a1407b26a6ed net: tls, fix sk_write_space NULL write when tx disabled
fdc4400e9628 net/tls: swap sk_write_space on close
f7009bbaff54 net/tls: Fixed return value when tls_complete_pending_work() fails
dc066fd0d073 drm/tilcdc: Register cpufreq notifier after we have initialized crtc
eba86f0a909f scsi: ufs: Fix RX_TERMINATION_FORCE_ENABLE define value
edd40f54736d drm/bridge: tfp410: fix memleak in get_modes()
2fa7c944e11f watchdog: bcm2835_wdt: Fix module autoload
a3eb2eba2f79 drm/i915: fix broadwell EU computation
c61c7246dc1f tools: hv: fix KVP and VSS daemons exit code
0c39d818aae4 tools: hv: fixed Python pep8/flake8 warnings for lsvmbus
39ad18a042ab usb: host: fotg2: restart hcd after port reset
37654abed26f drm/ast: Fixed reboot test may cause system hanged
1cc2ef1cfbd8 i2c: emev2: avoid race when unregistering slave client
7048cd814f4e i2c: rcar: avoid race when unregistering slave client
8bd5426889c2 arm64: cpufeature: Don't treat granule sizes as strict
eb535aaf3cd7 xen/blkback: fix memory leaks
339c1572a266 usb: gadget: mass_storage: Fix races between fsg_disable and fsg_set_alt
122ab8ea641c usb: gadget: composite: Clear "suspended" on reset/disconnect
21ec20f62fae iommu/dma: Handle SG length overflow better
7f4b81365e83 omap-dma/omap_vout_vrfb: fix off-by-one fi value
71d24f45f905 dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
377ebe613ed8 auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach
2f87eb895ebd soundwire: cadence_master: fix definitions for INTSTAT0/1
29b064d300a2 soundwire: cadence_master: fix register definition for SLAVE_STATE
4a9829195d9e nvme-pci: Fix async probe remove race
431f579a5349 nvme: fix a possible deadlock when passthru commands sent to a multipath device
32c0b8f10351 nvmet-loop: Flush nvme_delete_wq when removing the port
9c55dc85d890 afs: Only update d_fsdata if different in afs_d_revalidate()
24e093b96905 fs: afs: Fix a possible null-pointer dereference in afs_put_read()
8e5179f982f9 afs: Fix loop index mixup in afs_deliver_vl_get_entry_by_name_u()
dfc438c0bc6d afs: Fix the CB.ProbeUuid service handler to reply correctly
7436dc2adeff nvme-multipath: revalidate nvme_ns_head gendisk in nvme_validate_ns
2013d6ec0bc0 dmaengine: ste_dma40: fix unneeded variable warning
97ab07e11fbf Linux 4.19.69
6d47174198ac rxrpc: Fix local refcounting
ce3f9e194d25 rxrpc: Fix local endpoint replacement
a05354cbb822 rxrpc: Fix read-after-free in rxrpc_queue_local()
f28023c4eedc rxrpc: Fix local endpoint refcounting
32df8a30b734 powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB
0d5e34c1e263 dm zoned: fix potential NULL dereference in dmz_do_reclaim()
655bb2c4ace4 xfs: always rejoin held resources during defer roll
83a8e6b2f2e3 xfs: Add attibute remove and helper functions
b21ff6cfcc24 xfs: Add attibute set and helper functions
b3a248f2307c xfs: Add helper function xfs_attr_try_sf_addname
a9912f346bdc xfs: Move fs/xfs/xfs_attr.h to fs/xfs/libxfs/xfs_attr.h
17c2b7af71f2 xfs: don't trip over uninitialized buffer on extent read of corrupted inode
11f85d4d77af xfs: fix missing ILOCK unlock when xfs_setattr_nonsize fails due to EDQUOT
ed11e6003314 mm/zsmalloc.c: fix race condition in zs_destroy_pool
b30a2f608e94 mm/zsmalloc.c: migration can leave pages in ZS_EMPTY indefinitely
db67ac031655 mm, page_owner: handle THP splits correctly
42731deff2ea genirq: Properly pair kobject_del() with kobject_add()
c14fe4e8fd01 dm zoned: properly handle backing device failure
4530f2f1a79a dm zoned: improve error handling in i/o map code
8b7c17bb2753 dm zoned: improve error handling in reclaim
ded8e524cfa6 dm table: fix invalid memory accesses with too high sector number
53e73d1079d7 dm space map metadata: fix missing store of apply_bops() return value
2cff6c87a0dc dm raid: add missing cleanup in raid_ctr()
795b0572729b dm integrity: fix a crash due to BUG_ON in __journal_read_write()
8114012de6c1 dm btree: fix order of block initialization in btree_split_beneath
e0fb8135de9e dm kcopyd: always complete failed jobs
f7d157f33001 x86/boot: Fix boot regression caused by bootparam sanitizing
d955601166f8 x86/boot: Save fields explicitly, zero out everything else
e063b03b451a x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h
685e598e447e x86/apic: Handle missing global clockevent gracefully
f9747104a5c8 x86/retpoline: Don't clobber RFLAGS during CALL_NOSPEC on i386
cf13e30c58d4 userfaultfd_release: always remove uffd flags and clear vm_userfaultfd_ctx
a6f236e1bd97 Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
3783c7ee9920 gpiolib: never report open-drain/source lines as 'input' to user-space
f88c31b43bab drm/nouveau: Don't retry infinitely when receiving no data on i2c over AUX
51f6afddb147 libceph: fix PG split vs OSD (re)connect race
f2951720629e ceph: don't try fill file_lock on unsuccessful GETFILELOCK reply
7bed2889cd18 ceph: clear page dirty before invalidate page
a8f7703f2213 clk: socfpga: stratix10: fix rate caclulationg for cnt_clks
b608a5a238d5 Revert "dm bufio: fix deadlock with loop device"
375c6c72f56c HID: wacom: Correct distance scale for 2nd-gen Intuos devices
8317fe4a3906 HID: wacom: correct misreported EKR ring values
3c4b283a0deb selftests: kvm: Adding config fragments
ef61b79017ff KVM: arm: Don't write junk to CP15 registers on reset
d5cb5b493030 KVM: arm64: Don't write junk to sysregs on reset
590549487679 perf pmu-events: Fix missing "cpu_clk_unhalted.core" event
06ed429b9018 perf cpumap: Fix writing to illegal memory in handling cpumap mask
e49cfed0a8cb perf ftrace: Fix failure to set cpumask when only one cpu is present
7aa8dfa450b4 block, bfq: handle NULL return value by bfq_init_rq()
fa6f4687805a drm/vmwgfx: fix memory leak when too many retries have occurred
923de016dc88 x86/lib/cpu: Address missing prototypes warning
3ca013cd63be libata: add SG safety checks in SFF pio transfers
3b84bbef51c4 libata: have ata_scsi_rw_xlat() fail invalid passthrough requests
e0c030221b1f net: hisilicon: Fix dma_map_single failed on arm64
4ab3052568e5 net: hisilicon: fix hip04-xmit never return TX_BUSY
09ec5bf10749 net: hisilicon: make hip04_tx_reclaim non-reentrant
b8d03c79e403 net: stmmac: tc: Do not return a fragment entry
b6cd6d18423e net: stmmac: Fix issues when number of Queues >= 4
45e7e4e66b08 net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'
db106f695414 s390: put _stext and _etext into .text section
33bdea175df0 SMB3: Kernel oops mounting a encryptData share with CONFIG_DEBUG_VIRTUAL
fab5a1fd17a6 SMB3: Fix potential memory leak when processing compound chain
6cb4997861c8 drm/rockchip: Suspend DP late
1c6ca0921705 HID: input: fix a4tech horizontal wheel custom usage
f6f9c4491ec5 HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52
b6fb2f5b33f2 NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
66daeec347f0 NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
d1ba0b81e709 net/ethernet/qlogic/qed: force the string buffer NULL-terminated
35d9e9211baf can: peak_usb: force the string buffer NULL-terminated
895c8fcfedad can: sja1000: force the string buffer NULL-terminated
a3d1263c9b03 perf bench numa: Fix cpu0 binding
4533d08b6528 net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed()
07efe13b95ab isdn: hfcsusb: Fix mISDN driver crash caused by transfer buffer on the stack
4db2043eec46 rxrpc: Fix the lack of notification when sendmsg() fails on a DATA packet
0d68fbc2d07b rxrpc: Fix potential deadlock
63dd147e7af0 netfilter: ipset: Fix rename concurrency with listing
ea08214d8cd0 netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets
5a072ef6a296 netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets too
ba42212ac0a0 mac80211_hwsim: Fix possible null-pointer dereferences in hwsim_dump_radio_nl()
32cbe03539ac isdn: mISDN: hfcsusb: Fix possible null-pointer dereferences in start_isoc_chain()
8a24df575c97 qed: RDMA - Fix the hw_ver returned in device attributes
cb64e86ee0d1 net: usb: qmi_wwan: Add the BroadMobi BM818 card
bfa713f5cec5 ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
dd0ff288e344 ASoC: rockchip: Fix mono capture
c5cb10632c0f st_nci_hci_connectivity_event_received: null check the allocation
0d73ba88f466 st21nfca_connectivity_event_received: null check the allocation
714a8438fc8a ASoC: Fail card instantiation if DAI format setup fails
bd2f4c7c2d6a can: gw: Fix error path of cgw_module_init
3257103502cf can: mcp251x: add error check when wq alloc failed
dbf790dcb8a9 can: dev: call netif_carrier_off() in register_candev()
43d31fd9a8f2 selftests: forwarding: gre_multipath: Fix flower filters
ef52e2b9a621 selftests: forwarding: gre_multipath: Enable IPv4 forwarding
192bbe9d57ed net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links
a1e5a76db8dd bonding: Force slave speed check after link state recovery for 802.3ad
b7038c195fd1 selftests/bpf: fix sendmsg6_prog on s390
e6dc6409f474 ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks
71305e8ee503 netfilter: ebtables: fix a memory leak bug in compat
70b4edd74b6d mips: fix cacheinfo
326175aa28fd MIPS: kernel: only use i8253 clocksource with periodic clockevent
a6067c6e630f HID: Add 044f:b320 ThrustMaster, Inc. 2 in 1 DT
def4c11b3131 Linux 4.19.68
7c13983a2860 mmc: sdhci-of-arasan: Do now show error message in case of deffered probe
447f5f48f4fa net/mlx5e: Use flow keys dissector to parse packets for ARFS
fbd8ab680675 net/mlx5e: Only support tx/rx pause setting for port owner
b3410f0f8505 xen/netback: Reset nr_frags before freeing skb
cc4ff0f4f564 tipc: initialise addr_trail_end when setting node addresses
e89bb758c030 team: Add vlan tx offload to hw_enc_features
eeb148d20819 sctp: fix the transport error_count check
227f204ad197 sctp: fix memleak in sctp_send_reset_streams
154e6bc497c9 net/packet: fix race in tpacket_snd()
f588dccfc137 net/mlx4_en: fix a memory leak bug
8905a249448c net: dsa: Check existence of .port_mdb_add callback before calling it
d61d8ea9ca12 bonding: Add vlan tx offload to hw_enc_features
40933af400c5 bnx2x: Fix VF's VLAN reconfiguration in reload.
03d54393e3d7 iommu/amd: Move iommu_init_pci() to .init section
62e023ddd01a Input: psmouse - fix build error of multiple definition
28ff7d3b3fda netfilter: conntrack: Use consistent ct id hash calculation
30b9da0ec2a2 arm64: ftrace: Ensure module ftrace trampoline is coherent with I-side
a1cd2f7015bd dm: disable DISCARD if the underlying storage no longer supports it
4af28b2f19b0 drm/i915/cfl: Add a new CFL PCI ID.
3ca5b7b4afee USB: serial: option: Add Motorola modem UARTs
e480d6cf6f79 USB: serial: option: add the BroadMobi BM818 card
8175fa2987a6 USB: serial: option: Add support for ZTE MF871A
afb677b29995 USB: serial: option: add D-Link DWM-222 device ID
487d66ae8f45 USB: CDC: fix sanity checks in CDC union parser
c02c0249ce55 usb: cdc-acm: make sure a refcount is taken early enough
f417f9715f4c usb: gadget: udc: renesas_usb3: Fix sysfs interface of "role"
7f52d6d2a82d USB: core: Fix races in character device registration and deregistraion
367d103a4a93 iio: adc: max9611: Fix temperature reading in probe
dac96992f00a staging: comedi: dt3000: Fix rounding up of timer divisor
2e394bcfdcf3 staging: comedi: dt3000: Fix signed integer overflow 'divider * base'
8c7053d162d9 KVM: arm/arm64: Sync ICH_VMCR_EL2 back when about to block
c8d95668c4ca arm64: KVM: regmap: Fix unexpected switch fall-through
0755b6b152cb asm-generic: fix -Wtype-limits compiler warnings
7113a1bc19fa ocfs2: remove set but not used variable 'last_hash'
01d8d08f4cd4 Revert "kmemleak: allow to coexist with fault injection"
cf9a18d7bcd0 drm/exynos: fix missing decrement of retry counter
c256729f2695 drm: msm: Fix add_gpu_components
b4f0fee7f77c IB/mad: Fix use-after-free in ib mad completion handling
a0258ff4993f IB/mlx5: Fix MR registration flow to use UMR properly
efb742ce4e27 IB/core: Add mitigation for Spectre V1
4a0d2eeea27a arm64/mm: fix variable 'pud' set but not used
6af9263f685d arm64: unwind: Prohibit probing on return_address()
ffb1a76d1c29 arm64/efi: fix variable 'si' set but not used
48522289bf50 kbuild: Check for unknown options with cc-option usage in Kconfig and clang
b3aebdd46d63 kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules
23bc01f0d955 ata: libahci: do not complain in case of deferred probe
68340db992f6 drm/amdgpu: fix a potential information leaking bug
02d4fe0193d5 scsi: qla2xxx: Fix possible fcport null-pointer dereferences
3435e025ed71 scsi: hpsa: correct scsi command status issue after reset
f833deae2a06 Btrfs: fix deadlock between fiemap and transaction commits
202aa96f052a drm/bridge: lvds-encoder: Fix build error while CONFIG_DRM_KMS_HELPER=m
f69fd790edf7 libata: zpodd: Fix small read overflow in zpodd_get_mech_type()
0a19fff567a0 perf header: Fix use of unitialized value warning
ab5aa579ca82 perf header: Fix divide by zero error if f_header.attr_size==0
a5e40452c916 irqchip/irq-imx-gpcv2: Forward irq type to parent
dcb73180de61 irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail
e72e6ba17ab4 xen/pciback: remove set but not used variable 'old_state'
ca5b26a8f1d8 clk: renesas: cpg-mssr: Fix reset control race condition
af2ed1a05a7a clk: sprd: Select REGMAP_MMIO to avoid compile errors
3e5f29b66675 clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1
28fd9b37b6bb riscv: Make __fstate_clean() work correctly.
cef0e9eb2231 netfilter: ebtables: also count base chain policies
07d92caeb945 net: usb: pegasus: fix improper read if get_registers() fail
f13de3d677d1 Input: iforce - add sanity checks
08b3af00a161 Input: kbtab - sanity check for endpoint type
b545dc9debe6 HID: hiddev: do cleanup in failure of opening a device
0aab1a4653a6 HID: hiddev: avoid opening a disconnected device
537d957b144f HID: holtek: test for sanity of intfdata
9585f4440cec ALSA: hda - Let all conexant codec enter D3 when rebooting
e58ba88d6c60 ALSA: hda - Add a generic reboot_notify
6c4a536ca97b ALSA: hda - Fix a memory leak bug
1bf5f827564c ALSA: hda - Apply workaround for another AMD chip 1022:1487
58b9f19ee438 ALSA: usb-audio: Fix an OOB bug in parse_audio_mixer_unit
46f9a1bc60a4 ALSA: usb-audio: Fix a stack buffer overflow bug in check_input_term
d5bb12402805 ALSA: hda/realtek - Add quirk for HP Envy x360
61f6ecb75845 xtensa: add missing isync to the cpu_reset TLB code
7c001e5aab6d cpufreq: schedutil: Don't skip freq update when limits change
7f68aa2e3e1b Revert "pwm: Set class for exported channels in sysfs"
056368fc3ef7 mm/usercopy: use memory range to be accessed for wraparound check
c8282f1b5653 mm/memcontrol.c: fix use after free in mem_cgroup_iter()
3c0cb90e9212 mm: mempolicy: handle vma with unmovable pages mapped correctly in mbind
cd825d87140d mm: mempolicy: make the behavior consistent when MPOL_MF_MOVE* and MPOL_MF_STRICT were specified
f0fed8283deb mm/hmm: fix bad subpage pointer in try_to_unmap_one
3858cca150c6 seq_file: fix problem when seeking mid-record
50d15197254a sh: kernel: hw_breakpoint: Fix missing break in switch statement
a5aa80588fcd Linux 4.19.67
ac2951114955 iwlwifi: mvm: fix version check for GEO_TX_POWER_LIMIT support
6a81677a2e65 iwlwifi: mvm: don't send GEO_TX_POWER_LIMIT on version < 41
80bac45e3ad8 iwlwifi: mvm: fix an out-of-bound access
7626b510fc77 iwlwifi: don't unmap as page memory that was mapped as single
b38c56b76dcc mwifiex: fix 802.11n/WPA detection
2bc73d914114 KVM: Fix leak vCPU's VMCS value into other pCPU
d1489f0b4de7 NFSv4: Fix an Oops in nfs4_do_setattr
898c19f1b4c8 smb3: send CAP_DFS capability during session setup
50831f1a2f57 SMB3: Fix deadlock in validate negotiate hits reconnect
2afa6c13e498 dax: dax_layout_busy_page() should not unmap cow pages
a566750c3a78 mac80211: don't WARN on short WMM parameters from AP
af9d64f871cf ALSA: hda - Workaround for crackled sound on AMD controller (1022:1457)
06f0bcaceb8c ALSA: hda - Don't override global PCM hw info flag
1c286e4e13f2 ALSA: hiface: fix multiple memory leak bugs
bc972b6b52e2 ALSA: firewire: fix a memory leak bug
edc388566a1d drm/i915: Fix wrong escape clock divisor init for GLK
a73027204ac5 hwmon: (nct7802) Fix wrong detection of in4 presence
9ce1b3eb5489 can: peak_usb: pcan_usb_fd: Fix info-leaks to USB devices
cab569a44a52 can: peak_usb: pcan_usb_pro: Fix info-leaks to USB devices
d4d904e4e258 ALSA: usb-audio: fix a memory leak bug
e0d262a57fc7 x86/purgatory: Do not use __builtin_memcpy and __builtin_memset
118293070096 HID: sony: Fix race condition between rumble and device remove.
5c4689cbe95a s390/dma: provide proper ARCH_ZONE_DMA_BITS value
d768173982ec perf/core: Fix creating kernel counters for PMUs that override event->cpu
06dc92142b5e tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop
0ba69e96cc62 test_firmware: fix a memory leak bug
cdd92ebe29c2 scsi: scsi_dh_alua: always use a 2 second delay before retrying RTPG
b620c6d5779a scsi: ibmvfc: fix WARN_ON during event pool release
f254faed4153 scsi: megaraid_sas: fix panic on loading firmware crashdump
bb41940c89bd ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux
19e7df3e4fe7 ARM: davinci: fix sleep.S build error on ARMv4
bdce5621e6b0 nvme: fix multipath crash when ANA is deactivated
b1689742ff4a ACPI/IORT: Fix off-by-one check in iort_dev_find_its_id()
38c919ec7b30 drbd: dynamically allocate shash descriptor
f4e2d182d6a6 perf probe: Avoid calling freeing routine multiple times for same pointer
101a155436fe perf tools: Fix proper buffer size for feature processing
b065f404c946 ALSA: compress: Be more restrictive about when a drain is allowed
30dd700da7de ALSA: compress: Don't allow paritial drain operations on capture streams
f1ea9a638770 ALSA: compress: Prevent bypasses of set_params
b9e2fa1e15b7 ALSA: compress: Fix regression on compressed capture streams
77868c0003cc s390/qdio: add sanity checks to the fast-requeue path
8729fe83b0d5 cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
991c4756be69 drm: silence variable 'conn' set but not used
ca1b1940a32a hwmon: (nct6775) Fix register address and added missed tolerance for nct6106
56dc57c705ef allocate_flower_entry: should check for null deref
f4cfdd46b356 mac80211: don't warn about CW params when not using them
f2fd89817212 nl80211: fix NL80211_HE_MAX_CAPABILITY_LEN
492c158ab2c0 iscsi_ibft: make ISCSI_IBFT dependson ACPI instead of ISCSI_IBFT_FIND
8d641499bf96 drm/amd/display: Increase size of audios array
f9420bfa29f9 drm/amd/display: Only enable audio if speaker allocation exists
3998e684463a drm/amd/display: Fix dc_create failure handling and 666 color depths
e7a8a794109c drm/amd/display: use encoder's engine id to find matched free audio device
2a5e21adc71b drm/amd/display: Wait for backlight programming completion in set backlight level
056af94d6e10 scripts/sphinx-pre-install: fix script for RHEL/CentOS
36b6458d8541 netfilter: nft_hash: fix symhash with modulus one
6f1d7f0d6689 netfilter: conntrack: always store window size un-scaled
307b6e5d90dc netfilter: Fix rpfilter dropping vrf packets by mistake
6f9dff8d1d58 vfio-ccw: Set pa_nr to 0 if memory allocation fails for pa_iova_pfn
bb312b4aa8b0 netfilter: nfnetlink: avoid deadlock due to synchronous request_module
f61c4d3a1f18 can: peak_usb: fix potential double kfree_skb()
0e9038a26c9b can: rcar_canfd: fix possible IRQ storm on high load
9479a0589923 usb: typec: tcpm: Ignore unsupported/unknown alternate mode requests
3f524b631db7 usb: typec: tcpm: Add NULL check before dereferencing config
bbc2e8206012 usb: typec: tcpm: remove tcpm dir if no children
2ec5c9b785f4 usb: typec: tcpm: free log buf memory when remove debug file
33f2240acfa8 usb: yurex: Fix use-after-free in yurex_delete
49888a4f0ebc usb: host: xhci-rcar: Fix timeout in xhci_suspend()
21344f0575f0 gfs2: gfs2_walk_metadata fix
b674f7914a64 x86/purgatory: Use CFLAGS_REMOVE rather than reset KBUILD_CFLAGS
0a9e41e27659 perf record: Fix module size on s390
f1f662894361 perf db-export: Fix thread__exec_comm()
532db2b9756a perf annotate: Fix s390 gap between kernel end and module start
46b306f3cd7b mm/vmalloc: Sync unmappings in __purge_vmap_area_lazy()
9935d7ed8406 x86/mm: Sync also unmappings in vmalloc_sync_all()
dd524d488f5b x86/mm: Check for pfn instead of page in vmalloc_sync_one()
b8a2169bcad8 Input: synaptics - enable RMI mode for HP Spectre X360
3d180fe5cd76 Input: elantech - enable SMBus on new (2018+) systems
ce7d4fe4e52b Input: usbtouchscreen - initialize PM mutex before using it
c9a1c10487b9 loop: set PF_MEMALLOC_NOIO for the worker thread
d79d76f2bbb0 mmc: cavium: Add the missing dma unmap when the dma has finished.
fd3f902dd1d5 mmc: cavium: Set the correct dma max segment size for mmc_host
9575ba61ba19 sound: fix a memory leak bug
d397091dbac0 usb: iowarrior: fix deadlock on disconnect
b43611cd762c usb: usbfs: fix double-free of usb memory upon submiturb error
6dbc3b74daeb crypto: ccp - Ignore tag length when decrypting GCM ciphertext
30692edea30d crypto: ccp - Add support for valid authsize values less than 16
1c4393df3622 crypto: ccp - Fix oops by properly managing allocated structures
b9de21575a20 staging: android: ion: Bail out upon SIGKILL when allocating memory.
6b8f93b5a4f7 staging: gasket: apex: fix copy-paste typo
fcab37830177 iio: adc: max9611: Fix misuse of GENMASK macro
805bd34ac269 iio: cros_ec_accel_legacy: Fix incorrect channel setting
893af1c79e42 Linux 4.19.66
48fcdaba7b0d spi: bcm2835: Fix 3-wire mode if DMA is enabled
ebda41dd170f cgroup: Fix css_task_iter_advance_css_set() cset skip condition
0a9abd277819 cgroup: css_task_iter_skip()'d iterators must be advanced before accessed
4340d175b898 cgroup: Include dying leaders with live threads in PROCS iterations
370b9e6399da cgroup: Implement css_task_iter_skip()
7528e95b7519 cgroup: Call cgroup_release() before __exit_signal()
e6e9bcef12ca compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
473430ed6117 r8169: don't use MSI before RTL8168d
0ccf47265e4c net/mlx5e: Prevent encap flow counter update async to user query
cd84a10792f0 net/mlx5: Fix modify_cq_in alignment
f378724e10ce tun: mark small packets as owned by the tap sock
5295d6515485 tipc: compat: allow tipc commands without arguments
eaa34bd4f7b5 ocelot: Cancel delayed work before wq destruction
cd7f02fecac1 NFC: nfcmrvl: fix gpio-handling regression
ce58a3655121 net/smc: do not schedule tx_work in SMC_CLOSED state
51d240a144a5 net: sched: use temporary variable for actions indexes
cb20f74135df net sched: update vlan action for batched events operations
d82dc254b967 net: sched: Fix a possible null-pointer dereference in dequeue_func()
44b96a38c2b5 net: qualcomm: rmnet: Fix incorrect UL checksum offload logic
c8b05980c4bf net: phylink: Fix flow control for fixed-link
4dddd08b571d net/mlx5: Use reversed order when unregister devices
858f82c63667 net/mlx5e: always initialize frag->last_in_page
edb7ad69c439 net: fix ifindex collision during namespace removal
a19d4e34f092 net: bridge: mcast: don't delete permanent entries when fast leave is enabled
639239be11ad net: bridge: delete local fdb on device init failure
b3645a487373 mvpp2: refactor MTU change code
ffab47bf69df mvpp2: fix panic on module removal
3c46905fb182 mlxsw: spectrum: Fix error path in mlxsw_sp_module_init()
f186fb5ccf69 ipip: validate header length in ipip_tunnel_xmit
1bb2dd37cb87 ip6_tunnel: fix possible use-after-free on xmit
fdcefa46c5c2 ip6_gre: reload ipv6h in prepare_ip6gre_xmit_ipv6
c4c8899376c2 ife: error out when nla attributes are empty
774358df88f7 bnx2x: Disable multi-cos feature.
cb4626784f39 atm: iphase: Fix Spectre v1 vulnerability
8440cdc77577 IB: directly cast the sockaddr union to aockaddr
608cfdfa9eb7 HID: Add quirk for HP X1200 PIXART OEM mouse
e830c2c3c174 HID: wacom: fix bit shift for Cintiq Companion 2
2364ed0d8ed1 libnvdimm/bus: Fix wait_nvdimm_bus_probe_idle() ABBA deadlock
7f000e7b4490 libnvdimm/bus: Prepare the nd_ioctl() path to be re-entrant
3248536919c1 libnvdimm/region: Register badblocks before namespaces
d16bbdbbcb50 libnvdimm/bus: Prevent duplicate device_unregister() calls
c23106d4276d drivers/base: Introduce kill_device()
7c43f84efd6d driver core: Establish order of operations for device_add and device_del via bitflag
a152a7b411a5 gcc-9: don't warn about uninitialized variable
93d6f0841eef scsi: fcoe: Embed fc_rport_priv in fcoe_rport structure
cc4c818b2219 Linux 4.19.65
7634b9cd27e8 Documentation: Add swapgs description to the Spectre v1 documentation
b88241aef6f1 x86/speculation/swapgs: Exclude ATOMs from speculation through SWAPGS
931b6bfe8af1 x86/entry/64: Use JMP instead of JMPQ
23e7a7b3a75f x86/speculation: Enable Spectre v1 swapgs mitigations
befb822c062b x86/speculation: Prepare entry code for Spectre v1 swapgs mitigations
b5dd7f61fce4 x86/cpufeatures: Combine word 11 and 12 into a new scattered features word
16ad0b63f382 x86/cpufeatures: Carve out CQM features retrieval
9e034c61951a scsi: mpt3sas: Use 63-bit DMA addressing on SAS35 HBA
3732a473be54 x86/vdso: Prevent segfaults due to hoisted vclock reads
8320768d26aa gcc-9: properly declare the {pv,hv}clock_page storage
354887ae3168 objtool: Support GCC 9 cold subfunction naming scheme
89f3896b658b ARC: enable uboot support unconditionally
8dd376273fb4 eeprom: at24: make spd world-readable again
a7340d31abac drm/i915/gvt: fix incorrect cache entry for guest page mapping
a1c020ce2669 IB/hfi1: Check for error on call to alloc_rsm_map_table
e9cd4962a85b IB/mlx5: Fix RSS Toeplitz setup to be aligned with the HW specification
924308d2a6ea IB/mlx5: Fix clean_mr() to work in the expected order
7e5ce9f3943c IB/mlx5: Move MRs to a kernel PD when freeing them to the MR cache
3cfa1087a172 IB/mlx5: Use direct mkey destroy command upon UMR unreg failure
41be1928053a IB/mlx5: Fix unreg_umr to ignore the mkey state
04fdca1f2f65 xen/swiotlb: fix condition for calling xen_destroy_contiguous_region()
eb828241b491 nbd: replace kill_bdev() with __invalidate_device() again
8dfef0f442c7 arm64: cpufeature: Fix feature comparison for CTR_EL0.{CWG,ERG}
2bddc985656a arm64: compat: Allow single-byte watchpoints on all addresses
c385cda0e70a drivers/perf: arm_pmu: Fix failure path in PM notifier
5f80ac50b98c parisc: Fix build of compressed kernel even with debug enabled
001f93d95d6c cgroup: kselftest: relax fs_spec checks
6cb9e0d9ad3e s390/dasd: fix endless loop after read unit address configuration
beb0cc781b8e mm: vmscan: check if mem cgroup is disabled or not before calling memcg slab shrinker
72651bbdf3d5 ALSA: hda: Fix 1-minute detection delay when i915 module is not available
46650ac2e1d8 selinux: fix memory leak in policydb_init()
e7bb4c81b3c7 mtd: rawnand: micron: handle on-die "ECC-off" devices correctly
fafaeae4d356 IB/hfi1: Fix Spectre v1 vulnerability
fdb0fb56addb gpiolib: fix incorrect IRQ requesting of an active-low lineevent
7e3efb655012 mmc: meson-mx-sdio: Fix misuse of GENMASK macro
29841b5c6ab1 mmc: dw_mmc: Fix occasional hang after tuning on eMMC
50d700408a00 Btrfs: fix race leading to fs corruption after transaction abort
009d7a4eb329 Btrfs: fix incremental send failure after deduplication
4c5a442561e8 kbuild: initialize CLANG_FLAGS correctly in the top Makefile
3736612d2582 kconfig: Clear "written" flag to avoid data loss
4c6500b5328f drm/nouveau: fix memory leak in nouveau_conn_reset()
84ce045222e9 x86, boot: Remove multiple copy of static function sanitize_boot_params()
740e0167a382 x86/paravirt: Fix callee-saved function ELF sizes
ba5c072fbf8b x86/kvm: Don't call kvm_spurious_fault() from .fixup
11cb9f8700c9 xen/pv: Fix a boot up hang revealed by int3 self test
d3e36788d9be mlxsw: spectrum_dcb: Configure DSCP map as the last rule is removed
48c5c4f0a47f ipc/mqueue.c: only perform resource calculation if user valid
f87314225294 drivers/rapidio/devices/rio_mport_cdev.c: NUL terminate some strings
35ee8b844845 uapi linux/coda_psdev.h: move upc_req definition from uapi to kernel side headers
dea2ee496a85 coda: fix build using bare-metal toolchain
cf3ddc00a47d coda: add error handling for fget
93b83005ea87 lib/test_string.c: avoid masking memset16/32/64 failures
8e087a2abaf8 lib/test_overflow.c: avoid tainting the kernel and fix wrap size
439c79ed7718 mm/cma.c: fail if fixed declaration can't be honored
1b84e67496d3 x86: math-emu: Hide clang warnings for 16-bit overflow
242666b2b7e2 x86/apic: Silence -Wtype-limits compiler warnings
ade866ad5aed be2net: Signal that the device cannot transmit during reconfiguration
c0cca0e97ce4 ACPI: fix false-positive -Wuninitialized warning
80f58147da0f x86: kvm: avoid constant-conversion warning
d60e8c0cbccb perf version: Fix segfault due to missing OPT_END()
abfe761a5358 scsi: zfcp: fix GCC compiler warning emitted with -Wmaybe-uninitialized
d5568763dd1d ACPI: blacklist: fix clang warning for unused DMI table
c47e25526071 ceph: return -ERANGE if virtual xattr value didn't fit in buffer
b39c377ea08f ceph: fix improper use of smp_mb__before_atomic()
d29fbf677963 cifs: Fix a race condition with cifs_echo_request
f96c70fa810d btrfs: qgroup: Don't hold qgroup_ioctl_lock in btrfs_qgroup_inherit()
d9245dabfce1 btrfs: fix minimum number of chunk errors for DUP
e7fcc587e076 clk: sprd: Add check for return value of sprd_clk_regmap_init()
a093208b4c73 fs/adfs: super: fix use-after-free bug
85d854b42113 clk: tegra210: fix PLLU and PLLU_OUT1
cf0fcc7fe200 dmaengine: rcar-dmac: Reject zero-length slave DMA requests
a3524486535a MIPS: lantiq: Fix bitfield masking
cdee3f53510a firmware/psci: psci_checker: Park kthreads before stopping them
09ec6c6783ff kernel/module.c: Only return -EEXIST for modules that have finished loading
fd53e45a11e9 arm64: dts: rockchip: fix isp iommu clocks and power domain
d8388cbd4327 dmaengine: tegra-apb: Error out if DMA_PREP_INTERRUPT flag is unset
f486088d38ec ftrace: Enable trampoline when rec count returns back to one
ea26b427cb91 ARM: dts: rockchip: Mark that the rk3288 timer might stop in suspend
22befe671728 ARM: dts: rockchip: Make rk3288-veyron-mickey's emmc work again
8c5a33d34be6 ARM: dts: rockchip: Make rk3288-veyron-minnie run at hs200
3c1d1bad8a57 ARM: riscpc: fix DMA
b3060a1a313f Linux 4.19.64
4736bb277744 ip_tunnel: allow not to count pkts on tstats by setting skb's dev to NULL
475f7781a804 scsi: core: Avoid that a kernel warning appears during system resume
c58a6507363b block, scsi: Change the preempt-only flag into a counter
9b17512d9165 ceph: hold i_ceph_lock when removing caps for freeing inode
b6c3b6a2c662 Fix allyesconfig output.
135e7737e21f drivers/pps/pps.c: clear offset flags in PPS_SETPARAMS ioctl
54695343b491 /proc/<pid>/cmdline: add back the setproctitle() special case
54ffaa53e785 /proc/<pid>/cmdline: remove all the special cases
a5a3915f17ab sched/fair: Use RCU accessors consistently for ->numa_group
48046e092ad5 sched/fair: Don't free p->numa_faults with concurrent readers
02cdc166128c vhost: scsi: add weight support
239910101c4e vhost: vsock: add weight support
3af3b843aee4 vhost_net: fix possible infinite loop
ad5fc8953d61 vhost: introduce vhost_exceeds_weight()
56966212e23f Bluetooth: hci_uart: check for missing tty operations
3a0c22cbc5d0 iommu/iova: Fix compilation error with !CONFIG_IOMMU_IOVA
4fd0eb60bad1 iommu/vt-d: Don't queue_iova() if there is no flush queue
b3836af8560e media: radio-raremono: change devm_k*alloc to k*alloc
afb5340f9438 NFS: Cleanup if nfs_match_client is interrupted
8edcabb2c2e9 media: pvrusb2: use a different format for warnings
8b44cc225e60 media: cpia2_usb: first wake up, then free in disconnect
693019ee7d98 ath10k: Change the warning message string
3cf6a0707088 media: au0828: fix null dereference in error path
f13ee5ae0b2f ISDN: hfcsusb: checking idx of ep configuration
22068d49d09d binder: fix possible UAF when freeing buffer
ba2c247a4515 arm64: compat: Provide definition for COMPAT_SIGMINSTKSZ
b544a6855dfb usb: dwc2: Fix disable all EP's on disconnect
ec58bfa2d412 usb: dwc2: Disable all EP's on disconnect
9e441c7844a6 NFSv4: Fix lookup revalidate of regular files
24acd93f5995 NFS: Refactor nfs_lookup_revalidate()
01eea1cbba9d NFS: Fix dentry revalidation on NFSv4 lookup
8a474bc4e613 vsock: correct removal of socket from the list
9d3586bcdae3 hv_sock: Add support for delayed close
9a9de33a9dfa Linux 4.19.63
408af82309a7 access: avoid the RCU grace period for the temporary subjective credentials
1a547d24ec8a libnvdimm/bus: Stop holding nvdimm_bus_list_mutex over __nd_ioctl()
b993a66d8ddc powerpc/tm: Fix oops on sigreturn on systems without TM
b9310c56fcfb powerpc/xive: Fix loop exit-condition in xive_find_target_in_mask()
c219444254cf ALSA: hda - Add a conexant codec entry to let mute led work
491483ed70f1 ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1
602744097b2e ALSA: ac97: Fix double free of ac97_codec_device
9845fb5a3f90 hpet: Fix division by zero in hpet_time_div()
e4c91583b39c mei: me: add mule creek canyon (EHL) device ids
3d0a6926e610 fpga-manager: altera-ps-spi: Fix build error
e907b1314481 binder: prevent transactions to context manager from its own process.
7d20e3ba7072 x86/speculation/mds: Apply more accurate check on hypervisor platform
5e87e8b4dc0c x86/sysfb_efi: Add quirks for some devices with swapped width and height
e3dc9ea5464e btrfs: inode: Don't compress if NODATASUM or NODATACOW set
1f37bec82f41 usb: pci-quirks: Correct AMD PLL quirk detection
41d3dbb931c0 usb: wusbcore: fix unbalanced get/put cluster_id
148959cc64e1 locking/lockdep: Hide unused 'class' variable
b07687243d4a mm: use down_read_killable for locking mmap_sem in access_remote_vm
4acb04ef5e42 locking/lockdep: Fix lock used or unused stats error
af0883f9dcf6 proc: use down_read_killable mmap_sem for /proc/pid/maps
0d72bb853afc cxgb4: reduce kernel stack usage in cudbg_collect_mem_region()
6ecdcbcd3091 proc: use down_read_killable mmap_sem for /proc/pid/map_files
3d617da8a956 proc: use down_read_killable mmap_sem for /proc/pid/clear_refs
42beb7b3d446 proc: use down_read_killable mmap_sem for /proc/pid/pagemap
1b3042d0d32b proc: use down_read_killable mmap_sem for /proc/pid/smaps_rollup
a8c568fc4832 mm/mmu_notifier: use hlist_add_head_rcu()
3062448e3ee2 memcg, fsnotify: no oom-kill for remote memcg charging
041b127df733 mm/gup.c: remove some BUG_ONs from get_gate_page()
fa099d6ddf68 mm/gup.c: mark undo_dev_pagemap as __maybe_unused
8be4a30e2d34 9p: pass the correct prototype to read_cache_page
071f2135cfec mm/kmemleak.c: fix check for softirq context
7bd5902a1e18 sh: prevent warnings when using iounmap
af50d6a1c245 block/bio-integrity: fix a memory leak bug
7f775a67abe4 powerpc/eeh: Handle hugepages in ioremap space
e7a41b276974 dlm: check if workqueues are NULL before flushing/destroying
5d59e28c3d1b mailbox: handle failed named mailbox channel request
2140a6b03a61 f2fs: avoid out-of-range memory access
8a1a3d383923 block: init flush rq ref count to 1
4b9dc73a0d4a powerpc/boot: add {get, put}_unaligned_be32 to xz_config.h
549f726fb094 PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB
367cc371a8e3 RDMA/rxe: Fill in wc byte_len with IB_WC_RECV_RDMA_WITH_IMM
4fe7ea29e4a6 perf hists browser: Fix potential NULL pointer dereference found by the smatch tool
915945f3bdc2 perf annotate: Fix dereferencing freed memory found by the smatch tool
b305dcff1518 perf session: Fix potential NULL pointer dereference found by the smatch tool
19cf571c64b7 perf top: Fix potential NULL pointer dereference detected by the smatch tool
995527db41f6 perf stat: Fix use-after-freed pointer detected by the smatch tool
3b8c4eae5541 perf test mmap-thread-lookup: Initialize variable to suppress memory sanitizer warning
dd0a0c72a10f PCI: mobiveil: Use the 1st inbound window for MEM inbound transactions
270972df68fb PCI: mobiveil: Initialize Primary/Secondary/Subordinate bus numbers
9eb4f2886db3 kallsyms: exclude kasan local symbols on s390
4613f46ef472 PCI: mobiveil: Fix the Class Code field
51308ec525cc PCI: mobiveil: Fix PCI base address in MEM/IO outbound windows
05959ed85e34 arm64: assembler: Switch ESB-instruction with a vanilla nop if !ARM64_HAS_RAS
007b01a27d4d IB/ipoib: Add child to parent list only if device initialized
d48720bafd90 powerpc/mm: Handle page table allocation failures
f14537bb81d1 IB/mlx5: Fixed reporting counters on 2nd port for Dual port RoCE
d03aeb8d6b98 serial: sh-sci: Fix TX DMA buffer flushing and workqueue races
48c73b8ee5c9 serial: sh-sci: Terminate TX DMA during buffer flushing
ca730bf0cd67 RDMA/i40iw: Set queue pair state when being queried
52373ab6a6c7 powerpc/4xx/uic: clear pending interrupt after irq type/pol change
74520144700d um: Silence lockdep complaint about mmap_sem
30edc7c1fed5 mm/swap: fix release_pages() when releasing devmap pages
b4e77006d5a7 mfd: hi655x-pmic: Fix missing return value check for devm_regmap_init_mmio_clk
9b1691c3f660 mfd: arizona: Fix undefined behavior
d9c74176c275 mfd: core: Set fwnode for created devices
7b24a4a363a9 mfd: madera: Add missing of table registration
e00cf1dac30c recordmcount: Fix spurious mcount entries on powerpc
9fac39480e39 powerpc/xmon: Fix disabling tracing while in xmon
a80f67d5560c powerpc/cacheflush: fix variable set but not used
b150423e0d5e iio: iio-utils: Fix possible incorrect mask calculation
fc9c15c4e3ff PCI: xilinx-nwl: Fix Multi MSI data programming
e3e2bb12c8a7 genksyms: Teach parser about 128-bit built-in types
27f2335e1440 kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS
1fa94381fdeb i2c: stm32f7: fix the get_irq error cases
f930727faef2 PCI: sysfs: Ignore lockdep for remove attribute
9d45fbee76af serial: mctrl_gpio: Check if GPIO property exisits before requesting it
e7f206f42fb6 drm/msm: Depopulate platform on probe failure
216462fa884f powerpc/pci/of: Fix OF flags parsing for 64bit BARs
5d3ad905af43 mmc: sdhci: sdhci-pci-o2micro: Check if controller supports 8-bit width
bf7cf9fb02db usb: gadget: Zero ffs_io_data
ac380eb479de tty: serial_core: Set port active bit in uart_port_activate
785e11c06db3 serial: imx: fix locking in set_termios()
741f8b39b6d4 drm/rockchip: Properly adjust to a true clock in adjusted_mode
fd0d171c7064 powerpc/pseries/mobility: prevent cpu hotplug during DT update
6a7047471073 drm/amd/display: fix compilation error
709ca46f1d46 phy: renesas: rcar-gen2: Fix memory leak at error paths
725c7b781150 drm/virtio: Add memory barriers for capset cache.
11b4e9f3695c drm/amd/display: Always allocate initial connector state state
1a2425b597fa serial: 8250: Fix TX interrupt handling condition
a0e7d6b7fa55 tty: serial: msm_serial: avoid system lockup condition
e40f5a873fc7 tty/serial: digicolor: Fix digicolor-usart already registered warning
5c0e54839d48 memstick: Fix error cleanup path of memstick_init
0a50a272389f drm/crc-debugfs: Also sprinkle irqrestore over early exits
26a66454541c drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry
4d14323a2eb5 gpu: host1x: Increase maximum DMA segment size
f9bfd6bd8223 drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz
7af9abd7d6bd drm/bridge: tc358767: read display_props in get_modes()
49c7230d8f10 PCI: Return error if cannot probe VF
2a18d76592e0 drm/edid: Fix a missing-check bug in drm_load_edid_firmware()
210dfe630911 drm/amdkfd: Fix sdma queue map issue
db64bc139440 drm/amdkfd: Fix a potential memory leak
6b1d2871fe36 drm/amd/display: Disable ABM before destroy ABM struct
c242a531bb06 drm/amdgpu/sriov: Need to initialize the HDP_NONSURFACE_BAStE
147137f86b5b drm/amd/display: Fill prescale_params->scale for RGB565
08b0bcc8076b tty: serial: cpm_uart - fix init when SMC is relocated
c901780d9294 pinctrl: rockchip: fix leaked of_node references
a9dfb6e43677 tty: max310x: Fix invalid baudrate divisors calculator
b0084c1b5058 usb: core: hub: Disable hub-initiated U1/U2
19755a124f4c staging: vt6656: use meaningful error code during buffer allocation
b59f7650a507 iio: adc: stm32-dfsdm: missing error case during probe
302e4cdca1f4 iio: adc: stm32-dfsdm: manage the get_irq error case
586946ce83e4 drm/panel: simple: Fix panel_simple_dsi_probe
49fb03de361d hvsock: fix epollout hang from race condition
64f4694072aa Linux 4.19.62
60e9babfda94 net: sched: verify that q!=NULL before setting q->flags
c1d98b766ebe mm: vmscan: scan anonymous pages on file refaults
7560e33369ed KVM: nVMX: Clear pending KVM_REQ_GET_VMCS12_PAGES when leaving nested
967bc679c596 KVM: nVMX: do not use dangling shadow VMCS after guest reset
3a17ca864baf ext4: allow directory holes
caa4e08253eb ext4: use jbd2_inode dirty range scoping
af3812b65c37 jbd2: introduce jbd2_inode dirty range scoping
4becd6c11e9a mm: add filemap_fdatawait_range_keep_errors()
c9ea4620a37f ext4: enforce the immutable flag on open files
29171e82348c ext4: don't allow any modifications to an immutable file
4a5cc64d8a8a perf/core: Fix race between close() and fork()
75100ec5f079 perf/core: Fix exclusive events' grouping
0e6ef184315d MIPS: lb60: Fix pin mappings
dd5994ab1f00 gpio: davinci: silence error prints in case of EPROBE_DEFER
c947cf3e9583 dma-buf: Discard old fence_excl on retrying get_fences_rcu for realloc
95ee55cab118 dma-buf: balance refcount inbalance
b72fb8dec183 net: bridge: stp: don't cache eth dest pointer before skb pull
78701843ecc4 net: bridge: don't cache ether dest pointer on input
41a8df71809e net: bridge: mcast: fix stale ipv6 hdr pointer when handling v6 query
caf4488fc06e net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling
bc9a2f36a7d6 sctp: not bind the socket in sctp_connect
fde351aeff4a net/tls: make sure offload also gets the keys wiped
d9571a9f5ec1 net_sched: unset TCQ_F_CAN_BYPASS when adding filters
69cd58454615 netrom: hold sock when setting skb->destructor
dc59a2abd33e netrom: fix a memory leak in nr_rx_frame()
0c5cb5a12623 macsec: fix checksumming after decryption
21252f49cddf macsec: fix use-after-free of skb during RX
a8ba53da071e net/mlx5e: IPoIB, Add error path in mlx5_rdma_setup_rn
a2aa162a6331 vrf: make sure skb->data contains ip header to make routing
1b200acde418 tcp: Reset bytes_acked and bytes_received when disconnecting
c60f57dfe995 tcp: fix tcp_set_congestion_control() use from bpf hook
6323c238bb43 tcp: be more careful in tcp_fragment()
b640ade07295 sky2: Disable MSI on ASUS P6T
d9ee5afd9165 sctp: fix error handling on stream scheduler initialization
bfa7913575b7 rxrpc: Fix send on a connected, but unbound socket
3e4e6b71ece0 r8169: fix issue with confused RX unit after PHY power-down on RTL8411b
97739e5c9e73 nfc: fix potential illegal memory access
f47f68cc9d33 net: stmmac: Re-work the queue selection for TSO packets
201d7d62a82a net: phy: sfp: hwmon: Fix scaling of RX power
c60bce64615d net: openvswitch: fix csum updates for MPLS actions
257441a07201 net: neigh: fix multiple neigh timer scheduling
832d0ea751a8 net: make skb_dst_force return true when dst is refcounted
6ab30a4cc5c6 net: dsa: mv88e6xxx: wait after reset deactivation
5832ef4afd90 net: bcmgenet: use promisc for unsupported filters
c0f4a6447977 ipv6: Unlink sibling route in case of failure
0bd84505f16f ipv6: rt6_check should return NULL if 'from' is NULL
47ce442783d7 ipv4: don't set IPv6 only flags to IPv4 addresses
aee5dd00341b igmp: fix memory leak in igmpv3_del_delrec()
9770fe1b202f hv_netvsc: Fix extra rcu_read_unlock in netvsc_recv_callback()
d7cdac6dc418 caif-hsi: fix possible deadlock in cfhsi_exit_module()
8fb37be12046 bnx2x: Prevent load reordering in tx completion processing
7250956f6eaf Linux 4.19.61
025eb12bb4b0 dm bufio: fix deadlock with loop device
404f59e265ac dt-bindings: allow up to four clocks for orion-mdio
03e6a668ea1f net: mvmdio: allow up to four clocks to be specified for orion-mdio
dd87cc633ba5 blkcg: update blkcg_print_stat() to handle larger outputs
73efdc5d7d3b blk-iolatency: clear use_delay when io.latency is set to zero
1ab644bd02ab blk-throttle: fix zero wait time for iops throttled group
91da712ff592 usb: Handle USB3 remote wakeup for LPM enabled devices correctly
152ddf9f0458 Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
98318cd31b95 intel_th: msu: Fix single mode with disabled IOMMU
d6328d7c1a71 mtd: spinand: read returns badly if the last page has bitflips
94f1db42a968 mtd: rawnand: mtk: Correct low level time calculation of r/w cycle
30c6b34759f6 eCryptfs: fix a couple type promotion bugs
92e23f5fc049 mmc: sdhci-msm: fix mutex while in spinlock
01982f7bcc9d powerpc/pseries: Fix oops in hotplug memory notifier
e725502b8548 powerpc/powernv/npu: Fix reference leak
1e3b61cbc30d powerpc/watchpoint: Restore NV GPRs while returning from exception
237ac0d73b55 powerpc/32s: fix suspend/resume when IBATs 4-7 are used
7961981718d6 parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1
a6a0daa775e8 parisc: Ensure userspace privilege for ptraced processes in regset functions
ef5c2e165ab0 crypto: caam - limit output IV to CBC to work around CTR mode DMA issue
376b80276d84 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
ef30c0739439 xfs: abort unaligned nowait directio early
669c867972c0 xfs: serialize unaligned dio writes against all other dio writes
d61d885b17b0 xfs: fix reporting supported extra file attributes for statx()
f614ef7a34b0 xfs: reserve blocks for ifree transaction during log recovery
424543a53ae0 xfs: don't ever put nlink > 0 inodes on the unlinked list
3a895cc066c0 xfs: rename m_inotbt_nores to m_finobt_nores
2ab62234e823 xfs: don't overflow xattr listent buffer
1dc8b13cc66d xfs: flush removing page cache in xfs_reflink_remap_prep
788920d12b95 xfs: fix pagecache truncation prior to reflink
41f64437f030 include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
afa3e571cde3 coda: pass the host file in vma->vm_file on mmap
2c0222b48e77 libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
656d06dab4d6 HID: wacom: correct touch resolution x/y typo
1c871b4006b2 HID: wacom: generic: Correct pad syncing
46f71a15abe7 HID: wacom: generic: only switch the mode on devices with LEDs
cb4c2b94f629 IB/mlx5: Report correctly tag matching rendezvous capability
4bd953241d81 Btrfs: add missing inode version, ctime and mtime updates when punching hole
fffedf5cf67e Btrfs: fix fsync not persisting dentry deletions due to inode evictions
110850fffeb0 Btrfs: fix data loss after inode eviction, renaming it, and fsync it
6b71c62ea9da PCI: qcom: Ensure that PERST is asserted for at least 100 ms
529e71cae929 PCI: Do not poll for PME if the device is in D3cold
4d8504004c86 PCI: hv: Fix a use-after-free bug in hv_eject_device_work()
f0ff76a42ef5 intel_th: pci: Add Ice Lake NNPI support
66a13b5e4e9c drm/edid: parse CEA blocks embedded in DisplayID
9854e06842bc perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
82c46f7b0918 perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
a847a5225432 perf/x86/intel: Fix spurious NMI on fixed counter
0d4c0bb70665 x86/boot: Fix memory leak in default_get_smp_config()
b52807e607f1 9p/virtio: Add cleanup path in p9_virtio_init
1253882d64d0 9p/xen: Add cleanup path in p9_trans_xen_init
007e5aaf287c xen/events: fix binding user event channels to cpus
e380170b3b3a dm zoned: fix zone state management race
1e4247d7958b padata: use smp_mb in padata_reorder to avoid orphaned padata jobs
0489d808a5f2 drm/nouveau/i2c: Enable i2c pads & busses during preinit
c77cbc873586 kconfig: fix missing choice values in auto.conf
2c7b50c7b1d0 fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.
ba271659ad42 arm64: tegra: Fix AGIC register range
ba27a25df6df KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed
87bae91a0fe9 media: videobuf2-dma-sg: Prevent size from overflowing
cb2e2b0ae554 media: videobuf2-core: Prevent size alignment wrapping buffer size to 0
deb78bd24e0c media: coda: Remove unbalanced and unneeded mutex unlock
fc0232e24541 media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
a4c4c06f1755 ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
8ba78e4d564e ALSA: hda/realtek - Fixed Headphone Mic can't record on Dell platform
c92212a81617 ALSA: seq: Break too long mutex context in the write loop
eb6c84e4b4f2 raid5-cache: Need to do start() part job after adding journal device
3f42c0000b23 ASoC: dapm: Adapt for debugfs API change
677b2aa3be5c lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE
0b174bac4e43 pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
f64ff5914f00 pNFS: Fix a typo in pnfs_update_layout
603e7497bf27 pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
5347e61954fc NFSv4: Handle the special Linux file open access mode
6825ff011c7c iwlwifi: fix RF-Kill interrupt while FW load for gen2 devices
a32e2ceca0ef iwlwifi: don't WARN when calling iwl_get_shared_mem_conf with RF-Kill
d9ce0788da91 iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
04c52c105a38 iwlwifi: pcie: don't service an interrupt that was masked
7ebddd5fe217 arm64: tegra: Update Jetson TX1 GPU regulator timings
042451b921b1 regulator: s2mps11: Fix buck7 and buck8 wrong voltages
8da63aa46e26 Input: alps - fix a mismatch between a condition check and its comment
81368a9a98d9 Input: synaptics - whitelist Lenovo T580 SMBus intertouch
cfb9250619c8 Input: alps - don't handle ALPS cs19 trackpoint-only device
d657077eda7b Input: gtco - bounds check collection indent level
f11ba9df8eed bcache: destroy dc->writeback_write_wq if failed to create dc->writeback_thread
2ab14861d2eb bcache: fix mistaken sysfs entry for io_error counter
3c466df8fc59 bcache: ignore read-ahead request failure on backing device
4fc48cd21a31 bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
ab966241d59a bcache: Revert "bcache: fix high CPU occupancy during journal"
58169c189bd6 Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
c3b7d27f3746 crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
a9fd1795fee6 crypto: ccp/gcm - use const time tag comparison.
561c4424f1e3 crypto: ccp - memset structure fields to zero before reuse
13805a5df489 crypto: crypto4xx - block ciphers should only accept complete blocks
17e63172d536 crypto: crypto4xx - fix blocksize for cfb and ofb
4598094d24c7 crypto: crypto4xx - fix AES CTR blocksize value
1c9b0a766513 crypto: chacha20poly1305 - fix atomic sleep when using async algorithm
eb99c084da28 crypto: arm64/sha2-ce - correct digest for empty data in finup
4230e09e61e6 crypto: arm64/sha1-ce - correct digest for empty data in finup
52f07c1ac70e crypto: ccp - Validate the the error value used to index error messages
bed97f646997 crypto: ghash - fix unaligned memory access in ghash_setkey()
ce7ec07abaf7 scsi: mac_scsi: Fix pseudo DMA implementation, take 2
de769c762626 scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
3e9534fa5046 scsi: megaraid_sas: Fix calculation of target ID
1334a3e2d6d0 scsi: core: Fix race on creating sense cache
58f59f6072ab Revert "scsi: ncr5380: Increase register polling limit"
7cfded7a705c scsi: NCR5380: Always re-enable reselection interrupt
d91baba81a6e scsi: NCR5380: Reduce goto statements in NCR5380_select()
e73db096691e xen: let alloc_xenballooned_pages() fail if not enough memory free
ff54c44f1038 floppy: fix out-of-bounds read in copy_buffer
a9444d9d0f6f floppy: fix invalid pointer dereference in drive_name
5b565f3276f3 floppy: fix out-of-bounds read in next_valid_format
6e34fd07484a floppy: fix div-by-zero in setup_format_params
7c16c5eae41a iavf: fix dereference of null rx_buffer pointer
e9896b29d010 net: mvmdio: defer probe of orion-mdio if a clock is not ready
5f6c5f5ae25e gtp: fix use-after-free in gtp_newlink()
141222216438 gtp: fix use-after-free in gtp_encap_destroy()
0a5eca2c949c gtp: fix Illegal context switch in RCU read-side critical section.
e117a04133c6 gtp: fix suspicious RCU usage
202de90df2b7 Bluetooth: validate BLE connection interval updates
ca33af18b5fc gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
0fdb922d0ef0 Bluetooth: Check state in l2cap_disconnect_rsp
3b57b7a3a82a perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
c814f618b799 Bluetooth: 6lowpan: search for destination address in all peers
c82c4910e9e6 Bluetooth: Add new 13d3:3501 QCA_ROME device
1cbce19bd697 Bluetooth: Add new 13d3:3491 QCA_ROME device
578658df21d5 Bluetooth: hci_bcsp: Fix memory leak in rx_skb
9d47bd217539 tools: bpftool: Fix json dump crash on powerpc
2ad04d31bb3e gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
157d1c7a1a00 bonding: validate ip header before check IPPROTO_IGMP
88f751b066f2 selftests: bpf: fix inlines in test_lwt_seg6local
ef5b204336b3 bpf, libbpf, smatch: Fix potential NULL pointer dereference
0f2f2cebe64d rxrpc: Fix oops in tracepoint
ca37b9a74689 net: usb: asix: init MAC address buffers
51216937c319 bnx2x: Prevent ptp_task to be rescheduled indefinitely
e358d2ab42f8 perf stat: Fix group lookup for metric group
a64e018be77a perf stat: Make metric event lookup more robust
7343178ccf7d bpf: fix uapi bpf_prog_info fields alignment
af3790a46a55 iwlwifi: mvm: Drop large non sta frames
036184af23e0 igb: clear out skb->tstamp after reading the txtime
0024b12b776c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift
05592b9b7f25 ath10k: destroy sdio workqueue while remove sdio module
26d86b29e806 net: hns3: add some error checking in hclge_tm module
ddfdbcccd71a net: hns3: fix a -Wformat-nonliteral compile warning
95d084809495 bcache: fix potential deadlock in cached_def_free()
4b7758e9c4ed bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()
81b88c05bc45 bcache: acquire bch_register_lock later in cached_dev_free()
d81080a0bcf8 bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
57cfb755c356 bcache: check CACHE_SET_IO_DISABLE in allocator code
e78d1d234469 EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec
e54cc89e6f0a wil6210: drop old event after wmi_call timeout
0388597d0627 crypto: asymmetric_keys - select CRYPTO_HASH where needed
1dea395c9e12 crypto: serpent - mark __serpent_setkey_sbox noinline
b346070c72cd ixgbe: Check DDM existence in transceiver before access
0340c621eca8 rslib: Fix handling of of caller provided syndrome
8ba93c59441a rslib: Fix decoding of shortened codes
dad0b17e4a4e xsk: Properly terminate assignment in xskq_produce_flush_desc
e69fac59c493 clocksource/drivers/exynos_mct: Increase priority over ARM arch timer
12e20eca894b libata: don't request sense data on !ZAC ATA devices
6e6bc34f8570 ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
1182ff224847 perf tools: Increase MAX_NR_CPUS and MAX_CACHES
7201cc227d4a ath10k: fix PCIE device wake up failed
8a808fadc9f7 ath10k: add missing error handling
fe2ceeb4cffc ipvs: fix tinfo memory leak in start_sync_thread
20de38d282b3 mt7601u: fix possible memory leak when the device is disconnected
033577880135 x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
3f7952b275c8 mt7601u: do not schedule rx_tasklet when the device has been disconnected
6f6e126e1995 rtlwifi: rtl8192cu: fix error handle when usb probe failed
41864adfee2e net: stmmac: sun8i: force select external PHY when no internal one
bce037abc29f media: hdpvr: fix locking and a missing msleep
43b9fdc48377 media: vimc: cap: check v4l2_fill_pixfmt return value
d562537dbf0d media: coda: increment sequence offset for the last returned frame
3697c12c4425 media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP
6fd3e9f65db9 media: coda: fix mpeg2 sequence number handling
c647c00f28af acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
b9f547b7bdd9 timer_list: Guard procfs specific code
d86c0b73f75b ntp: Limit TAI-UTC offset
8d8f0b9009d0 media: i2c: fix warning same module names
6439110fbeee media: s5p-mfc: Make additional clocks optional
57de3c78f0b7 ipvs: defer hook registration to avoid leaks
06a3cd416224 ipsec: select crypto ciphers for xfrm_algo
723ba7938492 arm64: Do not enable IRQs for ct_user_exit
010bfbc93424 lightnvm: pblk: fix freeing of merged pages
762bba1b7ee7 nvme-pci: set the errno on ctrl state change error
c876a66553d7 nvme-pci: properly report state change failure in nvme_reset_work
f0c83dd15ee1 nvme: fix possible io failures when removing multipathed ns
10cc3a65a55b EDAC/sysfs: Fix memory leak when creating a csrow object
f6502ce4f050 ACPICA: Clear status of GPEs on first direct enable
3ae98dc2db1e blk-iolatency: only account submitted bios
a952f7c384aa x86/cacheinfo: Fix a -Wtype-limits warning
3252b29ea41b ipoib: correcly show a VF hardware address
0e2af9b06c00 vhost_net: disable zerocopy by default
4c57957ed6c8 perf evsel: Make perf_evsel__name() accept a NULL argument
9e0bcb59b6c0 x86/atomic: Fix smp_mb__{before,after}_atomic()
dd0260fd1e3a perf/x86/intel/uncore: Handle invalid event coding for free-running counter
7fc96cd2b0de sched/fair: Fix "runnable_avg_yN_inv" not used warnings
d8b7db6c5004 sched/core: Add __sched tag for io_schedule()
930655b01367 xfrm: fix sa selector validation
b7d66bbc8ad3 blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
c8f75e753784 block: null_blk: fix race condition for null_del_dev
1a3706d8f800 net: hns3: fix for skb leak when doing selftest
6a47a42f51cf qed: iWARP - Fix tc for MPA ll2 connection
670fb965da03 x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
366ae49ed78c rcu: Force inlining of rcu_read_lock()
1fb3ce14f28d ASoC: meson: axg-tdm: fix sample clock inversion
32df4043aed4 x86/cpu: Add Ice Lake NNPI to Intel family
914026d58100 selinux: fix empty write to keycreate file
10e3788e6575 media: s5p-mfc: fix reading min scratch buffer size on MFC v6/v7
7c10f8941b95 bpf: silence warning messages in core
b01bf44c363d regmap: fix bulk writes on paged registers
544cd592ca72 gpio: omap: ensure irq is enabled before wakeup
ddeef7a00050 gpio: omap: fix lack of irqstatus_raw0 for OMAP4
79644b600850 iommu: Fix a leak in iommu_insert_resv_region
f2a4624be8f3 media: fdp1: Support M3N and E3 platforms
63e53991d791 media: uvcvideo: Fix access to uninitialized fields on probe error
c844f4da9b92 irqchip/meson-gpio: Add support for Meson-G12A SoC
eac8b39d089a perf report: Fix OOM error in TUI mode on s390
be32a9dc3f62 perf test 6: Fix missing kvm module load for s390
3662d8bca087 perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode
ac510285d40b ipset: Fix memory accounting for hash types on resize
c7bf2df45044 net: sfp: add mutex to prevent concurrent state checks
fa4059c5497e RAS/CEC: Fix pfn insertion
99dcd701465f s390/qdio: handle PENDING state for QEBSM devices
a76f32cbd38c net: axienet: Fix race condition causing TX hang
9d643358386d net: fec: Do not use netdev messages too early
403c43921479 crypto: inside-secure - do not rely on the hardware last bit for result descriptors
50331c64f3dd net: stmmac: modify default value of tx-frames
1a0a837afc41 net: stmmac: dwmac4: fix flow control issue
713737cac327 perf jvmti: Address gcc string overflow warning for strncpy()
fb83987cbe6b arm64: mm: make CONFIG_ZONE_DMA32 configurable
c360eb592938 cpupower : frequency-set -r option misses the last cpu in related cpu list
cac3032062e5 net: hns3: set ops to null when unregister ad_dev
35407917b0bc media: wl128x: Fix some error handling in fm_v4l2_init_video_device()
2fbde2746597 locking/lockdep: Fix merging of hlocks with non-zero references
909034b8ac64 batman-adv: Fix duplicated OGMs on NETDEV_UP
aa2ad8b6fb2f tua6100: Avoid build warnings.
9072450736d0 crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
9d25aedef08f crypto: talitos - properly handle split ICV.
fc25cfb03ea2 net: phy: Check against net_device being NULL
ef10d46d04a5 media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
e36f25627362 media: saa7164: fix remove_proc_entry warning
ea904c9f6a33 media: mc-device.c: don't memset __user pointer contents
a6dd4862b98f perf annotate TUI browser: Do not use member from variable within its own initialization
71b029a5d908 fscrypt: clean up some BUG_ON()s in block encryption/decryption
2c6acf7478aa xfrm: Fix xfrm sel prefix length validation
0544b64ceb64 af_key: fix leaks in key_pol_get_resp and dump_sp.
b397462a010d signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig
1c8e736115cd qed: Set the doorbell address correctly
df6680de7a20 net: stmmac: dwmac4/5: Clear unused address entries
d3969670cb5a net: stmmac: dwmac1000: Clear unused address entries
810441651a8a media: media_device_enum_links32: clean a reserved field
6fb470ace862 media: vpss: fix a potential NULL pointer dereference
70da38e80509 media: marvell-ccic: fix DMA s/g desc number calculation
add712b63185 media: ov7740: avoid invalid framesize setting
b0e199e13495 crypto: talitos - fix skcipher failure due to wrong output IV
6452712f95e3 media: spi: IR LED: add missing of table registration
94f2b518a788 media: dvb: usb: fix use after free in dvb_usb_device_exit
8f855c09e2af batman-adv: fix for leaked TVLV handler.
83d133c96aad regmap: debugfs: Fix memory leak in regmap_debugfs_init
2b5b12c0c1b7 ath: DFS JP domain W56 fixed pulse type 3 RADAR detection
da153c0c5746 wil6210: fix spurious interrupts in 3-msi
a4bf4fecff16 ath10k: add peer id check in ath10k_peer_find_by_id
83c911f4bd68 ath6kl: add some bounds checking
42dcbf20e182 ath9k: Check for errors when reading SREV register
7e19e658e535 ath10k: Do not send probe response template for mesh
009edc622bba wil6210: fix potential out-of-bounds read
09593c25b975 dmaengine: imx-sdma: fix use-after-free on probe error path
06e15cf5aead scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
37cb02da44dc arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
73ebefc814ef MIPS: fix build on non-linux hosts
7202df6be6ec MIPS: ath79: fix ar933x uart parity mode
be9b6782a9eb Linux 4.19.60
d173ce091c1a x86/entry/32: Fix ENDPROC of common_spurious
466bdfc6c4d6 drm/udl: move to embedding drm device inside udl device.
af48f7d79fae drm/udl: Replace drm_dev_unref with drm_dev_put
cfd99eccede5 drm/udl: introduce a macro to convert dev to udl.
8f14cf159e9f regmap-irq: do not write mask register if mask_base is zero
820b010743ee crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
b24c6403633d crypto: talitos - fix hash on SEC1.
ff1ce8ef1f88 crypto: talitos - move struct talitos_edesc into talitos.h
b578b87bcab6 s390/qdio: don't touch the dsci in tiqdio_add_input_queues()
b1d52630b12a s390/qdio: (re-)initialize tiqdio list entries
02eb533e940a s390: fix stfle zero padding
9db915738e40 ARC: hide unused function unw_hdr_alloc
fc6975ee932b x86/irq: Seperate unused system vectors from spurious entry again
9494cd392885 x86/irq: Handle spurious interrupt after shutdown gracefully
7897f5a443fb x86/ioapic: Implement irq_get_irqchip_state() callback
6074f6043c49 genirq: Add optional hardware synchronization for shutdown
3f10ccc29780 genirq: Fix misleading synchronize_irq() documentation
578db1aa595b genirq: Delay deactivation in free_irq()
2656ee5a5ad5 linux/kernel.h: fix overflow for DIV_ROUND_UP_ULL
9c875e8556d4 pinctrl: mediatek: Update cur_mask in mask/mask ops
f6e01328cb0e cpu/hotplug: Fix out-of-bounds read when setting fail state
fa99487a43cf pinctrl: mediatek: Ignore interrupts that are wake only during resume
cd2646e57ec5 HID: multitouch: Add pointstick support for ALPS Touchpad
9ea3b131441e HID: chicony: add another quirk for PixArt mouse
94968c37b6d3 x86/boot/64: Add missing fixup_pointer() for next_early_pgt access
729d25f43b64 x86/boot/64: Fix crash if kernel image crosses page table boundary
136847140cc8 dm verity: use message limit for data block corruption message
042be78692ae dm table: don't copy from a NULL pointer in realloc_argv()
0fc080bc9a72 pinctrl: mcp23s08: Fix add_data and irqchip_add_nested call order
00640eb0eafa ARM: dts: imx6ul: fix PWM[1-4] interrupts
a8cc2a2c2841 sis900: fix TX completion
3232bccddeba ppp: mppe: Add softdep to arc4
5ec7753c7c9e be2net: fix link failure after ethtool offline test
2a6ee36917f0 x86/apic: Fix integer overflow on 10 bit left shift of cpu_khz
fdfff855cd36 afs: Fix uninitialised spinlock afs_volume::cb_break_lock
d47f06ab0c0e ARM: omap2: remove incorrect __init annotation
5d3c45538151 ARM: dts: gemini Fix up DNS-313 compatible string
afda29dc5ac6 perf/core: Fix perf_sample_regs_user() mm check
627fdcc9b718 efi/bgrt: Drop BGRT status field reserved bits check
cf4deb2d4de6 clk: ti: clkctrl: Fix returning uninitialized data
ff232a47567f irqchip/gic-v3-its: Fix command queue pointer comparison bug
244db54441a1 firmware: improve LSM/IMA security behaviour
079d7f16a973 drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
68048dce650e nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header
86859ef10d25 Input: synaptics - enable SMBUS on T480 thinkpad trackpad
438a3dc6f2c3 e1000e: start network tx queue only when link is up
8020568b404b Revert "e1000e: fix cyclic resets at link up with active tx"
3bd837bfe431 Linux 4.19.59
70bae382b3dc staging: rtl8712: reduce stack usage, again
b46475ecd930 staging: bcm2835-camera: Handle empty EOS buffers whilst streaming
0ee144effcc3 staging: bcm2835-camera: Remove check of the number of buffers supplied
fcbc6ddcd624 staging: bcm2835-camera: Ensure all buffers are returned on disable
4502c43d7f3b staging: bcm2835-camera: Replace spinlock protecting context_map with mutex
22a20b9f6d9f staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work
cc396afa1959 MIPS: Remove superfluous check for __linux__
d202b5adccfb VMCI: Fix integer overflow in VMCI handle arrays
486c32325caa carl9170: fix misuse of device driver API
524ad00e80b7 binder: fix memory leak in error path
294b893a41cd lkdtm: support llvm-objcopy
5c90a2ecd08a HID: Add another Primax PIXART OEM mouse quirk
c04c751bef87 staging: comedi: amplc_pci230: fix null pointer deref on interrupt
4e49c6c91c18 staging: comedi: dt282x: fix a null pointer deref on interrupt
8419fd562a09 drivers/usb/typec/tps6598x.c: fix 4CC cmd write
63b3028cd590 drivers/usb/typec/tps6598x.c: fix portinfo width
57e16e0d8c68 usb: renesas_usbhs: add a workaround for a race condition of workqueue
aa9a8038ea8b usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
cac4a04202fb usb: gadget: ether: Fix race between gether_disconnect and rx_submit
449a8d08a4bc p54usb: Fix race between disconnect and firmware loading
135d9ba3b285 Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
0891268f36a2 USB: serial: option: add support for GosunCn ME3630 RNDIS mode
0a1c811bf033 USB: serial: ftdi_sio: add ID for isodebug v1
bb902b6c87ff mwifiex: Don't abort on small, spec-compliant vendor IEs
ffbbd626e1ce mwifiex: Abort at too short BSS descriptor element
a2a24b57c27a Documentation/admin: Remove the vsyscall=native documentation
8a815007f5fe Documentation: Add section about CPU vulnerabilities for Spectre
bd9604022eb3 x86/tls: Fix possible spectre-v1 in do_get_thread_area()
68ff28291a4f x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg()
d8e26651ce8d perf pmu: Fix uncore PMU alias list for ARM64
018524b75852 block, bfq: NULL out the bic when it's no longer valid
ff75e5f41e88 ALSA: hda/realtek - Headphone Mic can't record after S3
87c3262b00d8 ALSA: usb-audio: Fix parse of UAC2 Extension Units
ef374f5a2731 media: stv0297: fix frequency range limit
5db079eb0acd udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
0fc3e9b9b603 fscrypt: don't set policy for a dead directory
e9f76b954336 net :sunrpc :clnt :Fix xps refcount imbalance on the error path
810cfc3d9d2e NFS4: Only set creation opendata if O_CREAT
7075654ce7d0 net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()
606561e16186 quota: fix a problem about transfer quota
5ad566af08c1 scsi: qedi: Check targetname while finding boot target information
37232abb6ea3 net: lio_core: fix potential sign-extension overflow on large shift
740b2ac49518 ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
a02ac12d2d48 drm: return -EFAULT if copy_to_user() fails
4c938a635fc3 bnx2x: Check if transceiver implements DDM before access
270ae00a0346 md: fix for divide error in status_resync
5533d9ed4112 mmc: core: complete HS400 before checking status
2da80536f629 qmi_wwan: extend permitted QMAP mux_id value range
dc84e98393f7 qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode
dbc6a83cf2bc qmi_wwan: add support for QMAP padding in the RX path
292ba5b1faf4 bpf, x64: fix stack layout of JITed bpf code
4c2ce7addda8 bpf, devmap: Add missing RCU read lock on flush
ab44f8bcf2e5 bpf, devmap: Add missing bulk queue free
8d09e862103b bpf, devmap: Fix premature entry free on destroying map
ba0afe520ee9 mac80211: do not start any work during reconfigure flow
de8cf2c0bc64 mac80211: only warn once on chanctx_conf being NULL
9c2dd6d47131 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
3bbcc8b9ad37 ARM: davinci: da850-evm: call regulator_has_full_constraints()
443250665388 mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
512bbb114b99 KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
41420ac584d7 Input: imx_keypad - make sure keyboard can always wake up system
b71f312e9bf7 riscv: Fix udelay in RV32.
122c6a71c08d drm/vmwgfx: fix a warning due to missing dma_parms
d3861d4ca94c drm/vmwgfx: Honor the sg list segment size limitation
c0b12abd1828 s390/boot: disable address-of-packed-member warning
e71daed5176f ARM: dts: am335x phytec boards: Fix cd-gpios active level
822c2ee81c63 ibmvnic: Fix unchecked return codes of memory allocations
0f06004d16be ibmvnic: Refresh device multicast list after reset
e65dd528bb8e ibmvnic: Do not close unopened driver during reset
374180b11b29 net: phy: rename Asix Electronics PHY driver
473a75c7fab5 can: af_can: Fix error path of can_init()
486954277fc1 can: m_can: implement errata "Needless activation of MRAF irq"
270149f78b9c can: mcp251x: add support for mcp25625
33672c74b484 dt-bindings: can: mcp251x: add mcp25625 support
07c96e8e8021 soundwire: intel: set dai min and max channels correctly
c7e427e28a3a mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()
8e115a079940 iwlwifi: Fix double-free problems in iwl_req_fw_callback()
d4c0f752c1d2 mwifiex: Fix possible buffer overflows at parsing bss descriptor
b8588a0981b7 mac80211: free peer keys before vif down in mesh
acc42e5c2322 mac80211: mesh: fix RCU warning
e3868c1a462f staging:iio:ad7150: fix threshold mode config bit
6b1ce3971e05 soundwire: stream: fix out of boundary access on port properties
6be857082611 bpf: sockmap, fix use after free from sleep in psock backlog workqueue
bc84982f977d mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he()
3c24a931e972 samples, bpf: suppress compiler warning
e7779115bbd9 samples, bpf: fix to change the buffer size for read()
fe01e93c3fd1 Input: elantech - enable middle button support on 2 ThinkPads
2883fc1ece69 soc: bcm: brcmstb: biuctrl: Register writes require a barrier
2f1c962a7416 soc: brcmstb: Fix error path for unsupported CPUs
e8250f730410 crypto: talitos - rename alternative AEAD algos.
7a6bfa08b938 Linux 4.19.58
f37de75cb8eb dmaengine: imx-sdma: remove BD_INTR for channel0
018c968de710 dmaengine: qcom: bam_dma: Fix completed descriptors count
870de1499505 MIPS: have "plain" make calls build dtbs for selected platforms
8957895b35de MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
2b8f8a80ca8b MIPS: Fix bounds check virt_addr_valid
80b25628ff26 svcrdma: Ignore source port when computing DRC hash
8129a10ce78f nfsd: Fix overflow causing non-working mounts on 1 TB machines
f25c06955f8d KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
f6472f50fbfc KVM: x86: degrade WARN to pr_warn_ratelimited
ac0024baf073 netfilter: ipv6: nf_defrag: accept duplicate fragments again
54e8cf41b20b bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
e6c288f7307e net: hns: fix unsigned comparison to less than zero
4f24801ef50b sc16is7xx: move label 'err_spi' to correct section
318244f3641a netfilter: ipv6: nf_defrag: fix leakage of unqueued fragments
a8891c5e2251 ip6: fix skb leak in ip6frag_expire_frag_queue()
382bc84da904 rds: Fix warning.
7e6af1fa80b8 ALSA: hda: Initialize power_state field properly
c8c88293bf72 net: hns: Fixes the missing put_device in positive leg for roce reset
6bf9677300f3 x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
b91ec6ae14da selftests: fib_rule_tests: Fix icmp proto with ipv6
e2851c3ee0be scsi: tcmu: fix use after free
04096b3beace mac80211: mesh: fix missing unlock on error in table_path_del()
e2379b044d67 f2fs: don't access node/meta inode mapping after iput
e9fde78c3a4f drm/fb-helper: generic: Don't take module ref for fbcon
7821bcce20aa media: s5p-mfc: fix incorrect bus assignment in virtual child device
3ddc2a100706 net/smc: move unhash before release of clcsock
cd54dc4cd37d mlxsw: spectrum: Handle VLAN device unlinking
a8a296abee36 tty: rocket: fix incorrect forward declaration of 'rp_init()'
fb814f215013 btrfs: Ensure replaced device doesn't have pending chunk allocation
27ce6c2675f6 mm/vmscan.c: prevent useless kswapd loops
c854d9b6ef8d ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
2e716c3b562d drm/imx: only send event on crtc disable if kept disabled
8ec242fd431b drm/imx: notify drm core before sending event during crtc disable
d2d061351d64 drm/etnaviv: add missing failure path to destroy suballoc
ec5d99e18d30 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
ec6d8c9e6687 drm/amd/powerplay: use hardware fan control if no powerplay fan table
b6d56f4f6a49 arm64: kaslr: keep modules inside module region when KASAN is enabled
7cab3dfa6d74 ARM: dts: armada-xp-98dx3236: Switch to armada-38x-uart serial node
c8790d7f76be tracing/snapshot: Resize spare buffer if size changed
052b31810085 fs/userfaultfd.c: disable irqs for fault_pending and event locks
ea38007107d6 lib/mpi: Fix karactx leak in mpi_powm
7df1e2f59bde ALSA: hda/realtek - Change front mic location for Lenovo M710q
899377c50e60 ALSA: hda/realtek: Add quirks for several Clevo notebook barebones
d9b6936b134e ALSA: usb-audio: fix sign unintended sign extension on left shifts
7f52af5e9baa ALSA: line6: Fix write on zero-sized buffer
3663bf2baa97 ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages
9d2ac58c1ef9 ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
ae3fa28f0938 crypto: cryptd - Fix skcipher instance memory leak
015c20532ace crypto: user - prevent operating on larval algorithms
54435b7fff7b ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
600d3712ae12 drm/i915/dmc: protect against reading random memory
2b39351e3844 ftrace: Fix NULL pointer dereference in free_ftrace_func_mapper()
938044171949 module: Fix livepatch/ftrace module text permissions race
220adcc0e0ca tracing: avoid build warning with HAVE_NOP_MCOUNT
79fccb9815db mm/mlock.c: change count_mm_mlocked_page_nr return type
4fce0a79e985 scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
b7747ecb82be cpuset: restore sanity to cpuset_cpus_allowed_fallback()
e33aeb9a7c0a i2c: pca-platform: Fix GPIO lookup code
7cf431edfb71 platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow
c241f3fbfa1a platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration
f853112772b0 platform/x86: intel-vbtn: Report switch events when event wakes device
2ac96173bee0 platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
027e043f9c78 drm: panel-orientation-quirks: Add quirk for GPD MicroPC
2446563dd6d7 drm: panel-orientation-quirks: Add quirk for GPD pocket2
8be5629b9622 scsi: hpsa: correct ioaccel2 chaining
c1bef204c70a SoC: rt274: Fix internal jack assignment in set_jack callback
1023af0c069d ALSA: hdac: fix memory release for SST and SOF drivers
26a6acde2a42 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
9be058f5dd70 usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]
5284327f4e17 x86/CPU: Add more Icelake model numbers
74929087384f ASoC: sun4i-i2s: Add offset to RX channel select
32475634e8a8 ASoC: sun4i-i2s: Fix sun8i tx channel offset mask
7b7486398a32 ASoC: max98090: remove 24-bit format support if RJ is 0
3b60f98ef496 drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
34e5e1c4874f drm/mediatek: clear num_pipes when unbind driver
a8a86e9a5533 drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
79e095d234bb drm/mediatek: unbind components in mtk_drm_unbind()
319f4699bcaa drm/mediatek: fix unbind functions
dbd94f4938c6 spi: bitbang: Fix NULL pointer dereference in spi_unregister_master
3f8d3c9506a5 ASoC: ak4458: rstn_control - return a non-zero on error only
3c3dd68c48e8 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
4c31b4b4ba65 ASoC: ak4458: add return value for ak4458_probe
0c19bcdb0db9 ASoC : cs4265 : readable register too low
c549680ed59b netfilter: nft_flow_offload: IPCB is only valid for ipv4 family
041c181e6ba0 netfilter: nft_flow_offload: don't offload when sequence numbers need adjustment
48f611ecea0e netfilter: nft_flow_offload: set liberal tracking mode for tcp
3b2734bc839d netfilter: nf_flow_table: ignore DF bit setting
869eec894663 md/raid0: Do not bypass blocking queue entered for raid0 bios
c9d8d3e9d7a0 block: Fix a NULL pointer dereference in generic_make_request()
5dd6139a0aa2 Bluetooth: Fix faulty expression for minimum encryption key size check
(From OE-Core rev: 885eeb589ed3150a17a8ac62c44632cb02171478)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
218ca2e5affe Linux 5.2.13
4c634717d778 Revert "Input: elantech - enable SMBus on new (2018+) systems"
140839fe4e71 Linux 5.2.12
5566d1c61b2f Revert "ASoC: Fail card instantiation if DAI format setup fails"
4d8966020827 hsr: switch ->dellink() to ->ndo_uninit()
072c9337f3a0 hsr: fix a NULL pointer deref in hsr_dev_xmit()
08523d5a2f4a hsr: implement dellink to clean up resources
a282179be747 bpf: fix use after free in prog symbol exposure
0d5014b80e5c x86/ptrace: fix up botched merge of spectrev1 fix
3af8db6a99f6 drm/i915/dp: Fix DSC enable code to use cpu_transcoder instead of encoder->type
b6980646c9ab drm/i915: Do not create a new max_bpc prop for MST connectors
79d5d7317ce3 iwlwifi: pcie: handle switching killer Qu B0 NICs to C0
3146a6de3d58 iwlwifi: pcie: don't switch FW to qnj when ax201 is detected
9e7e685012f2 iwlwifi: pcie: add support for qu c-step devices
c013312ef7a8 iwlwifi: change 0x02F0 fw from qu to quz
feee62efa7ad iwlwifi: add new cards for 9000 and 20000 series
0fdbd727e12a iwlwifi: add new cards for 22000 and change wrong structs
805363e2dfa5 iwlwifi: add new cards for 22000 and fix struct name
e27fc3445751 mmc: sdhci-sprd: add get_ro hook function
9ad0348f708d mmc: sdhci-sprd: Implement the get_max_timeout_count() interface
d100666e3cfc mmc: sdhci-sprd: clear the UHS-I modes read from registers
b018fcb92250 mac80211: Correctly set noencrypt for PAE frames
08392de0ccc7 mac80211: Don't memset RXCB prior to PAE intercept
4e118994cea8 cfg80211: Fix Extended Key ID key install checks
b14f5ba7490e mac80211: fix possible sta leak
3cd42050aac6 Revert "cfg80211: fix processing world regdomain when non modular"
b6a0d1f9bf08 mm: memcontrol: fix percpu vmstats and vmevents flush
bba5bcb0cc0e mm, memcg: partially revert "mm/memcontrol.c: keep local VM counters in sync with the hierarchical ones"
8706ffe20444 mms: sdhci-sprd: add SDHCI_QUIRK_BROKEN_CARD_DETECTION
d7c7531ac9a3 mt76: mt76x0u: do not reset radio on resume
839e96131567 SUNRPC: Don't handle errors if the bind/connect succeeded
90ff6dd4ced6 crypto: ccp - Ignore unconfigured CCP device on suspend/resume
3c3c233738df VMCI: Release resource if the work is already queued
6992ae83866a bus: hisi_lpc: Add .remove method to avoid driver unbind crash
0a6caa4e3f21 bus: hisi_lpc: Unregister logical PIO range to avoid potential use-after-free
3e3bf9dfdaf4 i2c: piix4: Fix port selection for AMD Family 16h Model 30h
712029329a58 drm/i915: Call dma_set_max_seg_size() in i915_driver_hw_probe()
0573f44d42b1 drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest
f78e0d8172f3 drm/amdgpu: fix GFXOFF on Picasso and Raven2
4c7ee7bd4f7e drm/amdgpu: Add APTX quirk for Dell Latitude 5495
71817079db2f lib: logic_pio: Add logic_pio_unregister_range()
0a6e75686543 lib: logic_pio: Avoid possible overlap for unregistering regions
94cfb33438e0 lib: logic_pio: Fix RCU usage
e0e3650991cd Revert "NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated"
666a848c6797 NFS: Ensure O_DIRECT reports an error if the bytes read/written is 0
3fd824dc16de NFSv4/pnfs: Fix a page lock leak in nfs_pageio_resend()
d3a2180a5720 lkdtm/bugs: fix build error in lkdtm_EXHAUST_STACK
61c6f2b0000a fsi: scom: Don't abort operations for minor errors
d886915cd91b typec: tcpm: fix a typo in the comparison of pdo_max_voltage
82b520267b49 intel_th: pci: Add Tiger Lake support
1c01033684f3 intel_th: pci: Add support for another Lewisburg PCH
d36c706f854c stm class: Fix a double free of stm_source_device
ba3e88a664c8 mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN
77162751167c mmc: sdhci-sprd: fixed incorrect clock divider
a94076eed72e mmc: core: Fix init of SD cards reporting an invalid VDD range
b8dd05ea2e74 mmc: sdhci-cadence: enable v4_mode to fix ADMA 64-bit addressing
096179da39b6 mmc: sdhci-of-at91: add quirk for broken HS200
cb82fa2d124a Revert "mmc: sdhci-tegra: drop ->get_ro() implementation"
31f4eb72692c mei: me: add Tiger Lake point LP device ID
871c867ac423 KVM: arm/arm64: vgic-v2: Handle SGI bits in GICD_I{S,C}PENDR0 as WI
ea93e118ef2e KVM: arm/arm64: vgic: Fix potential deadlock when ap_list is long
d69ebe85e169 KVM: PPC: Book3S: Fix incorrect guest-to-user-translation error handling
3698cd854f43 tools/power turbostat: Fix caller parameter of get_tdp_amd()
2d26f7f401e7 USB: storage: ums-realtek: Whitelist auto-delink support
35f1b0a62c36 USB: storage: ums-realtek: Update module parameter description for auto_delink_en
960ff077477e usb: host: xhci: rcar: Fix typo in compatible string matching
6ca46f45c208 usb: host: ohci: fix a race condition between shutdown and irq
73830b83ece9 usb: chipidea: udc: don't do hardware access if gadget has stopped
0aa1e87affce usb: hcd: use managed device resources
c07f658df19f USB: cdc-wdm: fix race between write and disconnect due to flag abuse
43d94dafbcdd usb-storage: Add new JMS567 revision to unusual_devs
7300afed0334 usbtmc: more sanity checking for packet size
e56b7b3b9256 ftrace: Check for empty hash and comment the race with registering probes
d784aa1a0f13 ftrace: Check for successful allocation of hash
cd419e7c03e9 ftrace: Fix NULL pointer dereference in t_probe_next()
6c781717c5cc HID: logitech-hidpp: remove support for the G700 over USB
602038487748 x86/apic: Include the LDR when clearing out APIC registers
edacccb34680 x86/apic: Do not initialize LDR and DFR for bigsmp
af65ce08ec91 x86/mm/cpa: Prevent large page split when ftrace flips RW on kernel text
861e386d11b5 uprobes/x86: Fix detection of 32-bit user mode
4479763b8436 KVM: x86: Don't update RIP or do single-step on faulting emulation
4344cb8cf72d KVM: x86: hyper-v: don't crash on KVM_GET_SUPPORTED_HV_CPUID when kvm_intel.nested is disabled
7d01c081e861 kvm: x86: skip populating logical dest map if apic is not sw enabled
e824fe6a6750 ALSA: usb-audio: Add implicit fb quirk for Behringer UFX1604
4f3c293ccffe ALSA: usb-audio: Fix invalid NULL check in snd_emuusb_set_samplerate()
ee26f3722d2b ALSA: seq: Fix potential concurrent access to the deleted pool
853ccdea876b ALSA: hda - Fixes inverted Conexant GPIO mic mute led
441f5ecc1e24 ALSA: line6: Fix memory leak at line6_init_pcm() error path
6ff7b2c68d22 ALSA: hda/ca0132 - Add new SBZ quirk
701ff405be9f ALSA: usb-audio: Check mixer unit bitmap yet more strictly
b4b92e95d9e5 mm/zsmalloc.c: fix build when CONFIG_COMPACTION=n
2905d7847cd5 xfrm/xfrm_policy: fix dst dev null pointer dereference in collect_md mode
1c7fbbc0fc3f ipv4/icmp: fix rt dst dev null pointer dereference
fc90789e580b openvswitch: Fix conntrack cache with timeout
c1c3307a832a ipv4: mpls: fix mpls_xmit for iptunnel
ae154dcba8f4 tcp: make sure EPOLLOUT wont be missed
cbc9336afc74 net/smc: make sure EPOLLOUT is raised
5b71ce93d7b1 net: fix __ip_mc_inc_group usage
a6058b22e17e net: cpsw: fix NULL pointer exception in the probe error path
c5df65fd6f06 ipv6: Fix return value of ipv6_mc_may_pull() for malformed packets
dc428ae89cd4 ipv6/addrconf: allow adding multicast addr if IFA_F_MCAUTOJOIN is set
8903c1ed2c14 mt76: usb: fix rx A-MSDU support
962d7207f53b drm/bridge: tfp410: fix memleak in get_modes()
d4ccc1744b55 selftests/bpf: install files test_xdp_vlan.sh
d857dcf1c807 watchdog: bcm2835_wdt: Fix module autoload
eeb6b4a09695 lcoking/rwsem: Add missing ACQUIRE to read_slowpath sleep loop
931424d0781e locking/rwsem: Add missing ACQUIRE to read_slowpath exit when queue is empty
5faa01cc2b1f tools: hv: fix KVP and VSS daemons exit code
b6018c3a79e5 tools: hv: fixed Python pep8/flake8 warnings for lsvmbus
c983df11ed19 usb: host: fotg2: restart hcd after port reset
5a3db3021b17 drm/ast: Fixed reboot test may cause system hanged
68fc8f1e9103 drm/scheduler: use job count instead of peek
7046212603e0 i2c: emev2: avoid race when unregistering slave client
38869e74c3ac i2c: rcar: avoid race when unregistering slave client
6ad482444c98 riscv: fix flush_tlb_range() end address for flush_tlb_page()
325fd0056cc0 arm64: cpufeature: Don't treat granule sizes as strict
2a7a7ff625cd xen/blkback: fix memory leaks
82fcf8a5d8f7 habanalabs: fix device IRQ unmasking for BE host
a1a6c6b4f8d8 habanalabs: fix endianness handling for internal QMAN submission
1900d706b9c4 habanalabs: fix completion queue handling when host is BE
79e338d70c86 habanalabs: fix endianness handling for packets from user
0a18515cc03f habanalabs: fix DRAM usage accounting on context tear down
c041ddb75698 usb: gadget: mass_storage: Fix races between fsg_disable and fsg_set_alt
3f1b93b5a45c usb: gadget: composite: Clear "suspended" on reset/disconnect
4ab6b15a00ca dma-direct: don't truncate dma_required_mask to bus addressing capabilities
583c8d3118e0 iommu/dma: Handle SG length overflow better
4aab45c37962 omap-dma/omap_vout_vrfb: fix off-by-one fi value
7ceddea2da13 dmaengine: stm32-mdma: Fix a possible null-pointer dereference in stm32_mdma_irq_handler()
a4a200842e83 IB/mlx5: Fix implicit MR release flow
a8bd4c018836 btrfs: trim: Check the range passed into to prevent overflow
c1b16e1427f4 auxdisplay: panel: need to delete scan_timer when misc_register fails in panel_attach
ceac72e0a8cc soundwire: cadence_master: fix definitions for INTSTAT0/1
50b59bb1043b soundwire: cadence_master: fix register definition for SLAVE_STATE
c88a50ced6de nvme-pci: Fix async probe remove race
9dd8dc3d8a79 nvme: fix controller removal race with scan work
be2e81d1d8d4 nvme-rdma: fix possible use-after-free in connect error flow
f3b4b4440a0c nvme: fix a possible deadlock when passthru commands sent to a multipath device
d067f76d2009 nvme-core: Fix extra device_put() call on error path
a7b13f9b376d nvmet-file: fix nvmet_file_flush() always returning an error
938f8292e9ef nvmet-loop: Flush nvme_delete_wq when removing the port
19620ce482fc nvmet: Fix use-after-free bug when a port is removed
a40201a850a8 afs: Fix missing dentry data version updating
fb64ee182656 afs: Only update d_fsdata if different in afs_d_revalidate()
b4988bb90114 afs: Fix off-by-one in afs_rename() expected data version calculation
768edf3604b6 fs: afs: Fix a possible null-pointer dereference in afs_put_read()
3bde518dd5f1 afs: Fix loop index mixup in afs_deliver_vl_get_entry_by_name_u()
3e5fa7f20b76 afs: Fix the CB.ProbeUuid service handler to reply correctly
f902c873cb0f nvme-multipath: revalidate nvme_ns_head gendisk in nvme_validate_ns
76c2a562a193 dmaengine: ste_dma40: fix unneeded variable warning
c3915fe1bf12 Linux 5.2.11
85a55331d9ae rxrpc: Fix local refcounting
fa321a9ce599 rxrpc: Fix local endpoint replacement
d2783ccec7e0 rxrpc: Fix read-after-free in rxrpc_queue_local()
486a72744507 rxrpc: Fix local endpoint refcounting
3981720f800f powerpc: Allow flush_(inval_)dcache_range to work across ranges >4GB
28ad328e672b io_uring: add need_resched() check in inner poll loop
7fe55f17deee io_uring: don't enter poll loop if we have CQEs pending
2b2c2647a19c io_uring: fix potential hang with polled IO
2a50be6e0551 dm zoned: fix potential NULL dereference in dmz_do_reclaim()
b295171cff3f IB/hfi1: Drop stale TID RDMA packets
be46f90b7436 xfs: fix missing ILOCK unlock when xfs_setattr_nonsize fails due to EDQUOT
92aeca3af02a mm/kasan: fix false positive invalid-free reports with CONFIG_KASAN_SW_TAGS=y
f6d997de0883 mm/zsmalloc.c: fix race condition in zs_destroy_pool
e3f9299cbe4c mm/zsmalloc.c: migration can leave pages in ZS_EMPTY indefinitely
199faced432f mm, page_owner: handle THP splits correctly
ef1cb3ee97ec mm: memcontrol: flush percpu vmevents before releasing memcg
2bd82494d1d6 mm: memcontrol: flush percpu vmstats before releasing memcg
27674f5f49a8 mm, page_alloc: move_freepages should not examine struct page of reserved memory
764fa2f4ff59 mm/z3fold.c: fix race between migration and destruction
641c1d8396dc genirq: Properly pair kobject_del() with kobject_add()
f2f89f89e5fe dm zoned: properly handle backing device failure
5d77bfe7e69d dm zoned: improve error handling in i/o map code
544518b023cb dm zoned: improve error handling in reclaim
ace23a455383 dm table: fix invalid memory accesses with too high sector number
23c9e199076a dm space map metadata: fix missing store of apply_bops() return value
f57bbd7c7894 dm raid: add missing cleanup in raid_ctr()
e7b9e2afcc68 dm integrity: fix a crash due to BUG_ON in __journal_read_write()
9e3dcb641f08 dm btree: fix order of block initialization in btree_split_beneath
e92dfd8d1403 dm dust: use dust block size for badblocklist index
a6d64ebeb5eb dm kcopyd: always complete failed jobs
1e2528273532 psi: get poll_work to run when calling poll syscall next time
b9e0cc134d73 IB/hfi1: Drop stale TID RDMA packets that cause TIDErr
a382c2b3d9c2 IB/hfi1: Add additional checks when handling TID RDMA WRITE DATA packet
47a2c4e414fb IB/hfi1: Add additional checks when handling TID RDMA READ RESP packet
b568370cf1d7 IB/hfi1: Unsafe PSN checking for TID RDMA READ Resp packet
f1c2546fff1f x86/boot: Fix boot regression caused by bootparam sanitizing
6659665f0afd x86/boot: Save fields explicitly, zero out everything else
4aa0f3b05a3a x86/CPU/AMD: Clear RDRAND CPUID bit on AMD family 15h/16h
50d3cd159713 x86/apic: Handle missing global clockevent gracefully
60d4af6a0e5f x86/retpoline: Don't clobber RFLAGS during CALL_NOSPEC on i386
accdfad7aed6 userfaultfd_release: always remove uffd flags and clear vm_userfaultfd_ctx
1069617a56d7 Drivers: hv: vmbus: Fix virt_to_hvpfn() for X86_PAE
a7ef13769f73 gpiolib: never report open-drain/source lines as 'input' to user-space
b3b7c576df89 scsi: ufs: Fix NULL pointer dereference in ufshcd_config_vreg_hpm()
aaf36ec5aa67 drm/nouveau: Don't retry infinitely when receiving no data on i2c over AUX
be85d2279c5c drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible
9d87603371b7 libceph: fix PG split vs OSD (re)connect race
bfb7dd36f7b9 ceph: don't try fill file_lock on unsuccessful GETFILELOCK reply
a927f8a9dfd5 ceph: clear page dirty before invalidate page
e9e5f8e96fe6 clk: socfpga: stratix10: fix rate caclulationg for cnt_clks
328380940d3a Revert "dm bufio: fix deadlock with loop device"
2ad350fb4c92 Revert "KVM: x86/mmu: Zap only the relevant pages when removing a memslot"
24c5a3d468b2 HID: wacom: Correct distance scale for 2nd-gen Intuos devices
ccdca005c5a3 HID: wacom: correct misreported EKR ring values
89b925e73610 iwlwifi: mvm: disable TX-AMSDU on older NICs
6c64df946909 selftests: kvm: Adding config fragments
b53832252a68 KVM: arm: Don't write junk to CP15 registers on reset
9b2b6603766b KVM: arm64: Don't write junk to sysregs on reset
2590622af1a6 dt-bindings: riscv: fix the schema compatible string for the HiFive Unleashed board
9941192b06ec perf pmu-events: Fix missing "cpu_clk_unhalted.core" event
40db83cb0c86 perf cpumap: Fix writing to illegal memory in handling cpumap mask
dcd75c90dec1 perf ftrace: Fix failure to set cpumask when only one cpu is present
371879acb44e block, bfq: handle NULL return value by bfq_init_rq()
6bfd59d99133 block: aoe: Fix kernel crash due to atomic sleep when exiting
bcc19f380ecc drm/vmwgfx: fix memory leak when too many retries have occurred
41dddcbf27fd x86/lib/cpu: Address missing prototypes warning
8e88ef54c22a libata: add SG safety checks in SFF pio transfers
9ba76a5214e4 libata: have ata_scsi_rw_xlat() fail invalid passthrough requests
75d360c01f48 NFSv4: Ensure state recovery handles ETIMEDOUT correctly
37f3fc22b32d net: hisilicon: Fix dma_map_single failed on arm64
36ea6d81a99e net: hisilicon: fix hip04-xmit never return TX_BUSY
9e7a5c2730bd net: hisilicon: make hip04_tx_reclaim non-reentrant
39db6b4e6fa1 drm/amdgpu: pin the csb buffer on hw init for gfx v8
84de7cd06750 net: stmmac: tc: Do not return a fragment entry
f0d73daeef24 net: stmmac: Fix issues when number of Queues >= 4
9474322cadfd net: cxgb3_main: Fix a resource leak in a error path in 'init_one()'
4f339c4018a8 ata: rb532_cf: Fix unused variable warning in rb532_pata_driver_probe
976dcd26cb03 s390: put _stext and _etext into .text section
d810001f3e92 s390/mm: fix dump_pagetables top level page table walking
580b216496b6 s390/protvirt: avoid memory sharing for diag 308 set/store
1f54a9b84956 sched/psi: Do not require setsched permission from the trigger creator
9ea2355c3117 sched/psi: Reduce psimon FIFO priority
a343eca8fd92 sched/deadline: Fix double accounting of rq/running bw in push & pull
4fe7ee5ed9b0 SMB3: Kernel oops mounting a encryptData share with CONFIG_DEBUG_VIRTUAL
efb86f76c6c8 SMB3: Fix potential memory leak when processing compound chain
6dfb0916b1fd drm/rockchip: Suspend DP late
ef411a41d35a HID: input: fix a4tech horizontal wheel custom usage
b6f61042d3c5 HID: quirks: Set the INCREMENT_USAGE_ON_DUPLICATE quirk on Saitek X52
3055b274a141 NFS: Fix regression whereby fscache errors are appearing on 'nofsc' mounts
83d99ded4b1d NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim()
55a76b7b9a5c NFSv4.1: Only reap expired delegations
00cfd19b4aab NFSv4.1: Fix open stateid recovery
5ebc4cb05315 NFSv4: When recovering state fails with EAGAIN, retry the same recovery
8c0391db53ef NFSv4: Fix a credential refcount leak in nfs41_check_delegation_stateid
1cfb3722bb57 enetc: Select PHYLIB while CONFIG_FSL_ENETC_VF is set
bf92682c476b net/ethernet/qlogic/qed: force the string buffer NULL-terminated
e9da4fc7d8ec ASoC: amd: acp3x: use dma_ops of parent device for acp3x dma driver
ac8bf342add9 can: peak_usb: force the string buffer NULL-terminated
4a17b244620c can: sja1000: force the string buffer NULL-terminated
c7bc59702fa8 spi: pxa2xx: Add support for Intel Tiger Lake
8da2ee75f213 perf bench numa: Fix cpu0 binding
cbffa423f725 net: phy: phy_led_triggers: Fix a possible null-pointer dereference in phy_led_trigger_change_speed()
e17659fd38cf isdn: hfcsusb: Fix mISDN driver crash caused by transfer buffer on the stack
b7737b00b86d enetc: Fix build error without PHYLIB
4784684e960a iwlwifi: mvm: send LQ command always ASYNC
14311a90347b iwlwifi: fix locking in delayed GTK setting
743fa6a7baa8 iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
250352ddc2b4 iwlwifi: dbg_ini: move iwl_dbg_tlv_load_bin out of debug override ifdef
de0f0564b100 iwlwifi: mvm: avoid races in rate init and rate perform
505d5fc02a34 nvmem: Use the same permissions for eeprom as for nvmem
f1079e415bc1 rxrpc: Fix the lack of notification when sendmsg() fails on a DATA packet
04ce53b00a89 rxrpc: Fix potential deadlock
68c55a2c6c2f netfilter: ipset: Fix rename concurrency with listing
3fb7dc7af067 netfilter: ipset: Copy the right MAC address in bitmap:ip,mac and hash:ip,mac sets
79ebfb394cbe netfilter: ipset: Actually allow destination MAC address for hash:ip,mac sets too
edd7585d6751 net: stmmac: manage errors returned by of_get_mac_address()
79ea14eea8cd mac80211_hwsim: Fix possible null-pointer dereferences in hwsim_dump_radio_nl()
813f42fc5695 habanalabs: fix F/W download in BE architecture
45d6a121c7dc isdn: mISDN: hfcsusb: Fix possible null-pointer dereferences in start_isoc_chain()
c60f443cf039 qed: RDMA - Fix the hw_ver returned in device attributes
349b39f98d1b net: usb: qmi_wwan: Add the BroadMobi BM818 card
7446b2794d9f ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
ec10dcf3ae89 ASoC: rockchip: Fix mono capture
205cd0f91481 ASoC: ti: davinci-mcasp: Fix clk PDIR handling for i2s master mode
7bd8e226cd63 {nl,mac}80211: fix interface combinations on crypto controlled devices
cb2150b718c0 st_nci_hci_connectivity_event_received: null check the allocation
775d026bbfe2 st21nfca_connectivity_event_received: null check the allocation
8f28ebbdf9bc libbpf: silence GCC8 warning about string truncation
46af9cbcf73a Staging: fbtft: Fix GPIO handling
ab4f4d331a98 ASoC: Fail card instantiation if DAI format setup fails
2d0befff4db8 can: gw: Fix error path of cgw_module_init
ad14579d403a can: mcp251x: add error check when wq alloc failed
eae5534465c8 can: dev: call netif_carrier_off() in register_candev()
7dae14d19c4f libbpf: fix using uninitialized ioctl results
890626e2d964 selftests/bpf: add another gso_segs access
24c21fa64560 selftests: forwarding: gre_multipath: Fix flower filters
f4bed7ed14a2 selftests: forwarding: gre_multipath: Enable IPv4 forwarding
82d861e06dc6 net: mvpp2: Don't check for 3 consecutive Idle frames for 10G links
a25bd473e8c9 bonding: Force slave speed check after link state recovery for 802.3ad
1c3e3000de80 ASoC: dapm: fix a memory leak bug
5fa1d7a76dd0 selftests/bpf: fix sendmsg6_prog on s390
5c447c1951cd bpf: sockmap, only create entry if ulp is not already enabled
47032e94979e bpf: sockmap, synchronize_rcu before free'ing map
2a574254d6f5 bpf: sockmap, sock_map_delete needs to use xchg
705409085597 spi: pxa2xx: Balance runtime PM enable/disable on error
bdeaab6261ff ASoC: SOF: use __u32 instead of uint32_t in uapi headers
5cecec718e35 ASoC: dapm: Fix handling of custom_stop_condition on DAPM graph walks
8d376e73adf1 netfilter: ebtables: fix a memory leak bug in compat
0ea865793835 libbpf: sanitize VAR to conservative 1-byte INT
3883ef3b1de6 mips: fix cacheinfo
7afa881dd42a MIPS: kernel: only use i8253 clocksource with periodic clockevent
22c0b70969e3 HID: Add 044f:b320 ThrustMaster, Inc. 2 in 1 DT
e6cca5f2ab53 HID: logitech-hidpp: add USB PID for a few more supported mice
e301eb65c861 ASoC: Intel: bytcht_es8316: Add quirk for Irbis NB41 netbook
af3eab0b3016 ASoC: samsung: odroid: fix a double-free issue for cpu_dai
b3978884ac59 ASoC: samsung: odroid: fix an use-after-free issue for codec
cb7829e5aeb3 regulator: axp20x: fix DCDC5 and DCDC6 for AXP803
7a2ec3fbdcb1 regulator: axp20x: fix DCDCA and DCDCD for AXP806
3861684475d5 ASoC: audio-graph-card: add missing const at graph_get_dai_id()
e5e516915f78 ASoC: audio-graph-card: fix an use-after-free in graph_get_dai_id()
7b83af285ad2 ASoC: audio-graph-card: fix use-after-free in graph_dai_link_of_dpcm()
86827ec32e56 ASoC: simple-card: fix an use-after-free in simple_for_each_link()
9b7f263403ab ASoC: simple-card: fix an use-after-free in simple_dai_link_of_dpcm()
c9479b9717c3 ASoC: simple_card_utils.h: care NULL dai at asoc_simple_debug_dai()
(From OE-Core rev: 94f5f7b3fb8bf7228e6108dfe2e6b6fc773a0fc0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tidy the indentation of EXTRA_OECONF.
Remove the deletion of config.status which hasn't been in the tarballs since
0.12.
(From OE-Core rev: 32b0265a594a22ab4c2aa5d5023551f2e8d59b82)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when build with EXTERNALSRC, checksum of EXTERNALSRC is one of inputs
for generate sigdata of task do_compile. without change any source, the
sigdata will not changed, and buildclean task only do make clean, and
not clean stampfiles like clean task, so the stampfile keep there, then
do_compile after do_buildclean will not rerun, and targetfile
tempdir_mdadm/mdadm will not be generated, report below error:
AssertionError: '/tmp/devtoolqarxv8ct6u/mdadm' does not exist
Fix by add a comments in Makefile to trigger rebuild of compile task
(From OE-Core rev: f4621cf4516f9de9980f3864a193f3f61c4abedc)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
if do clean after remove-layer, it will make stamp file not cleaned
since variable STAMP has changed, this will cause error like:
if testcase buildclean failed, when run next testcase modify, since
do_prepare_recipe_sysroot's stamp file exists, sysroot not populated,
then do_compile will fail with error:
/bin/sh: x86_64-poky-linux-gcc: command not found
(From OE-Core rev: 046d7e1de094105db0949c2cf5333ff55d9ad9c8)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If hwdb is disabled, then systemd-hwdb-update.service does not exists.
Do not try to modify it in this case.
(From OE-Core rev: 9f9706d39713f967e10e3a41313ddacb03b0ca94)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Users of distcc are rarely both clients and servers, so split the package.
distcc is the client, the new distcc-server package is the server.
(From OE-Core rev: ca07f88c21094a04f6af1f87bc7d9afa477e30f1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--make-me-a-botnet is worrying, --enable-tcp-insecure is clearer and doesn't
scare people glancing at 'ps'.
(From OE-Core rev: f43ccc8c3a0469358a29b15425e59552f528057d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the local copy of the desktop file, instead apply a patch from upstream
to fix the file. This also fixes the install paths, so update the recipe.
Remove glibc-specific installation as this was due to uclibc failures.
Refresh and submit upstream the out-of-tree build fix.
(From OE-Core rev: f69cb86f4c15497c6324a0e8063f86cc31cfe7aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In recent years AMD CPUs have had various problems with RDRAND
giving either non-random data or no result at all, which is
problematic if either build or target machine has a CPU with
this problem.
The fallback is /dev/urandom, and I'd trust the kernel here.
--enable-rdrand was added in an upgrade to a new upstream
version without mentioning any reason.
[YOCTO #13534]
(From OE-Core rev: abc51bfa8933dda99b6c82ac37692830315325b3)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that opkg-build can build reproducible ipkgs, we can also add those to the
test case.
[ YOCTO #13513 ]
(From OE-Core rev: 3806d38e6194a42534381993fcfcc3ff39550a13)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the case where multiple packages provide the same file, we show an error.
Otherwise, python will generate a different build depending on which provider
appears first in the dictionary. On my system this order changes every time
I run bitbake causing intermittent build differences.
Add a sorted() to fix the determinism issue too.
(From OE-Core rev: 61c41369003444bfbf1c45e7cfd2752a4b7bc22f)
Signed-off-by: Jonathan Marler <johnnymarler@hp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder type infrastructure can benefit from deletion of certain files as
background IO due to the way Linux filesystem priority works.
We have problems where build directories as part of oe-selftest being
delete starves the running tasks of IO to the point builds take much
longer to compelte.
Having this option of running the deletion at "idle" helps a lot with
that.
(Bitbake rev: 797354d285f6d624d9adb52bab65823572da0e39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to sstate_checkhashes which is defined in sstate.bbclass, the
currentcoun should be a number (0, not None).
Fixed:
$ bitbake base-files -Sprintdiff
> bb.plain("Sstate summary: Wanted %d Found %d Missed %d Current %d (%d%% match, %d%% complete)" % (total, len(found), len(missed), currentcount, match, complete))
TypeError: %d format: a number is required, not NoneType
(Bitbake rev: 45cb73e2846eaffe8964a573875f54808e8f3633)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new 'lfs' option to the git fetcher so that we can optionally not fetch
git-lfs content, for repositories that contain LFS data that we don't
actually need for building.
By default lfs is set to 1, so if the repository has LFS content then git-lfs is
required. Setting lfs to 0 will mean that git-lfs won't be required to fetch,
and some files will be missing.
(Bitbake rev: be0b78ccfc5ede98041bc0545a15092494b12b26)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, show-recipes will append "(skipped)" marker to recipes which
were skipped due these recipes does not satisfied the configurations.
Example: $ bitbake-layers show-recipes -r
ace
backport-iwlwifi
core-image-rt (skipped)
core-image-rt-sdk (skipped)
core-image-tiny
Add -b/--bare to enable output names without "(skipped)" marker.
Example: $ bitbake-layers show-recipes -r -b
ace
backport-iwlwifi
core-image-rt
core-image-rt-sdk
core-image-tiny
(Bitbake rev: 87796e580cd160a535eb5fb9e31846a7cf1a249e)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, show-recipes will show recipes from all configured layers.
Assume, meta-intel layer was added to conf/bblayers.conf.
Example of default $ bitbake-layers show-recipes:
core-image-rt:
meta-intel unknown (skipped)
meta unknown (skipped)
Add -l/--layer to enable showing recipes from user selected layer.
Example: $ bitbake-layers show-recipes -l meta-intel
core-image-rt:
meta-intel unknown (skipped)
(Bitbake rev: 8c38d95c4474ea171cb55b0e336d9090451e89ce)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, show-recipes will show all recipes available (both
recipes with different version and recipes provided by more
than one layer).
Example of default $ bitbake-layers show-recipes:
core-image-rt:
meta-intel unknown (skipped)
meta unknown (skipped)
yajl:
meta-oe 2.1.0
meta-oe 1.0.12
Add -r/--recipes-only to enable showing recipes only. This
provide a focus view on unique recipes available.
Example of $ bitbake-layers show-recipes -r:
core-image-rt (skipped)
yajl
(Bitbake rev: 048bd051a9b422a38c181f57bb5090a05684a5c3)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
During restructuring of the packaging in 2af4d6eb (tzdata: Install
everything by default), these two files remained in the tzdata
package, which is supposed to be empty. Move them to tzdata-core where
they belong.
Also simplify the definition of CONFFILES_tzdata-core. As its value
only takes effect for files that actually exist, there is no need to
complicate its definition by checking if a file is created before
adding it to the list of configuration files.
(From OE-Core rev: 3d2d31fed64169f08c0ecfce4c07b8c7ebd052d2)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should have been removed in 3db9d865 (classes/package_rpm.bbclass:
Enhance diagnostic messages) when it was split in two new notes.
Also change the casing of two other notes to align them with the other
notes.
(From OE-Core rev: b40e245795cd19c7d36df096fa1f30c75490ce46)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Autobuilder type infrastructure can benefit from deletion of certain files as
background IO due to the way Linux filesystem priority works.
We have problems where build directories as part of oe-selftest being
delete starves the running tasks of IO to the point builds take much
longer to compelte.
Having this option of running the deletion at "idle" helps a lot with
that. Use the new option added to bb.utils.prunedir().
(From OE-Core rev: d41e7018be56902b7a1be4590e468cd15e02a3b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
externalsrc do_configure task watches oe-devtool-tree-sha1 file and its
checksum. That file basically contains the result of `git add -A
${EXTERNALSRC} && git write-tree` which is the hash of temporary
"commit" of the non committed changes. This file is stored in the .git
directory of the git repo of the externalsrc recipe. do_configure then
depends on the checksum of oe-devtool-tree-sha1 file.
If 2+ recipes with different externalsrc paths but same git repo (e.g.
one recipe at /some/path and the other at /some/path/subdir) are parsed,
this oe-devtool-tree-sha1 will be overwritten by those recipes at
parsing time since .git is shared between those recipes.
If there is one non committed git change in /some/path but not in
/some/path/subdir, the oe-devtool-tree-sha1 of both recipes will be
different.
What will happen is that recipe1 will watch over the
oe-devtool-tree-sha1 with a specific checksum, fill in file-checksums
for do_configure correctly, then recipe2 will watch over the identically
named file with different content also fill in the file-checksums
varflag. When do_configure of recipe1 will be evaluated for
re-execution, oe-devtool-tree-sha1 will be of the value of what is
watched over by recipe2, thus triggering a rebuild of recipe1.
This behavior is not always reproducible which I'm guessing is due to a
small window between recipe1 putting info into oe-devtool-tree-sha1 and
calculating the checksum of that file and recipe2 putting its content
into oe-devtool-tree-sha1.
By appending the name of the recipe to oe-devtool-tree-sha1, we make
sure that a recipe won't have its oe-devtool-tree-sha1 overwritten by
another recipe sharing the same externalsrc git repo.
(From OE-Core rev: 1b727dd7295a7a7fe17800f8038242efbf7fe2b7)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure the task is properly regsistered as an sstate task as this
"half way" state confuses new code in bitbake and it isn't supported.
(From OE-Core rev: 53d6cd98216e3b73c0c90e42223efd1a2b649358)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a temporary workaround to avoid autobuilder failures until
https://github.com/systemd/systemd/issues/13581 is resolved.
Its being done globally even though its a mips problem for simplicity,
it doesn't hurt anything else to have a longer timeout.
(From OE-Core rev: 101d1ea3fe2d40ddde3139952545fa7128478f66)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When doing a devtool build-sdk from within an esdk all nativesdk
components would be rebuilt. This patch introduces SDK_INCLUDE_NATIVESDK
flag to toggle the inclusion of nativesdk packages when creating the
esdk sstate
Currently locked-sigs.inc is generated during do_sdk_depends which
doesn't pull in nativesdk packages. Generating another locked-sigs.inc
in do_populate_sdk_ext and pruning it to only nativesdk* packages by
using a modified version of the already existing function
prune_locked_sigs and merging it with the current locked-sigs.inc
Also adding SDK_INCLUDE_NATIVESDK tasklistfn to the logic surrounding
setting tasklist file to not prune esdk sstate during creation
[YOCTO #13261]
(From OE-Core rev: d046afd12e1c209b29dca6ba402b9aa14680c5ce)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These changes are from meta-96boards primarily
Launch the session via a udev rule based on what kind of display device
is available
delete weston-conf and move the fuctionality into weston-init other
layers are doing same
weston-init installs machine specific weston.ini therefore mark is
machine specific now
(From OE-Core rev: aa3bced2e1de2f4ba507aa014835b06edccc138a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When archiving patched source, WORKDIR should only be changed to
${ARCHIVER_WORKDIR} if the recipe doesn't use a shared work directory.
This matches the behavior of do_unpack_and_patch for these recipes.
This fixes kernel recipes that set S = "${WORKDIR}/git"
(From OE-Core rev: e3caee8f86f2cca1d052f1f1b233018a3d4baa97)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream is making releases again.
(From OE-Core rev: e2939592165034d59dd4841f6cb8c9fbfee21f27)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The removal of the supposedly empty /etc when ldconfig is not in
DISTRO_FEATURES seems to be a remnant from a long time ago when nothing
else was installed in /etc. However, that is no longer the case as,
e.g., nscd.conf is always installed to /etc now.
(From OE-Core rev: f66c02130d11154088d86c96fedd88e9d2bca723)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to respect SOURCE_DATE_EPOCH when building ipkgs,
to ensure reproducible archives.
(From OE-Core rev: d50d52188cee7ccc0f40f0bba6da1084410b81cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some devices, udev may sometimes trigger twice the 'add' rule during
boot. Calling the mount.sh script twice will eventually fail for
already mounted partitions, but in that case, the script tries to remove
the created mountpoint, when it shouldn't.
This has been observed on USB sticks connected to a USB hub and may
result in devices not being mounted if plugged-in before booting.
This patch checks for already mounted partitions earlier (before creating
the mount point) and returns with no actions.
(From OE-Core rev: 4cf076879ac038ebf76679a19249ea6363e63e0f)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's possible for a service file to accidentally contain mixed line endings, but
the string cleanup code was assuming Unix endings.
[ YOCTO #13535 ]
(From OE-Core rev: 7aaa9200b5ba2cba92ee1ed7003d54848498b37d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check that /etc/gconf exists before trying to find files under it, to avoid
writing find error messages to the rootfs log.
Also use ${sysconfdir}/gconf instead of hardcoding /etc/gconf.
(From OE-Core rev: 70a77b91031388ea29eff6b8885fd25cc35b1dae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sometimes, it is not enough to reproduce a failed build with current
info on error reports web, add local.conf/auto.conf into error
report to make it more easier to reproduce failed build
Note: this need work together with change in repo error-report-web,
which will display local.conf and auto.conf as Error Details
[YOCTO #13252]
(From OE-Core rev: 7adf9707c04d8ef6bcd8d8bda555687f705e6ee6)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Define common functions for populating EFI directories in live image by
reusing common code from grub-efi and systemd-boot bbclasses.
(From OE-Core rev: 3728899a0cd543793db258da0976362b4bde7133)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the class.
(From OE-Core rev: 094c272a74b4963ea5c010b9701bb83fa799a558)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the recipe.
(From OE-Core rev: 4acac3560cb819e0cd992e02441621dab1beada7)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the
class.
(From OE-Core rev: 8d15c015d2498d541a6e52fc4e7553e692ff3ac5)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the
recipe.
(From OE-Core rev: e6bb6d31c4285a62b3e9e324c36b2baf439e7bae)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use variables from image-uefi.conf instead of hardcoding them in the
recipe.
(From OE-Core rev: b5a97272ba201537a766598d9c9a97c8cbc9ea1d)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create new config file defining common variables for all UEFI-related
packages (bootloaders, test applications, etc).
(From OE-Core rev: 9c4945f1f0607c89e7cb10dda41ab742e169c075)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not all servers and repositories have this property set
which results in failures like this when actual svn checkout
command succeeded:
svn: warning: W200017: Property 'svn:externals' not found on ''
svn: E200000: A problem occurred; see other errors for details
(Bitbake rev: 238636f033cbf18e5741f0ea0e64db40e84f5838)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reworks the hash equivalence server to address performance issues that
were encountered with the REST mechanism used previously, particularly
during the heavy request load encountered during signature generation.
Notable changes are:
1) The server protocol is no longer HTTP based. Instead, it uses a
simpler JSON over a streaming protocol link. This protocol has much
lower overhead than HTTP since it eliminates the HTTP headers.
2) The hash equivalence server can either bind to a TCP port, or a Unix
domain socket. Unix domain sockets are more efficient for local
communication, and so are preferred if the user enables hash
equivalence only for the local build. The arguments to the
'bitbake-hashserve' command have been updated accordingly.
3) The value to which BB_HASHSERVE should be set to enable a local hash
equivalence server is changed to "auto" instead of "localhost:0". The
latter didn't make sense when the local server was using a Unix
domain socket.
4) Clients are expected to keep a persistent connection to the server
instead of creating a new connection each time a request is made for
optimal performance.
5) Most of the client logic has been moved to the hashserve module in
bitbake. This makes it easier to share the client code.
6) A new bitbake command has been added called 'bitbake-hashclient'.
This command can be used to query a hash equivalence server, including
fetching the statistics and running a performance stress test.
7) The table indexes in the SQLite database have been updated to
optimize hash lookups. This change is backward compatible, as the
database will delete the old indexes first if they exist.
8) The server has been reworked to use python async to maximize
performance with persistently connected clients. This requires Python
3.5 or later.
(Bitbake rev: 2124eec3a5830afe8e07ffb6f2a0df6a417ac973)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removes all references to the SSTATE_HASHEQUIV_SERVER variable. This
variable is redundant now that BB_HASHSERVE is present.
(From OE-Core rev: 54b3adb6bc90a8e4b9e92952688772ee074d36e5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The server no longer uses a "http://" URI, since it has been updated to
use a different protocol.
(From OE-Core rev: 519561172c48bc7f7a61a3d02edd418fc0895b7b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
5.2 kernel has introduced a significant performance regression
where some of the tests take many minutes to complete (where
previously it was seconds). While we're getting to the bottom
of the issue and working with upstream to resove it, this
change allows tests to proceed instead of getting stuck and
eventually timing out.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13506
(From OE-Core rev: 36670f3989ef129d285b2a17c289f8fc7a44b320)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
with openSSL 1.1.1d we start seeing errors like
Error Generating Key
139979727451584:error:2406C06E:random number generator:RAND_DRBG_instantiate:error retrieving entropy:../openssl-1.1.1d/crypto/rand/drbg_lib.c:342:
when using openssl from openssl-native on build hosts, this is due to
limiting the random seed to devrandom, to support older hosts, since the
option allows to have a comma separated list of methods to try, we can
try the default first and if that fails then fallback to devrandom, this
will ensure that it keeps working with build systems which dont support
getrandom()
(From OE-Core rev: 8b4edb8552b238680d8dcef565e830a8e28a223c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Adrian Bunk <bunk@stusta.de>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency is for EGL and GLES2 libraries. On some systems these
are not provided by Mesa, list what is actually needed so the system
can choose the correct provider.
(From OE-Core rev: 8c39aa80e3624a225abfa76d459b6ce4da259b64)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency is for EGL and GLES2 libraries. On some systems these
are not provided by Mesa, list what is actually needed so the system
can choose the correct provider.
(From OE-Core rev: 83877206bd0ddc453cf3646e998296278d4a62f0)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dependency is for EGL and GLES2 libraries. On some systems these
are not provided by Mesa, list what is actually needed so the system
can choose the correct provider.
(From OE-Core rev: 12f887e26c5959ce07af658d3cf8c62fe889744a)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a useful option but not documented in the help text.
(From OE-Core rev: 95bad67a802f956082bd0af5615c1dbaae01be0f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although glx support is turned off, the build still tries to pull in some
x11 components, disable x11 explicitly.
(From OE-Core rev: a96272dc0b5b6b76a4858981461f3bd126dc99b3)
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also move the libogg dependency to the theora PACKAGECONFIG, since
according to the configure script, theora is the specific component
which requires it.
(From OE-Core rev: 7ddfb9374f493bb1cc42a204c80e783baa288152)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Doesn't seem to be referenced by anything in oe-core any more.
(From OE-Core rev: 526188096bc37af3140c9210ece92ed94c3bdfe0)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We only have hash equivalence for setscene tasks so only query the server
for those, reducing the number of connections needed.
(Bitbake rev: 22082c7b3ca0cffcedb7d1d8c6681d35286376db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 94c0c7f15c7a6244a8576ed948ffc21afb96ba82.
This ignores the layer priority, making the issue much worse.
E.g. I'm seeing a lot of failures caused by missing users, because
base-passwd bbappends applied in unexpected order caused different
passwd.master to be found in re-ordered FILESPATH.
(Bitbake rev: 2dc862237dba82da37c8ac9289e0a21409b1305c)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The diffutils runtime dependency was introduced from legacy grub since
the script grub-install invokes cmp command which is from diffutils
package. But in Grub2 the grub-install has been rewritten with C
language. So this package isn't needed anymore.
The freetype runtime dependency is for grub-mkfont but we have
explicitly disabled grub-mkfont build. It is safe to remove it.
(From OE-Core rev: 56e4e05417f8ddba60a8b76fa4c8834aa8ea4692)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DEBUG_PREFIX_MAP can be empty if e.g. old clang
toolchain doesn't support the default poky values for gcc.
Fixes build failure:
ERROR: Logfile of failure stored in: /home/builder/src/base/build/tmp/work/aarch64-poky-linux/busybox/1.31.0-r
0/temp/log.do_configure.14451
Log data follows:
| DEBUG: Executing shell function do_configure
| sed: -e expression #1, char 0: no previous regular expression
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/builder/src/base/build/tmp/work/aarch64-poky-linux/busybox/1.31.0-r0/temp/run.do_configure.14451' failed with exit code 1:
| sed: -e expression #1, char 0: no previous regular expression
| WARNING: exit code 1 from a shell command.
|
This log entry is really useless for debugging problems so
add "set -x" to the configure script so that details can be seen
if something isn't working.
(From OE-Core rev: 20f1a454317ddff8a2e321c1fe55d086ff6fa286)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix error like:
lib32-e2fsprogs-1.45.3-r0 do_package_qa: QA Issue: /usr/sbin/e2scrub_all
contained in package lib32-e2fsprogs-e2scrub requires /bin/bash,
but no providers found in RDEPENDS_lib32-e2fsprogs-e2scrub
For some lib32 packages(eg: lib32-bash, lib32-sed) which probvides files,
extend is not needed
Eg: RPROVIDES of lib32-bash expects to have /bin/bash, with original
extend, it will become lib32-/bin/bash, then will cause above error
Fix by don't extend file dependency, and skip multilib check for file dependency
in do_package_qa to avoid error like:
WARNING: lib32-bash-5.0-r0 do_package: QA Issue: lib32-bash package lib32-bash
- suspicious values '/bin/bash /bin/sh' in RPROVIDES [multilib]
(From OE-Core rev: a9163120ed52534e7dbf4db50dc2b03bbf69f06b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These variables dont make sense for nativesdk targets which essentially
are target only properties, this helps in avoiding recompile of
nativesdk-libgcc-initial when switch libcs. nativesdk targets are glibc
only for OE
(From OE-Core rev: aff2d1264030a8061fc1b31dae0f369bfd76826b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl based extensible sdk fails to install
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Your system needs to support the en_US.UTF-8 locale.
The real reason is that its missing locale-archive in buildtools-tarball
hence python3 from buildtools-tarball fails to run bitbake when
installing esdk
(From OE-Core rev: c6e8e13f910544b2a4435d8b9e6dbc65847ef182)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
nativesdk-glibc should be spared of recompile when the distro features
are changed e.g. ldconfig is not in
DISTRO_FEATURES, this happens when sdk with musl and another one with
glibc is built
Fixes
Variable do_install value changed:
...
-DISTRO_FEATURES{ldconfig} = Set
+DISTRO_FEATURES{ldconfig} = Unset
(From OE-Core rev: e7af0204e6051489ef5646fbca2509a42e04bb72)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
s
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There have been rare errors during the build of adwaita-icon-theme, such as:
Exception: bb.process.ExecutionError: Execution of '.../temp/run.sysroot_stage_all.45186' failed with exit code 2:
cpio: ./icons/Adwaita/32x32/legacy/_inst.34160_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.33428_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.35421_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.34533_: Cannot stat: No such file or directory
cpio: ./icons/Adwaita/32x32/legacy/_inst.35366_: Cannot stat: No such file or directory
The problem was that a previous optimisation (oe-core cd9af17028) to massively
increase the install speed (by parallelling the hundreds of installs) was subtly
wrong. It was essentially doing this:
for i in list; do
install i &
done
wait
In pure shell this does parallelise the install commands and then wait for them
all to finish before exiting, but in Makefiles *each line in a separate shell*. The actual Makefile is closer to this:
for i in list; do \
install i & \
done
wait
The backslashes are required to write a multi-line for loop in a Makefile, but
note that when the loop ends the shell exits and all of the install processes
that are still running are disowned. The wait command then executes in a new
shell, and there are no childen to wait for.
The fix is trivial: add more backslashes so that the wait is part of the same
shell.
(From OE-Core rev: f969a8ff160390726565421d4c9b367e49172487)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tools/include/linux/bits.h was added in v4.20-rc1 with this commit:
commit ba4aa02b417f08a0bee5e7b8ed70cac788a7c854
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Tue Sep 25 10:55:59 2018 -0300
tools include: Adopt linux/bits.h
* also if you're building for such older kernel you will probably see
do_compile failing with:
| config/Makefile:448: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
| config/Makefile:495: Python 3 is not yet supported; please set
| config/Makefile:496: PYTHON and/or PYTHON_CONFIG appropriately.
easiest work around is to disable scripting PACKAGECONFIG, because
since oe-core commit:
commit 584af667e0000129bcb5c9e8108485f2f6590eaf
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Wed Aug 28 22:14:41 2019 -0400
perf: change dependencies on python to python3
The upstream kernel can now handle python3 for the perf scripts, coupled
with the impending EOL of python2, we switch the dependencies in perf
(scripting) to python3.
it now uses python3, but the support for that was added in kernel
v4.17-rc1 with:
commit 66dfdff03d196e51322c6a85c0d8db8bb2bdd655
Author: Jaroslav Skarvada <jskarvad@redhat.com>
Date: Fri Jan 19 21:56:41 2018 +0100
perf tools: Add Python 3 support
Added Python 3 support while keeping Python 2.7 compatibility.
if you really need scripting support than either backport the kernel
patch to your kernel or undo the perf recipe changes.
(From OE-Core rev: d6ee3d3bdf183a9060b5b0c25b97688a4b9d40dc)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add an empty line to inittab before the line(s) which start getty.
Also cleanup indent in recipe do_install().
(From OE-Core rev: d1955596080f8261efe3b21c5df005648ce207c9)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using devupstream class the SRCREV_FORMAT variable must be set.
(From OE-Core rev: 5d27db85d269f576929fd3c81f94e54d894cdf69)
Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To prevent issues with parsing or dependencies, limit this recipe to use
only when the libc is glibc (and libc-locale is glibc-locale).
(From OE-Core rev: 88849a0652f1a9cffd5c1b5caae2878b3a438273)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is currently no way to automatically load iptables rules in OE.
Add a systemd unit file to automatically load rules on network
connection. This is cribbed from the way ArchLinux handles iptables with
some minor modifications for OE.
New rules can be generated directly on the target using:
# iptables-save -f /etc/iptables/iptables.rules
Good documentation for writing rules offline is lacking, but the basics
are explained here:
https://unix.stackexchange.com/q/400163/49405
(From OE-Core rev: 76d3574d17c38d93ba4660bdae5730ac222994d4)
Signed-off-by: Jack Mitchell <jack@embed.me.uk>
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
commit 3613b2780a6b5d5d70ea6802be5060a8214cbdb5 from
git://github.com/renesas-rcar/meta-renesas
The renesas rcar SoC H3/M3 is big.LITTLE architecture(cortex-a57.cortex-a53).
In order to optimize the performance of the code running on SoC H3/M3,
add a tune file for ARM Cortex-A53-Cortex-A57.
Create this tune file by refering GCC doc, 3.18.5 ARM Options.
(From OE-Core rev: 7e0c9290a9971b92bcb313742f126ca7488d91c3)
Signed-off-by: Meng Li <Meng.Li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake ovmf lib32-ovmf
[snip]
ERROR: ovmf-edk2-stable201905-r0 do_deploy_setscene: The recipe ovmf is trying to install files into a shared area when those files already exist.
Those files and their manifest location are:
/buildarea1/lyang1/rebase-work/test_cc/tmp-glibc/deploy/images/qemux86-64/OvmfPkKek1.key
(matched in manifest-qemux86_64-lib32-ovmf.deploy)
[snip]
Add it NON_MULTILIB_RECIPES to fix the problem since it is a firmware, build
multilib for it doens't make much sense.
(From OE-Core rev: 5c685f55ccba9d47a79e8798903b30b90bdf03c6)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will allow not having to multiply these options for the sdl
frontend, instead combining them as needed.
(From OE-Core rev: 922eb5012364b1603338cfa617712b941e892bbf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On qemuarm64 systems, about half of the valgrind tests fail and
often result in defunct processes, eg:
root 819 818 25 00:12 pts/0 00:01:52 /usr/bin/valgrind --command-line-only=yes --memcheck:leak-check=no --tool=memcheck -q --track-origins=
root 861 420 0 00:13 pts/0 00:00:00 [sh] <defunct>
Eventually these processes use so much memory that the
out of memory killer runs.
Hide the tests that fail as a horrid work-around until the
root cause has been resolved since this at least allows the
ptest run to complete. This work-around is done in the run-ptest
script using a sorted list of tests so that they can be easily
restored one by one without a rebuild during testing.
With core-image-minimal on qemuarm64:
Recipe | Passed | Failed | Skipped | Time(s)
valgrind | 333 | 49 | 17 | 7637
(From OE-Core rev: 208023f8fcbf4aee34544a80f962ae25f25ffb8d)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make some changes to the run-ptest script:
- after main tests run integrity check like the pkg Makefile.
- aesthetic and ordering changes
Add the .in_place directory and its contents which allows valgrind
to be run in-place thereby enabling the gdbserver_tests to
complete rather than hang. Unfortunately directory paths embedded
in binaries still cause many of these test to fail.
Add the exp-sgcheck tests.
With core-image-minimal on qemux86-64/kvm:
Recipe | Passed | Failed | Skipped | Time(s)
before | 648 | 12 | 60 | 1541
after | 662 | 20 | 38 | 1429
ppc-no-gdbserv | 415 | 196 | 34 | 10689
Since fewer tests timeout, the overall time has decreased.
With core-image-sato on qemux86-64/kvm the results are now
the same as core-image-minimal.
qemuppc/arm64 runs result in the oom-killer eventually running since
some processes do not terminate properly and accumulate as defunct
processes in memory. Without the gdbserver_tests, the tests
complete without defunct process or the oom-killer running for
ppc but not for arm64.
(From OE-Core rev: 6dbaaeec17eae8329031188b688b33306a871870)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adjust two memcheck vgtest files to deal with relative paths
that are in test executables when cross-compiling.
Add libgomp to enable OpenMP tests.
Add the bz2 executable for memcheck/tests/vcpu_bz2.
(From OE-Core rev: f75792b28e39e4c393c0a00369d5417e3af75b36)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add valgrind's top level config.h to the ptest package since
it is used by several scripts to determine which tests to run.
Drop the removal of:
none/tests/shell,
the content was already moved to:
none/tests/scripts/shell
so the filter useless and the files no longer cause a problem.
Add a few more test directories that had been omitted.
Add perf/bigcode for test: none/tests/bigcode
Leave .c, .h, .S files in the ptest image since several of them are
needed to run the tests. The overhead is ~13 MB which is high but
keeping all test code is easier than figuring out which source files
are needed and the entire valgrind-ptest package is ~115 MB so in
this context it's an acceptable trade-off.
Add bash dependency for ptest for none/tests/scripts/shell
With core-image-minimal on qemux86-64/kvm:
Recipe | Passed | Failed | Skipped | Time(s)
before | 149 | 1 | 9 | 663
after | 648 | 12 | 60 | 1541
(From OE-Core rev: 083a5dd27d305ecd12214f2665460dbe06b96c2a)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
riscv64 already has gdbserver set as ALLOW_EMPTY, so let's set it for
riscv32 as well.
(From OE-Core rev: 21e748d620022a75c0c2d0ab4a763a5992e8f154)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gpg commit signing in ostree-native doesn't work properly when
running from sstate. The ostree-native is linked with gpgme-native's
libraries, which have calls into gpg.
Ultimately it turned out the problem was that gpgme calls gpgconf and
some of the other gnupg-native binaries directly. Not all the
binaries have a wrapper which sets the environment variable GNUPG_BIN.
Without this wrapper these binaries it gets the path assignment from
the original compilation which causes a fault when running from sstate
in a new tmp directory because these paths will not exist.
(From OE-Core rev: f93bf3bd051923618ce3949d5686fdb8cf998645)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a client side error "Stale file handle" when mounting from a
nfs server running on 32bit arch.
Steps to reproduce:
1. $ MACHINE=qemux86 bitbake core-image-sato
2. $ runqemu qemux86 kvm nographic qemuparams="-m 1024"
3. $ echo "/nfs_root *(insecure,rw,async,no_root_squash,no_subtree_check)" \
>> /etc/exports
$ /etc/init.d/nfsserver restart
root@qemux86:~# mount -t nfs 127.0.0.1:/nfs_root /mnt
mount: mounting 127.0.0.1:/nfs_root on /mnt failed: Stale file handle
Backport a patch to fix this issue.
(From OE-Core rev: 727e6ce1f904abf1a1059fde759c3aaea37de199)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-tzdata : upgrade from 2019b to 2019c.
-tzcode-native : upgrade from 2019b to 2019c.
-tzdata.bb and tzcode-native.bb require timezone.inc.
(From OE-Core rev: c5a382429d18642d35d40a4df6a58b971c724603)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some udev rules files such as 97-hid2hci.rules from bluez5, it calls
/sbin/udevadm in a rule. eudev provides /usr/bin/udevadm and
/sbin/udevadm which is a link to /usr/bin/udevadm. But systemd only
provides /bin/udevadm. It is not convenient to update the rule file that
udevadm reside in different directories for eudev and system.
So create link file ${base_sbindir}/udevadm in systemd just the same as
eudev to fix such kind of issues.
(From OE-Core rev: c8bf23349af4972a76cb4b13179dac844812d75f)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix do_compile failure for libn32. To reproduce, use the following config.
MACHINE = "qemumips64"
require conf/multilib.conf
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
The error message is as following.
numpy/core/include/numpy/npy_common.h:206:10: error: #error Unsupported size for type off_t
(From OE-Core rev: b659b6dcb6be203e8c7bc678c902d4a31ce9fe70)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the broken piece of the API documentation template so the documentation
can be generated again.
(From OE-Core rev: 25a0d1b0b14a4fcd41ca08084a2f22db54dec58e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NO_PROXY can also contain just suffixes that do not start with a "*". We
failed to match those so far. Just add an extra "*" to also match those
suffixes. If one was there we get "**" which does not hurt.
(From OE-Core rev: 12f0cc209aaba48f846c62663e0b9e5efd253d71)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit cbc148d5d9.
The quoting causes H to be one string with spaces, so looping over
multiple entries does not work anymore.
(From OE-Core rev: 0fdc12dac6244be135ea519fe9c39109e7cfc6d6)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The escaping, splitting and matching of NO_PROXY in oe-git-proxy
deserves its own testcase, add it.
(From OE-Core rev: c07134711f97c966d70aaf2798800214d5426005)
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use OEPTestResultTestCase to collect results and add logfile collection
and compression.
(From OE-Core rev: b75aced558013a459f29617b53cf477cb9b387ac)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the OEPTestResultTestCase class as a mix-in class to provide helper
functions for interacting with ptestresults within the extraresults
object generated by the test case.
This class also provides default compression of log text and log files.
Also add support to resulttool for decoding/decompressing log files
embedded in the test results.
(From OE-Core rev: 06cba9883a5964320969301fd05eeb6bec3e786d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Process binaries within the build directory before stashing to be
relocatable with ORIGIN relative rpaths. This corrects issues with
rpaths being invalid when trying to use the binaries from an unstashed
build directory (e.g. gcc-runtime).
(From OE-Core rev: 34d9f60a8c2e98fdacbb799af11ec015bc5700f4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Handle multiple results series having ptestresults content. The contents
are merged on a per-result basis where duplicates are ignored (with a
warning message printed). The 'ptestresults.sections' collection is also
merged on a per-suite basis.
(From OE-Core rev: 47edd51970ed0c33edbe04fd72abd1cfc6ecd3d1)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Supplemental to commit fb17b46e2. The libevent "regress" test
outputs its own pass/fail results, e.g.
"2/300 TESTS FAILED. (31 skipped)", which will be miscounted
as an extra test fail in the ptest log. Fixed this to ignore
the libevent results line when counting actual pass/fail
results.
Also removed the for loop in run-ptest and targeted only the
libevent "regress" test, as the other tests being run were
related to performance and did not provide a relevant pass/fail
output.
(From OE-Core rev: 86b8a1d534bfcd70775c6e2b59eabe10de29f526)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the break_hardlinks kwarg to break hardlinks when modifying files.
This uses the bb.utils.break_hardlinks function to break hardlinks. The
default is to maintain existing behaviour and leave hardlinks in place.
(From OE-Core rev: 7628f6bdb5704c018d83e284364994b72557eaa5)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the 'append' action of argparse instead of nargs. This changes the
behaviour of the option from "-t foo bar -r" to "-t foo -t bar -r".
Additionally rename the long form options to be consistent with
behaviour, such that they specifying a single tag at a time.
(From OE-Core rev: ffe9e4303fa9799d2e8af9188853a262e15af226)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nowadays bitbake applies overrides dynamically, not at a single
specific point in time during parsing.
(Bitbake rev: 218431b0f7c97764cb2c0b79a3aadfe2007f490b)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The effects of _append/_prepend/_remove are applied when a variable
is expanded, not after parsing has completed.
(Bitbake rev: f9b67433cb4fe5132ab2cf4a9c6bc078b42e1960)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When removed all it did was
inherit gnomebase gtk-icon-cache gconf mime
which would also be the most trivial replacement.
Most of the time not all of these classes were needed,
and it is recommended to use only the ones actually required.
(From yocto-docs rev: a0a3a8318a1488ad2fb00b29f1cf26a9d6701be2)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian 10 is a supported distribution now, so add it to the documentation.
(From yocto-docs rev: 77ff109cf7dbe1858e9959c4b9f1225d0a1c5e32)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bluez4 was removed even from meta-oe 2 years ago,
which made made the bluez5 feature for selecting between
bluez4 and bluez5 mandatory for using the bluetooth feature.
The backfilled bluez5 feature has been removed,
including the bluetooth class that helped recipes
for selecting between bluez4/bluez5.
Recipes can replace ${BLUEZ} with bluez5.
(From yocto-docs rev: 025e2b5797b987b0260d7410e2e6d7283f5a7e91)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This matches the other toolchain tests.
(From OE-Core rev: d41606244c170fd547496e5df9e3d28ce2d2af68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rework the glibc execution into a common base class. Additionally tag
the tests with "toolchain-user" and "toolchain-system".
(From OE-Core rev: 94bf24268108774e022ad247c647e48a781debbb)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the gcc selftest cases into multiple classes one for each test.
This is done in order to make it easy to execute multiple gcc tests in
parallel when using oe-selftest with the '-j' arg.
Additionally tag the user tests with "toolchain-user" and the system
emulation (qemu system) tests with "toolchain-system".
(From OE-Core rev: 7b2f03eff9fc9b4ce48d5ea7e54faa114a6cdcae)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the -t/-T args to be optional so that they can be used together
with the existing -r/-a/... args to run a more flexible filtering of
test tags.
(From OE-Core rev: 55ee27bb07113a45da18711b5509764f62be4d75)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to take advantage of multiprocess execution of tests the
extraresults must be passed through the TestResult. With changes to how
oeqa/core handles test cases the extraresults attribute of the testcase
is passed to the TestResult, with passing across process boundaries
handled automatically.
(From OE-Core rev: 6a1b0c2003a0b4a1983f9494440e6ea02dc25585)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Suffix the ptestresults suite with "-user" for tests that are executing
against usermode qemu.
(From OE-Core rev: 0becf9c1fabb080a2481ebdacef6221f52301621)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not fail the running selftest test case if the test suite has a
failed test case. Currently toolchain tests suites (binutils, gcc,
glibc) fail but this does not indicate failure to execute the tests.
Also remove the logging of each test that failed.
(From OE-Core rev: 073575ff9c06b2791cc2bd88063d815d2220f038)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running the system emulation test case, do not include python3 or
pexpect in the image. The test cases that use these also need gdb (with
python configured).
(From OE-Core rev: 7e5be0803ea0cbfd8e5b052e43b54e16ab3230ed)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a oeqa selftest test case to execute the glibc test suite and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.
An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GlibcSelfTestSystemEmulated test case
handles setup of the target image, setup of and NFS server as well as
execution with runqemu.
(From OE-Core rev: 730832ebcca305477e1c13248cd35eea095b35c6)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a oeqa selftest test case to execute the gcc test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.
An additional subclass is created to separate the execution with qemu
linux-user and qemu system. The GccSelfTestSystemEmulated test case
handles setup of the target image as well as execution with runqemu.
(From OE-Core rev: 2c86a25f8992243311e7fa1a8654b41f12b749de)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a oeqa selftest test case to execute the binutils test suites and
report the results. The results are populated into the extraresults
variable of the test case which are written to testresults.json for
resulttool to analyse.
(From OE-Core rev: e5629aa4bd939072208f6eb5b30a98e17eb6a8ae)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These test cases are run by the autobuilder on a machine specific basis.
Add tags to these classes so they can be controlled by the metadata rather
than hardcoded in the autobuilder config.
(From OE-Core rev: de0b761b550d591f301ee5e9c232e0d5bd1342f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the __oeqa_testtags attribute added by OETestTag and display no, one
or more tags separated by a comma. Also change the formatting of the
output so that the list of tests is formatted as "<test> (<tags>)" and
remove the table header for "id" (it is no longer available).
(From OE-Core rev: d62e577a4e1a5f6accbce9f7bff7317a1162d72d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add '--run-only-tags' for running tests which match any of the provided
tags, and '--run-exclude-tags' for running all tests except those that
have any of the provided tags.
(From OE-Core rev: 0dc3caf21c4519ef16c2ac99b93c03e23aab61d9)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rework OETestTag so that it does not rely on the existing decorator code
base and instead inserts the tags into an attribute on the decorated
target (e.g. class/type or method). This allows the use of OETestTag on
classes and method.
In order to filter tagged tests rework the loaders filtering code,
removing the generic-ness (with validation and attributes/etc.) and
replace it with a "tags_filter" parameter which is a function that
filters a test based on the tags it has. This allows the loader user to
filter on tags in more specific ways (e.g. include all untagged tests
and any tests tagged with foo). Plumb all this through the context code
and testing code.
Update the associated tests to pass correctly with the changes.
(From OE-Core rev: b8a4a4c2de68110d74607cb9807c9e741ca9441c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implement handling of extra result (e.g. ptestresult) collection with
the addition of a "extraresults" extraction function in OETestResult. In
order to be able to serialize and deserialize the extraresults data,
allow OETestResult add* calls to take a details kwarg. The subunit
module can handle cross-process transfer of binary data for the details
kwarg. With a TestResult proxy class to sit inbetween to encode and
decode to and from json.
(From OE-Core rev: b0831d43606415807af80e2aa1d0566d0b8c209c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Thanks to wildcards in bbappend filenames, it's possible to have
multiple bbappends that apply to the same recipe in the same directory.
In order to get sstate hits between different workspaces, we want to
apply those bbappend files in a consistent order. Since readdir()
returns files in a non-deterministic order between workspaces (based on
inode number and/or time of creation), we'll need to sort its result in
order to have any consistency.
(Bitbake rev: 94c0c7f15c7a6244a8576ed948ffc21afb96ba82)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.2 reference kernels replace the EOL 5.0 series. So we drop
the named recipes.
(From OE-Core rev: 868e84c57e6725591fa1e93f5ea0a308d49e13f1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libevent ptest used to report only a global pass or a fail result.
Count individual PASS, FAIL, SKIP results. The SKIP results now
include tests that are disabled in the libevent code.
libevent's ptest output did not comply with the automake-style output
"result: testname", and reported a FAIL status at the end of the test
run if any of the libevent tests failed. This patch makes the log
consistent with the automake style:
PASS: http/cancel_by_host_no_ns
PASS: http/cancel_inactive_server
PASS: http/cancel_by_host_no_ns_inactive_server
SKIPPED: http/cancel_by_host_server_timeout
SKIPPED: http/cancel_server_timeout
and provides a summary as follows:
=== Test Summary ===
TOTAL: 316
PASSED: 300
FAILED: 0
SKIPPED: 16
DURATION: 87
END: /usr/lib/libevent/ptest
(From OE-Core rev: fb17b46e202cc08277d3eeb34872067c73a6bfbc)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added perl to the run-time dependency of the recipe for diffutils since
it is required by the test "large-subpot".
The test "strip-trailing-cr" is skipped since it requires valgrind to
work, but valgrind is considered too heavy-weight for diffutils package.
(From OE-Core rev: 802c67c7c27011812d690c41347b38481cdab2e9)
Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is provided by runit which another init system like systemd,
sysvinit, this lets oeqa run on systems which are using runit
(From OE-Core rev: e4eb3ca113985ab2be123eb5b5ea76764761df88)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE file checksum changed because few contributors were mentioned
(see @edbdbbc50beced9c723e7405334583c60a702796).
(From OE-Core rev: 06eb03ad1c0357731496531b290a0a2fdfd10f48)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since TUNE_FEATURES now either contains a CPU or an architecture (but
not both) we can't rely on finding the architecture in TUNE_FEATURES.
Use architecture specific over-rides instead.
(From OE-Core rev: 805dd4807d322dc70cef97edd68fdb3142b60fb1)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix build with usrmerge enabled:
WARNING: iputils-s20190709-r0 do_package: iputils: alternative target (/usr/bin/ping or /usr/bin/ping.iputils) does not exist, skipping...
WARNING: iputils-s20190709-r0 do_package: iputils: NOT adding alternative provide /usr/bin/ping: /usr/bin/ping.iputils does not exist
ERROR: iputils-s20190709-r0 do_package: QA Issue: iputils: Files/directories were installed but not shipped in any package:
/bin/tftpd
/bin/tracepath
/bin/arping
/bin/clockdiff
/bin/ping
/bin/traceroute6
/sbin/rarpd
/sbin/ninfod
/sbin/rdisc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
iputils: 9 installed and not shipped files. [installed-vs-shipped]
WARNING: iputils-s20190709-r0 do_package: iputils: alt_link == alt_target: /usr/bin/ping == /usr/bin/ping
(From OE-Core rev: 4b2322e90f6a3a4d2c44145aa85b688f28edddaa)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update sysstat from 12.1.3 to 12.1.6.
* make sa_lib_dir refer to ${libexecdir}/sa to fix conflictions when
multilib is enabled
(From OE-Core rev: 8862f21eeb814c64b8b9e662b093ed39474cd55b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit multilib_script to fix file confliction when mutlilib enabled.
| Error: Transaction check error:
| file /usr/bin/texi2any conflicts between attempted installs of
lib32-texinfo-6.5-r0.core2_32 and texinfo-6.5-r0.core2_64
(From OE-Core rev: 08b6a12e674f7a202bb29fbb465997e8303ccb5d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Redefine CUPS_SERVERBIN to "$libexecdir/cups" for cups which solves file
confliction when multilib is enabled.
| Error: Transaction check error:
| file /lib/systemd/system/org.cups.cups-lpd@.service conflicts between
attempted installs of cups-2.2.11-r0.core2_64 and lib32-cups-2.2.11-r0.core2_32
(From OE-Core rev: 274bed042b9c2b50a8bdd11b42f1a62405fb5b11)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
packages can use
find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)
while we control PYTHON pointing to native py3 the libs and include
directories will then point to build host version, which can result in
unexpected combination and if we are lucky we get errors if its quite
different e.g. py2 libs/includes and py3 executable
This variable can be then used to export PYTHON_LIBRARY and
PYTHON_INCLUDE_DIR so that above find_packages can work correctly
see [1] for how it happens in cmake
LLDB uses it see [2]
[1] https://github.com/Kitware/CMake/blob/master/Modules/FindPythonLibs.cmake
[2] https://github.com/llvm/llvm-project/blob/master/lldb/cmake/modules/LLDBConfig.cmake#L226
(From OE-Core rev: e45c06fe6f9a21c2cd06ae003cb112556382f81e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The cgitb module in misc package requires pydoc. And the trace
module in misc package requires pickle.
(From OE-Core rev: f7f04c4436f414ab1e57e7fc93349ac77ecf37be)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
it is not proper change source in do_install, it will make
source not updated even local.conf have change the DISTRO_FEATURES
[YOCTO #13493]
(From OE-Core rev: c8b049f43931ac7581b6f57d03e4d1838d394e1f)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 6676411fccff2d331878e4ca1f9411aafb056a80.
This revert restores the original code and adds a comment. The commit
that was reverted broke a number of wic templates and tools which rely
on the initramfs creation dependency and the case where the
INITRAMFS_IMAGE_BUNDLE is not set.
If an end user does not want the INITRAMFS_IMAGE generated, it should
be set to "".
[ Issue: LIN1019-1791 ]
(From OE-Core rev: ab61a11623ac0a25ba1c98d686c79815abab573f)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-meson/0001-Fix-missing-return-statements-that-are-seen-with-Wer.patch
Removed since this is included in 0.51.2.
(From OE-Core rev: 62ea5c31be4a1a5eaba83f81d09b36553febb647)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Adjust patches to comply with weston-7.0.0.
- Also drop the obsolete patch 0001-make-error-portable.patch.
(From OE-Core rev: 1b0ce3ec1d3254afa2cf3ac7ecfd736124d711cc)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd has the ability to check the time on boot and if it's earlier than an
epoch determined at build time, set the time to that epoch. This is useful for
systems where the system time is January 1st 1970 (because the unix timestamp
was 0 at boot) as then at least the time is reset to something approximating the
right year at least.
By default systemd uses the mtime of the NEWS file, which is static for tarballs
and corresponds to the time the release was made, but for git checkouts this is
simply the time do_unpack() was executed. Thus, rebuilding systemd will cause
this embedded timestamp to change.
Remove the PACKAGECONFIG time-epoch which has the logic reversed: enabling
time-epoch will set the epoch to the unix timestamp 0). Replace with
set-time-epoch with the following semantics:
- When disabled, the time epoch is set to 0 (1st January 1970), so there is no
time manipulation on boot.
- When enabled, if reproducible builds are configured by setting
SOURCE_DATE_EPOCH then that timestamp is used for the time epoch. If
reproducible builds are not configured then the timestamp of NEWS (thus the
build time) is used.
The set-time-epoch flag is enabled by default.
[ YOCTO #13473 ]
(From OE-Core rev: 29afbd4f02354de7103ee3a88f4ce5336b95b88a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an argument to the log subcommand to extract the raw logs from the
reproducible selftest.
To prevent ambiguity, the "--raw" argument has been renamed
"--raw-ptest", although the old "--raw" argument is kept around for
compatibility.
[YOCTO #13324]
(From OE-Core rev: 7a4ebb361ff1efc22e7dafadfa60c98bc8a79ed4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
PRIVATE_LIBS is used to exclude 'private' libraries from getting added to
automatic runtime dependency resolution. This variable currently has to list
all libraries by name, which becomes a maintenance issue if the list
of such libraries frequently changes, or is very large.
This change allows using shell-style wildcards in the variable, similar
to how FILES lists what gets packaged.
(From OE-Core rev: 732db32714c208d8eeeb90308926dc886ef7b791)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-License-Update:
-file://GPL : Updated mailing address.
-file://libfdt/libfdt.h : Removed part of the copyright description of this file.
(From OE-Core rev: ada36d3e39aba9afec2d5438a80f0b35610ce15d)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a (disabled) PACKAGECONFIG for Graphite2.
Update the license checksum for hb-ucd.cc, which for some reason was
checksumming the entire file and not just the license header.
(From OE-Core rev: 6e097c853f17ec76b61440bb868371ddf6a8e977)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches improve CVE fixes but trip up patch status sanity checks, so add
CVE tags to them.
(From OE-Core rev: b30e060639d99849e27e5136c33c52d27e3288dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When PACKAGECONFIG libcurl is enabled, we would get the following build failure.
ERROR: Nothing PROVIDES 'libcurl' (but perf.bb DEPENDS on or otherwise requires it). Close matches:
The dependency should be curl.
(From OE-Core rev: 531bf25c4e9dda4938f1de6bf7f929ca9d639114)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When PACKAGECONFIG libgcrypt is enabled, we would get the following error.
ERROR: /usr/bin/libgcrypt-config should not be used, use an alternative such as pkg-config
In oe-core, libgcrypt has been turned to be configured with pkg-config instead
of libgcrypt-config, but qemu configure script does not contain pkg-config
related part for libgcrypt to handle it.
(From OE-Core rev: 37bec7c4ea3ebd17366fbd2ec719de401ec36275)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Removed the following patches which are already merged by upstream:
0001-Add-support-for-deb-and-ipk-packaging.patch
Rename-rpm-check.sh-to-pkg-diff.sh.patch
functions.sh-improve-deb-and-ipk-checking.patch
functions.sh-remove-space-at-head.patch
functions.sh-run-rpm-once-to-make-it-faster.patch
pkg-diff.sh-check-for-fifo-named-pipe.patch
pkg-diff.sh-check_single_file-return-at-once-when-sa.patch
pkg-diff.sh-remove-space-in-the-end-for-ftype.patch
* Rebased Ignore-DWARF-sections.patch
This version is very outstanding when compare binary packages, e.g.:
PRSERV_HOST = "localhost:0"
INHERIT += "packagefeed-stability"
PACKAGE_CLASSES = "package_ipk
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_1
Add a "bbnote 'hello'" to autotools.bbclass' autotools_do_configure.
* BEFORE the upgrading, the result is:
$ diff /tmp/ipk_1 /tmp/ipk_2 -Nur | diffstat
ipk_2 | 1570 +++++++++++++++++++++++++++++++++---------------------------------
1 file changed, 785 insertions(+), 785 deletions(-)
* AFTER the upgrading, the result is:
$ bitbake opkg
$ find tmp/deploy/ipk >/tmp/ipk_2
$ diff /tmp/ipk_1 /tmp/ipk_2 -Nur
No output
And if we really modifed a recipe such as opkg, then it would show that it is
changed.
For a full world build AFTER the upgrading:
$ diff /tmp/ipk_6 /tmp/ipk_7 -Nur | diffstat
ipk_7 | 2090 +++++++++++++++++++++++++++++++++---------------------------------
1 file changed, 1045 insertions(+), 1045 deletions(-)
There are 10968 packages in totall, 1045 ones have been changed, so we can still
improve it in the future.
(From OE-Core rev: 4c77fdfc0b3b31105a4dfd1a4634f8464b52d933)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
warrior only had one gcc so lets be consistent.
This will also reduce our maintenance overhead and we don't build this either
(From OE-Core rev: fa4ecadd980eff95eacd840ba0259f6272daa9aa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several of our patches were merged upstream just beyond our current version.
Update to that version and drop them.
(From OE-Core rev: 815a956f7bf4de031b7764f27f3eac005a15b5ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not attempt to archive recipes which have no packaging tasks (e.g.
inherits nopackages).
(From OE-Core rev: 8618425e3f5a095a4fd409029c46e770c9526eee)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure glibc-testsuite has the same flags as glibc.
(From OE-Core rev: f8ab08441f90eb75295304c57746c6e5f907ca64)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 'process_multilib_options' function of dejagnu also populates the
'multilib_flags' content from the '--target_board=' arguments. The
'ssh.exp' generated is missing this call ('user.exp' includes it).
(From OE-Core rev: 4d3d7cac012a1f53c61a997615a761a7f25dd33f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These recipes don't need to generate packages but did contain the packaging tasks which
would be triggered by a world build. They showed warnings or errors. Simplest fix
is to remove the unneeded tasks with the nopackages class.
Also don't attempt stash_locales task
(From OE-Core rev: a34420e1bdb9a695fe7abd3b26426d7ae6113349)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recipe needs to be created for the test suite due to the dependency
chain between libgcc -> glibc -> libgcc-initial, and the requirements of
the test suite to have libgcc for compilation and execution.
The glibc test suite does not use dejagnu like the gcc test suites do.
Instead a test wrapper script is used along with the assumed dependency
of having the same filesystem available on build host and target. For
qemu linux-user the same filesystem is inherently available, for remote
targets NFS is used. Separate test wrapper scripts are created for qemu
linux-user or ssh targets, with the same TOOLCHAIN_TEST_* variables used for
configuration.
(From OE-Core rev: 6c4d581c35ebd51c4b080ac38175d93f0480f97d)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a do_check task to implement execution of the gcc component test
suites. The component test suites require execution of compiled programs
on the target.
The implementation provided allows for execution testing against a host
via SSH or within the local build environment using qemu linux-user
execution. The selection of execution is done via the
TOOLCHAIN_TEST_TARGET variable, and configuration of the remote host is
done with the TOOLCHAIN_TEST_HOST, TOOLCHAIN_TEST_HOST_USER and
TOOLCHAIN_TEST_HOST_PORT variables.
By default the do_check task will execute all check targets, this can be
changed by setting MAKE_CHECK_TARGETS to the desired test suite target
(e.g. check-gcc or check-target-libatomic).
(From OE-Core rev: 9d5d680baa91b34dc97641f98856a51d1bb060c1)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create the do_check task in a new recipe 'binutils-cross-testsuite'.
This recipe is built within a target recipe (not -cross) to ensure
correct testing against target specific libraries/etc. The do_check task
is used to execute the binutils test suite for the cross target
binutils. By default this executes tests for binutils, gas and ld. This
can however be changed by setting CHECK_TARGETS to the desired test
suite target (e.g. 'gas').
The binutils test suites do not require any target execution, as such
the check task can be run without QEMU or a target device. However
since the binutils tests do rely on a C compiler there is dependence on
both gcc and libc in order to run the tests.
(From OE-Core rev: 1fb98bfdccb82474176fe8fca616aea84475942e)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The binutils and gcc test suites use dejagnu for execution. Copy the
dejagnu recipe from meta-oe, and update it to 1.6.2.
(From OE-Core rev: 72692268b0c578450b568cfc2527098673c1dbe0)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Preserves the SSTATE_MIRROR variable for the first build in the
reproducible test. This patch is intended to test the theory that using
the Yocto autobuilder sstate mirror will still be reproducible. The
autobuilder always does clean builds and never rebuilds recipes that
were built previously, thus building with the mirror but not
sharing tmpdir and sstate with previous builds should be reproducible.
There is no guarantee that all sstate caches are populated from clean
builds so this patch cannot be submitted to master, and I'm not
bothering sending it to the mailing list.
(From OE-Core rev: 6b8e0077339a89cb01aa40c1b367a4e41a638892)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Corrected the requirements for the KERNEL_DEVCIETREE
variable example.
(From yocto-docs rev: 0502910c81f4d669457155ed5f52d5fa775d8d6d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This section needed the wording updated.
(From yocto-docs rev: dd9e09273e9e5d5b6b43bf508f50d4d57e0dc569)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Gtk is disabled by default as SDL is somewhat quicker to build.
(From meta-yocto rev: d48f63bba98c94171db5da826c35c50ff638d2fb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc's makefile can move files, replacing with the contents "timestamp". This
corrupts the headers and breaks things like the gcc testsuite.
Add in a fix to ensure the headers are not corrupted through their hardlink copies.
(From OE-Core rev: 7e75ed5aec86b94fe7fadbed606619f84a2e58e7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Systemtap has issues with the 5.2 kernel which are fixed in master, we helped
debug and submitted some of the patches. Update to a git version which includes
all the fixes.
(From OE-Core rev: 7054ec111c7a011adb8a39b3a70292b29470e2aa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemumips doesn't appear to work well with 512MB of RAM and randomly hangs. As
the bump to 512MB was primarily motivated by the memory needs of virtualised GL
which doesn't work in qemumips currently, drop the memory back to 256MB for
qemumips.
(From OE-Core rev: 499a31cf06c934b40b5866d5eb77c9ad20c9a15f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Similar to bitbake, implement a 'keepalive' output to the console to
ensure CI systems do not kill the process. The default timeout for
bitbake is 5000s.
(From OE-Core rev: 77939cca96fa5467c88eafa3ac0db2db4aef09d6)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating some 5.2 configuration changes (for new board supprt), and
the following fix:
kallsyms: Don't let kallsyms_lookup_size_offset() fail on retrieving the first symbol
With this fix, we no longer see:
[ 0.032677] kprobes: failed to populate blacklist: -22
during boot on arm/mips
(From OE-Core rev: 2dc78e805d80bdba8710a6a417fc139e884b9ea9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These two tests relied on the context containing the results information.
This was moved into the OETestResults class.
(From OE-Core rev: ddad00bfec3b10b5a15a2a8eb57612bb5968f51f)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At some point the modules in tests/cases/loader/invalid/ were removed,
this test relied on having tests/cases/loader/invalid/oetag.py to
trigger a ImportError in the loader module. Skip this test.
(From OE-Core rev: cf79aa6383e2a2773e53d5b3082154777646cda4)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Correct the 'staging_processfixme' call so that target sysroot and
native sysroot paths are corrected when extracting the stashed build
directory. This is required for 'make check' to work correctly due paths
used in configuration and scripts which point at the native sysroot.
(From OE-Core rev: 2c47ffb65ec16af50112f9c388dc85439c069848)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the path to nologin as with sulogin etc so we don't try to execute binaries
from the build path on the target (as the build finds a nologin in the sysroot
at build time).
(From OE-Core rev: 15d57de00a5c2763cc9ddb71d3e6b52a57f3fcd1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`import numpy.distutils' gives people the following error.
ModuleNotFoundError: No module named 'multiprocessing'
Fix it by adding multiprocessing dependency.
(From OE-Core rev: 08198d658b3617ba5e124f82540eba5e41fdad6c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`import testtools' will give people error for lacking of
doctest module. Add it to RDEPENDS to solve the issue.
(From OE-Core rev: eecde5b90fd8b0315e5f3540b861265fabaf1e73)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch originally came from oe-classic in 2010 with the comment "fix pc file
so that it actually links to the support libraries". If an application wants to
link to the support libraries then it should be using the relevant .pc files to
do so.
oe-core builds successfully with this patch removed and other distributions
don't carry it, so drop the patch.
(From OE-Core rev: f4a544f46e2a58e64e90d92855d1d85966eefa10)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the musl workaround, as upstream has solved this correctly now.
(From OE-Core rev: 6f777c872064cada250043da60d24295153642b6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This dates from when upstream was for some reason refusing the wget user agent,
but this isn't the case anymore:
$ wget http://www.thrysoee.dk/editline/libedit-20190324-3.1.tar.gz
...
HTTP request sent, awaiting response... 200 OK
Length: 521999 (510K) [application/x-gzip]
Saving to: ‘libedit-20190324-3.1.tar.gz’
2019-09-03 11:53:20 (1.22 MB/s) - ‘libedit-20190324-3.1.tar.gz’ saved [521999/521999]
(From OE-Core rev: 491aff847714464f1edf79968d3684e07764636a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current devtool test for the building of an out-of-tree kernel
module uses something which requires several "high order" kconfigs to
be set. This results in the test failing, not for expected reasons,
but rather because it depends on specific kernel configuration.
You will get error messages such as
ERROR: "video_ioctl2"
[.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-driver/v4l2loopback.ko]
undefined!
ERROR: "video_unregister_device"
[.../1.0-r5/testsdkext/workspace/sources/v4l2loopback-driver/v4l2loopback.ko]
undefined!
Using a simpler hello-world kernel module example will only require
that CONFIG_MODULE is enabled, thus avoiding a false positive.
(From OE-Core rev: 48ad9cffa5f9412a8225c61be7e3528e2bdad095)
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* noticed on read-only sshfs premirror
* it was showing the warning about renaming the file:
WARNING: laser-geometry-1.6.4-r0 do_fetch: Renaming /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz to /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441
and then failed because of movefile() issue with python3 (fixed in previous commit):
ERROR: laser-geometry-1.6.4-r0 do_fetch: Error executing a python function in exec_python_func() autogenerated:
with movefile() fixed, it let do_fetch continue and re-fetch locally with the right
checksum, but still the renamed file didn't exist, because of movefile failure - add
another warning when the movefile fails - for whatever reason - unfortunately movefile
prints error messages with just print() so the real error is hidden only in log.do_fetch
in this case:
movefile: Failed to move /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz to /jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441 [Errno 30] Read-only file system: '/jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz' -> '/jenkins/mjansa/sshfs/webos-ose-thud/downloads/laser_geometry-1.6.4.tar.gz_bad-checksum_1ee7479b8c5914b4ffae996945121441'
(Bitbake rev: 9a1bf4ba9ec00c2a222d820f8f83d1f056b021d6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Last commit upstream was in Sep 2014; pull requests have been ignored since.
I believe eglinfo from mesa-demos is an adequate and maintained alternative.
Also this recipe was using an ugly waf blob placed directly into oe-core, which
was also dependent on python 2.
(From OE-Core rev: aa36510ebea93c1f6f327152e5aa63beccad0275)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows us to generate a rootFS with a large filesystem for use with
QEMU.
(From OE-Core rev: e06439200e44999c1e2f88d7d6c651da13698ca7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Let the patch trigger based on target triplet instead of passing via
configure, this lets gcc compile for 64bit otherwise it ends up with
libgcc build errors
error: unable to emulate 'TF'
(From OE-Core rev: 2259bf5366a9ff654dfaf15baa5df2d943383ce6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when compiling for ppc64, build emits additional
STANDARD_STARTFILE_PREFIX_1 and STANDARD_STARTFILE_PREFIX_2 into
gcc/defaults.h which is not conditional because it really want to
override others with this new value, but it ends up with two definitions
since it gets emitted _after_ the definition this patch moves to
default.h and ends up in duplicate defines.
(From OE-Core rev: 2ad649ee9027011ae7bf6fd95417237b86e394e5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default riscv is little-endian moreover most of other arches define
bigendian as tune and treats absense as litteendian, this make risc-v
fall in line
(From OE-Core rev: cd6f377591a7bd7b3c61ce580f997aaeffab3df3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in defining LE tunes and at the same time specifies
endianness on compiler cmdline clearly, clang e.g. defaults to
little-endian always, so unless specified with -mbig-endian won't
compile the code right
(From OE-Core rev: e0fd699d398f0e88fb208970dea7b74e6e9431fe)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed to enable virgl support in qemu with SDL frontend
(From OE-Core rev: 92d9f9a6f6f3e8630fadeee5921126dfd9be147a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
native/nativesdk libepoxy and libsdl2 require this to be set, when they
have the respective opengl features enabled.
(From OE-Core rev: 83432f576731a614385c1c6bae6a0cec5d25c59b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When connman installed to image, /etc/resolv.conf is link to
/etc/resolv-conf.connman. So launch avahi-daemon after connman too
just same as after systemd-resolved.service.
(From OE-Core rev: b4673b5befa339b2ffc3c274b105ab96d730ea2d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| In file included from ../git/lib/alg-des.c:66:
| ../git/lib/alg-des.c: In function '_crypt_des_set_key':
| ../git/lib/byteorder.h:24:1: error: inlining failed in call to 'be32_to_cpu': call is unlikely and code size would grow [-Werror=inline]
| be32_to_cpu (const unsigned char *buf)
| ^~~~~~~~~~~
| ../git/lib/alg-des.c:81:13: note: called from here
| rawkey1 = be32_to_cpu (&key[4]);
| ^~~~~~~~~~~~~~~~~~~~~
(From OE-Core rev: 5d4720dfc8ec29ff3f487f84c5c874678ba20851)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some BSPs use a USB serial port which may or may not actually be
plugged all the time. It is quite useful to have a USB serial port
have a getty running but it does not make sense to wait for it for 90
seconds before completing the system startup if it might never get
plugged in. The typical example is that a USB serial device might
only need to be plugged in when debugging, upgrading, or initially
configuring a device.
This change is somewhat subtle. Systemd uses the "BindsTo" directive
to ensure existence of the device in order to start the service as
well as to terminate the service if the device goes away. The "After"
directive makes that same relationship stronger. When used together
this has the undesired side effect that systemd will wait until its
internal time out value of 90 seconds for the device to come on line
before executing a fail operation or letting other tasks and groups
continue. This is certainly the kind of behavior we want for a disk,
but not for serial ports in general.
The "BindsTo" directive is replaced by the combination of the "PartOf"
and the "ConditionPathExists" directives. The "After" directive is
unchanged because that will wait for the udev rules to process. The
"PartOf" directive will issue a stop to the getty service if the
device goes away, similar to the "BindsTo" directive. The
"ConditionPathExists" is what allows the service to fail fast vs
waiting for the timeout. When a USB device is not plugged in at boot
you would find a message in the system journal like:
systemd[1]: Condition check resulted in Serial Getty on \
ttyUSB0 being skipped.
If you want to observe the problem with qemu, it is easy to replicate.
Simply add the following line to your local.conf for a x86-64 qemu
build.
SERIAL_CONSOLES="115200;ttyS0 115200;ttyUSB0"
Login right after the system boots and observe:
root@qemux86-64:~# systemctl list-jobs |cat
JOB UNIT TYPE STATE
1 multi-user.target start waiting
69 serial-getty@ttyUSB0.service start waiting
64 getty.target start waiting
71 dev-ttyUSB0.device start running
62 systemd-update-utmp-runlevel.service start waiting
5 jobs listed.
You can see above that the dev-ttyUSB0.device will block for 1min 30
seconds. While that might not be a problem for this reference build.
It is certainly a problem for images that have software watchdogs that
verify the system booted up all the way to systemd completion in less
than 90 seconds.
This other nice effect of this change is that the fast fail device
extend to additional serial ports that may not exist on ARM BSPs or
that might be configured in or out by the dtb files on different
boards.
(From OE-Core rev: f0f359ec9210759f6b4dbfb35d3fba8af208c43a)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When extracting the sources for a recipe that has S == WORKDIR and no
local files in the SRC_URI (which, e.g., can happen for a recipe with
a URI that has the unpack=false attribute), the extraction fails with
the following backtrace:
Traceback (most recent call last):
File ".../scripts/devtool", line 344, in <module>
ret = main()
File ".../scripts/devtool", line 331, in main
ret = args.func(args, config, basepath, workspace)
File ".../poky/scripts/lib/devtool/standard.py", line 762, in
modify
initial_rev, _ = _extract_source(srctree, args.keep_temp,
args.branch, False, config, basepath, workspace,
args.fixed_setup, rd, tinfoil, no_overrides=args.no_overrides)
File ".../poky/scripts/lib/devtool/standard.py", line 647, in
_extract_source
bb.process.run('git %s commit -a -m "Committing local file
symlinks\n\n%s"' % (' '.join(useroptions),
oe.patch.GitApplyTree.ignore_commit_prefix), cwd=srctree)
File ".../poky/bitbake/lib/bb/process.py", line 178, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -a -m
"Committing local file symlinks
%% ignore"' failed with exit code 1:
On branch devtool
nothing to commit, working tree clean
This is because no files were found in the oe-local-files directory
and consequently no symbolic links were added using `git add`, but the
`git commit` command was still executed.
(From OE-Core rev: 3fdf304e72a1fb5de8bf9bc21e5b598fefb08648)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: copyright years updated.
Drop the backport patch.
(From OE-Core rev: 88fb1140f4b65ed33cdd4152ef506461a33371a5)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The debug output showed the wrong variable.
(From OE-Core rev: 9b404c24ddc6212576b78c9fc56c57baa0fb3745)
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support to enable the Panfrost Gallium driver in PACKAGECONFIG
(From OE-Core rev: 1685af76eb5d504e085a6e15fb16b902b89d857b)
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also allows building virglrenderer without python 2.x
(From OE-Core rev: ac1eab26a422136ab12733856de61ce46ca1cdea)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As there is no version newer than 3.3-rc0 yet, an exception
from the check is needed.
(From OE-Core rev: 5850d42187de00db4b0c01ba97fe41aaec3f6613)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the new recipe matching the tarbal version, there is
no need for an exception from the check.
(From OE-Core rev: 382bd74e69b7824deb5bb08f8559d22bce272bac)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts that update my SRCREVs were missing the qemuriscv64. This
SRCREV bump moves it to match the rest of the 5.2 qemu BSPs.
(From OE-Core rev: f6c1b338778e9cb692bd9edf65214f7c355ed6be)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introducing the 5.2 linux-yocto reference kernels. 5.0 is EOL and will
be removed, leaving 4.19 (LTS) and 5.2 as the reference kernels.
This has been build/boot tested on all qemu architectures for
core-image-kernel-dev, and graphics tesed via core-image-sato. No
blocking issues have been found.
(From OE-Core rev: 14472621e4a0d3d3cf4c0bc43a8b7344c10008e3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We drop the patch 0001-arm64-sve-uapi-asm-ptrace.h-should-not-depend-on-uap.patch
since it was a backport and is already part of the 5.2 headers
(From OE-Core rev: c436abca9832f1aa93f30c8d6ff36471d7bc4ca9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had interesting failures where building gcc-cross-powerpc with 5.0 kernel
headers, then building eudev after moving to 5.2 headers failed.
gcc-cross doesn't rebuild when linux-libc-headers changes due to its
listing in SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. This shouldn't matter but
fixincludes as adding asm-generic/socket.h to its filtered list which
was then replacing the real header with an older version. This mismatch
lead to build failures.
We trust the Linux kernel headers to be ANSI safe so lets just clear out
any headers and trust the originals to be correct.
(From OE-Core rev: f0fcaa88b7b2977c2cb35b060747442ee9ff3dcd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
FAIL: test_wget_latest_versionstring (bb.tests.fetch.FetchLatestVersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/tests/fetch.py", line 1229, in test_wget_latest_versionstring
self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
AssertionError: '' is not true : Could not find upstream version for db
[YOCTO #13496]
The Oracle UPSTREAM_CHECK_URI used changed and does not work with logic in wget.
Update UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to match the ones used in the
recipe. Also change the version being checked.
(Bitbake rev: 4cf5bb761c561ddea86f2875be35d05abc8486e1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's become more commone for files to be named "readme" or "Readme" on github servers
in recent time. So adjust the scanning to allow any mix of case.
(From OE-Core rev: afe46eca15b6ddfa15c75cb7b707d6dd9aae3eae)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the PACKAGECONFIG item, python3, is enabled, we get the following
QA issue when multilib is enabled.
ERROR: bind-9.11.5-P4-r0 do_package: QA Issue: bind: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/python3.7
/usr/lib/python3.7/site-packages
/usr/lib/python3.7/site-packages/isc-2.0-py3.7.egg-info
/usr/lib/python3.7/site-packages/isc
/usr/lib/python3.7/site-packages/isc/policy.py
[snip]
The thing is, when --with-python is specified with a path instead of 'yes',
the --with-python-install-dir is in fact ignored.
Fix this issue by specifying the correct arguments.
(From OE-Core rev: 2c36b3e5c7caae07ffe0cfb816d37fad52d69fc9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to include a few more small files for on target module
builds for 5.3+ kernels.
(From OE-Core rev: 9b3134995cf054679d573f28f916a629332ce126)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the 5.3+ perf builds, there are multiple unistd.h files that need
to be kept in sync. So not only do we update one, we update both to
ensure that libc-headers and the perf build are in sync.
perf checks some key files itself to be sure they are in sync, and
bits.h can be out of sync. There's no build error that results with
bits.h at the moment, but we still make sure they are in sync to
avoid the configure/compile warning.
(From OE-Core rev: b850ee597e7116cc2a7546853f2b976c891196ef)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upstream kernel can now handle python3 for the perf scripts, coupled
with the impending EOL of python2, we switch the dependencies in perf
(scripting) to python3.
Outside of dependency changes, we also pass the following two variables
to the perf build: PYTHON=python3 PYTHON_CONFIG=python3-config. To
ensure that our python3 components are used.
For configurations that disable perf scripting, there is no change in
behaviour.
[YOCTO #13358]
(From OE-Core rev: 584af667e0000129bcb5c9e8108485f2f6590eaf)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Witht the approaching EOL of python2, the kernel packages need to
be updated to depend on python3.
The core kernel scripts are now python3 safe, making the RDEPENDS
change relatively simple.
but
There are some scripts that are captured in the devsrc files that
are not used, but reference /usr/bin/python. The python3 package
does not provide /usr/bin/python so any package managers with
automatic dependency detection will fail to assemble a rootfs due
to the missing intepreter.
We could drop the scripts from the source capture, but that
risks dropping something that we need in certain operations and
we'd miss when they are updated in tree to explicitly call python3
(since they won't be revisited often). Light testing shows that the
scripts do run with python3, so rather than removing them, we change
the interpreter once they are copied, and automatic dependency
detection won't cause us rootfs assembly issues.
(From OE-Core rev: 6745088b6c9e5c70df59d667347ede470df9a91d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following upstream commit to fix the build against
kernel 5.2+ headers:
[
Subject: [PATCH] tools: Fix build after y2038 changes in glibc
The 32-bit SIOCGSTAMP has been deprecated. Use the deprecated name
to fix the build.
]
Upstream-Status: backport commit f36f71f60b1e68c0f12e615b9b128d089ec3dd19
(From OE-Core rev: b4731a1202cfa45c7e1f635552398b89a37f2eeb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perform two clean builds without sstate instead of one partial rebuild
with sstate and one clean build without. There are some classes of
reproducibility issues that this solves, and while we would like to
resolve them in the long term the direction to do so is not currently
clear.
(From OE-Core rev: e97c529bfa4e1d0038ea44f15ee3298003daf981)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Records the results of the reproducibility analysis in the JSON test
results file. This makes it easier to do post-test analysis on the
packages.
[YOCTO #13324]
(From OE-Core rev: 6c357c8eee322163da96df676a54ff70a0bdc911)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some commands like to look for libraries at runtime manually (e.g.
Python's ctype.utils.find_library() function). For this to work
properly, the libraries in the native sysroot must be findable. To
accomplish this, set LD_LIBRARY_PATH to search library paths in the
native sysroot.
(From OE-Core rev: 3a7305bdfded3c8988484c3f430110cc121123b5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Runs each package class reproducibility test in a separate sub-test.
This allows the other sub tests to still run in the event that one
fails.
(From OE-Core rev: f0095e6c1b915e1e6ded111f4bf77fff0362e29a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleans up the output from the reproducible build before building to
ensure consistent results. Note that the output put is purposely left
after around after the build so that non-reproducible packages can be
diffed.
(From OE-Core rev: f67bb34c8e7950779920b696f8502dbaed9eded5)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the following error.
safe_file_ops.c:219: BROK: Expected 3 conversions got 2 at meltdown.c:272
(From OE-Core rev: 372a211657bfddd7f32f30043ec06198f8c27101)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Remove 0001-Do-not-pass-null-pointer-to-freeaddrinfo.patch, the new api
can check the pointer before free it.
- Rmove 0001-makefile.am-update-the-path-of-libnfs.a.patch, it is already in
the source.
- Rmove nfs-utils-musl-limits.patch, it is already fixed.
- Rebased the following patches:
0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch
0001-configure.ac-Do-not-fatalize-Wmissing-prototypes.patch
bugfix-adjust-statd-service-name.patch
nfs-utils-musl-res_querydomain.patch
(From OE-Core rev: 5601523e16ebd35d7de8d22ec5590618ea9f7ffb)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was found to crash the X server on startup under qemu.
(From OE-Core rev: 045011ed29c0ab45892ad0881a4a8987f2adc977)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a discussion about what amount of RAM is appropriate for a
default; the outcome was that for now it is still 256M. Some qemu machine
definitions have however set this to 512M so for the sake of
treating all architectures fairly, they are reset back to 256M.
Also runqemu is adjusted to use 256M if QB_MEM is not set at all.
http://lists.openembedded.org/pipermail/openembedded-core/2019-August/285900.html
(From OE-Core rev: 04c01b6cc5be3e6d45d0e04571640648a5655a8b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is perhaps not the most elegant patch but it be dropped
once rpm is updated to the soon-to-be-released version 4.15
where upstream has removed mono dependency resolution altogether.
(From OE-Core rev: c829e89f99c973787f31422b4c32eeebe8c383d3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This command was dependent on the order of files on the disk and for multilib builds
could result in:
Error: Transaction check error:
file /etc/ca-certificates.conf conflicts between attempted installs of ca-certificates-20190110-r0.core2_32 and lib64-ca-certificates-20190110-r0.x86_64
Sorting the file makes things deterministic.
(From OE-Core rev: c8f329fc562c9eecdcc1cb10d2c7661f44110fb4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LSB has been removed, replace poky-lsb with poky-altcfg, a place
where we can test different configurations on the autobuilder as well
as showing an example of how to subclass a distro configuration.
(From meta-yocto rev: 00fdefff55717331a220fe624f29c387970d31d7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LSB as a standard isn't current and isn't well suited to embedded
anyway. Its putting artifical constraints on the system and with modern
layer technology, would now be better off as its own layer. As such
its time to split it out.
(From meta-yocto rev: 8bb0237a74c2b66d0d0f19e600a5fb39df67894f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LSB as a standard isn't current and isn't well suited to embedded
anyway. Its putting artifical constraints on the system and with modern
layer technology, would now be better off as its own layer. As such
its time to split it out.
The only part with some (marginal) usage is lsb_release,
which is split from the lsb package into an own lsb-release
package.
(From OE-Core rev: fb064356af615d67d85b65942103bf943d84d290)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The information of recipe-depends.dot is misleading.
e.g.
$ grep xz recipe-depends.dot | grep bzip2
"bzip2" -> "xz"
"xz" -> "bzip2"
Users would wonder why they get some circular dependency.
The information is derived from removing the task names
of task-depends.dot. It's not giving people any additonal
information, and it's misleading.
So we remove the generation of this file.
(Bitbake rev: 4c484cc01e3eee7ab2ab0359fd680b4dbd31dc30)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifying the force flag will now cause runall and runonly to
invalidate the tasks before running them. This allows a --runall or
--runonly to force the tasks to run, even if they would have otherwise
been skipped, e.g.:
bitbake -f --runall fetch
Will run all do_fetch tasks even if they wouldn't be necessary (for
example, skipped by setscene)
(Bitbake rev: 71e52d3822016027106f2a2e74b8dfdf20f5dc1e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add additional result types into the dictionary to handle dejagnu style
test results. These include PASS, FAIL, XPASS, XFAIL, UNSUPPORTED,
UNTESTED, UNRESOLVED and ERROR.
(From OE-Core rev: 684fc36402a23760b203f4761f284043031c799c)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a nfs module into oeqa utils. This module provides unfs_server which
allows a test case to build unfs3-native and setup the unfs server on a
target directory of the host. This directory is then shared and can be
mounted by the host or a target device attached to the host (e.g. qemu
via tap or slirp). The nfs server is setup over UDP and automatically
assigns user privileged ports. The function provides the UDP ports for
the server as part of a returned python contextmanager which handles
cleanup of the server process on completion or exception.
Also add a 'udp' arg to get_free_port to get a free UDP port.
Note: unfs3 still requires the host to have rpcbind or portmap running.
(From OE-Core rev: c754fd85be85ad0a381b642365eca17cea8eb627)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch incorrectly removes 'mips_elf32_ntrad_le_vec' from the
'targ_selvecs' replacing it with duplicate entries for
'mips_elf32_ntrad_be_vec'. Correct this so that the default binutils can
still handle 'mips_elf32_ntrad_le_vec' binaries.
(From OE-Core rev: cdd499f23c129306da879b6f614ca1b720724300)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reproduce steps:
run fileman under examples, history command not work,
nothing is output.
Fix by increase history_offset when add history, if not,
it will make current history event not align with offset,
and cannot get history correctly.
(From OE-Core rev: a1ff64bee270c151532e68a5151e622de71b5321)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This file is giving misleading information. There's a patch
for bitbake to remove the generation of this file. Remove
it from OEQA as well.
(From OE-Core rev: 691a45265a6a451c4bc7720ef39d99b84342822a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This solves the following errors:
src/mips/o32.S: Assembler messages:
src/mips/o32.S:286: Error: opcode not supported on this processor:
mips32r2 (mips32r2) `s.d $f12,((16*4)-10*4)($fp)'
src/mips/o32.S:287: Error: opcode not supported on this processor:
mips32r2 (mips32r2) `s.d $f14,((16*4)-8*4)($fp)'
(From OE-Core rev: 250d85144c0118aebfce105f02425c25cb028087)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only printed a warning since Yocto 2.4,
documented to be removed in a future release.
(From OE-Core rev: 8976319d5ba0c9d4dbcee9b5226c105df30a2166)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is possible if a user really has to use it, but not recommended.
(From OE-Core rev: 10c1a27501a32740a03c3c6c0684c7d24374af08)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless SQLITE_BYTEORDER is predefined, the code falls back to build
time huristics - which are not always correct (e.g. in sqlite 3.28.0
big-endian ARM is mis-detected).
(From OE-Core rev: c0fc43c228acd44499d9a1c257ec5e4cf42ed050)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It's not clear that we actually need to call mount -o remount,XX from
the busybox-inittab inittab at all, but as we currently do, let's
respect read-only-rootfs in IMAGE_FEATURES and not remount / as rw.
(From OE-Core rev: 8840a831d47a94f36bb2e173164dbaf9b955e809)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default values for MACHINE_ESSENTIAL_EXTRA_RDEPENDS and
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS are set from bitbake.conf and so
don't need to be duplicated in the packagegroup-core-boot recipe.
(From OE-Core rev: 82983c94da2446ab86b189a0278156ee884d0976)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Purpose of kernel development is basically to customize our
own recipes kernel by reused existing recipes.
This is an initiative of automating manual kernel development
test cases. Applying a single patch to the Linux kernel source
is one of the manual test cases of kernel development.
Objective of this test is as a developer we can make changes of
a file in kernel source and able to apply a single patch to
the kernel source.
ref:https://wiki.yoctoproject.org/wiki/Kernel_Development_Test_Cases
(From OE-Core rev: 00a5df641b94ef47eec36e742630db7b659102a4)
Signed-off-by: Mazliana <mazliana.mohamad@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move still required entries as COMPATIBLE_HOST_libc-musl = 'null'
to individual recipes.
This also gives users a proper error message when trying to build
a known non-building package.
(From OE-Core rev: 8bbb17d2dcafa9b4e26941a55932f4be2782e1d1)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-libarchive/CVE-2018-1000877.patch
-libarchive/CVE-2018-1000878.patch
-libarchive/CVE-2018-1000879.patch
-libarchive/CVE-2018-1000880.patch
-libarchive/CVE-2019-1000019.patch
-libarchive/CVE-2019-1000020.patch
-libarchive/bug1066.patch
-libarchive/non-recursive-extract-and-list.patch
Removed since these are included in 3.4.0.
-License-Update: Copyright year updated to 2018.
(From OE-Core rev: 4f8fa80b6c57f29c68678cabcac5d114d1ff0500)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some notes:
- bjam bootstrap scripts were changed, and the patch for that had to be
adjusted. tools/build/src/engine/build.sh now supports an --debug option
which the bjam-native recipe can use to get the debug build of b2.
- a related patch was added to address a speed regression with the debug
version of bjam
- gcc.jam patch had to be refreshed because boost added more "cpu-flags"
lines.
- since 1.70.0, boost includes new cmake config files which are packaged
in ${PN}-dev now so they make it into the SDK. (although 1.71.0 is needed
to fix some bugs in them)
(From OE-Core rev: 810aded01fc2ae2c27c2573135c20947453e50c6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
compiling systemtap with icecc causes the following build failure
> build/tmp/work/silvermont-64-poky-linux/systemtap/4.0-r0/recipe-sysroot/usr/include/python3.7m/modsupport.h:120:66: note: in definition of macro 'PyModule_AddIntMacro'
> HelperSDT/_HelperSDT.c:145:34: error: 'PyTrace_RETURN' undeclared (first use in this function); did you mean 'PyTrace_C_RETURN'?
(From OE-Core rev: 66719424096eb0d3470647579364efe1556dc7b6)
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the populate-volatile.sh initscript tests if a configured symlink
is already in place, it uses readlink with the '-f' (follow) option:
> [ "$(readlink -f $source)" = "$dest" ]
If the test fails, it proceeds to delete the exisiting folder/file, and
create the configured symlink.
However, the '-f' option to readlink makes it follow symlinks pointing
at symlinks. If the $dest argument is a symlink, the above test fails,
and warnings are printed due to changing a read-only rootfs.
This is the case for /tmp, and /etc/resolv.conf:
> /tmp -> /var/tmp -> /var/volatile/tmp
> /etc/resolv.conf -> /var/run/resolv.conf -> /run/resolv.conf
Fix the warnings by removing the '-f' option, so that the test matches
the configuration.
[ YOCTO #10814 ]
(From OE-Core rev: fb028a0a25c02ab56ad262afd8e6e9495a44673d)
Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
256M was found to be no longer sufficient, as the X server fails to
start with the modesetting driver and 3D enabled.
Only images that actually include X11 are adjusted.
(From OE-Core rev: 9dd0812acc73287287b48d28e0935baf7f545b58)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building lighttpd with PACKAGECONFIG_append_pn-lighttpd = "lua" in local.conf,
bitbake gives the following error:
ERROR: Nothing PROVIDES 'lua5.1' (but /home/tgamblin/build/oe-core/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'lua5.1']
Removing the "5.1" from the PACKAGECONFIG line in lighttpd_1.4.54.bb fixes the issue.
(From OE-Core rev: 5ee9be17407ae0c23dc056c98b4a6818d2a845d6)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase files/0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch
License-Update: clarified license for numpy/core/src/multiarray/dragon4.c (it is MIT)
(From OE-Core rev: e11982182acc65913c6e3438304e8a15fe3792a2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The quilt "series" option relies on "less -R" but, since that
option is not enabled by busybox in oe-core by default,
hard-code the dependency on 'less'.
>From 'man less':
-r or --raw-control-chars
Causes "raw" control characters to be displayed. ...
-R or --RAW-CONTROL-CHARS
Like -r, but only ANSI "color" escape sequences are
output in "raw" form. ...
In 2018, BusyBox's less added:
8528d3d4f less: optional support of -R
but it is not enable by default for oe-core. While we could
enable the option, all known use-cases involve larger, more
developer-oriented recipes such as quilt or man pages.
(From OE-Core rev: 64f9fd2a1ebfad102140801f8be8b8be33082d61)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The quilt ptest uses a custom Makefile to implement the
"make check" rule, but the ptest Makefile does not export
the variable QUILT_PC, which is user-settable and normally
defaults to ".pc". This causes failures e.g. import.test
with "rm -rf patches/ %{QUILT_PC}/", evaluating to
"rm -rf patches/ /" if the variable is not set by the
Makefile.
These ptests broke in:
73d6034f6b quilt: update to 0.66
when the upstream quilt developers enabled users to specify
their own QUILT_PC string.
(From OE-Core rev: 7ef7923bd9161d562298ace68491a2230210c3e4)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release ships some files that were previously missing from git but needed
for the test suite.
Add RDEPENDS on locale-base-en-us as some of the tests explictly use it.
No need to depend on liberation-fonts, all of the tests use Cantarell.
With these changes, just one test fails (filed upstream as
https://gitlab.gnome.org/GNOME/pango/issues/405) and there are no skips.
(From OE-Core rev: 6db9109058be33b10d68949fe72273e8a92f9f12)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meson build system is importing sysconfig, which requires
having a target confiuguration available.
(From OE-Core rev: 6763c89611f7cc4a1ba9098222069a58148d44d9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libffi 3.1 release has been a bit aged and new architectures, compilers
have since been come on stage to compile it, we have been carrying
patches, but its better to use the latest 3.3 rc0 which has lot of these
issues handled and is in good shape.
Use 3.3~rc0 for PV to keep room for upgrade path without PE bump
fix the multilib header conflict
file /usr/include/ffi.h from install of libffi-dev-3.2.1+3.3+rc0-r0.core2_32 conflicts with file from package lib64-libffi-dev-3.2.1+3.3+rc0-r0.x86_64
(From OE-Core rev: 06e731bdea527d5c42e99bbcef7f2835e158c0a0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove patch 0001-nis-hosts-Remove-use-of-RES_USE_INET6.patch
since this is included in 3.1
(From OE-Core rev: dd6cdf637819933f5c9eb82298a0442826113234)
Signed-off-by: Yuan Chao <yuanc.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configuration:
MACHINE = qemumips64
bitbake lib32-core-image-minimal
runqemu slirp nographic qemumips64 ext4
Error:
ERROR - Failed to run qemu: qemu-system-mips: unable to find CPU model 'MIPS64R2-generic'
Fixed by moving QB_SYSTEM_NAME to Respective configuration file
(From OE-Core rev: e724e8836ed614ff8eaa0d0d9c51d22ee62576b3)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We put gcclibir to be /usr/lib/<arch>/... and not default
usr/lib/gcc/<arch>, therefore make the include search path also look
into this directory, this should help in finding gcc headers like omp.h
(From OE-Core rev: 121ce09332099ab7ea695a3495daf4f904f69ae5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On systemd, it set RLIMIT_NOFILE to 512k, since do_testimage
for core-image-sato-sdk has memory limitation (256Mib) which
caused rpc.statd failed with out of memory.
[ 531.306146] Out of memory: Kill process 193 (rpc.statd) score 200 or sacrifice child
The rpc.statd and rpc.mountd allocates memory according to
RLIMIT_NOFILE, so decrease it to 4k to keep sync with sysvinit
After applying the patch, the memory cost is the same with sysvinit:
root@qemux86-64:~# systemctl status nfs-statd
* nfs-statd.service - NFS status monitor for NFSv2/3 locking.
Loaded: loaded (/lib/systemd/system/nfs-statd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-08-20 03:16:18 UTC; 3min 26s ago
Main PID: 343 (rpc.statd)
Tasks: 1 (limit: 271)
Memory: 1.0M
root@qemux86-64:~# systemctl status nfs-mountd
* nfs-mountd.service - NFS Mount Daemon
Loaded: loaded (/etc/systemd/system/nfs-mountd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2019-08-20 03:19:01 UTC; 1min 21s ago
Main PID: 451 (rpc.mountd)
Tasks: 1 (limit: 271)
Memory: 736.0K
Suggested-by: Chen Qi <qi.chen@windriver.com>
(From OE-Core rev: 6d61cd2bdc9e326eaa59082b5dd7423e522b96d3)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They remain not as widely known as they should be;
perhaps mentioning them in the environment init banner could help.
(From meta-yocto rev: 66777ed9a12e6a651b95859ecc2919aa88c128ba)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They remain not as widely known as they should be;
perhaps mentioning them in the environment init banner could help.
(From OE-Core rev: b19f8e9eb67894bbac145e807bf2e1b330dc1cd9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG for gnu-efi, by default the meson.build looks explicitly in
/usr/include and /usr/lib for gnu-efi, and if it is present on the host the
build will fail.
[ YOCTO #13487 ]
Original patch by Chin Huat Ang.
(From OE-Core rev: 050cda9f02c6a5c773edf092514b173839569a48)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MIT license files must include the copyright notice.
(From OE-Core rev: 285b91a9b687be2ac6a398f66d7173384d8976af)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BSD license files must include the copyright notice.
(From OE-Core rev: f5cfcaa79fd3a2cfd9299f2c8e7686b502e52551)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
BSD license files must include the copyright notice.
(From OE-Core rev: b57f10c08bef1005b4bb195b84e39cab0e251420)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LICENSE file states that some code is licensed under BSD, some under
ISC, and some under MIT. The LICENSE field should reflect all of these.
(From OE-Core rev: 91096392cf46cae369849723cea14a9da1f3053b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using just "BSD" license implies BSD-3-Clause and this recipe appears to
be closer to a BSD-2-Clause.
(From OE-Core rev: b90d9f0c2084cce8d245fe683b45fb344c6f1cb8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes following changes:
f632b23 drm: Find a proper modeset device, is none is provided
(From OE-Core rev: 8b77262bdaa8cf825133171f898cc20e89909df7)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before this patch:
# python3 -m test -v test_locale
[snip]
test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9') ok
[snip]
After this patch:
# python3 -m test -v test_locale
[snip]
test_getsetlocale_issue1813 (test.test_locale.TestMiscellaneous) ... testing with ('tr_TR', 'ISO8859-9')... ok
[snip]
Make the test ended with "... ok" is common in python
unittest world, we should make it keep consistent
with other test cases in case it may be ignored to
record in the report if we use the common filter
"... ok".
[YOCTO #13298]
(From OE-Core rev: 4e698cf8f3a9c661f5b67c6001ad4d92b574d136)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is required before enabling p11-kit support by default in gnutls.
(From OE-Core rev: 2a35202dbffd31eac1c00c03497549805853ad6c)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Right now `devtool build` runs populate_sysroot and packagedata tasks.
Adding deploy to this list, if the recipe has the deploy task, so that
the newly built artifacts are available in the deploy directory.
Applicable only for packages with deploy task, such as kernel.
[YOCTO#13382]
(From OE-Core rev: b38a1328f0c7bc4b4102a05daee4058fd3214489)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, if a test occurs multiple times over different series, the
code will sum these. This can lead to confusion over the desired
results. Change the code to report the redundant tests and skip adding
an additional values.
(From OE-Core rev: caeaa0648dff64c56a33f52e45e82bfab6719e3e)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than repeatedly calling mc_from_tid() do this in the parent,
removing around a million function calls. Takes time spent in this
function from 40s to 36s.
(Bitbake rev: 28b3f0d8867804799420689c314ac4a8f01efb8c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are other data structures which can be reprocessed at the same
time as holdoff_tasks, further improving build efficiency in various
places.
(Bitbake rev: 02090b3456b7a2de12e72dfeaabfd3b631609924)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't need to process the holdoff task list until we're executing tasks
which saves some data manipulation, at the cost of some data structures
not being correct at all times. This saves significant amounts of time
in various profile charts of larger builds.
(Bitbake rev: 270f076111b12eab358417b0c4cf9c70d7cc787a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've observed do_package and do_package_setscene running in parallel. The
reason is that holdoff_tasks wasn't getting updated. Looking at the code, it
would seem the reason is that the task was in pending_migrations and hence
changed wasn't set and holdoff_tasks wasn't updated.
Fix this. It only affects builds with rehashing enabled.
(Bitbake rev: e26e61e84575669bd223f6ab316798097ed95ec8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we define a metadata siggen it can fail due to the early init here. Move
slightly later to avoid those failures which allows fixes in OE to the
check-layer script related to the hash equiv siggen.
(Bitbake rev: fdf5c341f3393173876a753c46c9bd067eb2b353)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have a -bios option for the RISC-V virt machine in QEMU we
can pass OpenSBI in via -bios and the kernel in via -kernel. We no
longer need to pass the kernel in via -device loader so let's remove
that.
(From OE-Core rev: 65e7f371f19e053d0bac7771a80615f6bada74c7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for specifying a BIOS the same way that the KERNEL variable
is specified. This includes specifying a QB_DEFAULT_BIOS variable.
(From OE-Core rev: fc2a2260aa22a81da6619b4affaf8ae0b5556a34)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The locale-processing in cross-localedef was proven to be unsafe to
run in parallel due to the way it tried to make hard links to files
that could disappear before the link operation was completed.
To avoid corruption of the pseudo database, and create a
deterministically generated link tree, the operation of the locale
generation and the hard link resolution have been split into two
separate parts. A side effect of this change is that the do_package()
rule for glibc-locale will be slightly smaller because some of the
hard links were missed in the past, particularly if you had a lot of
cpus free to perform the work.
Before the patch:
% du -sk locale-tree
312524 locale-tree
With the patch:
% du -sk locale-tree
290772 locale-tree
A number of comparisons were performed such as diffing the output,
cross checking the link references using tar's listing output, and
comparing against the results with out a parallel build to ensure the
locale-tree is correct in its final form.
[YOCTO #11299]
[YOCTO #12434]
(From OE-Core rev: 93d935927dd0ec0fa6f0a80a71236a7b00a5d1a4)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hard link resolver that is built into localedef cannot be run in
parallel. It will search sibling directories (which are be processed
in parallel) and perform a creation of a .tmp file and remove the
original and move the .tmp file in. The problem is that if a probe
occurs a hard link can be requested to the file that is being removed.
This will lead to a stray copy or potentially, on a loaded system
cause race condition which pseudo cannot deal with, where it is left
with a hard link request to a file that no longer exists. In this
situation psuedo will inherit the permissions of what ever the target
inode had to offer.
In short, there are two problems:
1) You will be left with stray copies when using the hard link
resolution that is built in while running in parallel with
localedef.
2) When running under pseudo the possibility exists for uid/gid
leakage when the source file is removed before the hard link can
be completed.
The solution is to call localedef with --no-hard-links and separately
process the hardlinks at a later point. To do this requires the
inclusion of the hardlink utility found in modern versions of
util-linux. Most host systems do not have this, so it will be
included with the cross-localedef binary.
There are two patches here. The first imports the raw version of
hardlink.c and a couple of header files directly from util-linux. The
second patch applies the fix-ups to make it compile, along with a
change to recipe to package the new binary.
[YOCTO #11299]
[YOCTO #12434]
(From OE-Core rev: 57e2e498ffb675d274aa95b10c14bd81742d2761)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixed a potential security vulnerability on musl and made
the patch obsolete.
(From OE-Core rev: 30b6ae3084f63df437a4d6dd859bca674ca01e12)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /etc/init.d/psplash.sh will be invoked both in boot and
shutdown/reboot. And the psplash tmpfs will be mounted twice. This
will trigger a bug in umount and let the system hang when
shutdown/reboot. I already made a patch [1] to fix the issue in
umount, but there is no reason for the psplash to do the twice mount.
So also fix it.
[Yocto 13461]
[1] https://lore.kernel.org/util-linux/20190819083022.12289-1-kexin.hao@windriver.com/T/#u
(From OE-Core rev: 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the following failure.
ustat02.c:44: FAIL: ustat(2) failed to produce expected error; 14, errno: EFAULT: EINVAL
(From OE-Core rev: e05f5e1d44293827260541e301ce25d15eb405af)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch to fix the followig failure.
tgkill03.c:94: FAIL: Defunct tid should have failed with ESRCH: SUCCESS
(From OE-Core rev: 92e873c63499850f1f9461d3babde13d44bc8f9c)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_package has PKGDESTWORK as a cleandir and do_packagedata has it as an sstate-input
dir. This means do_package wipes out the directory at both do_package and do_package_setscene.
do_package_setscene and do_packagedata_setscene can run in parallel when installing from
sstate which means they can wipe out parts of each other leading to interesting
build failures.
We therefore have to add in a hardlink copy so that the directories can work independently
of each other.
(From OE-Core rev: 692b2046bb60806ee6bbde6ba15bd1637b00efb1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The layer checks are designed to work with OEBasicHash so ensure that handler
is in use rather than the new hash equivalency one as an example.
(From OE-Core rev: a10bf92516a4771e2dc49ba9f74323d7a87a1619)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we have installed some lib32 package which depends on perl/bash,
then populating sdk for that image would fail with the following error.
Error:
Problem: package lib32-libxml-namespacesupport-perl-1.12-r0.corei7_32 requires lib32-perl, but none of the providers can be installed
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/perl provided by lib32-perl-5.30.0-r0.corei7_32
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with libperl.so.5 provided by lib32-perl-5.30.0-r0.corei7_32
This could be produced by the following steps:
1. IMAGE_INSTALL_append = " lib32-valgrind"
2. bitbake core-image-minimal -c populate_sdk
We need to extend all packages in DUMMYPROVIDES to avoid such problems.
(From OE-Core rev: 6a38c6aafc2956bb6f7824eff4ac0f630f02da75)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test-bus take long time to finish, sometimes longer than ptest-runner's
timeout limit 300s, so skipped it for now
[YOCTO #13409]
(From OE-Core rev: 76caa7aece5cc8513989f77bb15944a22d17edf5)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These postfuncs cause native recipes to rebuild when changing system
init provider between sysvinit and systemd. Some of these native recipes
are pretty early in dependency chain ( e.g. util-linux ) which can casue
rebuild of pretty much everything including compiler.
Found with bitbake-diffsigs
Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 2a45fe0cd0d3640a88c4a5c8b1880c4e9a089cc7446a91d2a920c1cef6fa916a to bc2a0921cce50da1b7be3b59a3d8211ec
2a31262493ffa5909acbb7116fad3bf
Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 15d6e165f025f10c2c455df8a875cafe021eaed4214c793e708d4827a58ca89d to 54e542d5da99cacfc9290ef5d27
9de50bdcb9195f67ae6dfff59fe41d10f7bd2
Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/
util-linux/util-linux_2.34.bb changed from e25b1119ce8dd7ca43fbd2db771e04fa6ff6b9d701fd78ac6c443224b036ed9f to bb5b172a83e7edd272402a9dcd80c4e1
29aa1ecb824c2cfa388086cfed24fef5
basehash changed from 62df6610eab9c1b1a17d7132943507641c8538690f26186843c86144d4598e64 to 80471f7c0bded9d1b593da69708b0e0f10882db08
5e1bf769edb3018e6c744d0
Variable rm_sysvinit_initddir value changed:
@@ -11,4 +11,4 @@
shutil.rmtree(sysv_initddir)
DISTRO_FEATURES{systemd} = Unset
-DISTRO_FEATURES{sysvinit} = Set
+DISTRO_FEATURES{sysvinit} = Unset
(From OE-Core rev: f2d60e0f6a8e93cb0779f4719e58b99ad01fb954)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps with a case where a distro builds one image with systemd and
another with sysvinit, it ends up recompiling almost everything since
python3-native gets rebuilt and tracing dependencies with
bitbake-diffsigs shows that the chain ends at util-linux-native being
recompiled because distro features now does or does not have 'pam'
Hash for dependent task python/python3_3.7.4.bb:do_prepare_recipe_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-devt
ools/python/python3_3.7.4.bb changed from 8befaac4f995aaff3f95d27c9caaf1006f86e1344b02c1ae82f5d12f885f2240 to 2a45fe0cd0d3640a88c4a5c8b1880c4e9
a089cc7446a91d2a920c1cef6fa916a
Hash for dependent task util-linux/util-linux_2.34.bb:do_populate_sysroot:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-
core/util-linux/util-linux_2.34.bb changed from 0db292cb2e37d5788bdcf51038b2802d748b719d860aca3a26d7a793b0cf3905 to 15d6e165f025f10c2c455df8a87
5cafe021eaed4214c793e708d4827a58ca89d
Hash for dependent task util-linux/util-linux_2.34.bb:do_install:virtual:native:/mnt/a/yoe/sources/openembedded-core/meta/recipes-core/util-linux/util-linux_2.34.bb changed from 54bb4ee6bdb5c7fc260dabddb4932cb0e554a62cd92aba080a18306291fb470b to e25b1119ce8dd7ca43fbd2db771e04fa
6ff6b9d701fd78ac6c443224b036ed9f basehash changed from 8e8687a866689a697001dedc0a43f478e68e6efe270bd77362f24c6000f9e882 to 62df6610eab9c1b1a17d7132943507641c8538690
f26186843c86144d4598e64
Variable do_install value changed:
rm -f ${D}${bindir}/chkdupexe
- if [ "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" ]; then
+ if [ "${@bb.utils.filter('PACKAGECONFIG', 'pam', d)}" ]; then
install -d ${D}${sysconfdir}/pam.d
install -m 0644 ${WORKDIR}/runuser.pamd ${D}${sysconfdir}/pam.d/runuser
install -m 0644 ${WORKDIR}/runuser-l.pamd ${D}${sysconfdir}/pam.d/runuser-l
@@ -47,5 +47,4 @@
rm -f ${D}${base_sbindir}/nologin
rm -f ${D}${base_bindir}/kill
-DISTRO_FEATURES{pam} = Unset
PACKAGECONFIG{pam} = Unset
So far it seems this pam conditional code in util-linux is target
specific and would not apply to native or nativesdk recipes
(From OE-Core rev: a57f56576eda4b3ad5496e375b432e06e34ad8b9)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in enabling them via packageconfig from SOC layers
(From OE-Core rev: 853179121e0f2149ca6365ac0b8ab5017079d5e6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using gold on mipsn32 still fails. It fails to run
$ bitbake webkitgtk -c configure
with configuration:
MACHINE ?= "qemumips"
DEFAULTTUNE = "mips64-n32"
(From OE-Core rev: d67417ec55f3f580159f2d05322a0444ca466872)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The other active kernel versions have this feature available. To
consistently enable the same video output for qemu, we can cherry
pick the feature to 4.19.
(From OE-Core rev: a777e0f34e106455f963bd58fd8728a16c588c4d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since stress-ng replaces and is compatible with stress,
provide stress to be compatible with the old recipe
and binary packages.
(From OE-Core rev: fd6cf57430b7c88525dc6711dadfbe8f02c44354)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As reported in https://bugzilla.yoctoproject.org/show_bug.cgi?id=12563,
the regex that matches valid CONFIG_ options was missing some of the
ones in net/netfilter/ipvs/Kconfig, and hence triggering invalid
option warnings.
By dropping the trailing space on the regex, we'll cover all the cases
for valid option.
(From OE-Core rev: 461a2f54751ca18e17f897b10d6c3c47dab1733a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the following fragments from meta-security to make them
centrally available and easier to maintain:
283939d5c9e kernel-cache: add yama security fragments
0b86f3fa241 kernel-cache: add ima fragments
731b466654d kernel-cache: add smack
813afe8ff47 kernel-cache: add apparmor fragments
(From OE-Core rev: 3063d64984e993d3e7dc2f4c80fb74005f5d6d7e)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>From the kernel patch:
[
It was observed that the kernel embeds the path in the x86 boot
artifacts.
From https://bugzilla.yoctoproject.org/show_bug.cgi?id=13458:
[
If you turn on the buildpaths QA test, or try a reproducible build, you
discover that the kernel image contains build paths.
$ strings bzImage-5.0.19-yocto-standard |grep tmp/
out of pgt_buf in
/data/poky-tmp/reproducible/tmp/work-shared/qemux86-64/kernel-source/arch/x86/boot/compressed/kaslr_64.c!?
But what's this in the top-level Makefile:
$ git grep prefix-map
Makefile:KBUILD_CFLAGS += $(call
cc-option,-fmacro-prefix-map=$(srctree)/=)
So the __FILE__ shouldn't be using the full path. However
arch/x86/boot/compressed/Makefile has this:
KBUILD_CFLAGS := -m$(BITS) -O2
So that clears KBUILD_FLAGS, removing the -fmacro-prefix-map option.
]
Other architectures do not clear the flags, but instead prune before
adding boot or specific options. There's no obvious reason why x86 isn't
doing the same thing (pruning vs clearing) and no build or boot issues
have been observed.
So we make x86 can do the same thing, and we no longer have embedded paths.
]
This issue has been reported upstream, and a patch submission is
pending, but for now, we'll soak the proposed patch in linux-yocto to
see if any issues are found
[YOCTO: #13458]
(From OE-Core rev: 78b0ff5960814af935a8089ec49c51d76f148149)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 5.3 kernel has two changes that require tweaks to the minimal
kernel-devsrc package.
- 4ce97317f [x86/purgatory: Do not use __builtin_memcpy and __builtin_memset]
This change removes the need for arch/x86/purgatory/string.c and
instead reuses a copy in arch/x86/boot/compressed/, so we can't copy
the file anymore. To support older kernels, we make the copy survive
the non-existence of the file.
- b1663d7e [docs: Kbuild/Makefile: allow check for missing docs at build time]
This change adds the sourceing of Documentation/Kbuild to the top
level Kbuild file. So we now leave the copy of Documention/'s Kbuild
in the devsrc.
(From OE-Core rev: 53e975c18a14ddb8ad7eab23c8e18e05517953cd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake <target> --runonly=fetch
failed as the target_tids list included entries which were no longer targeted
task ids. Fix this.
(Bitbake rev: 94e848ae6544e628a19cb97115279b0b1678967c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can cause a huge backlog of closing sockets on the server and
in our case we don't really want/need the protection TCP is trying to
give us so work around it.
(Bitbake rev: 7bc79fdf60519231da7c0c7b5b6143ce090ed830)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The parseBaseConfiguration() raises bb.BBHandledException(), but
BitBakeServer() didn't handle it, so we always got unexpected exceptions when
there were errors. For example:
=== Case 1:
* Add "print "hello"' in base.bbclass' def oe_import() function
def oe_import(d):
print "hello"
[snip]
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Last 60 lines of server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
File "/buildarea1/lyang1/poky/meta/classes/base.bbclass", line 21
print "hello"
^
SyntaxError: Missing parentheses in call to 'print'
<The first exception>
During handling of the above exception, another exception occurred:
<Tracebacks>
<The second exception>
During handling of the above exception, another exception occurred:
<Tracebacks>
<The third exception>
During handling of the above exception, another exception occurred:
<Tracebacks>
[snip]
Now it looks like:
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
ERROR: Error in compiling python function in /buildarea1/lyang1/poky/meta/classes/base.bbclass, line 21:
The code lines resulting in this error were:
0001:def oe_import(d):
*** 0002: print "hello"
0003: import sys
0004:
0005: bbpath = d.getVar("BBPATH").split(":")
0006: sys.path[0:0] = [os.path.join(dir, "lib") for dir in bbpath]
SyntaxError: Missing parentheses in call to 'print' (base.bbclass, line 21)
=== Case 2:
* Add 'HOSTTOOLS += "hello"' to conf/local.conf:
$ bitbake -p
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
<Tracebacks>
[snip]
During handling of the above exception, another exception occurred:
[snip]
<Tracebacks>
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
hello
The error message is printed by bb.fatal() which raises bb.BBHandledException(),
but BitBakeServer() doesn't handle it, so we got it.
Now it looks like:
ERROR: Unable to start bitbake server (None)
ERROR: Server log for this session (/buildarea1/lyang1/test_hy/bitbake-cookerdaemon.log):
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
hello
No unexpected exceptions anymore.
[YOCTO #13267]
(Bitbake rev: 6e6865e6371dbd31a136eae64cc5b1fa5f5bee33)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't appear to have ill effects right now but there is a correctness
issue which this so fix it.
(Bitbake rev: a5e084a266f63c2fd370122327615e49beaeb94e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was overwriting data in the parent which caused all kinds of
odd/weird failures.
(Bitbake rev: 4c5aeb424247a9d0c907524ffacd9c61fcdc0852)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were paths being accidentally included in some of the hashserv tests. Remove
that and update the hashes so the tests work independently of paths.
(Bitbake rev: 6ddb9f09cb60c2354fa6a67cce412c4dc1e7dc2d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
SRC_URI was moved from xorg-app-common.inc, since it has hardcoded file
extension (tar.bz2), but upstream stopped publishing tar.bz2 archives
for newer versions of the packages.
(From OE-Core rev: 36fa73a1ab1b4954c962cf6f01bba698f4e7c2f8)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The way this class uses overrides to support generation of multiple
sections is subject to two different issues: 1) labels that conflict
with existing override names causing the value for the conflicting label
to be set for all labels, and 2) reusing the override list through each
iteration, prepending each new label to the list of overrides makes
earlier labels' value take precedence over later labels, making later
labels virtually impossible to customize.
The first issue is resolved by removing all label names from overrides
before iterating over labels. The second issue is resolved by
generating a fresh list of overrides with only the current label added.
The current label is also appended to the list of overrides instead of
prepended, which makes it the highest priority override. This is
matches the behavior of devtool-source.bbclass, which similarly
monkey-patches overrides.
Closes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13469 .
(From OE-Core rev: 42b44fdd9e63b8d39cf83baecec08328275558ff)
Signed-off-by: Will Page <wpage@polysync.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The old URI returns 404, and has an invalid TLS certificate.
(From OE-Core rev: 73ff6aba0a53ffc3ee0a5859a3ad4c8021be4de0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recursive RDEPENDS resolution requires that all of the dependent
recipes' packaging has completed. There is no mechanism to ensure that
and therefore races were observed.
This change effectively requires recipes to list their runtime file
dependencies explicitly rather than have them pulled indirectly.
This may require a bit of fixing in layers, but should result
in a better definition of runtime file dependencies.
(From OE-Core rev: 08e2b5a31b23b98459479caf6ec5f5c6fc19d57a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a very old change as and be inferred from the name in the comment.
We've since had many changes to pkgdata including separating it
to its own sysroot now so the reasons for this blanket exclusion are
likely long gone.
If the shlib provides were really the problem I'd much rather have
a dedicated variable for that too.
Removing this fixes missing dependencies on nativesdk-libc and other
libs which would then happen automatically.
(From OE-Core rev: 096fa15efbcb704451b2f38ceab36508ef64f07e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE does not use the traditional /usr/lib/gcc prefix to store gcc-runtime
it basically is moved into libdir, however some newer files were
installed by newer versions of gcc especially libgomp ( omp.h openacc.h )
into gcclibdir, so we have content in both directories, this confuses
other tools which are trying to guess the gcc installation and its
runtime location, since now we have two directories, the tools either
choose one or other and we get inconsistent behavior, e.g. clang for
aarch64 uses /usr/lib but same clang for riscv64 chose /usr/lib/gcc
This change ensures that OE ends up with single valid location for gcc
runtime files
Move more common bits into common inc file
(From OE-Core rev: e9e5744ba8b0d43c8b874d365f83071ce20bf0a1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Given grep expression looks for error strings regardless of the
semantics and this ends up it flagging things like
***********************
Log: /mnt/a/yoe/build/tmp/work/raspberrypi3_64-yoe-linux-musl/yoe-qt5-wayland-image/1.0-r0/target_logs/weston.log
-----------------------
Central error: EGL_KHR_create_context_no_error EGL_KHR_fence_sync
***********************
here EGL_KHR_create_context_no_error is an API, therefore the check
should be tightened a bit so explicitly look for error words so such
false positives don't show up
This helps in fixing wrong matches e.g. on rpi3 dmesg have strings like
above
(From OE-Core rev: e54ecea0a7d309533973b31bdbda178d9af92632)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps in skipping this test on images which are not using gtk and
as per the gcalculator website it needs gtk+3 or gtk+2 and libglade as
the build first looks for gtk+3
(From OE-Core rev: 2cdb4b3697e02947352803a9db013d61b812c4fd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
file /usr/lib64/go/src/cmd/cgo/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64
file /usr/lib64/go/src/cmd/go/internal/cfg/zdefaultcc.go conflicts between attempted installs of go-dev-1.12.6-r0.core2_64 and go-runtime-dev-1.12.6-r0.core2_64
these 2 files existed in both go-dev and go-runtime-dev
remove it from go-runtime-dev to fix the problem
(From OE-Core rev: 60dcae509a210f2cae8eda525a1b006663aef9bf)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its now past EOL so retire it.
(From meta-yocto rev: 03046c2fe69c399173cf6303abb55264adaee2b9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the task hashes change we need to ensure the stampcache is cleared out
else tasks don't rerun when they should as we're basing decisions on stale
cache data.
(Bitbake rev: 08962092d3bb7887d82f97d442a6103c0677eae7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We weren't marking this special case of setscene task as buildable leading to
runqueue task failures.
(Bitbake rev: 930efbc563443d82df8d692bb8ff172ca2bae192)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further testing shows we should test some extra datastructures to help pinpoint logic
errors more precisely. This adds some further data structure sanity checks.
(Bitbake rev: 83c4370b25c3a14cc946965c5c5f83ea28f488a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This debug statement could result in a long list of tasks which when
repeatedly sent over our IPC, slowed down the builds immensely. Remove
it in favour of other more targeted debugging added recently, bringing
back some lost performance, particularly on builds with large numbers
of tasks.
(Bitbake rev: 85fe627fdb6510f0942917964386fad9d8c479c8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The event from the task notifiing of hash equivalency should only be processed
when the task completes. This can otherwise result in a race where a dependent
task may run before the original task completes causing various failures.
To make this work reliably, the code had to be restructured quite a bit.
(Bitbake rev: 1bf5be46f92f125193638cf41ff207d68f592259)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The changed_setscene variable here is just odd and not needed. Worse,
it could prevent some tasks from being removed from the holdoff tasks
list. The list is being rebuilt and should work as intended just from
the other data, this is a leftover from previous versions of the code
as far as I can tell.
(Bitbake rev: 030b9f2b3ce6ed40e79304eb0ffee6c6613f43be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst we had good runqueue failure mode debug, it hadn't adapted to the
scenequeue changes. Run the scenequeue sanity tests at the end of
a build and output the results regardless of whether all setscene tasks
completed or not. This *massively* improves the ability to debug runqueue
problems.
(Bitbake rev: b9b2177473c0b95a23bd519a201e1d2ba101c6c1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Looking at the profile information, a lot of time is being spent in
next_buildable_task. This is probably due to the generator expressions
not working well with the empty test.
The easiest way to improve things is to switch to using set manipulations.
We also don't need to update self.buildable the way the original code did
as we don't rely on that anywhere.
(Bitbake rev: 3bcf9ad4964b7e42d1a02ce231e9db42a81ead2a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If tasks are in the covered list of tasks for a given setscene task,
it needs to wait for those to complete before we can start.
(Bitbake rev: fdee640c26750b852eb68f5c80437377aa300ed8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At exit the hashserv code was causing tracebacks as join() wasn't
being called from the thread that started the process. Ensure that
the hashserver is started from the pre_serve hook which is the
final thread the cooker runs in. This avoids the traceback at the
expense of some horrific poking into data stores which will ultimately
need improving through a proper API.
(Bitbake rev: 05888700e5f6cba48a26c8a4c447634a28e3baa6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some extra hash equivalence runqueue tests based on recent scenarios
that caused problems during testing.
(Bitbake rev: 373b085ead992a725b2230ededd992b4c61a1a05)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous tasks_covered and tasks_notcovered were basically unstable
data structures. We couldn't always tell whether tasks should be covered
or not when trying to repair the sturcture if sstate tasks reran.
In the end its simpler to throw the lists away and rebuild them based upon
current data rather than trying to patch it adhoc. This turns out to be
simpler and much more reliable and I've much more confidence in this code.
(Bitbake rev: 52ee2ba2c617d928569f5afa404925c8b6f317bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to copy this set, not modify the original else all kinds
of weird and bad things break, mostly from circular references.
We'll not go into how much sleep I lost tracking down the fallout
from this.
(Bitbake rev: 49927546d2b306830c98f6f9da4a6ad828f6a3a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[YOCTO #13447]
When running bitbake-layers layerindex-fetch from 'master', there is a
circular dependency between meta-oe and meta-python. This triggered a maximum
recursion depth exception.
To fix the exception, as we walk down a branch (depth first search), we track
the layers we've already seen. If we are about to recurse into a layer we've
already seen we report a warning and then stop recursion.
(Bitbake rev: d6155d095513be3f500d089c4ed4c4b89949d560)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I rebuilt all cmake recipes from poky and meta-oe without issue.
(From OE-Core rev: b1ebf9122a5670044998adb83ca7a5a6c5454eaa)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add switch for building database verification, enable
this, it will solve the following issue:
root@qemux86-64:~# db_verify /var/lib/rpm/Packages
db_verify: BDB0571 library build did not include support for database verification
BDB5105 Verification of /var/lib/rpm/Packages failed.
(From OE-Core rev: a785157c7d78bd4becdc03c93a21a5dba37015b9)
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Refresh the following patch:
files/pie-flags.patch
-files/fix_SHAREDDIR.patch
Removed since this is included in 0.52.21.
(From OE-Core rev: 5b7fd7a945f8eeece51f01ad20a6de12fea89433)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before meson conversion this was always enabled; now it needs to
be explicitly switched on.
This un-breaks the virgl headless test in particular, which regressed
with the meson conversion (and the test is not currently run on AB
due to oudated graphics hardware in it).
(From OE-Core rev: 22d3f959e44b77cb6d7375a77cf028ceeb9d6cb4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, 'nographic' was set first, and was overriding anything set via runqemuparams.
Particularly, egl-headless from the virgl headless selftest was overriden,
which broke the test in non-X environments.
(From OE-Core rev: 344c55a58042ecd6ffed8b20add41b6b335c51bf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Like for ARM bjam need some hints about the ABI to properly build on
aarch64. While at it also enable context and coroutine as these are
supported on aarch64.
(From OE-Core rev: 5140e0a64aac8c621fe0d839dea41b7b43a96b4d)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this might be related to:
commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
Author: Douglas Royds <douglas.royds@taitradio.com>
Date: Thu Dec 20 11:59:47 2018 +1300
icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time
* it's still a bit unclear when and why this happends, but I'm seeing
random tasks sometimes failing with:
WARNING: Exception during build_dependencies for set_icecc_env
WARNING: Error during finalise of /build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb
ERROR: Traceback (most recent call last):
File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
return eval(source, ctx, locals)
File "Var <set_icecc_env>", line 1, in <module>
File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
link_path = icecc_get_tool_link(t, d)
File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/build/bitbake/bin/bitbake-worker", line 239, in child
the_data = bb_cache.loadDataFull(fn, appends)
File "/build/bitbake/lib/bb/cache.py", line 327, in loadDataFull
bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)
File "/build/bitbake/lib/bb/cache.py", line 340, in load_bbfile
datastores = parse_recipe(bb_data, bbfile, appends, mc)
File "/build/bitbake/lib/bb/cache.py", line 303, in parse_recipe
bb_data = bb.parse.handle(bbfile, bb_data)
File "/build/bitbake/lib/bb/parse/__init__.py", line 107, in handle
return h['handle'](fn, data, include)
File "/build/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 142, in handle
return ast.multi_finalize(fn, d)
File "/build/bitbake/lib/bb/parse/ast.py", line 386, in multi_finalize
finalize(fn, d)
File "/build/bitbake/lib/bb/parse/ast.py", line 351, in finalize
bb.parse.siggen.finalise(fn, d, variant)
File "/build/bitbake/lib/bb/siggen.py", line 147, in finalise
taskdeps = self._build_data(fn, d)
File "/build/bitbake/lib/bb/siggen.py", line 118, in _build_data
tasklist, gendeps, lookupcache = bb.data.generate_dependencies(d)
File "/build/bitbake/lib/bb/data.py", line 388, in generate_dependencies
deps[dep], values[dep] = build_dependencies(dep, keys, shelldeps, varflagsexcl, d)
File "/build/bitbake/lib/bb/data.py", line 317, in build_dependencies
value, parsedvar = d.getVarFlag(key, "_content", False, retparser=True)
File "/build/bitbake/lib/bb/data_smart.py", line 802, in getVarFlag
parser = self.expandWithRefs(value, cachename)
File "/build/bitbake/lib/bb/data_smart.py", line 424, in expandWithRefs
raise ExpansionError(varname, s, exc).with_traceback(tb) from exc
File "/build/bitbake/lib/bb/data_smart.py", line 411, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/build/bitbake/lib/bb/data_smart.py", line 136, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d), {'d' : self.d})
File "/build/bitbake/lib/bb/utils.py", line 421, in better_eval
return eval(source, ctx, locals)
File "Var <set_icecc_env>", line 1, in <module>
File "/build/oe-core/meta/classes/icecc.bbclass", line 287, in icecc_get_and_check_tool
link_path = icecc_get_tool_link(t, d)
File "/build/oe-core/meta/classes/icecc.bbclass", line 246, in icecc_get_tool_link
return subprocess.check_output("readlink -f %s" % tool, shell=True).decode("utf-8")[:-1]
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
bb.data_smart.ExpansionError: Failure expanding variable set_icecc_env, expression was if [ "${@use_icecc(bb, d)}" = "no" ]
then
return
fi
ICECC_VERSION="${@icecc_version(bb, d)}"
if [ "x${ICECC_VERSION}" = "x" ]
then
bbwarn "Cannot use icecc: could not get ICECC_VERSION"
return
fi
ICE_PATH="${@icecc_path(bb, d)}"
if [ "x${ICE_PATH}" = "x" ]
then
bbwarn "Cannot use icecc: could not get ICE_PATH"
return
fi
ICECC_BIN="${@get_icecc(d)}"
if [ -z "${ICECC_BIN}" ]; then
bbwarn "Cannot use icecc: icecc binary not found"
return
fi
if [ -z "$(which patchelf patchelf-uninative)" ]; then
bbwarn "Cannot use icecc: patchelf not found"
return
fi
# Create symlinks to icecc in the recipe-sysroot directory
mkdir -p ${ICE_PATH}
if [ -n "${KERNEL_CC}" ]; then
compilers="${@get_cross_kernel_cc(bb,d)}"
else
compilers="x86_64-oe-linux-gcc x86_64-oe-linux-g++"
fi
for compiler in $compilers; do
ln -sf ${ICECC_BIN} ${ICE_PATH}/$compiler
done
ICECC_CC="${@icecc_get_and_check_tool(bb, d, "gcc")}"
ICECC_CXX="${@icecc_get_and_check_tool(bb, d, "g++")}"
# cannot use icecc_get_and_check_tool here because it assumes as without target_sys prefix
ICECC_WHICH_AS="${@bb.utils.which(os.getenv('PATH'), 'as')}"
if [ ! -x "${ICECC_CC}" -o ! -x "${ICECC_CXX}" ]
then
bbwarn "Cannot use icecc: could not get ICECC_CC or ICECC_CXX"
return
fi
ICE_VERSION=`$ICECC_CC -dumpversion`
ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"`
if [ ! -x "/build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env" ]
then
bbwarn "Cannot use icecc: invalid ICECC_ENV_EXEC"
return
fi
ICECC_AS="`${ICECC_CC} -print-prog-name=as`"
# for target recipes should return something like:
# /OE/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm920tt-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/as
# and just "as" for native, if it returns "as" in current directory (for whatever reason) use "as" from PATH
if [ "`dirname "${ICECC_AS}"`" = "." ]
then
ICECC_AS="${ICECC_WHICH_AS}"
fi
if [ ! -f "${ICECC_VERSION}.done" ]
then
mkdir -p "`dirname "${ICECC_VERSION}"`"
# the ICECC_VERSION generation step must be locked by a mutex
# in order to prevent race conditions
if flock -n "${ICECC_VERSION}.lock" \
/build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/icecc-create-env "${ICECC_CC}" "${ICECC_CXX}" "${ICECC_AS}" "${ICECC_VERSION}"
then
touch "${ICECC_VERSION}.done"
elif ! wait_for_file "${ICECC_VERSION}.done" 30
then
# locking failed so wait for ${ICECC_VERSION}.done to appear
bbwarn "Timeout waiting for ${ICECC_VERSION}.done"
return
fi
fi
# Don't let ccache find the icecream compiler links that have been created, otherwise
# it can end up invoking icecream recursively.
export CCACHE_PATH="$PATH"
export CCACHE_DISABLE="1"
export ICECC_VERSION ICECC_CC ICECC_CXX
export PATH="$ICE_PATH:$PATH"
bbnote "Using icecc path: $ICE_PATH"
bbnote "Using icecc tarball: $ICECC_VERSION"
which triggered exception CalledProcessError: Command 'readlink -f /build/BUILD/work/qemux86-oe-linux/python-markupsafe/1.0-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' returned non-zero exit status 1.
ERROR: Task (virtual:multilib:lib32:/build/meta-oe/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb:do_patch) failed with exit code '1'
(From OE-Core rev: 577919d71f9be3de851c653e6981d715b37042ea)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update e2fsprogs from 1.44.5 to 1.45.3:
* rebase ptest.patch
* remove 0001-create_inode-fix-copying-large-files.patch which merged by upstream
* add new sub-package e2fsprogs-e2scrub and disable cron support
(From OE-Core rev: e5f8c1facfc3507710d7111951fe075e01c58e4e)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of setuputils, there was a missing runtime dependency on pkgutil
which was breaking the selftests for gobject-introspection at runtime. Fix this.
(From OE-Core rev: 50048ff2da2cc209fe6bf1452dc2cf2a545fe886)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
python3-setuptools is an optional build-dependency of pygobject but
it is not necessary to run it, as also documented by the upstream
packaging guide:
https://gitlab.gnome.org/GNOME/pygobject/blob/master/docs/packagingguide.rst
Remove it from RDEPENDS to shrink the runtime dependency chain, as
setuptools includes scripts to download other packages, which might not
be desired on a minimal image.
(From OE-Core rev: 3054791e62c6ac1b03b7658f9c59761b254fa05c)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With removal of python 2.x numpy, nothing needs it anymore.
(From OE-Core rev: 9f07b2836405d86e869780f8f1ae00843eadc409)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in oe-core or meta-oe is using it (scons.bbclass is set
to use 3.x version).
(From OE-Core rev: cd2205677fd167be51dc92436fe8f3a5aa440851)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 1.17.0 release of NumPy no longer supports Python 2.x.
(From OE-Core rev: 4e9659f24e2f699effadcbe378b6a746d77ccdbd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Derek Straka has been inactive for about a year; Oleksandr
has been the de facto maintainer meanwhile.
(From OE-Core rev: 90edb9c2e2d5b68ee6923167d96aa957fab97b8b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using DISTRO_FEATURE usrmerge, busybox and something that
requires dpkg-start-stop there is a conflict which prints the
following error.
===
ERROR: core-image-minimal-1.0-r1 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/temp/log.do_rootfs.
ERROR: core-image-minimal-1.0-r1 do_rootfs: Function failed: do_rootfs
===
Looking at the log file, it shows the problem:
update-alternatives: Error: not linking /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon to /usr/bin/busybox.nosuid since /build/tmp-glibc/work/intel_x86_64-linux/core-image-minimal/1.0-r1/rootfs/usr/sbin/start-stop-daemon exists and is not a link
===
The solution is to add an update-alternative to start-stop-daemon for dpkg.
(From OE-Core rev: e6d51c9472dab6cbec313ba51f9e8b9271f02eb8)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using different root directories with a wks file wic is using the
value from the original ROOTFS_SIZE which is not correct. Example:
Number Start End Size File system Name Flags
1 20.5kB 318MB 318MB fat16 otaefi legacy_boot, msftdata
2 318MB 636MB 318MB ext4 otaboot
3 636MB 1709MB 1074MB ext4 otaroot
4 1709MB 2027MB 318MB ext4 otaboot_b
5 2027MB 3101MB 1074MB ext4 otaroot_b
6 3101MB 5249MB 2147MB ext4 fluxdata
The partitions 1, 2, and 3 incorrectly inherit the size, instead of using
a computed size. With the patch applied it is working properly:
Number Start End Size File system Name Flags
1 20.5kB 14.5MB 14.5MB fat16 otaefi legacy_boot, msftdata
2 14.5MB 65.3MB 50.8MB ext4 otaboot
3 65.3MB 1139MB 1074MB ext4 otaroot
4 1139MB 1190MB 50.8MB ext4 otaboot_b
5 1190MB 2264MB 1074MB ext4 otaroot_b
6 2264MB 4411MB 2147MB ext4 fluxdata
As for the removal of the bb.warn, if the size is not specified, it is
not something to warn the end user about. Some of my default images
make use of the head room + a computed directory size or while generating
images.
(From OE-Core rev: 8e48b4d6c4d0ed213089a7449fea63aa0656e786)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to create a msdos partition table disk image that can auto
expand after the image is copied to an SD card, wic needs the ability
to have a primary partition as the last entry. The desired use case
is to be able to create an A/B update partition image scheme with a
/var volume that can be auto expanded to the remainder of the SD card
at run time.
The typical .wks file will look similar to the following:
bootloader --ptable msdos
part / --source rawcopy --sourceparams="file=u-boot.imx" \
--ondisk mmcblk --no-table --align 1 --size 1
part /boot --source bootimg-partition \
--ondisk mmcblk --fstype=vfat --label boot --active --align 4 --size 16
part / --source rawcopy --sourceparams="file=imx6_boot.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaboot --align 4 --type logical
part / --source rawcopy --sourceparams="file=imx6.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaroot --align 4 --type logical
part / --source rawcopy --sourceparams="file=imx6_boot.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaboot_b --align 4 --type logical
part / --source rawcopy --sourceparams="file=imx6.otaimg" \
--ondisk mmcblk --fstype=ext4 --label otaroot_b --align 4 --type logical
part /var --source rawcopy --sourceparams="file=imx6_var.otaimg" \
--ondisk mmcblk --fstype=ext4 --label fluxdata --align 4
Without the patch applied, wic will generate an SD card image that looks like:
Disk boot.img: 890940s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2056s 48001s 45946s primary fat16 lba
2 48008s 132467s 84460s primary ext4
3 132472s 454467s 321996s primary ext4
4 454471s 890939s 436469s extended lba
5 454472s 538931s 84460s logical ext4
6 538936s 860931s 321996s logical ext4
7 860936s 890939s 30004s logical ext4 boot
With the patch applied a primary partition can be created at the end
of the image which can be expanded to fill the free space on the media
where the image has been copied, which looks like:
Disk boot.img: 890940s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2056s 48001s 45946s primary fat16 lba
2 48007s 860931s 812925s extended lba
5 48008s 132467s 84460s logical ext4
6 132472s 454467s 321996s logical ext4
7 454472s 538931s 84460s logical ext4
8 538936s 860931s 321996s logical ext4
3 860936s 890939s 30004s primary ext4 boot
(From OE-Core rev: 56add7cc547e0113cdf980579d1421b14cc233e5)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using a .wks.in file, the only place that the generated .wks file
exists in the tmp/work area. A copy should be left behind in the
deploy directory so that you can easily run the wic tool to
re-generate or modify a new image without running bitbake. Custom
.wks.in files can reference any number of bitbake variables, so it is
important to save the result.
below is an example of using the generated .wks file in the deploy
area. The full name of my generated .wks file was
core-image-minimal-ostree-uboot-ab.wks, but since you usually only
have a single .wks file per image you can use a wild card like:
cd tmp*/deploy/images/*
wic create --vars . -e core-image-minimal -s -m core-image-minimal-*.wks
(From OE-Core rev: 42293d75404486e20db9f7a80d0d1756887b576d)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The EnrollDefaultKeys.efi application (distributed in ovmf-shell-image)
expects the hypervisor to provide a Platform Key and first Key Exchange
Key certificate.
For QEMU, this is done by adding an OEM string in the Type 11 SMBIOS
table. The string contains the EnrollDefaultKeys application GUID followed
by the certificate string. For now, the string is passed in the command
line until QEMU understands OEM strings from regular files (please see
https://bugs.launchpad.net/qemu/+bug/1826200).
If runqemu detects it is given an OVMF binary with support for Secure Boot
(i.e., ovmf.secboot* binaries), extract the certificate string from the
OvmfPkKek1.pem certificate and modify the command-line parameters to
provide the key. Such certificate is created when building OVMF with
support for Secure Boot.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 5e47316ae62f7632fb62bc3b8093ac42f9e3541c)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit from EDK2 be9470b3c91f ("OvmfPkg/EnrollDefaultKeys: enroll
PK/KEK1 from the Type 11 SMBIOS table") mandates that a Platform Key
and first Key Exchange Key certificate is provided to the
EnrollDefaultKeys application.
Previously, the application was using a hard-coded certificate
from Red Hat embedded in the application.
Create a certificate that can QEMU can subsequently pass to
EnrollDefaultKeys when running qemu-shell-image.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
(From OE-Core rev: daaf9d7bd8c3586609ab0eccf49af38dbdb0b02e)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the variable PYTHON_COMMAND to let know EDK2 base tools that python3
in the host shall be used.
In order build successfully, the host must have installed the
python3-distutils package or equivalent.
Based on an original patch by Ross Burton.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 435d1f8ffe9df86367316d25cb6def2ea2041642)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13438]
Update OVMF to edk2-stable201905. Since the last update, several things
have changed. Many of the patches we were carrying have now been taken
upstream in EDK2 or become obsolete. See below for details.
Also, as of commit 0c1ffb9504c3("CryptoPkg: Adding OpenSSL as one
submodule of EDKII repo"), openssl is not embedded into EDK2 using a
patching script but a git submodule. Then, use the gitsm bitbabke fetcher
and drop the extra SRC_URI from openssl when building with secureboot
enabled. Also remove all related variables.
OVMF switched to BSD+Patent license as detailed in
https://bugzilla.tianocore.org/show_bug.cgi?id=1373. Hence, update
LIC_FILES_CHKSUM accordingly to reflect this change.
Patches are updated as follows:
Drop 0001-ia32-Dont-use-pie.patch as it is implemented in upstream EDK2
in commits are 11d0cd23dd1b ("BaseTools/tools_def IA32: drop -no-pie linker
option for GCC49" and c25d3905523a ("BaseTools/tools_def IA32: disable PIE
code generation explicitly") for the applicable GCC versions.
Rebase 0003-BaseTools-makefile-adjust-to-build-in-under-bitbake.patch
to edk2-stable201905.
Drop VfrCompile-increase-path-length-limit.patch as it has been taken
upstream in EDK2 in commit ba78032bc8c9f("BaseTools/VfrCompile: Remove the
MAX_PATH limitation").
Rebase no-stack-protector-all-archs.patch to keep behavior on not using
stack protector on all archs.
Drop 0001-BaseTools-header.makefile-add-Wno-stringop-truncatio.patch,
0002-BaseTools-header.makefile-add-Wno-restrict.patch, and
0003-BaseTools-header.makefile-revert-gcc-8-Wno-xxx-optio.patch. These
patches have been taken in upstream EDK2 in commits 9222154ae7b3("BaseTools
/header.makefile: add "-Wno-restrict"), 1d212a83df0e("BaseTools/
header.makefile: add "-Wno-stringop-truncation"), and 777f4aa083e9
("BaseTools/header.makefile: revert gcc-8 '-Wno-xxx' options on OSX"),
respectively.
Also, drop 0004-BaseTools-GenVtf-silence-false-stringop-overflow-war.patch.
GenVtf has been removed from EDK2 in commit 64ab2c82e8f6("BaseTools:
Remove GenVtf"). Also, this patch had been taken in EDK2 upstream in
commit 9de306701312("BaseTools/GenVtf: silence false 'stringop-overflow'
warning with memcpy()").
Drop patch 0007-OvmfPkg-EnrollDefaultKeys-application-for-enrolling-.patch
as it also has been taken by EDK2.
Patches 0002-ovmf-update-path-to-native-BaseTools.patch and
0004-ovmf-enable-long-path-file.patch did not need any update.
Lastly, add a needed dependency on bc.
Cc: Ross Burton <ross.burton@intel.com>
Cc: Patrick Ohly <patrick.ohly@intel.com>
(From OE-Core rev: 1f64ecf92fa77b682b18efe72fb6b27ff64ee052)
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patches were refreshed with devtool.
I rebuilt all cmake recipes from poky and meta-oe without issue.
(From OE-Core rev: 022d642b0c8f464b451c543db50bb93012bce607)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE = qemuarm64
IMAGE_INSTALL_append = ' grub grub-efi'
do_rootfs failed with error:
file /usr/lib64/grub/arm64-efi/acpi.module conflicts between attempted installs of grub-2.02-r0.aarch64 and grub-efi-2.02-r0.aarch64
file /usr/lib64/grub/arm64-efi/adler32.module conflicts between attempted installs of grub-2.02-r0.aarch64 and grub-efi-2.02-r0.aarch64
...
file /usr/lib64/grub/arm64-efi/zfsinfo.module conflicts between attempted installs of grub-2.02-r0.aarch64 and grub-efi-2.02-r0.aarch64
For arm64, grub and grub-efi both compiled GRUBD2 with platform
arm64-efi, arm64 only support platform efi. So both packages have
almost same folder and content /usr/lib64/grub/arm64-efi/*
if Machine set to qemux86_64, do_rootfs will not have this problem,
since for grub, it compiled with platform i386-pc, for grub-efi,
compiled with platform x86-64-efi.
>From commit:
commit 4e9bb03238
Author: Hongxu Jia <hongxu.jia@windriver.com>
Date: Wed Jan 17 03:25:58 2018 -0500
grub/grub-efi: fix conflict
While installing grub and grub-efi, there are conflict files
in ${sysconfdir} ${datadir} ${bindir} ${sbindir}.
- Since all of the conflicted files are tools which is
common for grub and grub-efi, we split them (except
grub-editenv) to grub-common in grub.
common tools for grub and grub-efi are installed into grub-common,
for aarch64, also shipped libdir into this common packages.
in this way, for qemuarm64, package grub is empty, and package grub-efi
use lib in package grub-common
(From OE-Core rev: 933286bdcb9008b75007abedf30cc1b4b6e2f0d0)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
trying to reduce the turnaround times for local builds, i'm trying to
find a way to inject `-Zgzip -z1` into the dkpg-deb command line.
attached patch introduces a `DPKG_BUILDCMD` variable for this purpose.
(i'm not very familiar with the whole bitbake infrastructure, so i'm
wondering: do i have to add it to the `vardeps` of do_package_deb?)
tia,
tim
>From 62d4930d307d5d07844889001e8a1c3111b72b98 Mon Sep 17 00:00:00 2001
From: Tim Blechmann <tim@klingt.org>
Date: Thu, 8 Aug 2019 06:48:54 +0200
Subject: [PATCH] package_deb: allow dpkg-deb to be customized via
DPKG_BUILDCMD
the command line to invoke `dpkg-deb` is hardcoded. there are certain use
cases where we want to tweak how debian packages are compiled: e.g. the
default uses xz compression, which is rather CPU intensive. for local
builds one might want to pass `-Zgzip -z1` to favor speed over compression
ratio.
we therefore introduce a `DPKG_BUILDCMD` variable which allows downstream
code to customize how dpkg-deb is executed
(From OE-Core rev: 4e00ceaf38f2ae338e3b192c3485aaa963f54b99)
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ rm -fr tmp-glibc/cache/default-glibc/qemux86/x86_64/bb_cache.dat* ; bitbake -p
Press the first Ctrl-C when the parsing process is at about 50%:
Keyboard Interrupt, closing down...
Then presss the second Ctrl-C:
File "/path/to/bitbake/bitbake/lib/bb/ui/knotty.py", line 619, in main
event = eventHandler.waitEvent(0.25)
File "/path/to/bitbake/lib/bb/server/process.py", line 591, in waitEvent
self.eventQueueNotify.wait(delay)
File "/usr/lib/python3.5/threading.py", line 549, in wait
signaled = self._cond.wait(timeout)
File "/usr/lib/python3.5/threading.py", line 297, in wait
gotit = waiter.acquire(True, timeout)
KeyboardInterrupt
Capture the second KeyboardInterrupt during stateShutdown is running can fix
the problem. There may be still tracebacks for the third KeyboardInterrupt, but
I'm leaning to not fix it since we aimed for supporting 2 KeyboardInterrupts
only.
(Bitbake rev: 8c26b451f22193ef1c544e2017cc84515566c1b8)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
$ rm -fr tmp-glibc/cache/default-glibc/qemux86/x86_64/bb_cache.dat* ; bitbake -p
Press *one* Ctrl-C when the parsing process is at about 50%, then the processes
are not exited:
Keyboard Interrupt, closing down...
Timeout while waiting for a reply from the bitbake server
It hangs at process.join(), according to:
https://docs.python.org/3.7/library/multiprocessing.html
Cleanup the queue before call process.join() can fix the problem.
(Bitbake rev: 3eddfadd19b2ce4c061861abf0c340e3825b41ff)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After iterating with upstream, this is the patch that landed.
(From OE-Core rev: 30a2af80f5f8c8ddf0f619e4f50451b02baa22dd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/usr/lib/attr/ptest/test/sort-getfattr-output is a perl script.
(From OE-Core rev: 5843be17fe2ce3d206d7f8338b8d82a09cfe33fd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
/usr/lib/dpkg/methods/apt/setup is a perl script.
(From OE-Core rev: a96de885e122bd31e3382d6ecf6f665680e9db71)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
EXCLUDE_PACKAGES_FROM_SHLIBS is too broad: it suppresses both generation
of required and provided shlibs. We need to suppress only the provided shlibs
(to avoid clashes with the main package providing the same shlibs),
and run the required shlib dependencies generator as usual.
(From OE-Core rev: 7d342fd04266bedc12706c111c5b83d952566bca)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh the patch to fix the do_patch QA warning.
(From OE-Core rev: 72e6919bab390494103472401a563199ab339e85)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the code is compiled with "-fstack-protector-strong
-D_FORTIFY_SOURCE=2", everytime ftpfd is asked for a non existent file,
it crashes with the following error:
*** buffer overflow detected ***:
Aborted
This seems to be a bug/feature of gcc. A bug has been open on their
bugzilla, and also inetutils have been posted with the proposed patch.
Without this patch, pxelinux fails to boot because it keeps asking the
server for the pxelinux.cfg/00-01-02-03-04 and never jumps to /default.
(From OE-Core rev: 0c3a1251a8aec86f3e877130f926a928e5ca2030)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Add missing dependency on libedit
- Define LLVMVERSION on the same lines as GCCVERSION and other tools
- Use LLVMVERSION in mesa and meson.bbclass to get llvm version instead of
hardcoding it
- Use llvm patches unmodified from meta-clang, helps in keeping them in
sync
- Define PREFERRED_VERSION for llvm, llvm-native, nativesdk-llvm
(From OE-Core rev: 3c08b638348abd543fc92baf56c28ca16ae6aac6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not only grub-efi-native, but also add grub-native to provide
grub utilities on host
(From OE-Core rev: 67dfa11f2d2fb5242814e133346e72515bfc0aca)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
QB_SYSTEM_NAME set in qemuboot-x86.inc will be removed,
so set QB_SYSTEM_NAME in these two configuration files.
(From meta-yocto rev: 6748c925817da0e7ae2a84d1214e3595515962b5)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to Meson instead of CMake.
Add PACKAGECONFIG for surfaceless-egl.
Inherit bash-completion for the new wlinfo completion script.
(From OE-Core rev: 96decf673992b1cd1eebac45a5cd534eef27ebd7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gzip-ptest skips the following tests on core-image-sato builds:
- zgrep-context
- zdiff
- zgrep-signal
The same tests pass on core-image-sato-sdk builds. This is due to
the use of busybox tool variants on core-image-sato (zgrep-context,
zdiff) and the absence of the perl and perl-ptest packages
(zgrep-signal). This patch adds the dependencies needed for all
three tests.
(From OE-Core rev: c2559ab9b41b823b23dc675745bbaefd45362a08)
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While working with ostree disk generation in conjunction with wic, I
found a problem with pseudo where it tried to resolve a symlink when
it shouldn't, based on openat() flags. A C program has been
constructed to test pseudo to show that it is working properly with
the correct behavior around openat().
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
int main()
{
/*
* Tested with: gcc -Wall -o app app.c ; echo "no pseudo" ;
* ./app ; echo "pseudo"; pseudo ./app
*/
system("rm -rf tdir tlink");
system("mkdir tdir");
system("ln -s tdir tlink");
DIR *dir = opendir(".");
int dfd = dirfd(dir);
int target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK |
O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
if (target_dfd == -1) {
printf("Test 1 good\n");
} else {
printf("Test 1 failed\n");
close(target_dfd);
}
target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK |
O_DIRECTORY | O_CLOEXEC);
if (target_dfd == -1) {
printf("Test 2 failed\n");
} else {
printf("Test 2 good\n");
close(target_dfd);
}
/* Test 3 make sure the owner of the link is root */
struct stat sbuf;
if (!lstat("tlink", &sbuf) && sbuf.st_uid == 0) {
printf("Test 3 good\n");
} else {
printf("Test 3 failed\n");
}
/* Test 4 tests open with the "rb" flag, owner should not change */
int ofd = openat(dfd,"./tlink", O_RDONLY|O_CLOEXEC);
if (ofd >= 0) {
if (fstat(ofd, &sbuf) != 0)
printf("ERROR in fstat test 4\n");
else if (sbuf.st_uid == 0)
printf("Test 4 good\n");
close(ofd);
} else {
printf("Test 4 failed with openat()\n");
}
/* Test pseudo db to see the fstat() above did not delete the DB entry */
if (!lstat("tlink", &sbuf) && sbuf.st_uid == 0)
printf("Test 5 good\n");
else
printf("Test 5 failed... tlink is owned by %i and not 0\n", sbuf.st_uid);
return 0;
}
int main()
{
/* Tested with: gcc -Wall -o app app.c ; echo "no pseudo" ; ./app ; echo "pseudo"; pseudo ./app */
system("rm -rf tdir tlink");
system("mkdir tdir");
system("ln -s tdir tlink");
DIR *dir = opendir(".");
int dfd = dirfd(dir);
int target_dfd = openat (dfd, "tlink", O_RDONLY | O_NONBLOCK | O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
if (target_dfd == -1) {
printf("This is right\n");
} else {
printf("This is broken\n");
}
return 0;
}
Many thanks to Peter Seebach for fixing the problem in the pseudo code
to use the same logic which was already there for the
AT_SYMLINK_NOFOLLOW.
Also updated is the license MD5 checksum since the master branch of
pseudo has had the SPDX data updated.
(From OE-Core rev: a98ea4be5ce19ff380ca500ba1ef3da490ec4556)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sqlite3-native in particular was finding zlib from the host if zlib-devel
was installed. This could lead to races where pseudo-native may or may not
fail to build.
We don't need/use compressed page support with sqlite so disable the dependency
(it doesn't have a configure option so use a autoconf cache variable).
The target binaries were not previously building with zlib, so we will
leave the default being zlib turned off, while the host binaries were
building with it "occasionally", but not for anything at runtime.
(From OE-Core rev: 0af2c6af0d5c060666f7ee6f2ef428c1a414cb86)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done to require only a single version change if bzip2
is updated and fixes also setting package version 1.0.6 for
bzip2 1.0.8.
(From OE-Core rev: beb4fb0b0e89ce6b80645322ee435a6b4909b652)
Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configrations:
MACHINE: qemux86-64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
Reproduce steps:
bitbake lib32-core-image-minimal
runqemu qemux86-64 nographic lib32-core-image-minimal
Errors:
qemu cannot bootup since:
Booting from ROM...
This kernel requires an x86-64 CPU, but only detected an i686 CPU.
Unable to boot - please use a kernel appropriate for your CPU.
QEMU: Terminated
For lib32 image, override has x86, so the qemubin set to qemu-system-i386,
fix by move QB_SYSTEM_NAME to corresponding conf, don't use the override
(From OE-Core rev: ffaf86f175b2e6caa3a0067f7b3725930b053715)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch has iterated, so update to the latest revision.
(From OE-Core rev: 042e8e8a7181bb3ca830185c38f9287f62c68fe6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without linux-libc-headers-dev being added to the libc6-dev as a RDEPENDS,
the system may fail to install the necessary libc headers.
This can happen when NO_RECOMMENDATIONS = "1" is defined.
During the 'testsdk' this results in failures that look like:
fatal error: linux/errno.h: No such file or directory
# include <linux/errno.h>
^~~~~~~~~~~~~~~
This also matches the behavior of musl, which does not suffer from this
problem.
(From OE-Core rev: ad31c908c8267166ce6cce9d5085ef2ac099a6c5)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed when build host != x86 box
(From OE-Core rev: 5096f535561d2fd608d622abec5bc2ddb79d49b7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
makefile assumes native toolnames e.g. ar, as, nm etc.
which causes build fails on non-x86 build hosts
objcopy: Unable to recognise the format of the input file `libcom32.elf'
(From OE-Core rev: ee9afb34fb95409148734fda1eea1fe8f81983fd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Seen to fail on musl/mips, this fixes the check to be linux specific
which means it can detect the endianness for musl correctly
(From OE-Core rev: c9559685ebcfb0303fc072c99b3d518427fc5a82)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop backported patches
- Move common pieces between cross-localedef and glibc into a common file
- Move latest checksums to glibc-common.inc and remove duplicates from glibc recipe
- Detailed release notes [1]
[1] https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html
(From OE-Core rev: fe75808dca4bb56ac703d18ebbad4004678f69da)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Inherit deploy bbclass and install files to DEPLOYDIR rather than in
DEPLOY_DIR_IMAGE.
(From OE-Core rev: f03ab9b21c2aeeae0bd020ee94ec9bb1d903500d)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These comments are not valid any more, drop them.
(From OE-Core rev: 39f5a3030a97bdf567ee11091dd4e95ef04585d7)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fathi has as well been inactive for a long time.
(From OE-Core rev: 29ac3e98fdfb7d0d3bb3884b97a0ba5255826904)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
groff has system headers overrides in its sourcecode which it
generates as fallbacks but in some cases when a system header includes
math.h via include <> directive it lands in the override header and
causes compile issues, seen with clang+libc++, this patch makes sure
that right defines are available before including it
(From OE-Core rev: e9beba2a33b46d31bfdd926211d22ebf2abb6c90)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default works fine; not sure why the line was added.
(From OE-Core rev: 66bb9fd36128bb5ce12c7a5e224cfcd69dc2cd06)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't appear to be used anymore, as saving a few hundred k at the expense
of only using ASCII is quite the compromise in the modern world.
(From OE-Core rev: 1a502765db2093e573c9e3ecd6c1bc7621476963)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the metadata to correspond to the bitbake siggen task specification
format change. This standardises on "<fn>:<task>" everywhere rather than
the "." delimiter that was being used in some places.
This is an API breaking change but means we now have a consistent format
being used throughout the codebase without compatibility APIs.
(From OE-Core rev: 23db236a054ee7a989cdbbcb42ad5c6eefd4a6ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake has updated to a cleaned up form of BB_HASHCHECK_FUNCTION,
adapt to this cleanup. This is an API breaking change.
(From OE-Core rev: a4d413d8d809132b0e0a5dd673a36e2bd0e0be4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update the code to handle BB_HASHSERV, an autostarted bitbake internal hash
equivalency server suited to local developer usage.
(From OE-Core rev: 9b3d7b0b0ff27281391c2b8f2511d312d6995ed6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream bitbake now hanes preserving the unihash data itself, drop
this usage of persist_data which was extremely problematic due to
concurrent task access issues, particulary on loaded systems.
(From OE-Core rev: 034d91c2c94b201797a7830b0af6141132f9bad1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the hash server settings are incorrect, show the user useful
error messages instead of tracebacks.
(From OE-Core rev: 2df5d95b9b63e30ddaa7c72a4173b9a05b3f15f9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is closely tied with the hash server in bitbake and also means
we can't relibably test the hashserv runqueue functionality without OE
metadata. Moving this to bitbake as a MixIn class makes most sense
and encourages code collaboration and reuse as well as enabling easier
and more accurate testing of the APIs.
(From OE-Core rev: a2a9c6092d4dde706ed071b08a972d1d87184295)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pythonexception argument is no more, and passing True is the new behavior.
[ YOCTO #13468 ]
(From OE-Core rev: b7a34d2b8d684e5b98f5c286de67dc1b5d8df853)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst seemingly a good idea, this exception doesn't really serve any purpose
that bb.fatal() doesn't cover. Wrapping exceptions within exceptions isn't
pythonic.
Its not used in many places, lets clean up those and remove usage of it
entirely. It may ultimately be dropped form bitbake entirely.
(From OE-Core rev: efe87ce4b2154c6f1c591ed9d8f770c229b044ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We depend on a number of bitbake API changes, bump the min bitbake
version requirement.
(From OE-Core rev: 908cdd669b083b172f7cd53dd020629affee360c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a test which tests the runqueue adaptations for hash equivalency.
(Bitbake rev: 477321d0780df177c1582db119c2bb6795912fc6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its hard to see what this exception adds in the current codebase. The logfile
attribute is effectively ignored, the exception doesn't serve a defined
purpose and mostly seems to be worked around.
Remove it entirely. If this does cause output problems, we'll figure
out better ways to address those.
(Bitbake rev: cfeffb602dd5319f071cd6bcf84139ec77f2d170)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently siggen uses the format "<filename>.<taskname>" for referencing tasks
whilst runqueue uses "<filename>:<taskname>". This converts to use ":" as the
separator everywhere.
This is an API breaking change since the cache is affected, as are siginfo files
and any custom signature handlers such as those in OE-Core.
Ultimately this will let us clean up and the accessor functions from runqueue,
removing all the ".rsplit(".", 1)[0]" type code currently all over the place.
Once a standard is used everwhere we can update the code over time to be more
optimal.
(Bitbake rev: 07e539e1c566ca3434901e1a00335cb76c69d496)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function uses an old API which uses offsets into lists as a communication
mechanism. Update the API to use "tid" which is used universally in runqueue now.
We can also add kwargs support to the funciton definition to drop some of the
backwards compaiblility hoops we had to jump though with different function
argument combinations.
(Bitbake rev: dc23550047e5078da491ce9a6f30989cb5260df6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were hard to debug lockups when trying to use threading to start
hashserv as a thread. Switch to multiprocessing which doesn't show the
same locking problems.
(Bitbake rev: be23d887c8e244f1ef961298fbc9214d0fd0968a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Experience with the prserv shows that having two threads, one accepting
and queueing connections and one handling the requests leads to much
more reliable behaviour than having everything in a single thread.
(Bitbake rev: a03d60671a53d9ff70e07cc42fe35f6f8776dac2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen PR Server timeouts on the autobuilder, this is likely from the
journal being blocked on disk IO generated by the build.
Since we're running with synchronous off, we may as well put the journal
into memory and avoid any IO related stalls.
(Bitbake rev: ee3fc6030e653f3244b065fc89aafd2a7c36ae04)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing performance problems with hashserv running on a normal build
system. The cause seems to be the large amounts of file IO that builds involve
blocking writes to the database. Since sqlite blocks on the sync calls, this
causes a significant problem.
Since if we lose power we have bigger problems, run with synchronous=off
to avoid locking and put the jounral into memory to avoid any write issues
there too.
This took writes from 120s down to negligible in my tests, which means
hashserv then responds promptly to requests.
(Bitbake rev: 7ae56a4d4fcf66e1da1581c70f75e30bfdf3ed83)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful, particularly in the local developer model of usage, for
bitbake to start and stop a hash equivalence server on local port,
rather than relying on one being started by the user before the build.
The new BB_HASHSERVE variable supports this.
The database handling is moved internally into the hashserv code so that
different threads/processes can be used for the server without errors.
(Bitbake rev: a4fa8f1bd88995ae60e10430316fbed63d478587)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this isn't strictly necessary, its helpful if the log output is
consistent and its also helpful if bugs either appear or don't appear
for a specific configuration. Ensuring the various iterations we make
are deterministic (sorted) helps with this.
(Bitbake rev: 6a901bb904a97ca90d88be2c6901d3d32346282f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is a compelling usecase for tasks being able to notify runqueue
that their "unihash" has changed. When this is recieved, the hashes of
all subsequent tasks should be recomputed and their new hashes checked
against existing setscene validity. Any newly available setscene tasks
should then be executed.
Making this work effectively needs several pieces. An event is added
which the cooker listen for. If a new hash becomes available it can
send an event to notify of this.
When such an event is seen, hash recomputations are made. A setscene
task can't be run until all the tasks it "covers" are stopped. The
notion of "holdoff" tasks is therefore added, these are removed from
the buildable list with the assumption that some setscene task will
run and cover them.
The workers need to be notified when taskhashes change to update their
own internal siggen data stores. A new worker command is added to do this
which will affect all newly spawned worker processes from that worker.
An example workflow which tests this code is:
Configuration:
BB_SIGNATURE_HANDLER = "OEEquivHash"
SSTATE_HASHEQUIV_SERVER = "http://localhost:8686"
$ bitbake-hashserv &
$ bitbake automake-native
$ bitbake autoconf-native automake-native -c clean
$ bitbake m4-native -c install -f
$ bitbake automake-native
with the test being whether automake-native is installed from sstate.
(Bitbake rev: 1f630fdf0260db08541d3ca9f25f852931c19905)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than metadata driven sqlite databases for communication, use
bitbake's unitaskhashes variable instead.
(Bitbake rev: a0d941c787cf3ef030d190903279d311bc05d752)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to preserve unihash task hashes between runs. Use the new SimpleCache
class to create such a class within the signature generator which is loaded
at init time and saved when builds complete. The default is unpopulated but
metadata sig handlers can populate this cache.
(Bitbake rev: 1f326f2c29c2664a5daaeeb0c1fd332630efbdba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than a special copy of the data structure which we change, compute
the logic using set operations from other data we have. This means
we can add tasks back into the scenequeue without having to worry about
reversing operations on this variable with all the potential bugs that
might involve.
(Bitbake rev: b707d0cbc25fa336a1e95ff588f1ea37eee063eb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds a simple version of the MultiProcessCache which can be used to
save and load cache data, useful for a new usecase we have in
sigdata/runqueue.
(Bitbake rev: 19a6e35600ae6d2d1bcecca6e68ab8c37674774e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code is closely tied with the hash server in bitbake and also means
we can't relibably test the hashserv runqueue functionality without OE
metadata. Moving this to bitbake as a MixIn class makes most sense
and encourages code collaboration and reuse as well as enabling easier
and more accurate testing of the APIs.
(Bitbake rev: 7bb79099a6c1b463d6ae9226c4cab5e76a965675)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Implements a number of optimizations to the SQL used in the hash
equivalence server:
1) Two indexes are created for the two methods (method, taskhash and
method outhash) by which rows are found in order to speed up the
lookup
2) An extra SELECT to lookup the just inserted row was removed. This
SELECT is unnecessary since all of the information about the newly
inserted row is already available.
3) A uniqueness constraint was added to the table. This should allow
the server to be multithreaded in the future since duplicate inserts
can be detected (and ignored). This change requires bumping the
database version to '2', since a uniqueness constraint can't be
added to an existing table.
4) Some comments are added to clarify the trick SELECT statement used
when inserting new equivalent hashes
(Bitbake rev: 7aec8632e67b4f0ab7b72692c40a42f6926608c3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we write to the sstate directory we try to do so atomically so
consumers either see one version or another but never an imcomplete file.
Unfortunately this is reliant on filesystem support and with some NFS
configurations a replaced file would be lost from memory even if users held
open descriptors.
It makes sense to try and avoid replacing existing files where we can.
(From OE-Core rev: 18cdc087fd5da30e2b31f3d4e81b153cd36ca844)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the build when the host doesn't have libc.a installed by reverting an
upstream commit, and cherry-pick a build fix from master.
Drop a redundant sed, the expression it removes doesn't exist anymore.
Move most patches to libx11.inc so that they're applied to both libx11 and libx11-diet.
(From OE-Core rev: 8bb48ac237315e83837973ecd1488060ec170588)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The generated source file sdksyms.c has a comment with the absolute build path,
which means xserver-xorg-src contains this build path. This is both potential
build information leakage and a source of unreproducibility, so remove the
comment.
(From OE-Core rev: 2086e0f08d920de15ab4065fb43c2281b1dcc57a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No modern drivers nor applications use DGA, so remove the client library.
(From OE-Core rev: 2d7e485fcfbc0dc3d76339baf02f50c3c9e22a91)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DGA (Direct Graphics Access) is an obsolete extension that neither modern X
drivers nor applications support. We'll remove the client library, so remove
the optional dependency on DGA in xdpyinfo.
(From OE-Core rev: b00b1bb1f9394c05268fa10bf0114dc9defc70df)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ideally we'd disable this as no real world client applications actually use DGA
these days, but some drivers (for example fbdev and cirrus) still need DGA
enabled in the server to build.
(From OE-Core rev: e7b1a58a757334d5c73a9b7a8c67e6ead07166c7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
xorgproto is mentioned in the PACKAGECONFIG build dependencies because in the
past it was many separate *proto recipes. Now they're all in one recipe, which
is in DEPENDS, so we don't need to depend on it several times.
(From OE-Core rev: 1c072b42525864e26d4ab17a64f925ce3803d583)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The extension this client library is for was removed from the X server over a
decade ago:
commit 22e64108ec63ba77779891f8df237913ef9ca731
Author: Daniel Stone <daniel@fooishbar.org>
Date: Wed Jul 16 06:25:26 2008 +0300
XFree86: Remove XFree86-Misc extension
Its last remaining purpose in life has been destroyed by input
properties. Au revoir: it's been fun, by which I mean awful.
Remove the obsolete dependencies from xset and xdpyinfo, and delete libxx86misc
entirely.
(From OE-Core rev: 4d7677b2f511b2d07fabb1f06213a569c53f839f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
enter the commit message for your changes. Lines starting
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The changes include:
- Drop all autotools related patches.
- Move weston-launch setuid-install to do_install task since it's not
supported yet by meson build.
- Drop cairo-glesv2 package config, it's not supported by meson build,
the recommended value is hard-coded to cairo-image for now in weston
source.
- Introduce remoting package config, to give this option a explicit
value, or else the build would run into gstreamer missing error since
it defaults to be true but gstreamer is not in depends list.
- Default to headless backend if neither x11 nor wayland is in
DISTRO_FEATURES.
To be noticed, the packages built from meson would not be identical
with those built from autotools, for instance, libz dependency has been
dropped from meson build, and systemd-notify is always built in meson
when systemd packageconfig is enabled, which in autotools, it's
optional, and so on, it's not easy to list all the differences, but
you could get them by comparing the pkgdata directories built by meson
and autotools.
(From OE-Core rev: 8d68e3cb315137f73d1b0f5f80180c2d3526f99d)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some people mistakenly use DEPENDS_${PN} and wonder why the dependencies don't
work. Check for this and tell the user to use DEPENDS.
(From OE-Core rev: cfaa104955c4ad0aafbe5d59ef85e4a8e3526c69)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All local patches are now upstream so they have been dropped.
Other upstream commits make ptest-runner build using: clang -Weverything
$ git log --oneline b73bd54..7015e91
7015e91 (HEAD -> oe-core-master, tag: v2.3.2, origin/master, origin/HEAD, master) Fix additional warnings when using clang
dd1daa8 tests: fix clang warnings.
15fd131 main code: fix clang warnings
59381a6 utils: ensure child can be session leader
5fe2c0a utils: Ensure pipes are read after exit
79a9c27 use process groups when spawning
b73bd54 utils: Ensure stdout/stderr are flushed
(From OE-Core rev: 9a80a352a9d0c4ea09de7bb370267672c32771f2)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when runqemu with slirp option on same host with different
users, it will report PermissionError: [Errno 13] Permission
denied: '/tmp/qemu-port-locks/2222.lock'
and during handle this exception, another exception happened since
key not exist. Fix by check if key exist first
(From OE-Core rev: 56f30e5377ebe5cc4544f081e001934706a0d8d3)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits that comprise the following
changes:
7250956f6eaf Linux 4.19.61
025eb12bb4b0 dm bufio: fix deadlock with loop device
404f59e265ac dt-bindings: allow up to four clocks for orion-mdio
03e6a668ea1f net: mvmdio: allow up to four clocks to be specified for orion-mdio
dd87cc633ba5 blkcg: update blkcg_print_stat() to handle larger outputs
73efdc5d7d3b blk-iolatency: clear use_delay when io.latency is set to zero
1ab644bd02ab blk-throttle: fix zero wait time for iops throttled group
91da712ff592 usb: Handle USB3 remote wakeup for LPM enabled devices correctly
152ddf9f0458 Bluetooth: Add SMP workaround Microsoft Surface Precision Mouse bug
98318cd31b95 intel_th: msu: Fix single mode with disabled IOMMU
d6328d7c1a71 mtd: spinand: read returns badly if the last page has bitflips
94f1db42a968 mtd: rawnand: mtk: Correct low level time calculation of r/w cycle
30c6b34759f6 eCryptfs: fix a couple type promotion bugs
92e23f5fc049 mmc: sdhci-msm: fix mutex while in spinlock
01982f7bcc9d powerpc/pseries: Fix oops in hotplug memory notifier
e725502b8548 powerpc/powernv/npu: Fix reference leak
1e3b61cbc30d powerpc/watchpoint: Restore NV GPRs while returning from exception
237ac0d73b55 powerpc/32s: fix suspend/resume when IBATs 4-7 are used
7961981718d6 parisc: Fix kernel panic due invalid values in IAOQ0 or IAOQ1
a6a0daa775e8 parisc: Ensure userspace privilege for ptraced processes in regset functions
ef5c2e165ab0 crypto: caam - limit output IV to CBC to work around CTR mode DMA issue
376b80276d84 gpu: ipu-v3: ipu-ic: Fix saturation bit offset in TPMEM
ef30c0739439 xfs: abort unaligned nowait directio early
669c867972c0 xfs: serialize unaligned dio writes against all other dio writes
d61d885b17b0 xfs: fix reporting supported extra file attributes for statx()
f614ef7a34b0 xfs: reserve blocks for ifree transaction during log recovery
424543a53ae0 xfs: don't ever put nlink > 0 inodes on the unlinked list
3a895cc066c0 xfs: rename m_inotbt_nores to m_finobt_nores
2ab62234e823 xfs: don't overflow xattr listent buffer
1dc8b13cc66d xfs: flush removing page cache in xfs_reflink_remap_prep
788920d12b95 xfs: fix pagecache truncation prior to reflink
41f64437f030 include/asm-generic/bug.h: fix "cut here" for WARN_ON for __WARN_TAINT architectures
afa3e571cde3 coda: pass the host file in vma->vm_file on mmap
2c0222b48e77 libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields
656d06dab4d6 HID: wacom: correct touch resolution x/y typo
1c871b4006b2 HID: wacom: generic: Correct pad syncing
46f71a15abe7 HID: wacom: generic: only switch the mode on devices with LEDs
cb4c2b94f629 IB/mlx5: Report correctly tag matching rendezvous capability
4bd953241d81 Btrfs: add missing inode version, ctime and mtime updates when punching hole
fffedf5cf67e Btrfs: fix fsync not persisting dentry deletions due to inode evictions
110850fffeb0 Btrfs: fix data loss after inode eviction, renaming it, and fsync it
6b71c62ea9da PCI: qcom: Ensure that PERST is asserted for at least 100 ms
529e71cae929 PCI: Do not poll for PME if the device is in D3cold
4d8504004c86 PCI: hv: Fix a use-after-free bug in hv_eject_device_work()
f0ff76a42ef5 intel_th: pci: Add Ice Lake NNPI support
66a13b5e4e9c drm/edid: parse CEA blocks embedded in DisplayID
9854e06842bc perf/x86/amd/uncore: Set the thread mask for F17h L3 PMCs
82c46f7b0918 perf/x86/amd/uncore: Do not set 'ThreadMask' and 'SliceMask' for non-L3 PMCs
a847a5225432 perf/x86/intel: Fix spurious NMI on fixed counter
0d4c0bb70665 x86/boot: Fix memory leak in default_get_smp_config()
b52807e607f1 9p/virtio: Add cleanup path in p9_virtio_init
1253882d64d0 9p/xen: Add cleanup path in p9_trans_xen_init
007e5aaf287c xen/events: fix binding user event channels to cpus
e380170b3b3a dm zoned: fix zone state management race
1e4247d7958b padata: use smp_mb in padata_reorder to avoid orphaned padata jobs
0489d808a5f2 drm/nouveau/i2c: Enable i2c pads & busses during preinit
c77cbc873586 kconfig: fix missing choice values in auto.conf
2c7b50c7b1d0 fs/proc/proc_sysctl.c: fix the default values of i_uid/i_gid on /proc/sys inodes.
ba271659ad42 arm64: tegra: Fix AGIC register range
ba27a25df6df KVM: x86/vPMU: refine kvm_pmu err msg when event creation failed
87bae91a0fe9 media: videobuf2-dma-sg: Prevent size from overflowing
cb2e2b0ae554 media: videobuf2-core: Prevent size alignment wrapping buffer size to 0
deb78bd24e0c media: coda: Remove unbalanced and unneeded mutex unlock
fc0232e24541 media: v4l2: Test type instead of cfg->type in v4l2_ctrl_new_custom()
a4c4c06f1755 ALSA: hda/realtek: apply ALC891 headset fixup to one Dell machine
8ba78e4d564e ALSA: hda/realtek - Fixed Headphone Mic can't record on Dell platform
c92212a81617 ALSA: seq: Break too long mutex context in the write loop
eb6c84e4b4f2 raid5-cache: Need to do start() part job after adding journal device
3f42c0000b23 ASoC: dapm: Adapt for debugfs API change
677b2aa3be5c lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZE
0b174bac4e43 pnfs: Fix a problem where we gratuitously start doing I/O through the MDS
f64ff5914f00 pNFS: Fix a typo in pnfs_update_layout
603e7497bf27 pnfs/flexfiles: Fix PTR_ERR() dereferences in ff_layout_track_ds_error
5347e61954fc NFSv4: Handle the special Linux file open access mode
6825ff011c7c iwlwifi: fix RF-Kill interrupt while FW load for gen2 devices
a32e2ceca0ef iwlwifi: don't WARN when calling iwl_get_shared_mem_conf with RF-Kill
d9ce0788da91 iwlwifi: pcie: fix ALIVE interrupt handling for gen2 devices w/o MSI-X
04c52c105a38 iwlwifi: pcie: don't service an interrupt that was masked
7ebddd5fe217 arm64: tegra: Update Jetson TX1 GPU regulator timings
042451b921b1 regulator: s2mps11: Fix buck7 and buck8 wrong voltages
8da63aa46e26 Input: alps - fix a mismatch between a condition check and its comment
81368a9a98d9 Input: synaptics - whitelist Lenovo T580 SMBus intertouch
cfb9250619c8 Input: alps - don't handle ALPS cs19 trackpoint-only device
d657077eda7b Input: gtco - bounds check collection indent level
f11ba9df8eed bcache: destroy dc->writeback_write_wq if failed to create dc->writeback_thread
2ab14861d2eb bcache: fix mistaken sysfs entry for io_error counter
3c466df8fc59 bcache: ignore read-ahead request failure on backing device
4fc48cd21a31 bcache: Revert "bcache: free heap cache_set->flush_btree in bch_journal_free"
ab966241d59a bcache: Revert "bcache: fix high CPU occupancy during journal"
58169c189bd6 Revert "bcache: set CACHE_SET_IO_DISABLE in bch_cached_dev_error()"
c3b7d27f3746 crypto: crypto4xx - fix a potential double free in ppc4xx_trng_probe
a9fd1795fee6 crypto: ccp/gcm - use const time tag comparison.
561c4424f1e3 crypto: ccp - memset structure fields to zero before reuse
13805a5df489 crypto: crypto4xx - block ciphers should only accept complete blocks
17e63172d536 crypto: crypto4xx - fix blocksize for cfb and ofb
4598094d24c7 crypto: crypto4xx - fix AES CTR blocksize value
1c9b0a766513 crypto: chacha20poly1305 - fix atomic sleep when using async algorithm
eb99c084da28 crypto: arm64/sha2-ce - correct digest for empty data in finup
4230e09e61e6 crypto: arm64/sha1-ce - correct digest for empty data in finup
52f07c1ac70e crypto: ccp - Validate the the error value used to index error messages
bed97f646997 crypto: ghash - fix unaligned memory access in ghash_setkey()
ce7ec07abaf7 scsi: mac_scsi: Fix pseudo DMA implementation, take 2
de769c762626 scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
3e9534fa5046 scsi: megaraid_sas: Fix calculation of target ID
1334a3e2d6d0 scsi: core: Fix race on creating sense cache
58f59f6072ab Revert "scsi: ncr5380: Increase register polling limit"
7cfded7a705c scsi: NCR5380: Always re-enable reselection interrupt
d91baba81a6e scsi: NCR5380: Reduce goto statements in NCR5380_select()
e73db096691e xen: let alloc_xenballooned_pages() fail if not enough memory free
ff54c44f1038 floppy: fix out-of-bounds read in copy_buffer
a9444d9d0f6f floppy: fix invalid pointer dereference in drive_name
5b565f3276f3 floppy: fix out-of-bounds read in next_valid_format
6e34fd07484a floppy: fix div-by-zero in setup_format_params
7c16c5eae41a iavf: fix dereference of null rx_buffer pointer
e9896b29d010 net: mvmdio: defer probe of orion-mdio if a clock is not ready
5f6c5f5ae25e gtp: fix use-after-free in gtp_newlink()
141222216438 gtp: fix use-after-free in gtp_encap_destroy()
0a5eca2c949c gtp: fix Illegal context switch in RCU read-side critical section.
e117a04133c6 gtp: fix suspicious RCU usage
202de90df2b7 Bluetooth: validate BLE connection interval updates
ca33af18b5fc gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
0fdb922d0ef0 Bluetooth: Check state in l2cap_disconnect_rsp
3b57b7a3a82a perf tests: Fix record+probe_libc_inet_pton.sh for powerpc64
c814f618b799 Bluetooth: 6lowpan: search for destination address in all peers
c82c4910e9e6 Bluetooth: Add new 13d3:3501 QCA_ROME device
1cbce19bd697 Bluetooth: Add new 13d3:3491 QCA_ROME device
578658df21d5 Bluetooth: hci_bcsp: Fix memory leak in rx_skb
9d47bd217539 tools: bpftool: Fix json dump crash on powerpc
2ad04d31bb3e gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
157d1c7a1a00 bonding: validate ip header before check IPPROTO_IGMP
88f751b066f2 selftests: bpf: fix inlines in test_lwt_seg6local
ef5b204336b3 bpf, libbpf, smatch: Fix potential NULL pointer dereference
0f2f2cebe64d rxrpc: Fix oops in tracepoint
ca37b9a74689 net: usb: asix: init MAC address buffers
51216937c319 bnx2x: Prevent ptp_task to be rescheduled indefinitely
e358d2ab42f8 perf stat: Fix group lookup for metric group
a64e018be77a perf stat: Make metric event lookup more robust
7343178ccf7d bpf: fix uapi bpf_prog_info fields alignment
af3790a46a55 iwlwifi: mvm: Drop large non sta frames
036184af23e0 igb: clear out skb->tstamp after reading the txtime
0024b12b776c net: mvpp2: prs: Don't override the sign bit in SRAM parser shift
05592b9b7f25 ath10k: destroy sdio workqueue while remove sdio module
26d86b29e806 net: hns3: add some error checking in hclge_tm module
ddfdbcccd71a net: hns3: fix a -Wformat-nonliteral compile warning
95d084809495 bcache: fix potential deadlock in cached_def_free()
4b7758e9c4ed bcache: check c->gc_thread by IS_ERR_OR_NULL in cache_set_flush()
81b88c05bc45 bcache: acquire bch_register_lock later in cached_dev_free()
d81080a0bcf8 bcache: check CACHE_SET_IO_DISABLE bit in bch_journal()
57cfb755c356 bcache: check CACHE_SET_IO_DISABLE in allocator code
e78d1d234469 EDAC: Fix global-out-of-bounds write when setting edac_mc_poll_msec
e54cc89e6f0a wil6210: drop old event after wmi_call timeout
0388597d0627 crypto: asymmetric_keys - select CRYPTO_HASH where needed
1dea395c9e12 crypto: serpent - mark __serpent_setkey_sbox noinline
b346070c72cd ixgbe: Check DDM existence in transceiver before access
0340c621eca8 rslib: Fix handling of of caller provided syndrome
8ba93c59441a rslib: Fix decoding of shortened codes
dad0b17e4a4e xsk: Properly terminate assignment in xskq_produce_flush_desc
e69fac59c493 clocksource/drivers/exynos_mct: Increase priority over ARM arch timer
12e20eca894b libata: don't request sense data on !ZAC ATA devices
6e6bc34f8570 ASoC: Intel: hdac_hdmi: Set ops to NULL on remove
1182ff224847 perf tools: Increase MAX_NR_CPUS and MAX_CACHES
7201cc227d4a ath10k: fix PCIE device wake up failed
8a808fadc9f7 ath10k: add missing error handling
fe2ceeb4cffc ipvs: fix tinfo memory leak in start_sync_thread
20de38d282b3 mt7601u: fix possible memory leak when the device is disconnected
033577880135 x86/build: Add 'set -e' to mkcapflags.sh to delete broken capflags.c
3f7952b275c8 mt7601u: do not schedule rx_tasklet when the device has been disconnected
6f6e126e1995 rtlwifi: rtl8192cu: fix error handle when usb probe failed
41864adfee2e net: stmmac: sun8i: force select external PHY when no internal one
bce037abc29f media: hdpvr: fix locking and a missing msleep
43b9fdc48377 media: vimc: cap: check v4l2_fill_pixfmt return value
d562537dbf0d media: coda: increment sequence offset for the last returned frame
3697c12c4425 media: coda: fix last buffer handling in V4L2_ENC_CMD_STOP
6fd3e9f65db9 media: coda: fix mpeg2 sequence number handling
c647c00f28af acpi/arm64: ignore 5.1 FADTs that are reported as 5.0
b9f547b7bdd9 timer_list: Guard procfs specific code
d86c0b73f75b ntp: Limit TAI-UTC offset
8d8f0b9009d0 media: i2c: fix warning same module names
6439110fbeee media: s5p-mfc: Make additional clocks optional
57de3c78f0b7 ipvs: defer hook registration to avoid leaks
06a3cd416224 ipsec: select crypto ciphers for xfrm_algo
723ba7938492 arm64: Do not enable IRQs for ct_user_exit
010bfbc93424 lightnvm: pblk: fix freeing of merged pages
762bba1b7ee7 nvme-pci: set the errno on ctrl state change error
c876a66553d7 nvme-pci: properly report state change failure in nvme_reset_work
f0c83dd15ee1 nvme: fix possible io failures when removing multipathed ns
10cc3a65a55b EDAC/sysfs: Fix memory leak when creating a csrow object
f6502ce4f050 ACPICA: Clear status of GPEs on first direct enable
3ae98dc2db1e blk-iolatency: only account submitted bios
a952f7c384aa x86/cacheinfo: Fix a -Wtype-limits warning
3252b29ea41b ipoib: correcly show a VF hardware address
0e2af9b06c00 vhost_net: disable zerocopy by default
4c57957ed6c8 perf evsel: Make perf_evsel__name() accept a NULL argument
9e0bcb59b6c0 x86/atomic: Fix smp_mb__{before,after}_atomic()
dd0260fd1e3a perf/x86/intel/uncore: Handle invalid event coding for free-running counter
7fc96cd2b0de sched/fair: Fix "runnable_avg_yN_inv" not used warnings
d8b7db6c5004 sched/core: Add __sched tag for io_schedule()
930655b01367 xfrm: fix sa selector validation
b7d66bbc8ad3 blkcg, writeback: dead memcgs shouldn't contribute to writeback ownership arbitration
c8f75e753784 block: null_blk: fix race condition for null_del_dev
1a3706d8f800 net: hns3: fix for skb leak when doing selftest
6a47a42f51cf qed: iWARP - Fix tc for MPA ll2 connection
670fb965da03 x86/cpufeatures: Add FDP_EXCPTN_ONLY and ZERO_FCS_FDS
366ae49ed78c rcu: Force inlining of rcu_read_lock()
1fb3ce14f28d ASoC: meson: axg-tdm: fix sample clock inversion
32df4043aed4 x86/cpu: Add Ice Lake NNPI to Intel family
914026d58100 selinux: fix empty write to keycreate file
10e3788e6575 media: s5p-mfc: fix reading min scratch buffer size on MFC v6/v7
7c10f8941b95 bpf: silence warning messages in core
b01bf44c363d regmap: fix bulk writes on paged registers
544cd592ca72 gpio: omap: ensure irq is enabled before wakeup
ddeef7a00050 gpio: omap: fix lack of irqstatus_raw0 for OMAP4
79644b600850 iommu: Fix a leak in iommu_insert_resv_region
f2a4624be8f3 media: fdp1: Support M3N and E3 platforms
63e53991d791 media: uvcvideo: Fix access to uninitialized fields on probe error
c844f4da9b92 irqchip/meson-gpio: Add support for Meson-G12A SoC
eac8b39d089a perf report: Fix OOM error in TUI mode on s390
be32a9dc3f62 perf test 6: Fix missing kvm module load for s390
3662d8bca087 perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode
ac510285d40b ipset: Fix memory accounting for hash types on resize
c7bf2df45044 net: sfp: add mutex to prevent concurrent state checks
fa4059c5497e RAS/CEC: Fix pfn insertion
99dcd701465f s390/qdio: handle PENDING state for QEBSM devices
a76f32cbd38c net: axienet: Fix race condition causing TX hang
9d643358386d net: fec: Do not use netdev messages too early
403c43921479 crypto: inside-secure - do not rely on the hardware last bit for result descriptors
50331c64f3dd net: stmmac: modify default value of tx-frames
1a0a837afc41 net: stmmac: dwmac4: fix flow control issue
713737cac327 perf jvmti: Address gcc string overflow warning for strncpy()
fb83987cbe6b arm64: mm: make CONFIG_ZONE_DMA32 configurable
c360eb592938 cpupower : frequency-set -r option misses the last cpu in related cpu list
cac3032062e5 net: hns3: set ops to null when unregister ad_dev
35407917b0bc media: wl128x: Fix some error handling in fm_v4l2_init_video_device()
2fbde2746597 locking/lockdep: Fix merging of hlocks with non-zero references
909034b8ac64 batman-adv: Fix duplicated OGMs on NETDEV_UP
aa2ad8b6fb2f tua6100: Avoid build warnings.
9072450736d0 crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
9d25aedef08f crypto: talitos - properly handle split ICV.
fc25cfb03ea2 net: phy: Check against net_device being NULL
ef10d46d04a5 media: staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.
e36f25627362 media: saa7164: fix remove_proc_entry warning
ea904c9f6a33 media: mc-device.c: don't memset __user pointer contents
a6dd4862b98f perf annotate TUI browser: Do not use member from variable within its own initialization
71b029a5d908 fscrypt: clean up some BUG_ON()s in block encryption/decryption
2c6acf7478aa xfrm: Fix xfrm sel prefix length validation
0544b64ceb64 af_key: fix leaks in key_pol_get_resp and dump_sp.
b397462a010d signal/pid_namespace: Fix reboot_pid_ns to use send_sig not force_sig
1c8e736115cd qed: Set the doorbell address correctly
df6680de7a20 net: stmmac: dwmac4/5: Clear unused address entries
d3969670cb5a net: stmmac: dwmac1000: Clear unused address entries
810441651a8a media: media_device_enum_links32: clean a reserved field
6fb470ace862 media: vpss: fix a potential NULL pointer dereference
70da38e80509 media: marvell-ccic: fix DMA s/g desc number calculation
add712b63185 media: ov7740: avoid invalid framesize setting
b0e199e13495 crypto: talitos - fix skcipher failure due to wrong output IV
6452712f95e3 media: spi: IR LED: add missing of table registration
94f2b518a788 media: dvb: usb: fix use after free in dvb_usb_device_exit
8f855c09e2af batman-adv: fix for leaked TVLV handler.
83d133c96aad regmap: debugfs: Fix memory leak in regmap_debugfs_init
2b5b12c0c1b7 ath: DFS JP domain W56 fixed pulse type 3 RADAR detection
da153c0c5746 wil6210: fix spurious interrupts in 3-msi
a4bf4fecff16 ath10k: add peer id check in ath10k_peer_find_by_id
83c911f4bd68 ath6kl: add some bounds checking
42dcbf20e182 ath9k: Check for errors when reading SREV register
7e19e658e535 ath10k: Do not send probe response template for mesh
009edc622bba wil6210: fix potential out-of-bounds read
09593c25b975 dmaengine: imx-sdma: fix use-after-free on probe error path
06e15cf5aead scsi: iscsi: set auth_protocol back to NULL if CHAP_A value is not supported
37cb02da44dc arm64/efi: Mark __efistub_stext_offset as an absolute symbol explicitly
73ebefc814ef MIPS: fix build on non-linux hosts
7202df6be6ec MIPS: ath79: fix ar933x uart parity mode
be9b6782a9eb Linux 4.19.60
d173ce091c1a x86/entry/32: Fix ENDPROC of common_spurious
466bdfc6c4d6 drm/udl: move to embedding drm device inside udl device.
af48f7d79fae drm/udl: Replace drm_dev_unref with drm_dev_put
cfd99eccede5 drm/udl: introduce a macro to convert dev to udl.
8f14cf159e9f regmap-irq: do not write mask register if mask_base is zero
820b010743ee crypto/NX: Set receive window credits to max number of CRBs in RxFIFO
b24c6403633d crypto: talitos - fix hash on SEC1.
ff1ce8ef1f88 crypto: talitos - move struct talitos_edesc into talitos.h
b578b87bcab6 s390/qdio: don't touch the dsci in tiqdio_add_input_queues()
b1d52630b12a s390/qdio: (re-)initialize tiqdio list entries
02eb533e940a s390: fix stfle zero padding
9db915738e40 ARC: hide unused function unw_hdr_alloc
fc6975ee932b x86/irq: Seperate unused system vectors from spurious entry again
9494cd392885 x86/irq: Handle spurious interrupt after shutdown gracefully
7897f5a443fb x86/ioapic: Implement irq_get_irqchip_state() callback
6074f6043c49 genirq: Add optional hardware synchronization for shutdown
3f10ccc29780 genirq: Fix misleading synchronize_irq() documentation
578db1aa595b genirq: Delay deactivation in free_irq()
2656ee5a5ad5 linux/kernel.h: fix overflow for DIV_ROUND_UP_ULL
9c875e8556d4 pinctrl: mediatek: Update cur_mask in mask/mask ops
f6e01328cb0e cpu/hotplug: Fix out-of-bounds read when setting fail state
fa99487a43cf pinctrl: mediatek: Ignore interrupts that are wake only during resume
cd2646e57ec5 HID: multitouch: Add pointstick support for ALPS Touchpad
9ea3b131441e HID: chicony: add another quirk for PixArt mouse
94968c37b6d3 x86/boot/64: Add missing fixup_pointer() for next_early_pgt access
729d25f43b64 x86/boot/64: Fix crash if kernel image crosses page table boundary
136847140cc8 dm verity: use message limit for data block corruption message
042be78692ae dm table: don't copy from a NULL pointer in realloc_argv()
0fc080bc9a72 pinctrl: mcp23s08: Fix add_data and irqchip_add_nested call order
00640eb0eafa ARM: dts: imx6ul: fix PWM[1-4] interrupts
a8cc2a2c2841 sis900: fix TX completion
3232bccddeba ppp: mppe: Add softdep to arc4
5ec7753c7c9e be2net: fix link failure after ethtool offline test
2a6ee36917f0 x86/apic: Fix integer overflow on 10 bit left shift of cpu_khz
fdfff855cd36 afs: Fix uninitialised spinlock afs_volume::cb_break_lock
d47f06ab0c0e ARM: omap2: remove incorrect __init annotation
5d3c45538151 ARM: dts: gemini Fix up DNS-313 compatible string
afda29dc5ac6 perf/core: Fix perf_sample_regs_user() mm check
627fdcc9b718 efi/bgrt: Drop BGRT status field reserved bits check
cf4deb2d4de6 clk: ti: clkctrl: Fix returning uninitialized data
ff232a47567f irqchip/gic-v3-its: Fix command queue pointer comparison bug
244db54441a1 firmware: improve LSM/IMA security behaviour
079d7f16a973 drivers: base: cacheinfo: Ensure cpu hotplug work is done before Intel RDT
68048dce650e nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header
86859ef10d25 Input: synaptics - enable SMBUS on T480 thinkpad trackpad
438a3dc6f2c3 e1000e: start network tx queue only when link is up
8020568b404b Revert "e1000e: fix cyclic resets at link up with active tx"
3bd837bfe431 Linux 4.19.59
70bae382b3dc staging: rtl8712: reduce stack usage, again
b46475ecd930 staging: bcm2835-camera: Handle empty EOS buffers whilst streaming
0ee144effcc3 staging: bcm2835-camera: Remove check of the number of buffers supplied
fcbc6ddcd624 staging: bcm2835-camera: Ensure all buffers are returned on disable
4502c43d7f3b staging: bcm2835-camera: Replace spinlock protecting context_map with mutex
22a20b9f6d9f staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work
cc396afa1959 MIPS: Remove superfluous check for __linux__
d202b5adccfb VMCI: Fix integer overflow in VMCI handle arrays
486c32325caa carl9170: fix misuse of device driver API
524ad00e80b7 binder: fix memory leak in error path
294b893a41cd lkdtm: support llvm-objcopy
5c90a2ecd08a HID: Add another Primax PIXART OEM mouse quirk
c04c751bef87 staging: comedi: amplc_pci230: fix null pointer deref on interrupt
4e49c6c91c18 staging: comedi: dt282x: fix a null pointer deref on interrupt
8419fd562a09 drivers/usb/typec/tps6598x.c: fix 4CC cmd write
63b3028cd590 drivers/usb/typec/tps6598x.c: fix portinfo width
57e16e0d8c68 usb: renesas_usbhs: add a workaround for a race condition of workqueue
aa9a8038ea8b usb: dwc2: use a longer AHB idle timeout in dwc2_core_reset()
cac4a04202fb usb: gadget: ether: Fix race between gether_disconnect and rx_submit
449a8d08a4bc p54usb: Fix race between disconnect and firmware loading
135d9ba3b285 Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"
0891268f36a2 USB: serial: option: add support for GosunCn ME3630 RNDIS mode
0a1c811bf033 USB: serial: ftdi_sio: add ID for isodebug v1
bb902b6c87ff mwifiex: Don't abort on small, spec-compliant vendor IEs
ffbbd626e1ce mwifiex: Abort at too short BSS descriptor element
a2a24b57c27a Documentation/admin: Remove the vsyscall=native documentation
8a815007f5fe Documentation: Add section about CPU vulnerabilities for Spectre
bd9604022eb3 x86/tls: Fix possible spectre-v1 in do_get_thread_area()
68ff28291a4f x86/ptrace: Fix possible spectre-v1 in ptrace_get_debugreg()
d8e26651ce8d perf pmu: Fix uncore PMU alias list for ARM64
018524b75852 block, bfq: NULL out the bic when it's no longer valid
ff75e5f41e88 ALSA: hda/realtek - Headphone Mic can't record after S3
87c3262b00d8 ALSA: usb-audio: Fix parse of UAC2 Extension Units
ef374f5a2731 media: stv0297: fix frequency range limit
5db079eb0acd udf: Fix incorrect final NOT_ALLOCATED (hole) extent length
0fc3e9b9b603 fscrypt: don't set policy for a dead directory
e9f76b954336 net :sunrpc :clnt :Fix xps refcount imbalance on the error path
810cfc3d9d2e NFS4: Only set creation opendata if O_CREAT
7075654ce7d0 net: dsa: mv88e6xxx: fix shift of FID bits in mv88e6185_g1_vtu_loadpurge()
606561e16186 quota: fix a problem about transfer quota
5ad566af08c1 scsi: qedi: Check targetname while finding boot target information
37232abb6ea3 net: lio_core: fix potential sign-extension overflow on large shift
740b2ac49518 ip6_tunnel: allow not to count pkts on tstats by passing dev as NULL
a02ac12d2d48 drm: return -EFAULT if copy_to_user() fails
4c938a635fc3 bnx2x: Check if transceiver implements DDM before access
270ae00a0346 md: fix for divide error in status_resync
5533d9ed4112 mmc: core: complete HS400 before checking status
2da80536f629 qmi_wwan: extend permitted QMAP mux_id value range
dc84e98393f7 qmi_wwan: avoid RCU stalls on device disconnect when in QMAP mode
dbc6a83cf2bc qmi_wwan: add support for QMAP padding in the RX path
292ba5b1faf4 bpf, x64: fix stack layout of JITed bpf code
4c2ce7addda8 bpf, devmap: Add missing RCU read lock on flush
ab44f8bcf2e5 bpf, devmap: Add missing bulk queue free
8d09e862103b bpf, devmap: Fix premature entry free on destroying map
ba0afe520ee9 mac80211: do not start any work during reconfigure flow
de8cf2c0bc64 mac80211: only warn once on chanctx_conf being NULL
9c2dd6d47131 ARM: davinci: da8xx: specify dma_coherent_mask for lcdc
3bbcc8b9ad37 ARM: davinci: da850-evm: call regulator_has_full_constraints()
443250665388 mlxsw: spectrum: Disallow prio-tagged packets when PVID is removed
512bbb114b99 KVM: arm/arm64: vgic: Fix kvm_device leak in vgic_its_destroy
41420ac584d7 Input: imx_keypad - make sure keyboard can always wake up system
b71f312e9bf7 riscv: Fix udelay in RV32.
122c6a71c08d drm/vmwgfx: fix a warning due to missing dma_parms
d3861d4ca94c drm/vmwgfx: Honor the sg list segment size limitation
c0b12abd1828 s390/boot: disable address-of-packed-member warning
e71daed5176f ARM: dts: am335x phytec boards: Fix cd-gpios active level
822c2ee81c63 ibmvnic: Fix unchecked return codes of memory allocations
0f06004d16be ibmvnic: Refresh device multicast list after reset
e65dd528bb8e ibmvnic: Do not close unopened driver during reset
374180b11b29 net: phy: rename Asix Electronics PHY driver
473a75c7fab5 can: af_can: Fix error path of can_init()
486954277fc1 can: m_can: implement errata "Needless activation of MRAF irq"
270149f78b9c can: mcp251x: add support for mcp25625
33672c74b484 dt-bindings: can: mcp251x: add mcp25625 support
07c96e8e8021 soundwire: intel: set dai min and max channels correctly
c7e427e28a3a mwifiex: Fix heap overflow in mwifiex_uap_parse_tail_ies()
8e115a079940 iwlwifi: Fix double-free problems in iwl_req_fw_callback()
d4c0f752c1d2 mwifiex: Fix possible buffer overflows at parsing bss descriptor
b8588a0981b7 mac80211: free peer keys before vif down in mesh
acc42e5c2322 mac80211: mesh: fix RCU warning
e3868c1a462f staging:iio:ad7150: fix threshold mode config bit
6b1ce3971e05 soundwire: stream: fix out of boundary access on port properties
6be857082611 bpf: sockmap, fix use after free from sleep in psock backlog workqueue
bc84982f977d mac80211: fix rate reporting inside cfg80211_calculate_bitrate_he()
3c24a931e972 samples, bpf: suppress compiler warning
e7779115bbd9 samples, bpf: fix to change the buffer size for read()
fe01e93c3fd1 Input: elantech - enable middle button support on 2 ThinkPads
2883fc1ece69 soc: bcm: brcmstb: biuctrl: Register writes require a barrier
2f1c962a7416 soc: brcmstb: Fix error path for unsupported CPUs
e8250f730410 crypto: talitos - rename alternative AEAD algos.
7a6bfa08b938 Linux 4.19.58
f37de75cb8eb dmaengine: imx-sdma: remove BD_INTR for channel0
018c968de710 dmaengine: qcom: bam_dma: Fix completed descriptors count
870de1499505 MIPS: have "plain" make calls build dtbs for selected platforms
8957895b35de MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
2b8f8a80ca8b MIPS: Fix bounds check virt_addr_valid
80b25628ff26 svcrdma: Ignore source port when computing DRC hash
8129a10ce78f nfsd: Fix overflow causing non-working mounts on 1 TB machines
f25c06955f8d KVM: LAPIC: Fix pending interrupt in IRR blocked by software disable LAPIC
f6472f50fbfc KVM: x86: degrade WARN to pr_warn_ratelimited
ac0024baf073 netfilter: ipv6: nf_defrag: accept duplicate fragments again
54e8cf41b20b bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
e6c288f7307e net: hns: fix unsigned comparison to less than zero
4f24801ef50b sc16is7xx: move label 'err_spi' to correct section
318244f3641a netfilter: ipv6: nf_defrag: fix leakage of unqueued fragments
a8891c5e2251 ip6: fix skb leak in ip6frag_expire_frag_queue()
382bc84da904 rds: Fix warning.
7e6af1fa80b8 ALSA: hda: Initialize power_state field properly
c8c88293bf72 net: hns: Fixes the missing put_device in positive leg for roce reset
6bf9677300f3 x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
b91ec6ae14da selftests: fib_rule_tests: Fix icmp proto with ipv6
e2851c3ee0be scsi: tcmu: fix use after free
04096b3beace mac80211: mesh: fix missing unlock on error in table_path_del()
e2379b044d67 f2fs: don't access node/meta inode mapping after iput
e9fde78c3a4f drm/fb-helper: generic: Don't take module ref for fbcon
7821bcce20aa media: s5p-mfc: fix incorrect bus assignment in virtual child device
3ddc2a100706 net/smc: move unhash before release of clcsock
cd54dc4cd37d mlxsw: spectrum: Handle VLAN device unlinking
a8a296abee36 tty: rocket: fix incorrect forward declaration of 'rp_init()'
fb814f215013 btrfs: Ensure replaced device doesn't have pending chunk allocation
27ce6c2675f6 mm/vmscan.c: prevent useless kswapd loops
c854d9b6ef8d ftrace/x86: Remove possible deadlock between register_kprobe() and ftrace_run_update_code()
2e716c3b562d drm/imx: only send event on crtc disable if kept disabled
8ec242fd431b drm/imx: notify drm core before sending event during crtc disable
d2d061351d64 drm/etnaviv: add missing failure path to destroy suballoc
ec5d99e18d30 drm/amdgpu/gfx9: use reset default for PA_SC_FIFO_SIZE
ec6d8c9e6687 drm/amd/powerplay: use hardware fan control if no powerplay fan table
b6d56f4f6a49 arm64: kaslr: keep modules inside module region when KASAN is enabled
7cab3dfa6d74 ARM: dts: armada-xp-98dx3236: Switch to armada-38x-uart serial node
c8790d7f76be tracing/snapshot: Resize spare buffer if size changed
052b31810085 fs/userfaultfd.c: disable irqs for fault_pending and event locks
ea38007107d6 lib/mpi: Fix karactx leak in mpi_powm
7df1e2f59bde ALSA: hda/realtek - Change front mic location for Lenovo M710q
899377c50e60 ALSA: hda/realtek: Add quirks for several Clevo notebook barebones
d9b6936b134e ALSA: usb-audio: fix sign unintended sign extension on left shifts
7f52af5e9baa ALSA: line6: Fix write on zero-sized buffer
3663bf2baa97 ALSA: firewire-lib/fireworks: fix miss detection of received MIDI messages
9d2ac58c1ef9 ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
ae3fa28f0938 crypto: cryptd - Fix skcipher instance memory leak
015c20532ace crypto: user - prevent operating on larval algorithms
54435b7fff7b ptrace: Fix ->ptracer_cred handling for PTRACE_TRACEME
600d3712ae12 drm/i915/dmc: protect against reading random memory
2b39351e3844 ftrace: Fix NULL pointer dereference in free_ftrace_func_mapper()
938044171949 module: Fix livepatch/ftrace module text permissions race
220adcc0e0ca tracing: avoid build warning with HAVE_NOP_MCOUNT
79fccb9815db mm/mlock.c: change count_mm_mlocked_page_nr return type
4fce0a79e985 scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE
b7747ecb82be cpuset: restore sanity to cpuset_cpus_allowed_fallback()
e33aeb9a7c0a i2c: pca-platform: Fix GPIO lookup code
7cf431edfb71 platform/mellanox: mlxreg-hotplug: Add devm_free_irq call to remove flow
c241f3fbfa1a platform/x86: mlx-platform: Fix parent device in i2c-mux-reg device registration
f853112772b0 platform/x86: intel-vbtn: Report switch events when event wakes device
2ac96173bee0 platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi
027e043f9c78 drm: panel-orientation-quirks: Add quirk for GPD MicroPC
2446563dd6d7 drm: panel-orientation-quirks: Add quirk for GPD pocket2
8be5629b9622 scsi: hpsa: correct ioaccel2 chaining
c1bef204c70a SoC: rt274: Fix internal jack assignment in set_jack callback
1023af0c069d ALSA: hdac: fix memory release for SST and SOF drivers
26a6acde2a42 usb: gadget: udc: lpc32xx: allocate descriptor with GFP_ATOMIC
9be058f5dd70 usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i]
5284327f4e17 x86/CPU: Add more Icelake model numbers
74929087384f ASoC: sun4i-i2s: Add offset to RX channel select
32475634e8a8 ASoC: sun4i-i2s: Fix sun8i tx channel offset mask
7b7486398a32 ASoC: max98090: remove 24-bit format support if RJ is 0
3b60f98ef496 drm/mediatek: call mtk_dsi_stop() after mtk_drm_crtc_atomic_disable()
34e5e1c4874f drm/mediatek: clear num_pipes when unbind driver
a8a86e9a5533 drm/mediatek: call drm_atomic_helper_shutdown() when unbinding driver
79e095d234bb drm/mediatek: unbind components in mtk_drm_unbind()
319f4699bcaa drm/mediatek: fix unbind functions
dbd94f4938c6 spi: bitbang: Fix NULL pointer dereference in spi_unregister_master
3f8d3c9506a5 ASoC: ak4458: rstn_control - return a non-zero on error only
3c3dd68c48e8 ASoC: soc-pcm: BE dai needs prepare when pause release after resume
4c31b4b4ba65 ASoC: ak4458: add return value for ak4458_probe
0c19bcdb0db9 ASoC : cs4265 : readable register too low
c549680ed59b netfilter: nft_flow_offload: IPCB is only valid for ipv4 family
041c181e6ba0 netfilter: nft_flow_offload: don't offload when sequence numbers need adjustment
48f611ecea0e netfilter: nft_flow_offload: set liberal tracking mode for tcp
3b2734bc839d netfilter: nf_flow_table: ignore DF bit setting
869eec894663 md/raid0: Do not bypass blocking queue entered for raid0 bios
c9d8d3e9d7a0 block: Fix a NULL pointer dereference in generic_make_request()
5dd6139a0aa2 Bluetooth: Fix faulty expression for minimum encryption key size check
(From OE-Core rev: 82f8f52da0bae94c8d6c972352ee93763d75311b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The binutils bug appears to have gone away.
Using gold on powerpc still fails for seemingly unrelated reasons.
(From OE-Core rev: 75c188dda67e69a54cf403e8c3f8093e975d2161)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libedit is needed by llvm on linux and this makes it useful
for both oe-core and clang layer among other users
Thanks to various contributors in maintaing it in meta-oe
(From OE-Core rev: cbbfac2a330ad5577a56b5d0fe74300acff287f8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needing the Windows distutils installer stubs is quite a niche requirement, so
put them into a separate package and just recommend it.
This can save both space and legal pain, as the installers embed an old zlib
that has known CVEs.
(From OE-Core rev: 617331a42fc5bde0c2d8d0f4dd8df652daa28778)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for runtime recommends along with runtime depends to the manifest.
(From OE-Core rev: 16cc9a2ca559d978c6d0e648c18c297255b69dcc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
distutils doesn't ship any static libraries, and the files this should pick up
do not exist. Copy/paste gone wrong maybe?
(From OE-Core rev: afbca8da4ddd6c3dd01bb44af43aee9e80cae512)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With 0.51.0 version these command line options override what is in the cross file (e.g.
the cross-flags). I could not determine what is the scenario when the native flags are
needed (this would be building a native binary in the context of cross build).
If we find such a scenario we would need to find a way to pass native flags
through some other channel.
(From OE-Core rev: 6239b77c78b4b584274019130b715f21ac9defdf)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As per SPDX 2.1 it should be
'Apache-2.0 WITH LLVM-exception'
but license parser refuses to parse it, so this
is closest we can get
(From OE-Core rev: fc634c41e4b3fbaf29dc0104ae6b15757e77f60a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
latest glibc dropped support for sys/io.h on arm, which is fixed in
upstream xserver, as a bonus we can drop musl specific patch which was
doing something similar up until now.
Fixes
|In file included from ../../../../xorg-server-1.20.4/hw/xfree86/int10/generic.c:15:
| ../../../../xorg-server-1.20.4/hw/xfree86/common/compiler.h:767:10: fatal error: 'sys/io.h' file not found
| #include <sys/io.h>
| ^~~~~~~~~~
| 1 error generated.
(From OE-Core rev: 1c72953b6c890b8411fec997b5c28a17eed82897)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use ${FC} instead of constructing the fortran name/arguments explictly, and
clean up installation.
(From OE-Core rev: a0d85e117fb636ffa12253b19f0ab2b5055e6380)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add zstd PACKAGECONFIG to disable the zstd support that upstream
enables by default, zstd is not in oe-core.
(From OE-Core rev: a87cf6a1693bbeac0f03290c1cb0ddf0ad1cf9bd)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* For changes in this version, see:
https://gitlab.com/gnutls/libtasn1/-/releases
* Remove the musl patch as it's no longer needed.
* Backport a patch to ensure LDFLAGS are not over-ridden.
License-Update: License clarification, no change in actual terms.
(From OE-Core rev: 243293436d9286f6d9a0f135d569b7b00ccc1078)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
perl-cross makes it easy to cleanly disable the use of Berkeley DB if desired,
so add a PACKAGECONFIG for this.
More of the dependencies (such as gdbm) can be controlled in the same way, but
Berkeley DB is a prime contender: it's a large library which we have to ship an
old release for due to licensing issues, so there are users who may want to
strip it out of builds entirely.
(From OE-Core rev: e3860098dadd0b1db97fb0414aae6abfc234b245)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was some tabs embedded in spaces, fix those.
(From OE-Core rev: 96cf9a881405faec5fb6f3f305fd29c5f14fd52f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original stress is no longer maintained and the homepage
went down. This commit replaces it with a maintained
re-implementation by Ubuntu.
Stress-ng preserves command line option compatibility
(for the options that are used in rt-tests), so adjustment
is simply changing the name of the executable. Rt-tests is the only
user of stress(-ng) in oe-core.
(From OE-Core rev: 3fcc10aeba208381166f09861d098d6459d44dfe)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As it is now working, we do not need an exception from the check anymore.
(From OE-Core rev: eede1c8e35e09afd06582312ca88a6413cdccf75)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change ensures that the task signatures changes, and therefore
sstate tasks are rerun, when signing is enabled. This has the
positive outcome that if signing is enabled new signed shared state
objects will be produced, rather than just signing shared state
objects for tasks where no work has been performed yet.
The downside of this change is that enabling/disabling sstate object
signing alters the taskhash and results in rebuilding the world.
(From OE-Core rev: ef60c65e3856682b90b17ae06a1b675756fd4496)
Signed-off-by: Joshua Lock <jlock@vmware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build fails on qemu-native if we're using kernels after commit
0768e17073dc527ccd18ed5f96ce85f9985e9115. This adds an upstream
patch that fixes the issue.
(From OE-Core rev: ef3af3a43d137d1e09e3fe4dbe462197fe7af4bc)
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a single-commit series had a shortlog containing a "/" character then
that prevented putting the shortlog into the subject of the cover letter
message. Use a different separating character with the sed command (one
much less likely to appear) in order to fix it.
(From OE-Core rev: d4c3f93d7407ac1ea20b33149f20153972d631c0)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When attempting to create a pull request, we look at the remote URL in
order to extract information to include in the cover letter. However,
the assumption was that the remote is an SSH URL i.e. containing '@'
which is not always the case (the pull and push URLs might be different,
or we might be pushing via https) - if it wasn't the script just gave up
leaving you to manually edit the URLs in the email. With a few minor
tweaks to the regexes the script will work for these cases as well.
(From OE-Core rev: 675e88e6e0bbd5ab2dcd4bdf97b0de59925a1be6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It builds using the generic C_LOOP code.
(From OE-Core rev: 4e601b7f5ca0270495f225987bb1376b1cfe31a1)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All that was left was
inherit gnomebase gtk-icon-cache gconf mime
and especially inheriting the obsolete gconf is usually unwanted.
(From OE-Core rev: ba4304bd269d14cb0df73d657901816293c993cc)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If one has provided external key/certificate for modules signing, Kbuild
will skip creating signing_key.pem and will write only signing_key.x509
certificate. Thus we have to check for .x509 file existence rather than
.pem one.
(From OE-Core rev: 2527e731eba43bd36d0ea268aca6b03155376134)
Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: Change in Copyright Year.
Refresh the patch to apply on configure.ac instead of .in.
(From OE-Core rev: f00b9aad7c3e2e1ec41597539c4fe2307043b6cf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code says that some servers respond with 403 codes when they really
mean 405 codes. But we still need to account for legitimate 403 codes.
Before this change, I noticed that sstate mirror checking was taking a
very long time when I purposely entered incorrect credentials into my
.netrc file for our sstate mirror. Instrumenting the code, I discovered
tracebacks like the following for every mirror access attempt:
File "/home/laplante/yocto/sources/poky/meta/classes/sstate.bbclass", line 839, in checkstatus
fetcher.checkstatus()
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1736, in checkstatus
ret = try_mirrors(self, self.d, ud, mirrors, True)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 1077, in try_mirrors
ret = try_mirror_url(fetch, origud, uds[index], ld, check)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 979, in try_mirror_url
found = ud.method.checkstatus(fetch, ud, ld)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 337, in checkstatus
opener.open(r)
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 504, in error
result = self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 280, in http_error_405
unverifiable=True))
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 504, in error
result = self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/home/laplante/yocto/sources/poky/bitbake/lib/bb/fetch2/wget.py", line 280, in http_error_405
unverifiable=True))
... (repeats until recursion depth is reached)
Solution is to make sure we only attempt the GET request once when handling 403/405 error codes.
(Bitbake rev: 18d4a31fdcec1f0e5d2199d6142f0ce833fca1a7)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using npm pack to download the main node module and its dependencies
allow for the use of private npm modules and access to them via .npmrc
(Bitbake rev: e5eda3871893e4eadeb311aeb997e183675598f4)
Signed-off-by: Mads Andreasen <mads@andreasen.cc>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
webkitgtk doesn't work with tune mips and set imcompatible with it.
epiphany depends on webkitgtk and mask it too.
(From OE-Core rev: ce294134a0d7c8fdac92f458e5dc64ecc77c5251)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
subversion checks whether build with boost during do_configure. If boost
exists on build machine, it causes configure-unsafe QA issue:
| ERROR: subversion-1.12.0-r0 do_configure: QA Issue: This autoconf log
| indicates errors, it looked at host include and/or library paths
| while determining system capabilities.
| Rerun configure task after fixing this. [configure-unsafe]
Add a PACKAGECONFIG 'boost' to fix the issue.
(From OE-Core rev: 237478724be75a4efeebafe07b46a353894ee4ca)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no point in shipping it in main libdrm package.
(From OE-Core rev: 458992be46ccf041e6fb862ab1cec0ff65616b0e)
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using systemd, make sure that pulseaudio-server RDEPENDS on
module-systemd-login instead of module-console-kit both of which provide
the same functionality but for different init systems [1][2].
Even though both modules can co-exist, this helps avoid including
consolekit (which has been deprecated) in the images using systemd.
[1] https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#index51h3
[2] 860d1cf3a7
(From OE-Core rev: 69d6984159834713ffb56762f50226afe27d22f5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes a following runtime error:
| xkbcommon: ERROR: couldn't find a Compose file for locale "C"
(From OE-Core rev: aa3f5bd67f14defc5cdc39ba3c78f825dd85c69f)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So far libx11 compose data is being required by some non-X11 recipes,
like weston -> libxkbcommon -> libx11-locale. But the libx11-locale
could not build without x11 distro feature enabled. This is not
reasonable.
To fix it, we introduce this new recipe, it uses the same source with
libx11 but dropped X11 dependencies, this makes it to be able to build
without x11 distro feature. It would be skipped if x11 distro feature
is enabled, in which case the libx11-locale would provide the libx11
compose data.
(From OE-Core rev: d8a5b22757ccc76007cda55ee45922a313639258)
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both gzip and pigz implement the --rsyncable option, allowing small changes to
images to save a lot of data when they are transferred using rsync. This patch
enables --rsyncable by default.
(From OE-Core rev: b253101b9400cd12b80b6c5b7d1d0b01b31a6c6b)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When signature verification of shared state objects is enabled
(SSTATE_VERIFY_SIG) use of an unsigned object, even though it produces a
warning, seems unexpected. Instead skip unsigned objects and force the
non-accelerated task to be run.
(From OE-Core rev: 571235978d98552e3734bf382454dd51272db782)
Signed-off-by: Joshua Lock <jlock@vmware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Referring to the sstate object as a staging package is an artefact of the
code's origins. Switch to referring to an "Sstate package" in order to be more
accurate and consistent with the rest of the file.
(From OE-Core rev: 06559c1ed86dbce53505f9ed98111fe9d0b97ed7)
Signed-off-by: Joshua Lock <jlock@vmware.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add PACKAGECONFIG options for ICU (enabled by default) and BDB (disabled by
default).
Note that this upgrade includes some API breakage.
(From OE-Core rev: 456b6abcbdb05a4b0ffc09458da15e747870ffa8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its possible in cases with multiple shlib providers we were not being
deterministic. Add in a couple of sorted() calls to fix the shlibs and
pkgconfig cases with this potential issue.
(From OE-Core rev: 5b9a4214ee17e1a39dd5a1742f2ac5ed25a11310)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of multilib, /usr/lib64/tmpfiles.d is not a path
that will be searched. So we need to use nonarch_libdir.
(From OE-Core rev: 2623d9d2f243128e50be9ed6fb5bb222b3fe9fa0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent alsa upgrade stripped /usr/include/alsa directory from include
path reported by pkgconfig. Due to this pulseaudio 12.2 configure script
can find alsa's use-case.h header which in turn results in HAVE_ALSA_UCM
being undefined. This turn results in pa_alsa_ucm_device_update_available
symbol missing even though libalsa-util.so needs it. Once could argue
pulseaudio should not allow undefined symmbols in its shared modules.
Unfortunately it does and due to this current OE builds of pulseaudio
crash when the server tries to dlopen any module using libalsa-util.so.
Fix this by backporting ustream alsa header include fix.
(From OE-Core rev: 58319f6285de41f7b99f5fd97c42d836fb5544f3)
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove "ext4" IMAGE_FSTYPES when generating core-image-minimal
for the bootimg-biosplusefi unittests; "wic" type is enough.
(From OE-Core rev: 73f69585e9f30819d8fb484d458e3408a04c0433)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When https_proxy is set, use proxy opener to open CVE metadata and
database URLs, otherwise fallback to the urllib.request.urlopen.
Also fix a minor issue where the json database which has been gzip
decompressed as byte object should be decoded as utf-8 string as
expected by update_db.
(From OE-Core rev: 95438d52b732bec217301fbfc2fb019bbc3707c8)
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is race condition when multi qemu starting with slirp,
add lockfile for each port to avoid problem like:
runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: Could not set up host forwarding rule 'tcp::2323-:23'
[YOCTO #13364]
(From OE-Core rev: ceb3555a40ba06e58914465376aaf41392c12a7c)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libopts configure script looks for a shell on the build host and assumes
it's good for the target. However in our builds it find $HOSTTOOLS_DIR/bash
which isn't useful, so patch out the detection and force $base_bindir/sh.
(From OE-Core rev: 9aaa1e3bdfd767fe8e19c00c611b34920644df27)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libunistring m4 macros end up putting the full build-time library path into
the .pc file, which is no good on target. Sed it out to stop build paths
leaking onto the target.
[ YOCTO #13403 ]
(From OE-Core rev: 2ab5a34357b86be19a1b1a85eac54fa0cf1e7fd2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configure script has already found IPT_LIB_DIR via pkgconfig, so
the configure-cross.patch really just introduces dead and broken
fallback code.
Broken, because the SYSROOT variable does not actually get set to a
sensible value - the argument $1 passed to the configure script when
invoked from the Makefile is KERNEL_INCLUDE, which we set to
${STAGING_INCDIR} in EXTRA_OEMAKE. Obviously that directory does not
have /lib or /usr subdirectories, so we're not really helping the
fallback logic in check_ipt_lib_dir() - in fact, we're more or less
guaranteeing that we won't find those .so files.
(From OE-Core rev: 628de87240e9bc73ad63a32e5f67b58781d87dd0)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All the users in OE-Core have moved to libsdl2. It will be moved to
meta-oe.
(From OE-Core rev: 4f967ade9001111c77ef298372e9b9e435414664)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a backport from 5.2 release upstream, it fixes long standing
build failure on musl/aarch64
(From OE-Core rev: eff0a21a835808c5e2862b820a1ebb200ff100db)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit a725d188b5 (kernel-uboot: compress arm64 kernels)
arm64 Image files are handled exactly like in the default case, making
this special case pointless. Remove it to make the code simpler.
(From OE-Core rev: 60bc7e180e2d44ac026e5537552a567784dc506a)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It do make sense to start rngd early in the boot process because
otherwise we would need to track every service that might need entropy
and explicitly configure it to start after rngd.
When used with systemd rngd blocked the shutdown process because it
simply missed the proper unit configuration. As the systemd
documentation explains, when using DefaultDependencies=no one also
have to explicitly configure the unit to properly stop at some point.
This is normaly achieved by having Before=shutdown.target and
Conflicts=shutdown.target set for the unit.
To have rngd started early again we reverte the changes done to
rngd.service in commit edf7606822 (rng-tools: fix rngd blocks system
shutdown). To have it properly stopped on shutdown we also add
Before=shutdown.target and Conflicts=shutdown.target.
(From OE-Core rev: a74e7df33e2c8ab2152e3217c0a5df3f65971713)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
hdddirect was removed in commit 929ba563f1bc7195c4981b8e139c432b2cc388ea.
(From OE-Core rev: 7a91a9818057d69cba32db2428ffc1a1ebb3876e)
Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently gdk-pixbuf x11 loader is enabled only
for LSB build. But it is needed by other recipes like
Ice window manger(icewm) for X window system.
(From OE-Core rev: 277a2bef8ae41a0314ecad27379b299ba7d90f22)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add unittests for bootimg-biosplusefi SourcePlugin in wic module.
First test check wic creation works correctly.
Second test uses qemu to boot image and checks that it has both
EFI and BIOS files in a single partition.
(From OE-Core rev: e0c3436241afca93f107e325d1b9ffcdebf706cd)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a source plugin that support both EFI and legacy PC-Bios.
While using this plugin, both bootloaders configurations reside
in the same /boot partitions.
This plugin has very little code : to avoid code duplication,
we simply re-import bootimg-pcbios and bootmg-efi source and
call both their SourcePlugin methods.
(From OE-Core rev: c8545d54139c6c48bffd1dd1d39d79891626c6f7)
Signed-off-by: William Bourque <wbourque@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Re-organize the musl patches in three different areas namely
libs, utils and tests, this will help maintain them in future
version bumps
Add obstack dependency on musl targets which is needed for eu-*
PN and PN-binutils is not empty anymore on musl
(From OE-Core rev: a747239978e63f22d4107e6e12c75b5f78043cce)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
obstacks from GNUlib is used in some OE-Core packages e.g. elfutils
and other packages outside OE-Core, this recipe helps provide this
functionality standalone on musl systems, and helps in getting full
versions of dependent packages
(From OE-Core rev: a0fb9093733a0e7e3e83f9bcedbd0fcbf6e1a0d3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
'secure_getenv' api is not uniformly implemented across all C libraries
therefore its good to include missing.h so it can use the alternative
implementation where its not awvailable
Fixes
../git/src/login/pam_systemd.c:344:13: error: implicit declaration of function 'secure_getenv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
v = secure_getenv(key);
(From OE-Core rev: 6cdcb1488a84da6c15145944c2aab3c604252699)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes musl issue
implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration]
which eventually ends up with a linker error
(From OE-Core rev: 6b603924e50a5694421b9142494315799422928d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes
implicit declaration of function 'minor' is invalid in C99 [-Wimplicit-function-declaration]
which eventually ends up with a linker error
(From OE-Core rev: 5841e52e79274b2da17bf7dbd1224d0a3dca2d6f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build for older versions of git (like on CentOS 7) which don't
follow redirects properly if the .git suffix is missing and cause
errors:
| error: RPC failed; result=22, HTTP code = 404
| fatal: The remote end hung up unexpectedly
(From OE-Core rev: f5c6b2d54449d5ea4f65e18e89e40794530e20aa)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Swap is a special filesystem that cannot be mounted, so do not try to,
otherwise we will have service that tries and fails to mount it with
the following error:
systemd[1]: Mounting /run/media/nvme0n1p3...
mount[1229]: mount: /run/media/nvme0n1p3: unknown filesystem type 'swap'.
(From OE-Core rev: 7a2c56da85326043f0663c29535ac3fb555d96fe)
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The psplash binary uses TMPDIR as directory to store the FIFO to
communicate with the psplash tools. This directory can be in any
location an init system determines to be suitable, psplash-init
uses /mnt/ for it. Rather than creating the mount directory in
the recipe, just create it in the init script itself. This allows
other init scripts to use a different location without having
an unnecessary .psplash directory in /mnt.
(From OE-Core rev: dd8c7f2466d94fd8326b962e9bcfc4f42a35da38)
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This a backport from upstream
Fixes package_qa on arm
ERROR: QA Issue: ELF binary 'TOPDIR/build/tmpfs/work/armv7vet2hf-neon-yoe-linux-gnueabi/mpeg2dec/0.5.1-r0/packages-split/libmpeg2/usr/lib/libmpeg2.so.0.1.0' has relocations in .text [textrel]
(From OE-Core rev: 190531943ab43758f83ff021caef1f68dbdc3840)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG for the use of XCB and enable by default if X11 is in
DISTRO_FEATURES.
(From OE-Core rev: 69b0f94c117b3ab922e0061255a1814e69b16435)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ffmpeg can generate lookup tables at build time instead of runtime, but this is
no longer a recommended option. The size impact is significant (12% of the
total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't
too costly, and only a few codecs actually use the pre-generated tables (MP3,
notably).
(From OE-Core rev: 51f13afe669638dbf72f464f243adccb22be3d21)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In Meson the environment variables are always the native tools, so export
STRIP=${BUILD_STRIP} along with CC et al to silence this Meson warning:
WARNING: Env var STRIP seems to point to the cross compiler.
This is probably wrong, it should always point to the native compiler.
(From OE-Core rev: 8d1557356d2c7d94eeef2a9b61d3c9622e337a9e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also switch SRC_URI to the nongnu mirrors as they're more reliable than
Sourceforge.
(From OE-Core rev: 18875698e182d5eb5a9bc1f95abdc2348f66cedc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the code fetches the compressed JSON, writes it to a temporary file,
uncompresses that with gzip and passes the fake file object to update_db().
Instead, uncompress the gzip'd data in memory and pass the JSON directly to
update_db().
(From OE-Core rev: 9422745979256c442f533770203f62ec071c18fb)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The metadata parser is fragile: first it coerces a bytes() to a str() (so the
string is b'LastModifiedDate:2019...'), assumes the first line is the date, and
then uses a regex to parse (which then includes the trailing quote as part of
the date).
Clean this up by parsing the bytes as UTF-8 (ASCII is probably fine, but this is
safer), iterate through the lines and split on colons to find the right
key/value pair.
(From OE-Core rev: bb4e53af33d6ca1e9346464adbdc1b39c47530f3)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of calling execute() repeatedly, rewrite the function to be a generator
and use executemany() for performance.
(From OE-Core rev: b309840b6aa3423b909a43499356e929c8761318)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running valgrind against code using Openssl v1.1.1c reports a large number of
uninitialized memory errors. This fix from upstream solves this problem.
(From OE-Core rev: 8081d645353ed934a0158329f2f36ea49d663e19)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, the temp dir is left in system, although the temporary
source directory has been cleaned up. So we clean it up too.
(From OE-Core rev: 8a0602327d5afcf4f36850d3f05c9721305852af)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use track_for_cleanup for temp dir to avoid such temp
dir being not cleaned up when something goes wrong, e.g.,
building image failure.
(From OE-Core rev: 7105c9bcceda3e4defbb6aa9fb3e8fd38c1e00a2)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Append the necessary QB_ flags to the MACHINE configuration of
beaglebone-yocto. Using Qemu with "-machine virt" simplifies things
greatly because for this machine the dtb is compiled into qemu. Since
the beaglebone-yocto kernel config also supports this cpu architecture,
it just works. However, u-boot is not involved and the virt machine is
not 100% equal to a am335x SoC.
A MACHINE configuration suitable for Qemu as well as for the real
hardware allows to provide just one eSDK where both runqemu and devtool
build-image work. Otherwise a qemuarm and a beaglebord-yocto MACHINE
eSDK would be required to support development in Qemu as well as on real
hardware.
(From meta-yocto rev: 48bf40749cc63e8e951c76abbe65b1b9620b2481)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of some debugging code meant that comparisions between sig
files with a taint and without a taint weren't working. Tweak the logic
to avoid tracebacks if one side doesn't have a taint.
(Bitbake rev: f5ea06fc2b6713c9f8e85ecf7cb981ae9a84d896)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe was called -native but didn't inherit native.
(From OE-Core rev: f0d822fad2a163d1ee32ed3b4c0359245140e19b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also avoids maintaining a different set of patches for both.
(From OE-Core rev: b3b1c00cc46b33ddbf7e008267032220e1e298af)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Include the fix by Mark Adler which has also been adopted by Debian.
(From OE-Core rev: 4df4de2ac8bc0e80446e1ad0ce67eb244e2d2a32)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop the following patches since the issues have been fixed upstream:
0001-file01.sh-Fix-in-was-not-recognized.patch
0001-lapi-Define-TST_ABI-32-64-to-detect-target-type.patch
0001-syscalls-setrlimit03.c-read-proc-sys-fs-nr_open-for-.patch
0007-fix-__WORDSIZE-undeclared-when-building-with-musl.patch
0009-fix-redefinition-of-struct-msgbuf-error-building-wit.patch
0021-Define-_GNU_SOURCE-for-MREMAP_MAYMOVE-definition.patch
0023-ptrace-Use-int-instead-of-enum-__ptrace_request.patch
0024-rt_sigaction-rt_sigprocmark-Define-_GNU_SOURCE.patch
0026-crash01-Define-_GNU_SOURCE.patch
0028-rt_sigaction.h-Use-sighandler_t-instead-of-__sighand.patch
0034-periodic_output.patch
0039-commands-ar01-Fix-for-test-in-deterministic-mode.patch
define-sigrtmin-and-sigrtmax-for-musl.patch
setregid01-security-string-formatting.patch
Refresh the following patches:
0004-build-Add-option-to-select-libc-implementation.patch
0005-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch
0008-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch
0018-guard-mallocopt-with-__GLIBC__.patch
0020-getdents-define-getdents-getdents64-only-for-glibc.patch
0035-fix-test_proc_kill-hang.patch
0036-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
0001-open_posix_testsuite-mmap24-2-Relax-condition-a-bit.patch
0001-shmctl01-don-t-use-hardcoded-index-0-for-SHM_STAT-te.patch
0001-diotest4-Let-kernel-pick-an-address-when-calling-mma.patch
0001-getrlimit03-adjust-a-bit-of-code-to-compatiable-with.patch
Add patch:
0006-rt_tgsigqueueinfo-disable-test-on-musl.patch
(From OE-Core rev: eb59546c83f4c217de6272a8d3b2fa65e3c84e7f)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In order to phase out poky-lsb, move the alternate test configurations
to a separate .inc file. This is necessary to avoid maintaining this
configuration in the autobuilder config (such as kernel version numbers).
(From meta-yocto rev: 235f592b44617afcd31211e476428fadf456eaea)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the default since -trim was dropped back in 2012 so this extra
configuration is pointless.
(From meta-yocto rev: f2868c6c667c109e416d5e51140f50fd5f0a10bc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
So that people or other tools can easily know which one is being used, just
like what we did for run.do_task and log.do_task, otherwise, we have no way
to know it. I usually use "ls -t", but it isn't reliable since the one which
is being used may not the latest one.
(Bitbake rev: cf286dff653eed542bf347ca46234c224944d5b0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 450335ba5e73a375eb9932b4c4cf37979640dbfc copies the pseudo
database to the working directory in order to have ownership information
when the filesystem is generated.
Unfortunately this does not work anymore. The filenames on the database
are absolute and there is no information about the new directory.
Instead of fixing the database, we could redo a bit the way we patch the
fstab file. Now I am saving the old contents of fstab, modifying the
file and then reverting the changes on exit.
This is faster than the previous approach, although it can cause
indeterminism if the application is killed before finishing.
(From OE-Core rev: dcbf7b864dd1713b54a172d8714ce1508482f086)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
djb2 hash algorithm was found to do collisions, so the database was
sometime missing data. Remove this hash mechanism, clear and populate
elements from scratch in PRODUCTS table if the current year needs an
update.
(From OE-Core rev: 78de2cb39d74b030cd4ec811bf6f9a6daa003d19)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE_CHECK_WHITELIST does not contain version anymore, as it was not
used. This variable should be set per recipe.
(From OE-Core rev: 7069302a4ccbb5b72e1902f284cf078516fd7294)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The master branch's current tip commit as of this writing is [1], see the
squashfs-tool's repo at [0].
Because of commits [2]-[4] which are included in the master branch three
corresponding patches are dropped as they are not needed anymore. The single
remaining patch was rebased on top of [1] to apply cleanly.
Commits [5] & [6] introduced interesting features, namely zstd support and
reproducibility of created SquashFS images. They are reflected in two new
PACKAGECONFIG options now, but only the latter ("reproducible") is appended to
the default options as OE-core does not contain a recipe to build zstd at the
moment (a working zstd recipe can be found e.g. in meta-rauc, see [7]).
[0] https://github.com/plougher/squashfs-tools.git
[1] f95864afe883 ("unsquashfs-4: Add more sanity checks + fix CVE-2015-4645/6")
[2] 46bdc1726e5a ("mksquashfs: Make a load of functions static")
[3] b0ca8a5c98ff ("pseudo.c: add explicit <sys/stat.h> include")
[4] f95864afe883 ("unsquashfs-4: Add more sanity checks + fix CVE-2015-4645/6")
[5] 6113361316d5 ("squashfs-tools: Add zstd support")
[6] e0d74d07bb35 ("Add configuration and Mksquashfs build options for
reproducible builds")
[7] https://layers.openembedded.org/layerindex/recipe/79049/
(From OE-Core rev: 92f34fbe321040db3dc0431dd464747324058e2e)
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Differentiate it from openssl gem for Ruby.
(From OE-Core rev: 2ec481b19d6c9c20ce6573de77ae89e576d6b8cb)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libpciaccess_0.14.bb to libpciaccess_0.16.bb.
-libpciaccess/0004-Don-t-include-sys-io.h-on-arm.patch
Removed since this is included in 0.16.
(From OE-Core rev: c2140b42c8516100c55c381d98e0f281b562d2db)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libice_1.0.9.bb to libice_1.0.10.bb.
-libice/CVE-2017-2626.patch
Removed since this is included in 1.0.10.
(From OE-Core rev: d3581b5d5562604ba31fc2b10873b3b0c9bf75fc)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce a new variable INIT_MANAGER and create 4 init-manager-*.inc
files to configure init manager settings. Available values of
INIT_MANAGER are sysvinit, systemd, mdev-busybox and a default of none.
'none' provides backwards compatibility.
The settings of various VIRTUAL-RUNTIME variables are moved into these
files from the packagegroups.
[YOCTO #13031]
[Modifications by RP for backwards compatibility]
(From OE-Core rev: 8d0b4704a526a48cd5e67df61b613424bbbdccde)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With recent changes to runqueue, this fuction is unsafe as setscene tasks can run
at the same time as normal ones and doing things before do_fetch no longer
offers any guarantees.
There is other code which cleans out things from the sysroots as tasks rerun so
we should rely upon that instead.
(From OE-Core rev: 27ce69861edb7e52078b59ebf8fefc9201e9a228)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are not using Python2. I removed this instance in the ref
manual. The variable "PYTHON_PN" referenced Python 2. It no
longer does.
(From yocto-docs rev: bd2ed0c640e12e8010ebff0aaba77e8fe367d63e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was a typo in the BBMULTICONFIG variable description.
It appeared as "BBMULTIFONFIG". I fixed it.
(From yocto-docs rev: c53b1bb6e588f9ee87cb8ab85fc8c3985257a37a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Enabling GObject Introspection Support" section, a link
existed to the "Known Issues" section further down in the
chapter. The target of the link was missing and appeared as the
placeholder "xxx". I put in the proper link.
(From yocto-docs rev: 8d0d1b2104f08e888075bc0ae0bed4f0ec2f4ea6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes YOCTO #13079
Bug is about making sure the section on the devtool command
talks about oe-local-files. Two devtool commands (modify
and upgrade) needed to mention the role of the oe-local-files
area and how it is used during these commands. I updated the
appropriate sections:
* Use devtool modify to Modify the Source of an Existing Component
* Use devtool upgrade to Create a Version of the Recipe that
Supports a Newer Version of the Software.
(From yocto-docs rev: 70ed68eca6dcb5b1f1b5638fd27a7b513b65661e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Missing information for some of the releases put back in.
(From yocto-docs rev: f4c09ab9eda925c16946d9d6cf58d1e40d8f6a07)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you specify both setscene and non-setscene tasks on the commandline, the
non-setscene tasks could be missed, e.g. "bitbake X:do_patch X:do_populate_sysroot"
and do_patch would fail to run.
Fix the problem in runqueue and add a testcase.
(Bitbake rev: 75292fdec5d9c0b5b3c554c4b7474a63656f7e12)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the /etc/opkg directory exists before we try to create a
file there.
(From OE-Core rev: 30ff50223cd0b79fd3b8aa393ea1e621282773ac)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of hiding problems in the debug log let's print them as warnings
instead.
(From OE-Core rev: 088f5d97001bd4b573f00cfca93b8d24e814fd64)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following warning by just deleting the files:
WARNING: opensbi-0.4-r0 do_package: QA Issue: opensbi: Files/directories were installed but not shipped in any package:
/lib
/lib/libsbiutils.a
/lib/libsbi.a
(From OE-Core rev: ecbf494b26db71076ad74902a75a3205c849d81e)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error info:
getrlimit03.c:104: FAIL: __NR_prlimit64(0) had rlim_cur =
ffffffffffffffff but __NR_getrlimit(0) had rlim_cur = 7fffffff
According to kernel code: [arch/mips/include/uapi/asm/resource.h]
RLIM_INFINITY is set to 0x7fffffffUL instead of ULONG_MAX on mips32.
/*
* SuS says limits have to be unsigned.
* Which makes a ton more sense anyway,
* but we keep the old value on MIPS32,
* for compatibility:
*/
#ifndef __mips64
# define RLIM_INFINITY 0x7fffffffUL
#endif
Adding conditional statement about mips to fix this.
(From OE-Core rev: 6bb6de711631fb2d339c447c6f88c8e06c17b967)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are many projects called Flex and they have CVEs, so also set the vendor
to remove these false positives.
(From OE-Core rev: 0598ccdcb31e16f1d1227197591b10ba441fcfe2)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some product names are too vague to be searched without also matching the
vendor, for example Flex could be the parser compiler we ship, or Adobe Flex, or
Apache Flex, or IBM Flex.
If entries in CVE_PRODUCT contain a colon then split it as vendor:product to improve the search.
Also don't use .format() to construct SQL as that can lead to security
issues. Instead, use ? placeholders and lets sqlite3 handle the escaping.
(From OE-Core rev: e6bf90009877d00243417898700d2320fd87b39c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Layers could be located outside from poky but inside the build directory.
This case should be covered in eSDK.
meta-abc
meta-def/meta-ghi
meta-def/poky
meta-def/meta-oe/meta-oe
...
It should take all enabled layers and put them into 'layers' dir during
build-time with respecting new relative path to poky.
layers/meta-abc
layers/meta-ghi
layers/poky
layers/meta-oe/meta-oe
...
(From OE-Core rev: 55ecf6988d3e3c0935cb6324a6ad2c75f1191a1d)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build failure with core-image-minimal:
Exception: UnboundLocalError: local variable 'to_append' referenced before assignment
(From OE-Core rev: 270ac00cb43d0614dfe1c95f960c76e9e5fa20d4)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While creating and deleting files with unicode or other
encodings works, it's annoying when ls and other core utils
show questionmarks instead of the unicode characters.
In 2019, it's quite common that users of embedded devices
based on yocto need unicode support. Debugging a box with
unicode encoded file names is a bit annoying when core utils
from busybox don't support them.
The unicode config fragment has the same config as Debian in their
deb and udeb builds of version 1:1.30.1-4.
If developers do not want this or other default yocto features in busybox,
or optimize the configuration for size, then they likely run a completely
custom configuration. Thus I think it's safe to enable unicode support
by default.
(From OE-Core rev: a48438422dbe64095bdb379c20428ba87e2a0e99)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
u-boot.bin with dtb & signature should be placed in ${B} so that
it can be deployed by u-boot as expected. Otherwise, the version
without signature is installed.
(From OE-Core rev: bfc8c964a9760a2c4a1d1902918908a1e7361c17)
Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when INITRAMFS_IMAGE_BUNDLE and INITRAMFS_IMAGE are set, wic should
look for kernel with initramfs image bundled.
Include required variable MACHINE, INITRAMFS_IMAGE_BUNDLE,
INITRAMFS_IMAGE, INITRAMFS_LINK_NAME and KERNEL_IMAGETYPE in WICVARS.
No longer require default value for variable kernel as KERNEL_IMAGETYPE
is not optional variable and included in WICVARS.
image_types_wic to inherit kernel-artifact-names to obtain default
INITRAMFS_LINK_NAME when INITRAMFS_IMAGE_BUNDLE are set.
update wic.Wic2.test_image_env test case to filter optional
variable INITRAMFS_LINK_NAME, INITRAMFS_IMAGE and INITRAMFS_IMAGE_BUNDLE.
(From OE-Core rev: bac984fbb2d5ad5d13ba3275c8a3e878d8753c58)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some distributions for various reasons (like for example mounting a
tmpfs over /var at runtime) can't use /var/lib to store the opkg
metadata, so a different path is required to have a functioning
package manager.
${localstatedir} can't be modified to something other than the
hardcoded value in bitbake.conf because other recipes depending on it
will fail to install.
So the only recourse, which is also the least invasive, is to allow
distros to overwrite the OPKGLIBDIR variable just like they are also
allowed to overwrite OPKGBUILDCMD.
(From OE-Core rev: 81eae383c287ad2e74321345c5eba862d5704cc4)
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As glibc will be scanned for CVEs, we don't need to scan glibc-locale,
glibc-mtrace, and glibc-scripts which are all separate recipes for technical
reasons.
Exclude the recipes by setting CVE_PRODUCT in the recipe, instead of using the
global whitelist.
(From OE-Core rev: 1f9a963b9ff7ebe052ba54b9fcbdf7d09478dd17)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2014-2524 is a readline CVE that was fixed in 6.3patch3 onwards, but the
tooling wasn't able to detect this version. As we now ship readline 8 we don't
need to manually whitelist it, and if we did then the whitelisting should be in
the readline recipe.
(From OE-Core rev: 07bb8b25e172aa5c8ae96b6e8eb4ac901b835219)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With kernels >=5.2 systemd-networkd is unable to bring up the link.
eth0: Could not bring up interface: Invalid argument
This is already reported upstream and fixed on master:
https://github.com/systemd/systemd/issues/12784
They recommend Debian to backport two patches.
(From OE-Core rev: 536d54ab46708ef921dbdcb68d1cf644ec639be8)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a command line option to filter out the buildstats-diff report by
one more more tasks. e.g.:
buildstats-diff --only-task do_compile A B
will only show the differences for do_compile tasks. The --only-task
option can be specified multiple times to filter out multiple tasks at
once.
(From OE-Core rev: a8c7960d24c48107fd3703e49c38f890e84e2226)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to compile webkit when default tune is 'mips':
| .../tmp-glibc/work/mips-wrs-linux/webkitgtk/2.24.2-r0/webkitgtk-2.24.2
| /Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:418:23:
| error: static assertion failed: CLZ opcode is not available for this ISA
So don't build webkit when default tune is mips.
(From OE-Core rev: 23573d4e69f4316d5812b5dd35314b5a0aa592e9)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All packages that support the menuconfig task will be able to run
devtool menuconfig command. This would allow the user to modify the
current configure options and create a config fragment which can be
added to a recipe using devtool finish.
1. The patch checks if devtool menuconfig command is called for a valid
package.
2. It checks for oe-local-files dir within source and creates one if
needed, this directory is needed to store the final generated config
fragment so that devtool finish can update the recipe.
3. Menuconfig command is called for users to make necessary changes.
After saving the changes, diffconfig command is run to generate the
fragment.
Syntax:
devtool menuconfig <package name>
Ex: devtool menuconfig linux-yocto
The config fragment is saved as devtool-fragment.cfg within
oe-local-files dir.
Ex:
<workspace_path>/sources/linux-yocto/oe-local-files/devtool-fragment.cfg
Run devtool finish to update the recipe by appending the config fragment
to SRC_URI and place a copy of the fragment within the layer where the
recipe resides.
Ex: devtool finish linux-yocto meta
[YOCTO #10416]
(From OE-Core rev: 417feb559a74b367315e8658d6ba868a4f8d1340)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If kernel source is not already downloaded i.e staging kernel dir is
empty, place a copy of the source when the user runs devtool modify
linux-yocto. This way the kernel source is available for other packages
that use it.
[YOCTO #10416]
(From OE-Core rev: bb42ab90835e8ec2f1dfbb35056c353784693266)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the regular devtool modify flow, the kernel source is fetched by
running do_fetch task. This is an overhead in time and space.
This patch updates modify command to check if the kernel source is
already downloaded. If so, then instead of calling do_fetch, copy the
source from work-shared to devtool workspace by creating hard links
else run the usual devtool modify flow and call do_fetch task.
[YOCTO #10416]
(From OE-Core rev: 3c3a9bae296f849dbfe03942282f44036e6fa1fb)
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the logic in bitbake improves, the logic in the tests needs to as well.
Afer we built a task for the first time, allow its setscene hash verification
status to change, mirroring what would happen in a multiconfig build.
(Bitbake rev: 27ec2e69ab3e32972caf8b072b2945736696d83d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently if a multiconfig build contains different configurations which
have overlapping sstate artefacts, it will build them multiple times.
This is clearly suboptimal and not what users want/expect.
This adds code to detect this and stall all but one of the setscne tasks
so that once its built, it can be found by the other tasks.
We take care to iterate the multiconfigs in order so try and avoid
dependency loops. We also match on PN+taskname+taskhash since this is
what we know sstate in OE-Core would use. There are some tasks even within
a multiconfig which match hashes (mostly do_populate_lic tasks) but those
have a much higher chance of circular dependency so aren't work attempting
to optimise.
If a deadlock does occur the build will be slower but there is code to
unbreak such a deadlock so it hopefully doens't break anything.
Comments are injected into the test tasks so they have different task
hashes and a new test for this optimisation is added.
(Bitbake rev: a75c5fd6d4ec56836de0be2fe679c81297a080ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull the common pieces of the hash verification code into a single function
and reduce code duplication.
(Bitbake rev: d0c39e05cef841c6f29cc6c919df6cbf271a9bda)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix some unwanted extra indentation.
(Bitbake rev: 460a5c2e3e1d72f2da16fbc96832fadc82e72c52)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was left from when task IDs complicated the code, simplify.
(Bitbake rev: ae36b5c693bb9f13c88199e78e3c31616852eafb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Briefly:
Brazil no longer observes DST.
'zic -b slim' outputs smaller TZif files; please try it out.
Palestine's 2019 spring-forward transition was on 03-29, not 03-30.
Changes to future timestamps
Brazil has canceled DST and will stay on standard time indefinitely.
(Thanks to Steffen Thorsen, Marcus Diniz, and Daniel Soares de
Oliveira.)
Predictions for Morocco now go through 2087 instead of 2037, to
work around a problem on newlib when using TZif files output by
zic 2019a or earlier. (Problem reported by David Gauchard.)
Changes to past and future timestamps
Palestine's 2019 spring transition was 03-29 at 00:00, not 03-30
at 01:00. (Thanks to Sharef Mustafa and Even Scharning.) Guess
future transitions to be March's last Friday at 00:00.
Changes to past timestamps
Hong Kong's 1941-06-15 spring-forward transition was at 03:00, not
03:30. Its 1945 transition from JST to HKT was on 11-18 at 02:00,
not 09-15 at 00:00. In 1946 its spring-forward transition was on
04-21 at 00:00, not the previous day at 03:30. From 1946 through
1952 its fall-back transitions occurred at 04:30, not at 03:30.
In 1947 its fall-back transition was on 11-30, not 12-30.
(Thanks to P Chan.)
Changes to past time zone abbreviations
Italy's 1866 transition to Rome Mean Time was on December 12, not
September 22. This affects only the time zone abbreviation for
Europe/Rome between those dates. (Thanks to Stephen Trainor and
Luigi Rosa.)
Changes affecting metadata only
Add info about the Crimea situation in zone1970.tab and zone.tab.
(Problem reported by Serhii Demediuk.)
Changes to code
zic's new -b option supports a way to control data bloat and to
test for year-2038 bugs in software that reads TZif files.
'zic -b fat' and 'zic -b slim' generate larger and smaller output;
for example, changing from fat to slim shrinks the Europe/London
file from 3648 to 1599 bytes, saving about 56%. Fat and slim
files represent the same set of timestamps and use the same TZif
format as documented in tzfile(5) and in Internet RFC 8536.
Fat format attempts to work around bugs or incompatibilities in
older software, notably software that mishandles 64-bit TZif data
or uses obsolete TZ strings like "EET-2EEST" that lack DST rules.
Slim format is more efficient and does not work around 64-bit bugs
or obsolete TZ strings. Currently zic defaults to fat format
unless you compile with -DZIC_BLOAT_DEFAULT=\"slim\"; this
out-of-the-box default is intended to change in future releases
as the buggy software often mishandles timestamps anyway.
zic no longer treats a set of rules ending in 2037 specially.
Previously, zic assumed that such a ruleset meant that future
timestamps could not be predicted, and therefore omitted a
POSIX-like TZ string in the TZif output. The old behavior is no
longer needed for current tzdata, and caused problems with newlib
when used with older tzdata (reported by David Gauchard).
zic no longer generates some artifact transitions. For example,
Europe/London no longer has a no-op transition in January 1996.
Changes to build procedure
tzdata.zi now assumes zic 2017c or later. This shrinks tzdata.zi
by a percent or so.
Changes to documentation and commentary
The Makefile now documents the POSIXRULES macro as being obsolete,
and similarly, zic's -p POSIXRULES option is now documented as
being obsolete. Although the POSIXRULES feature still exists and
works as before, in practice it is rarely used for its intended
purpose, and it does not work either in the default reference
implementation (for timestamps after 2037) or in common
implementations such as GNU/Linux (for contemporary timestamps).
Since POSIXRULES was designed primarily as a temporary transition
facility for System V platforms that died off decades ago, it is
being decommissioned rather than institutionalized.
New info on Bonin Islands and Marcus (thanks to Wakaba and Phake
Nick).
(From OE-Core rev: bbbb985808e5c301cdb7fdb1ff677706e99b4785)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to improved validation of sysctl settings in recent kernels (5.2+, but
also stable kernels like 4.19.53), systemd will log an error message like
systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
during boot. Backport the bugfix from the systemd master.
(From OE-Core rev: 289a29fc687d1224097f553a6f8c7f1baf903cae)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that we don't create an image test data symlink named
".testdata.json" when IMAGE_LINK_NAME is empty.
(From OE-Core rev: 97e1af51814c63963dc6eee003e0cf0e4dead024)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that we don't create a symlink named ".manifest" if IMAGE_LINK_NAME
is empty.
(From OE-Core rev: 267697f5e1c931e39fd81dd1b14691e364be64f3)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The options in ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} are already passed
via ${CC}/${CXX} and there is no reason to pass them a second time. Thus
we can remove MESON_TOOLCHAIN_ARGS. And when it is removed, the other
MESON_*_ARGS variables revert to the standard CFLAGS, CXXFLAGS and
LDFLAGS, so just use them directly instead.
Apart from the obvious improvement with not passing a lot of options
twice, this also solves a problem where -pie would be passed on the
command line in a way that it would prevent building any dynamic
libraries using meson if using a toolchain that is not built with
--enable-default-pie and if security_flags.inc is used.
(From OE-Core rev: 300f4ac59d4b96fc25a40565b22441b51ab08ede)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patching to make the new libtool work (from 2008) is no longer needed.
(From OE-Core rev: 4210fafa851d011023f5a58ed3887148168f861c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE no longer ships a git snapshot of e2fsprogs,
so use the new upstream default now.
(From OE-Core rev: f5edce401cfb31ebd0200adaba9a201caf7ea705)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are several packages which all provide /usr/lib/sendmail
when lsb is enabled. So use alternative to manage it.
(From OE-Core rev: 0a433802a9b7a41ab6732bc1915571b7a190985f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before commit[80d17497b7 mdadm: improve the run-ptest],
the mdadm ptest just run some tests without
"--keep-going" option. After the option added in
commit 80d17497b7, all test cases have chance to
be called.
But the logic in mdadm upstream commit
[e2a8e9d tests: wait for complete rebuild in integrity checks]
will make the test enter infinite loop especially in
qemu env as commit e2a8e9d update the logic from
"check wait" to "check state 'U*'" for testcase
tests/01r5integ and tests/01raid6integ. Considering all
other cases still use "check wait" logic, so revert e2a8e9d
to make tests/01r5integ and tests/01raid6integ also use
"check wait" logic to avoid the infinite loop.
[YOCTO #13368]
(From OE-Core rev: b507793f4adde0c60588b06520d7d0b70acfd82a)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian 10 is the new stable release and is being tested on the autobuilder, so
add this to the supported distribution list.
[ YOCTO #13432 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the merge of the scenequeue with real tasks, this now confuses the
statistics. The real tasks are the definitive progress so monitor only
those.
(Bitbake rev: 20956b508a082224139c8f56b68299edff6e0443)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need some tests for runqueue, its been something which has been hard to test
for a long time. Add some dummy metadata to allow this, mirroring the OE
structure in spirit.
(Bitbake rev: 37564d7440c5d7aa05ec537f3b79026b1c83bb68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This combines the scqenequeue and normal task execution into one function
and simplifies the state engine accordingly.
This is the final set of cleanup to fully merge things without adding the
extra noise to the previous commits.
(Bitbake rev: 56f3396d8c7cfbebd175877c9d773e4e35f8dea1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since there is now parallel execution of setscene and normal tasks, the way
setscenewhitelist handling worked can't function the way it did. Paul and I
never liked its error output anyway.
This code tries a different approach, checking the task at execution time
but printing the uncovered task list.
This code may need improvement after real world usage but can
work with the new task flows.
(Bitbake rev: a08d8ba5f5194a09391b1904ee31c04c5f0b1e28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the serious functionality change in this runqueue patch series of
changes.
Rather than two phases of execution, the scenequeue setscene phase, followed
by normal task exeuction, this change allows them to execute in parallel
together.
To do this we need to handle marking of tasks as covered/uncovered in a piecemeal
fashion on a task by task basis rather than in a single function.
The code will block normal task exeuction until any setcene task which could
cover that task is executed and its status is known. There is a slight
optimisation which could be possible here at the risk of races but that
doesn't seem worthwhile.
The state engine isn't entirely cleaned up in this commit (see FIXME) and
the setscenewhitelist functionality is broken by it (see following patches)
however its good enough to test with normal workflows.
(Bitbake rev: 58b3f0847cc2d47e76f74d59dcbbf78fe41b118b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It wasn't clear whether the variable contained just setscene covered
tasks or all covered tasks. We need both sets of data so lets just have
two clearly named variables.
(Bitbake rev: a9fb55627762e7c8b3df30b335ad0b2f1adc080e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code for setting up buildable tasks can be simplified.
(Bitbake rev: ce3cd2df5b034f8dbdcf9834e8b9a393b6b01aad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its now clear a variable is pointless, remove it and tweak the logic
so the data structure of the existing variable matches what we need.
(Bitbake rev: c257c7b93b86dd794d31307e820215301c7ccf3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Simplfy some looping code which no longer has any purpose.
(Bitbake rev: 01dfc37095e5c661f275917d22aa1c1ad7f24d8d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some extra comments to build_scenequeue_data() and fix the debug code
so it actually works.
(Bitbake rev: 8ea6d8193fc89b4596da69e400fbc50e5a443f9f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing code to compute the 'unskippable' setscene task list is overcomlicated,
so replace it with something functionally equivalent but simpler and more efficient.
We don't need to process all chains, just the 'top' ones to the first setscene tasks.
This also makes the code more readable.
(Bitbake rev: 06982c82f10cbdbea0b601e5cf0450a2a99c14c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful to have a list of all the tasks a given setscene task covers
and we can easily generate this data whilst doing other data processing.
This is used in later changes to runqueue rather than trying to compute it
on the fly which is difficult.
(Bitbake rev: 63ddc2fec40bd1b456702b97091f9dc5ef70a941)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this class has existed for years, it doesn't have any
users and has a questionable interface. Drop it to allow for further
simplification and changes.
(Bitbake rev: 3ab51764f7965d696bb2c5a872bf161473df4289)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also move the scheduler init over, apart for the builtable tasks part which need
to remain called later.
(Bitbake rev: ad30a16cd30f9eab0224eb271f98f9a24516b621)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cleanup to the _execute_runqueue logic to reduce indentation, drop the
dummy executor class concept and prepare for further changes.
(Bitbake rev: 726e3c61a69fef16e605ba9b911a17cd99f1a2c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Replace the remains of the Tasks and Scenequeue Tasks classes with simple
function calls. Also drop the dummy version of the execution class to
simplify further changes as its not needed.
(Bitbake rev: 33805394310046cd58c2194f6d063b3946811014)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tasks were not being marked as covered/notcovered since internal
calls were being made without using the external call points.
Fix the accounting issues by using the correct external call points.
(Bitbake rev: fe0a7be03e8baed22f6b0915cd5f7956ba3fbf83)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merge the unique functions from the Tasks and Scenequeue Tasks classes
into the common base class.
(Bitbake rev: 7539fe22bc831bb835901e3aca77985ab4ebc4c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use a seperate stats class for scenequeue tasks and move the setup
into the base class. Update references accordingly.
(Bitbake rev: 32f39bbd5d3b7394689da9ba05be2c15b4523b27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In preparation for merging the setscene and normal task execution,
uniquely namespace the scenequeue specific functions.
For the one shared function, add the "sq_live" variable so we know
which functions to send the results to.
(Bitbake rev: 2cbe9399902ba67dca566c7344b2247412cf4d5c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For ease of refactoring, move this code to its own separate function
until it becomes clear what we should do with it.
(Bitbake rev: 4b96b204f986dd62fba485876b7208665c14268d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function is only used by setscene code so the parameter is pointless,
remove it.
(Bitbake rev: b52dbf5e9cb327f8434213d286ad333f5dbad1d3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move the bulk of the scenequeue data generation to its own function
allowing for refactoring of the code.
Create the start of an object to represent this data.
(Bitbake rev: 68326e0426f25a1bbfd5ae3aa278656a3744053e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the removal of the setcene verify code, this additional code block
is also now unneeded since tasks can't be forced at this point in the code
any move. This effectively reverts f21910157d873c030b149c4cdc5b57c5062ab5a6.
(Bitbake rev: 4514fe4f045d595cc9b938f9326f66f2b3e99f71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Nothing in OE-Core uses this and hasn't since 2017. It wasn't needed by core
metadata since the switch to recipe specific sysroots.
Since this function would be hard to implement with the planned changes to
runqueue, drop it which allows simplification and further code cleanup.
(Bitbake rev: 5deaa5df730a8a846f3192b4a639b7a2a72c1b71)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Work off a copy of the 'buildable' class variable, allowing easier
future code changes.
(Bitbake rev: e851169acfebba404514135bf512e6f045739a13)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that runqueue optimises based on task hash, we need to ensure
tasks have unique hashes even in the simplest siggen mode. Use
the task name to calculate a unique hash.
This fixes runqueue tests when hash optimisations are added.
(Bitbake rev: 8ede873ef4ef492fbaf01474685c1ca8b34d80d5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the unihash changes the default signature handler didn't work. Tweak it
to adapt to those changes (allowing the runqueue tests to work).
(Bitbake rev: 7d486d3fb7176a3486f3f2484457724d7185df58)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The provides and rprovides had been set for skipped recipes, packages are
similar to them (all of them provide something), so also set it. This makes it
easier to figure out the RDEPENDS issues, for example, lmsensors
(lmsensors_3.5.0.bb) RRECOMMENDS lmsensors-config-fancontrol
(lmsensors-config_1.0.bb), but lmsensors-config is skipped for some reasons,
then if we run:
$ bitbake lmsensors
ERROR: Nothing RPROVIDES 'lmsensors-config-fancontrol' (but /path/to/lmsensors_3.5.0.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'lmsensors-config-fancontrol' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lmsensors-config-fancontrol']
ERROR: Required build target 'lmsensors' has no buildable providers.
Missing or unbuildable dependency chain was: ['lmsensors', 'lmsensors-config-fancontrol']
We had no way to know who rprovides lmsensors-config-fancontrol, we can figure
it out by bitbake/contrib/dump_cache.py after this patch.
(Bitbake rev: 9cf7a5e5a28e676427970a821893e9d930973969)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whether skip or not, they are always set, so move the lines ahead to avoid
duplicated lines.
(Bitbake rev: c1a8ebb8f83e5108b667f291c924fc2fbd2ac769)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the mission to remove the use of Python 2, explicitly bootstrap Ninja
with Python 3.
(From OE-Core rev: b6a84fff1fbdab49af626d221085f3c052c4021d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building qemu.
(From OE-Core rev: 9b3ed6f7ab8bf56a05a074162ed37ead12f248cf)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of the mission to remove the use of Python 2, explicitly use Python 3
when building grub.
(From OE-Core rev: f2286cc31bd92d75c7f8662abe816867ab041d50)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bluez4 was removed from meta-oe 2 years ago.
Simplfy the setup of the two level bluetooth and bluez4/bluez5
distro features by removing the bluez4/bluez5 distro features.
This also removes the no longer required bluetooth class.
(From OE-Core rev: dcf889e93401f7c4de0055d53271eacc3882eccc)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When handling pid file, qemu would first create the file, stat it,
lock it and then write actually contents to it.
So it's possbile that when reading the pid file, the content is empty.
[YOCTO #13390]
(From OE-Core rev: 170e59b203a02f8438b9aeab3a45f6fcd6608b1f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The test_rpm_query_nonroot test case was in RpmInstallRemoveTest.
But it should logically belong to RpmBasicTest. So move it there.
(From OE-Core rev: 506388a10a26613524602dcb4e630f216c6fee60)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case of systemd, `su -c 'xxx' test1' via ssh will create
several processes owned by test1, e.g. /lib/system/systemd --user.
These processes are actually managed by user@UID.service
(e.g. user@1000.service). And such service is managed
automatically by systemd. In other words, it will be cleaned
up by systemd automatically.
So we need to wait for systemd to clean it up before trying to
use `userdel' to delete the user.
(From OE-Core rev: 9d398be42a69d25277b929d760aaed1679f3cd54)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Using bitbake variable syntax (i.e., ${FOO}) for shell variables is
bad practice. First of all it is confusing, but more importantly it
can lead to weird problems if someone actually defines a bitbake
variable with the same name as the shell variable.
Also correct the indentation in stash_locale_cleanup().
(From OE-Core rev: 4e303063db731feae192314bab2ca16d26192dbb)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysstat.service script in source launchs sysstat-collect and sysstat-summary
services when cron is installed with systemd. At this time, the upstream
sysstat.service must be installed.
(From OE-Core rev: 06a596ff8100f4a6506ff8d7f9ec93dd6aac6cb2)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This doesn't actually work as the unit file is only installed if cron support is
enabled.
This reverts commit 721f09d489.
(From OE-Core rev: 559465348de5210c7d29361f79666b62bd6660aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the recent changes in bitbake to runqueue, we need to recheck sstate validity,
particularly in multiconfig builds where tasks have the same checksum.
Avoid printing summary messages in this case. Also avoid multiple events to toaster
which may not be expecting that at later points in the code.
(From OE-Core rev: 227125b96ad6fb0cf6e259e787d83415993db847)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the Adwaita theme for GTK+ 2, which we don't include in oe-core anymore.
(From OE-Core rev: 9481da15c8eb8d5e866d97fdb337323e80d4f9e6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GTK+ 2 is ancient, and shouldn't be used. It will be moved to meta-oe for
people who do need it, but it shouldn't in oe-core.
[ YOCTO #12673 ]
(From OE-Core rev: 3c692e0d77e68908ab0ec421356bd4738c5327db)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current test builds Navit, which uses GTK+ 2. As GTK+ 2 is being removed
from oe-core, change the test to build taglib instead.
(From OE-Core rev: f627bce009dd275df807ffbc53b880c2490559ae)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a package uses PKG_ variables to map package names to version specific
variants, on target postinstall functionality will be broken.
i.e. something like the following casuses rootfs assembly errors:
d.setVar('pkg_postinst_ontarget_linux-source', 'cd /usr/src/; ln -sf %s linux-source' % source_pkg)
This breakage is due to the fact that the original package name (as specified by
the PACKAGES variable) is logged by the intercept scripts, but the mapped /
specific version is actually installed to the rootfs (and hence logged by the
package manager).
When the runtime listing of on-target scripts is performed, we get a package
manager error due to a missing package, since it checks the generic version
logged by the intercept scripts.
We can fix this by ensuring that the PKG_ variable mapped package name
is logged by the intercept phase, and hence the package manager can locate
and execute the on target postinst script.
This variable check is consistent with other places in the code, and has
no impact if PKG_ variables are not used.
(From OE-Core rev: a6af0886d1be584974086c0ddb4a5bc566eb7984)
Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the linux-yocto 4.19 recipe to the latest -stable and -rt
releases.
We also integrate a configuration change to support ptests on scsci
targets:
scsi-debug: include core scsi support for standalone inclusion
The -stable changes comprise the following commits:
1a0592436669 Linux 4.19.57
3919d91f4d36 arm64: insn: Fix ldadd instruction encoding
9c423fd89a2b usb: dwc3: Reset num_trbs after skipping
2bbb6b547fbe tipc: pass tunnel dev as NULL to udp_tunnel(6)_xmit_skb
89c49e7b6b0a RDMA: Directly cast the sockaddr union to sockaddr
a319c8ff4f09 futex: Update comments and docs about return values of arch futex code
4423a82cbde3 bpf, arm64: use more scalable stadd over ldxr / stxr loop in xadd
436869e0cd6d arm64: futex: Avoid copying out uninitialised stack in failed cmpxchg()
ba6340a7297f bpf: udp: ipv6: Avoid running reuseport's bpf_prog from __udp6_lib_err
79c6a8c09978 bpf: udp: Avoid calling reuseport's bpf_prog from udp_gro
613bc37f74c9 bpf: fix unconnected udp hooks
a7177b94aff4 bpf: fix nested bpf tracepoints with per-cpu data
4992d4af5881 bpf: lpm_trie: check left child of last leftmost node for NULL
5e558f9a6d7b bpf: simplify definition of BPF_FIB_LOOKUP related flags
7d2c0ec20cb2 tun: wake up waitqueues after IFF_UP is set
a08b915457d6 tipc: check msg->req data len in tipc_nl_compat_bearer_disable
fdf3e98e1fd9 tipc: change to use register_pernet_device
32b711f57ce7 team: Always enable vlan tx offload
eeb770d6ab77 sctp: change to hold sk after auth shkey is created successfully
9b7b0aab4750 net: stmmac: set IC bit when transmitting frames with HW timestamp
a373bf728188 net: stmmac: fixed new system time seconds value calculation
7d76fc211609 net: remove duplicate fetch in sock_getsockopt
05dceb60e5dd net/packet: fix memory leak in packet_set_ring()
7c92f3efbad0 ipv4: Use return value of inet_iif() for __raw_v4_lookup in the while loop
0f3451723ddc bonding: Always enable vlan tx offload
a4709127e5dd af_packet: Block execution of tasks waiting for transmit to complete in AF_PACKET
64032e2d9ba8 eeprom: at24: fix unexpected timeout under high load
c22cea5a21b2 irqchip/mips-gic: Use the correct local interrupt map registers
dd9f2fb59e01 SUNRPC: Clean up initialisation of the struct rpc_rqst
b78ad2169282 cpu/speculation: Warn on unsupported mitigations= parameter
27380331755f NFS/flexfiles: Use the correct TCP timeout for flexfiles I/O
01a02a98ab1c KVM: x86/mmu: Allocate PAE root array when using SVM's 32-bit NPT
327460322c7c x86/resctrl: Prevent possible overrun during bitmap operations
1746dc529104 x86/microcode: Fix the microcode load on CPU hotplug for real
690049eddb0c x86/speculation: Allow guests to use SSBD even if host does not
ee71e97285c2 scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()
2ba0a5009607 dm log writes: make sure super sector log updates are written in order
87cf811ab6fb mm/page_idle.c: fix oops because end_pfn is larger than max_pfn
1192fb703d09 mm: hugetlb: soft-offline: dissolve_free_huge_page() return zero on !PageHuge
aab629188848 mm: soft-offline: return -EBUSY if set_hwpoison_free_buddy_page() fails
bcfed145e583 clk: socfpga: stratix10: fix divider entry for the emac clocks
75f5d78d9fbe fs/binfmt_flat.c: make load_flat_shared_library() work
49e9b499a34d mm/mempolicy.c: fix an incorrect rebind node in mpol_rebind_nodemask
6a811c099186 fs/proc/array.c: allow reporting eip/esp for all coredumping threads
385cacd953b9 usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup
6edcdd0e6d8f usb: dwc3: gadget: remove wait_end_transfer
d7ff2e3ff0e0 usb: dwc3: gadget: move requests to cancelled_list
bba5f9878f67 usb: dwc3: gadget: introduce cancelled_list
65e1f3403108 usb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs()
56092bd50eb9 usb: dwc3: gadget: use num_trbs when skipping TRBs on ->dequeue()
2a2b1c4dc510 usb: dwc3: gadget: track number of TRBs per request
420b1237c79f usb: dwc3: gadget: combine unaligned and zero flags
62805d31969b Revert "usb: dwc3: gadget: Clear req->needs_extra_trb flag on cleanup"
3726d8d0b60f qmi_wwan: Fix out-of-bounds read
cfbe930c7142 net/9p: include trans_common.h to fix missing prototype warning.
6518b4126b3f 9p/trans_fd: put worker reqs on destroy
6fad469c84fc 9p/trans_fd: abort p9_read_work if req status changed
39bf142ae0ca 9p: potential NULL dereference
6490cdf9d29d 9p: p9dirent_read: check network-provided name length
e48e7e27e4df 9p/rdma: remove useless check in cm_event_handler
fb0cbbd8dec7 9p: acl: fix uninitialized iattr access
3dc511c9ccb9 9p: Rename req to rreq in trans_fd
04ee7e7b4795 9p/rdma: do not disconnect on down_interruptible EAGAIN
3665a4d9dca1 9p: Add refcount to p9_req_t
fa3625794f1a 9p: rename p9_free_req() function
be87f21e6b25 9p: add a per-client fcall kmem_cache
1555583b63b3 9p: embed fcall in req to round down buffer allocs
3ea4cf422323 9p: Use a slab for allocating requests
f8bc5f1a3aba 9p/xen: fix check for xenbus_read error in front_probe
a8782ce02687 IB/hfi1: Close PSM sdma_progress sleep window
fec1a13bdfa9 Revert "x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP"
85a3b1ef969b arm64: Don't unconditionally add -Wno-psabi to KBUILD_CFLAGS
6461a4543b34 perf header: Fix unchecked usage of strncpy()
0bf5d53b53c8 perf help: Remove needless use of strncpy()
6e75d9272c92 perf ui helpline: Use strlcpy() as a shorter form of strncpy() + explicit set nul
aec3002d07fd Linux 4.19.56
cd3e49394cb0 powerpc/mm/64s/hash: Reallocate context ids on fork
8c4fe20091cd x86/resctrl: Don't stop walking closids when a locksetup group is found
d451b505b676 mac80211: Do not use stack memory with scatterlist for GMAC
72dc6786d77a nl80211: fix station_info pertid memory leak
1e1007ac47d8 mac80211: handle deauthentication/disassociation from TDLS peer
ccf6a155844b {nl,mac}80211: allow 4addr AP operation on crypto controlled devices
0e879ef1cb5b mac80211: drop robust management frames from unknown TA
17d941dc3033 cfg80211: fix memory leak of wiphy device name
5293c79c6f60 SMB3: retry on STATUS_INSUFFICIENT_RESOURCES instead of failing write
db7f1076c0bd Bluetooth: Fix regression with minimum encryption key size alignment
5e9a6c68de0f Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
64e370233a07 staging: erofs: add requirements field in superblock
e6803ce36d49 drm/vmwgfx: Use the backdoor port if the HB port is not available
7499528bb078 arm64: ssbd: explicitly depend on <linux/prctl.h>
3e16b5c25466 arm64/sve: <uapi/asm/ptrace.h> should not depend on <uapi/linux/prctl.h>
2296fd59eb30 ARM: dts: am57xx-idk: Remove support for voltage switching for SD card
cc87ab841bb1 ARM: dts: dra76x: Update MMC2_HS200_MANUAL1 iodelay values
03426208d1f9 ARM: imx: cpuidle-imx6sx: Restrict the SW2ISO increase to i.MX6SX
48ee85dc9c52 powerpc/bpf: use unsigned division instruction for 64-bit operations
a96ac5cb8a56 riscv: mm: synchronize MMU after pte change
5ad9a23e6dae can: purge socket error queue on sock destruct
4ea81cc49c59 can: flexcan: fix timeout when set small bitrate
f6a2c8b3c24a can: xilinx_can: use correct bittiming_const for CAN FD core
c592b1c3a994 btrfs: start readahead also in seed devices
17f1dca21d16 nvme: Fix u32 overflow in the number of namespace list calculation
71d019a6dae9 arm64: Silence gcc warnings about arch ABI drift
d72a4c78c124 hwmon: (pmbus/core) Treat parameters as paged if on multiple pages
6029e5818805 hwmon: (core) add thermal sensors only if dev->of_node is present
153f2d97d0d7 s390/qeth: fix VLAN attribute in bridge_hostnotify udev event
cedb209bfa5a net: ipvlan: Fix ipvlan device tso disabled while NETIF_F_IP_CSUM is set
5327e985e61e scsi: smartpqi: unlock on error in pqi_submit_raid_request_synchronous()
04ceb1348973 scsi: ufs: Check that space was properly alloced in copy_query_response
e1a101a9dae9 scripts/checkstack.pl: Fix arm64 wrong or unknown architecture
1f74977c2740 nvmet: fix data_len to 0 for bdev-backed write_zeroes
8388af891e0e drm/arm/hdlcd: Allow a bit of clock tolerance
7c7c88deb14d drm/arm/hdlcd: Actually validate CRTC modes
1fcb0e389538 drm/arm/mali-dp: Add a loop around the second set CVAL and try 5 times
377958c3ff2c net: ethernet: mediatek: Use NET_IP_ALIGN to judge if HW RX_2BYTE_OFFSET is enabled
ee2f9878bc04 net: ethernet: mediatek: Use hw_feature to judge if HWLRO is supported
16cdab63987c sparc: perf: fix updated event period in response to PERF_EVENT_IOC_PERIOD
7b460a9bb13d mdesc: fix a missing-check bug in get_vdev_port_node_info()
6bf97a6cb6ce net: hns: Fix loopback test failed at copper ports
4336ba249b7d net: dsa: mv88e6xxx: avoid error message on remove from VLAN 0
bf51ec92a35e selftests: vm: install test_vmalloc.sh for run_vmtests
a0e8215eb9f8 kselftest/cgroup: fix incorrect test_core skip
59243d6fb45c kselftest/cgroup: fix unexpected testing failure on test_core
9c2eebe31d75 kselftest/cgroup: fix unexpected testing failure on test_memcontrol
ae0d1c08843d xtensa: Fix section mismatch between memblock_reserve and mem_reserve
3089c0ea8a1f MIPS: uprobes: remove set but not used variable 'epc'
63542eb24ab9 IB/hfi1: Validate page aligned for a given virtual address
4d61fc383bb5 IB/{qib, hfi1, rdmavt}: Correct ibv_devinfo max_mr value
830991121773 IB/hfi1: Insure freeze_work work_struct is canceled on shutdown
3fe551cc9e4e IB/rdmavt: Fix alloc_qpn() WARN_ON()
3333e0409424 parisc: Fix compiler warnings in float emulation code
f9dd0f0928a3 parport: Fix mem leak in parport_register_dev_model
4c950c8bb31a fpga: dfl: Add lockdep classes for pdata->lock
505de32ea952 fpga: dfl: afu: Pass the correct device to dma_mapping_error()
7b2145e22247 ARC: [plat-hsdk]: Add missing FIFO size entry in GMAC node
15004afd9845 ARC: [plat-hsdk]: Add missing multicast filter bins number to GMAC node
8f3793bfa3ea dmaengine: sprd: Fix block length overflow
e478abd4ebf7 dmaengine: dw-axi-dmac: fix null dereference when pointer first is null
4c21b761b40e ARC: fix build warnings
d64f99ef010d brcmfmac: sdio: Don't tune while the card is off
0ad82f2eb3f6 brcmfmac: sdio: Disable auto-tuning around commands expected to fail
31c99580687a apparmor: enforce nullbyte at end of tag string
eb2b0bf5c4a4 apparmor: fix PROFILE_MEDIATES for untrusted input
1d08fe254fd6 Input: silead - add MSSL0017 to acpi_device_id
ebd7dda84ec2 Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD
9f3559e4f6cd Input: synaptics - enable SMBus on ThinkPad E480 and E580
e61e41ffcfeb iio: temperature: mlx90632 Relax the compatibility check
303386b31bfb IB/hfi1: Silence txreq allocation warnings
7cc9c9930947 IB/hfi1: Validate fault injection opcode user input
17027034a47b usb: xhci: Don't try to recover an endpoint if port is in error state.
d606a82ccc0a xhci: detect USB 3.2 capable host controllers correctly
e6563039674d usb: chipidea: udc: workaround for endpoint conflict issue
0746b2f50142 scsi: ufs: Avoid runtime suspend possibly being blocked forever
98467b8fda41 mmc: core: Prevent processing SDIO IRQs when the card is suspended
0349dbebbb0b mmc: core: Add sdio_retune_hold_now() and sdio_retune_release()
7ed49e1bf5b3 mmc: core: API to temporarily disable retuning for SDIO CRC errors
4b6d290cc1c1 mmc: sdhci: sdhci-pci-o2micro: Correctly set bus width when tuning
4c15ded55979 s390/ap: rework assembler functions to use unions for in/out register variables
fb48fb155e1b s390/jump_label: Use "jdd" constraint on gcc9
0319ef1d40ff ovl: fix bogus -Wmaybe-unitialized warning
639e8c2f0910 ovl: don't fail with disconnected lower NFS
f1c5aa5eda08 ovl: detect overlapping layers
a00f405e133f ovl: make i_ino consistent with st_ino in more cases
d6623379d895 ovl: fix wrong flags check in FS_IOC_FS[SG]ETXATTR ioctls
3cb5d7fa8f7d ovl: support the FS_IOC_FS[SG]ETXATTR ioctls
76343a1363f8 gcc-9: silence 'address-of-packed-member' warning
6a997c3a239a objtool: Support per-function rodata sections
c493ead38adb tracing: Silence GCC 9 array bounds warning
78778071092e Linux 4.19.55
dad3a9314ac9 tcp: refine memory limit test in tcp_fragment()
63bbbcd8ed53 Linux 4.19.54
e8e448b08450 Abort file_remove_privs() for non-reg. files
465ce9a50f8a coredump: fix race condition between collapse_huge_page() and core dumping
c7fb6b75def2 ocfs2: fix error path kobject memory leak
fedb1b9c9191 mlxsw: spectrum: Prevent force of 56G
114e8135ae00 scsi: libsas: delete sas port if expander discover failed
89ede9d8b5b8 scsi: scsi_dh_alua: Fix possible null-ptr-deref
cb7c6c33d3bb scsi: smartpqi: properly set both the DMA mask and the coherent DMA mask
214c5933ffcf scsi: libcxgbi: add a check for NULL pointer in cxgbi_check_route()
7b9e10944f0d net: phy: dp83867: Set up RGMII TX delay
7698ad8c14c7 net: phylink: ensure consistent phy interface mode
8fb2c7969009 net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/A1 SoCs
467f902643f5 arm64: use the correct function type for __arm64_sys_ni_syscall
98fd62e0a157 arm64: use the correct function type in SYSCALL_DEFINE0
c5fdfaedecc2 arm64: fix syscall_fn_t type
df6384e0f42e KVM: PPC: Book3S HV: Don't take kvm->lock around kvm_for_each_vcpu
b376683f6ab1 KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
4acce744284c xenbus: Avoid deadlock during suspend due to open transactions
66f33b2bd2d8 xen/pvcalls: Remove set but not used variable
d92ebe0c1d26 ia64: fix build errors by exporting paddr_to_nid()
60a3e3b9e5ec perf record: Fix s390 missing module symbol and warning for non-root users
be0e62666da1 perf namespace: Protect reading thread's namespace
7d523e33f4b6 perf data: Fix 'strncat may truncate' build failure with recent gcc
e9fcebe01822 configfs: Fix use-after-free when accessing sd->s_dentry
ab7a3d9accae ALSA: hda - Force polling mode on CNL for fixing codec communication
7bea5618eaf9 i2c: dev: fix potential memory leak in i2cdev_ioctl_rdwr
197501af7ff3 net: aquantia: fix LRO with FCS error
388534d45f04 net: aquantia: tx clean budget logic error
b7ca3f331d57 drm/etnaviv: lock MMU while dumping core
ee61fb4de955 ACPI/PCI: PM: Add missing wakeup.flags.valid checks
bc19b50b80ca net: tulip: de4x5: Drop redundant MODULE_DEVICE_TABLE()
9a3208b66cc1 net: stmmac: update rx tail pointer register to fix rx dma hang issue.
3fbcef3350ab gpio: fix gpio-adp5588 build errors
991ea848a5c9 perf/ring-buffer: Always use {READ,WRITE}_ONCE() for rb->user_page data
c133c9db233d perf/ring_buffer: Add ordering to rb->nest increment
cca19ab29a1a perf/ring_buffer: Fix exposing a temporarily decreased data_head
a35e78220a9f x86/CPU/AMD: Don't force the CPB cap when running under a hypervisor
8e5666cdb36b mISDN: make sure device name is NUL terminated
f3885eecd253 usb: xhci: Fix a potential null pointer dereference in xhci_debugfs_create_endpoint()
930d31a6f344 powerpc/powernv: Return for invalid IMC domain
00ed897d618e clk: ti: clkctrl: Fix clkdm_clk handling
ef4ffa0f0b67 selftests: netfilter: missing error check when setting up veth interface
61c83de6e622 ipvs: Fix use-after-free in ip_vs_in
883ce78cded5 netfilter: nf_queue: fix reinject verdict handling
5a9c29cc2140 perf/x86/intel/ds: Fix EVENT vs. UEVENT PEBS constraints
dd9b6de79b67 Staging: vc04_services: Fix a couple error codes
97605ba68790 net: mvpp2: prs: Use the correct helpers when removing all VID filters
b6a1eabf72a0 net: mvpp2: prs: Fix parser range for VID filtering
4642a659ab96 net/mlx5: Avoid reloading already removed devices
1b201b63b647 vsock/virtio: set SOCK_DONE on peer shutdown
b86a5ccda5c3 tipc: purge deferredq list for each grp member in tipc_group_delete
e1b0c311b790 sunhv: Fix device naming inconsistency between sunhv_console and sunhv_reg
d7fcb54ed2a9 sctp: Free cookie before we memdup a new one
4bb4ba362cc1 nfc: Ensure presence of required attributes in the deactivate_target handler
7530c3f3d5b9 net: openvswitch: do not free vport if register_netdevice() is failed.
fc762c999768 net: dsa: rtl8366: Fix up VLAN filtering
103835df6821 neigh: fix use-after-free read in pneigh_get_next
2980196db6c1 lapb: fixed leak of control-blocks.
7eadfacd2be2 ipv6: flowlabel: fl6_sock_lookup() must use atomic_inc_not_zero
a5ae5920426e hv_netvsc: Set probe mode to sync
674dc77bd3ec be2net: Fix number of Rx queues used for flow hashing
10faaa359b41 ax25: fix inconsistent lock state in ax25_destroy_timer
9f31eb60d7a2 Linux 4.19.53
90fc261d509e rtc: pcf8523: don't return invalid date when battery is low
04757d0e3789 drm: add fallback override/firmware EDID modes workaround
29a6026624cd drm/edid: abstract override/firmware EDID retrieval
e93ce57f60ca x86/resctrl: Prevent NULL pointer dereference when local MBM is disabled
0257fc9aa53f x86/mm/KASLR: Compute the size of the vmemmap section properly
5e3d10d9375d x86/kasan: Fix boot with 5-level paging and KASAN
ecec31ce4f33 x86/microcode, cpuhotplug: Add a microcode loader CPU hotplug callback
fa982c692b2f RAS/CEC: Fix binary search function
e40db40e45cc RAS/CEC: Convert the timer callback to a workqueue
ca4c34037bb9 timekeeping: Repair ktime_get_coarse*() granularity
0fcd1432f8b0 USB: serial: option: add Telit 0x1260 and 0x1261 compositions
5080fb4b3828 USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode
d5f20ee10ac0 USB: serial: pl2303: add Allied Telesis VT-Kit3
c00cd066a024 USB: usb-storage: Add new ID to ums-realtek
3c7439e2eab9 USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.
f05b0bf073ef usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)
63feb7e69fdc usb: dwc2: Fix DMA cache alignment issues
15bc8e8d4dad drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()
328648ac6aa5 drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an invalid read
2399b2ac2be7 tools/kvm_stat: fix fields filter for child events
f69f5679ff8f KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
9d8f338c92cc KVM: x86/pmu: do not mask the value that is written to fixed PMUs
04d2a113a283 KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
60b300975e5f KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation
9366f5dc8409 usbnet: ipheth: fix racing condition
86895090621c tracing: Prevent hist_field_var_ref() from accessing NULL tracing_map_elts
b64df8133c2e selftests/timers: Add missing fflush(stdout) calls
3e1d7417b4d6 selftests: fib_rule_tests: fix local IPv4 address typo
90a564549b4a libnvdimm: Fix compilation warnings with W=1
ccc9ba8d2508 scsi: bnx2fc: fix incorrect cast to u64 on shift operation
d7a32c8a1ce1 platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table
1a80d9ff8253 platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table
c0d3e166e16a nvme: fix memory leak for power latency tolerance
ddda7e850bf1 nvme: release namespace SRCU protection before performing controller ioctls
3188fcebbcbd nvme: merge nvme_ns_ioctl into nvme_ioctl
54261634bdf8 nvme: remove the ifdef around nvme_nvm_ioctl
a6515af9b839 nvme: fix srcu locking on error return in nvme_get_ns_from_disk
c4e97af6bff4 arm64/mm: Inhibit huge-vmap with ptdump
0e50da1e7ced scsi: lpfc: add check for loss of ndlp when sending RRQ
334d1a2373af scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show
32d3f7d9dec1 scsi: qedi: remove set but not used variables 'cdev' and 'udev'
f3a7a1137ffc scsi: qedi: remove memset/memcpy to nfunc and use func instead
ae3787d433f7 f2fs: fix to avoid accessing xattr across the boundary
32f26da4b769 Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var
fcc1ce5b4f42 s390/kasan: fix strncpy_from_user kasan checks
eddfe9672ed2 Revert "ALSA: seq: Protect in-kernel ioctl calls with mutex"
731ebeeda51f ALSA: seq: Fix race of get-subscription call vs port-delete ioctls
b52fd8af8db3 ALSA: seq: Protect in-kernel ioctl calls with mutex
82055ad3d3ed x86/uaccess, kcov: Disable stack protector
b08ec06c94fc drm/i915/sdvo: Implement proper HDMI audio support for SDVO
b7398f45e3d6 ASoC: fsl_asrc: Fix the issue about unsupported rate
d7d15ac38ba6 ASoC: cs42xx8: Add regcache mask dirty
c3b85bda41f0 cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()
e599bfe54305 bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached
973fc2b3434b bcache: fix stack corruption by PRECEDING_KEY()
da3b915a57c3 i2c: acorn: fix i2c warning
d3e58022c017 iommu/arm-smmu: Avoid constant zero in TLBI writes
31e216cf9dc2 ptrace: restore smp_rmb() in __ptrace_may_access()
662b831dde61 signal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFO
54a20289cbfb mm/vmscan.c: fix trying to reclaim unevictable LRU page
6b9aa7ac48d7 fs/ocfs2: fix race in ocfs2_dentry_attach_lock()
553a1f0d3c69 mm/list_lru.c: fix memory leak in __memcg_init_list_lru_node
b7f8bbbbb973 libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk
88fe03076062 ALSA: firewire-motu: fix destruction of data for isochronous resources
786b1b40dfb9 ALSA: hda/realtek - Update headset mode for ALC256
27effeff4533 ALSA: oxfw: allow PCM capture for Stanton SCS.1m
b59c93226489 Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops"
9fbd67c56529 HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary
dd1d71ad57a4 HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth
529013533d73 HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact
3e9c0eb15932 HID: wacom: Don't report anything prior to the tool entering range
52a7d604615a HID: wacom: Don't set tool type until we're in range
fa212dd5a604 HID: multitouch: handle faulty Elo touch device
9ae306d8dbc8 nouveau: Fix build with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT disabled
d54e1b848e99 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
6500aa436df4 Linux 4.19.52
59222807fcc9 tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
7f9f8a37e563 tcp: add tcp_min_snd_mss sysctl
ec83921899a5 tcp: tcp_fragment() should apply sane memory limits
c09be31461ed tcp: limit payload size of sacked skbs
7aa823a959e1 Linux 4.19.51
b323914cd033 ALSA: seq: Cover unsubscribe_port() in list_mutex
3af96f3497b7 drm/vc4: fix fb references in async update
afec706807cd ovl: support stacked SEEK_HOLE/SEEK_DATA
22dac6cc9549 ovl: check the capability before cred overridden
b616b9dbc5f6 Revert "drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)"
8e5483aeae0d Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections"
526972e95ef9 percpu: do not search past bitmap when allocating an area
d4d5dce6d329 gpio: vf610: Do not share irq_chip
28229df6ad13 soc: renesas: Identify R-Car M3-W ES1.3
db54e08c5832 usb: typec: fusb302: Check vconn is off when we start toggling
ce183fad3aa8 ARM: exynos: Fix undefined instruction during Exynos5422 resume
384642ff6465 pwm: Fix deadlock warning when removing PWM device
7905b2331338 ARM: dts: exynos: Always enable necessary APIO_1V8 and ABB_1V8 regulators on Arndale Octa
78002e383be7 pwm: tiehrpwm: Update shadow register for disabling PWMs
9fdcb04e80e1 dmaengine: idma64: Use actual device for DMA transfers
da00c89fce7a ice: Add missing case in print_link_msg for printing flow control
456e3563725a gpio: gpio-omap: add check for off wake capable gpios
47d281bbbff9 PCI: xilinx: Check for __get_free_pages() failure
b5a185ee30d7 block, bfq: increase idling for weight-raised queues
e06d7a92796c video: imsttfb: fix potential NULL pointer dereferences
1f2611af4581 video: hgafb: fix potential NULL pointer dereference
5957f6f5aaa6 scsi: qla2xxx: Reset the FCF_ASYNC_{SENT|ACTIVE} flags
c2c7b6fee389 PCI: rcar: Fix 64bit MSI message address handling
dd54e70c47de PCI: rcar: Fix a potential NULL pointer dereference
272f8c3ddd31 net: hns3: return 0 and print warning when hit duplicate MAC
5a286ced4911 power: supply: max14656: fix potential use-before-alloc
901daed2f173 platform/x86: intel_pmc_ipc: adding error handling
613752b3a8fb ARM: OMAP2+: pm33xx-core: Do not Turn OFF CEFUSE as PPA may be using it
668440f6ee3f drm/amd/display: Use plane->color_space for dpp if specified
671fc9007c48 PCI: rpadlpar: Fix leaked device_node references in add/remove paths
b531acbd86d2 ARM: dts: imx6qdl: Specify IMX6QDL_CLK_IPG as "ipg" clock to SDMA
584cabc69aee ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ipg" clock to SDMA
02936545fbea ARM: dts: imx6ul: Specify IMX6UL_CLK_IPG as "ipg" clock to SDMA
36a7fda0595b ARM: dts: imx7d: Specify IMX7D_CLK_IPG as "ipg" clock to SDMA
c84911bb39d1 ARM: dts: imx6sll: Specify IMX6SLL_CLK_IPG as "ipg" clock to SDMA
a2e661f99c4d ARM: dts: imx6sx: Specify IMX6SX_CLK_IPG as "ahb" clock to SDMA
461f4183926c ARM: dts: imx53: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
998860d0384d ARM: dts: imx50: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
70465bbbaeae ARM: dts: imx51: Specify IMX5_CLK_IPG as "ahb" clock to SDMA
57f89084a7e1 soc: rockchip: Set the proper PWM for rk3288
b16594860a30 clk: rockchip: Turn on "aclk_dmac1" for suspend on rk3288
8e9dd864d6a7 soc: mediatek: pwrap: Zero initialize rdata in pwrap_init_cipher
f7c0e67054d8 PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64
a357310a5774 platform/chrome: cros_ec_proto: check for NULL transfer function
b78a9b2818d5 i40e: Queues are reserved despite "Invalid argument" error
aeb743dbe936 x86/PCI: Fix PCI IRQ routing table memory leak
47e6a354e248 net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending
31aa2a7a8566 switchtec: Fix unintended mask of MRPC event
4b19a45eed4d iommu/arm-smmu-v3: Don't disable SMMU in kdump kernel
f7883f9b5a67 vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING"
806e83958482 nfsd: avoid uninitialized variable warning
b4330e4a7c12 nfsd: allow fh_want_write to be called twice
ae35c325d8fd fuse: retrieve: cap requested size to negotiated max_write
1c2e974628d1 nvmem: sunxi_sid: Support SID on A83T and H5
0412a8857198 nvmem: core: fix read buffer in place
962ce4023178 ALSA: hda - Register irq handler after the chip initialization
028b3d8d549e netfilter: nf_flow_table: fix netdev refcnt leak
650a4b7c5d66 netfilter: nf_flow_table: check ttl value in flow offload data path
52d7b067fadf nvme-pci: shutdown on timeout during deletion
6ce2ad24ae9c nvme-pci: unquiesce admin queue on shutdown
e9db931283fd PCI: designware-ep: Use aligned ATU window for raising MSI interrupts
a7f27994b207 misc: pci_endpoint_test: Fix test_reg_bar to be updated in pci_endpoint_test
ed6efdb74438 iommu/vt-d: Set intel_iommu_gfx_mapped correctly
525b5265fd75 blk-mq: move cancel of requeue_work into blk_mq_release
d6c80b609d81 watchdog: fix compile time error of pretimeout governors
0f50c30c8470 watchdog: imx2_wdt: Fix set_timeout for big timeout values
dc58e4027430 netfilter: nf_tables: fix base chain stat rcu_dereference usage
2d433cc9bd31 mips: Make sure dt memory regions are valid
2aed9dfe1e5d netfilter: nf_conntrack_h323: restore boundary check correctness
d0941980fd81 netfilter: nf_flow_table: fix missing error check for rhashtable_insert_fast
217ec4a6e4ef mmc: mmci: Prevent polling for busy detection in IRQ context
06382ad6cf31 ovl: do not generate duplicate fsnotify events for "fake" path
5fbe39bfd1e0 PCI: dwc: Free MSI IRQ page in dw_pcie_free_msi()
a6b79e2c7c02 PCI: dwc: Free MSI in dw_pcie_host_init() error path
a4aa02826701 uml: fix a boot splat wrt use of cpu_all_mask
4dc146d47fea configfs: fix possible use-after-free in configfs_register_group
5329dcafead2 percpu: remove spurious lock dependency between percpu and sched
8d7ebdd109b4 f2fs: fix to do checksum even if inode page is uptodate
640248545436 f2fs: fix to do sanity check on valid block count of segment
101e48feb661 f2fs: fix to use inline space only if inline_xattr is enable
45624f0e8142 f2fs: fix to avoid panic in dec_valid_block_count()
47a92acf9ebf f2fs: fix to clear dirty inode in error path of f2fs_iget()
ca9fcbc5a5f5 f2fs: fix to do sanity check on free nid
f3aa313d0d4f f2fs: fix to avoid panic in f2fs_remove_inode_page()
0325c5cce544 f2fs: fix to avoid panic in f2fs_inplace_write_data()
8490bf2d6176 f2fs: fix to avoid panic in do_recover_data()
0b50d08c5d85 ntp: Allow TAI-UTC offset to be set to zero
102f6e1249fb mailbox: stm32-ipcc: check invalid irq
c5b2c8249ff3 pwm: meson: Use the spin-lock only to protect register modifications
689fe88d51aa EDAC/mpc85xx: Prevent building as a module
f9ee13ce21db bpf: fix undefined behavior in narrow load handling
991b51048c49 drm/nouveau/kms/gv100-: fix spurious window immediate interlocks
20e1a16702d9 objtool: Don't use ignore flag for fake jumps
124c23dca3ac drm/bridge: adv7511: Fix low refresh rate selection
2a3f2b43a9e3 drm/nouveau/kms/gf119-gp10x: push HeadSetControlOutputResource() mthd when encoders change
f9706dd945e9 perf/x86/intel: Allow PEBS multi-entry in watermark mode
5540d0146151 mfd: twl6040: Fix device init errors for ACCCTL register
3b8892bea9eb drm/nouveau/disp/dp: respect sink limits when selecting failsafe link configuration
e9a8c9805f58 mfd: intel-lpss: Set the device in reset state when init
12c57327a128 mfd: tps65912-spi: Add missing of table registration
1196b79a20f7 drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER
fd77a5117721 thermal: rcar_gen3_thermal: disable interrupt in .remove
c50c4fb0cb62 kernel/sys.c: prctl: fix false positive in validate_prctl_map()
515d18ced8e1 mm/slab.c: fix an infinite loop in leaks_show()
13e1ea0881da mm/cma_debug.c: fix the break condition in cma_maxchunk_get()
38c5fce7fc48 mm: page_mkclean vs MADV_DONTNEED race
77a01e33570c mm/cma.c: fix the bitmap status to show failed allocation reason
25511676362d initramfs: free initrd memory if opening /initrd.image fails
e5f8857ea972 mm/cma.c: fix crash on CMA allocation if bitmap allocation fails
5094a85d6d93 mem-hotplug: fix node spanned pages when we have a node with only ZONE_MOVABLE
ffaafd27b067 hugetlbfs: on restore reserve error path retain subpool reservation
85e1a6c4b3e5 mm/hmm: select mmu notifier when selecting HMM
e0c3fc1f8fe3 ARM: prevent tracing IPI_CPU_BACKTRACE
4d3811a60e10 drm/pl111: Initialize clock spinlock early
20de754a7d88 ipc: prevent lockup on alloc_msg and free_msg
91ae202e2c88 sysctl: return -EINVAL if val violates minmax
5b6619b4d206 fs/fat/file.c: issue flush after the writeback of FAT
2a89e4c5ee2e rapidio: fix a NULL pointer dereference when create_workqueue() fails
768292d05361 Linux 4.19.50
51dc284e2a87 ethtool: check the return value of get_regs_len
645fa685bb20 ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
ec8a9eb2a6c1 TTY: serial_core, add ->install
6bdc692f5c9e drm/i915/gvt: Initialize intel_gvt_gtt_entry in stack
fbb7e114e6e6 drm: don't block fb changes for async plane updates
6600ec2600d6 drm/i915: Maintain consistent documentation subsection ordering
360e00e290a3 drm/i915/fbc: disable framebuffer compression on GeminiLake
554f4253700e drm/i915: Fix I915_EXEC_RING_MASK
f3dcc88d531f drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in
84c82ab8f133 drm/radeon: prefer lower reference dividers
748a97ec6c15 drm/amdgpu/psp: move psp version specific function pointers to early_init
98a8cb0282ab drm: add non-desktop quirks to Sensics and OSVR headsets.
610382337557 drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
490290b0415f drm: add non-desktop quirk for Valve HMDs
ac222e8a50af drm/msm: fix fb references in async update
6470aa05ae15 drm/gma500/cdv: Check vbt config bits when detecting lvds panels
7fbcb7d1031d test_firmware: Use correct snprintf() limit
67bdeb0c6f5c genwqe: Prevent an integer overflow in the ioctl
221c44d2d7fa Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"
2d9d3ab541a6 MIPS: pistachio: Build uImage.gz by default
eee609635076 MIPS: Bounds check virt_addr_valid
b9b75a460076 xen-blkfront: switch kcalloc to kvcalloc for large array allocation
7aad9269a6e8 s390/mm: fix address space detection in exception handling
7737eff01711 i2c: xiic: Add max_read_len quirk
b598ddc7b9fc x86/insn-eval: Fix use-after-free access to LDT entry
4d166206cf41 x86/power: Fix 'nosmt' vs hibernation triple fault during resume
f4d0227ff170 pstore/ram: Run without kernel crash dump region
aa73a3b205a4 pstore: Set tfm to NULL on free_buf_for_compression
d4128a1b580c pstore: Convert buf_lock to semaphore
c63ce7166daf pstore: Remove needless lock during console writes
a3b8b4ad6db7 fuse: fallocate: fix return with locked inode
56e3f73e838a NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled
ea0327b47754 NFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter
384c1d931b5e parisc: Use implicit space register selection for loading the coherence index of I/O pdirs
6726307d2008 rcu: locking and unlocking need to always be at least barriers
39e597d283b0 mtd: spinand: macronix: Fix ECC Status Read
2488b9f9afde ipv6: fix EFAULT on sendto with icmpv6 and hdrincl
0b16d956ee5b ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
d769853dbdaa Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
396244b6ecf0 pktgen: do not sleep with the thread lock held.
da096fe1a6a4 packet: unconditionally free po->rollover
be0343af1291 net/tls: replace the sleeping lock around RX resync with a bit lock
9740f4ff1a66 net: sfp: read eeprom in maximum 16 byte increments
7700d5afff30 net: rds: fix memory leak in rds_ib_flush_mr_pool
c6a020e0117f net: mvpp2: Use strscpy to handle stat strings
d305d61fcf96 net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query
831d6d077874 net: ethernet: ti: cpsw_ethtool: fix ethtool ring param set
893e2a5f5cf6 neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit
9fd19a3b4f61 ipv6: fix the check before getting the cookie in rt6_get_cookie
daa11cc841d6 ipv4: not do cache for local delivery if bc_forwarding is enabled
05b933f25a83 Fix memory leak in sctp_process_init
d6782b8c5c18 ethtool: fix potential userspace buffer overflow
bb7b450e61a1 Linux 4.19.49
9861e2cd4616 media: uvcvideo: Fix uvc_alloc_entity() allocation alignment
b52ca352489b of: overlay: set node fields from properties when add new overlay node
15151d0013c9 of: overlay: validate overlay properties #address-cells and #size-cells
26dace362e7f scsi: lpfc: Fix backport of faf5a744f4f8 ("scsi: lpfc: avoid uninitialized variable warning")
ca309fef7a69 x86/kprobes: Set instruction page as executable
b49ca4bf1b9c x86/ftrace: Set trampoline pages as executable
6fa953c94882 x86/ftrace: Do not call function graph from dynamic trampolines
9d57cfd4e9d8 binder: fix race between munmap() and direct reclaim
137c838f177b Revert "binder: fix handling of misaligned binder object"
385dab299c8a Revert "x86/build: Move _etext to actual end of .text"
9468870f7cbd include/linux/module.h: copy __init/__exit attrs to init/cleanup_module
2a0f719db71c Compiler Attributes: add support for __copy (gcc >= 9)
390a0fd31b02 drm/lease: Make sure implicit planes are leased
699f0e9d24c8 drm/rockchip: shutdown drm subsystem on shutdown
1ca811507e41 drm/sun4i: Fix sun8i HDMI PHY configuration for > 148.5 MHz
1f1372206e0b drm/sun4i: Fix sun8i HDMI PHY clock initialization
3a20515c3c44 drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set
1715a46322fa drm/tegra: gem: Fix CPU-cache maintenance for BO's allocated using get_pages()
132137d1bfa1 gcc-plugins: Fix build failures under Darwin host
873041930dab Revert "lockd: Show pid of lockd for remote locks"
297a251062c0 CIFS: cifs_read_allocate_pages: don't iterate through whole page array on ENOMEM
32d57c0c063c cifs: fix memory leak of pneg_inbuf on -EOPNOTSUPP ioctl case
f6a39f877feb staging: wlan-ng: fix adapter initialization failure
27a4b6c8c1cf staging: vc04_services: prevent integer overflow in create_pagelist()
3078e80b03c8 serial: sh-sci: disable DMA for uart_console
ff818b449a5b vt/fbcon: deinitialize resources in visual_init() after failed memory allocation
6e322a9e42cd evm: check hash algorithm passed to init_desc()
f85b87a9a2a8 ima: show rules with IMA_INMASK correctly
21158982f6b7 doc: Cope with Sphinx logging deprecations
c0742228bba6 doc: Cope with the deprecation of AutoReporter
301b18edbf56 docs: Fix conf.py for Sphinx 2.0
871953434bd9 arm64: Fix the arm64_personality() syscall wrapper redirection
6f8d26270ce3 kernel/signal.c: trace_signal_deliver when signal_group_exit
8b057ad846c5 memcg: make it work on sparse non-0-node systems
4e29e2ecf186 tty: max310x: Fix external crystal register setup
a071517b85cc tty: serial: msm_serial: Fix XON/XOFF
bb03290431bc i2c: synquacer: fix synquacer_i2c_doxfer() return value
d2d8f6401254 i2c: mlxcpld: Fix wrong initialization order in probe
88ad86b80782 drm/nouveau/i2c: Disable i2c bus access after ->fini()
6a2fbec70766 KVM: s390: Do not report unusabled IDs via KVM_CAP_MAX_VCPU_ID
3834630ef4d3 ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops
9cfd6c36759b ALSA: hda/realtek - Set default power save node to 0
eb2eeec920fb ALSA: line6: Assure canceling delayed work at disconnection
ca221cf9ab6f powerpc/perf: Fix MMCRA corruption by bhrb_filter
55a94d81f536 KVM: PPC: Book3S HV: XIVE: Do not clear IRQ data of passthrough interrupts
badbe1abbd59 s390/crypto: fix possible sleep during spinlock aquired
83c874cf6861 s390/crypto: fix gcm-aes-s390 selftest failures
5dede5c9e605 iio: adc: ti-ads8688: fix timestamp is not updated in buffer
06c5ec6fd0b1 iio: dac: ds4422/ds4424 fix chip verification
8a652fd142c3 Btrfs: incremental send, fix file corruption when no-holes feature is enabled
a81071110d25 Btrfs: fix fsync not persisting changed attributes of a directory
37fe038328a2 Btrfs: fix race updating log root item during fsync
7301bbeae98f Btrfs: fix wrong ctime and mtime of a directory after log replay
da32e0303d5f tracing: Avoid memory leak in predicate_parse()
9756c7e0cdc7 scsi: zfcp: fix to prevent port_remove with pure auto scan LUNs (only sdevs)
e8bd0dffe816 scsi: zfcp: fix missing zfcp_port reference put on -EBUSY from port_remove
c18a0ecc411a brcmfmac: fix NULL pointer derefence during USB disconnect
1f64751af190 media: smsusb: better handle optional alignment
e6df98cafc9c media: usb: siano: Fix false-positive "uninitialized variable" warning
35b104456652 media: usb: siano: Fix general protection fault in smsusb
b4c1b4a61f78 USB: rio500: fix memory leak in close after disconnect
d2d93077bac3 USB: rio500: refuse more than one device at a time
d8c1703932bc USB: Add LPM quirk for Surface Dock GigE adapter
d27ea5e9eb4a USB: sisusbvga: fix oops in error path of sisusb_probe
a43bb9e83155 USB: Fix slab-out-of-bounds write in usb_get_bos_descriptor
2fc485b0008e usbip: usbip_host: fix stub_dev lock context imbalance regression
e3724d69b732 usbip: usbip_host: fix BUG: sleeping function called from invalid context
9690202da222 usb: xhci: avoid null pointer deref when bos field is NULL
8e30ba04a20a xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()
32adfa3d92e7 xhci: Use %zu for printing size_t type
eebcff780603 xhci: update bounce buffer with correct sg num
759766bf2aec include/linux/bitops.h: sanitize rotate primitives
89156c1005d2 sparc64: Fix regression in non-hypervisor TLB flush xcall
e109a984cf38 Linux 4.19.48
ca75a9fc5ba4 tipc: fix modprobe tipc failed after switch order of device registration
ab69a2304210 Revert "tipc: fix modprobe tipc failed after switch order of device registration"
99dcf4a4dd2e xen/pciback: Don't disable PCI_COMMAND on PCI device reset.
0276ebf16675 jump_label: move 'asm goto' support test to Kconfig
753328727cab compiler.h: give up __compiletime_assert_fallback()
fd45cd4530eb include/linux/compiler*.h: define asm_volatile_goto
2bb9c7e42836 crypto: vmx - ghash: do nosimd fallback manually
fb6cf4f3704b net/tls: don't ignore netdev notifications if no TLS features
fb69403ec2ff net/tls: fix state removal with feature flags off
27d8ad1d8ea9 bnxt_en: Fix aggregation buffer leak under OOM condition.
a1a926fc68c7 net: stmmac: dma channel control register need to be init first
1db0bcc27c78 net/mlx5e: Disable rxhash when CQE compress is enabled
e0d95806b05d net/mlx5: Allocate root ns memory using kzalloc to match kfree
4421d31753ec tipc: Avoid copying bytes beyond the supplied data
06442f45e5cf net/mlx5: Avoid double free in fs init error unwinding path
fb836d014e37 usbnet: fix kernel crash after disconnect
191989817df9 net: stmmac: fix reset gpio free missing
6ab968473140 net: sched: don't use tc_action->order during action dump
33f737a4307d net: phy: marvell10g: report if the PHY fails to boot firmware
c2d4b2feb057 net: mvpp2: fix bad MVPP2_TXQ_SCHED_TOKEN_CNTR_REG queue value
de9d6a730cc0 net: mvneta: Fix err code path of probe
39fd0dc4a556 net-gro: fix use-after-free read in napi_gro_frags()
4294c3475035 net: fec: fix the clk mismatch in failed_reset path
566dc17b993d net: dsa: mv88e6xxx: fix handling of upper half of STATS_TYPE_PORT
2d04f32c8861 llc: fix skb leak in llc_build_and_send_ui_pkt()
442176668ecf ipv6: Fix redirect with VRF
ed753b394321 ipv6: Consider sk_bound_dev_if when binding a raw socket to an address
46702dd5d504 ipv4/igmp: fix build error if !CONFIG_IP_MULTICAST
e9f94e480f3e ipv4/igmp: fix another memory leak in igmpv3_del_delrec()
07480da0c8a1 inet: switch IP ID generator to siphash
9c9144e78996 cxgb4: offload VLAN flows regardless of VLAN ethtype
3cde0a250845 bonding/802.3ad: fix slave link initialization transition states
0df021b2e841 Linux 4.19.47
26433652f0e4 NFS: Fix a double unlock from nfs_match,get_client
1a686177acde drm/sun4i: dsi: Enforce boundaries on the start delay
6956c0e3cf33 vfio-ccw: Prevent quiesce function going into an infinite loop
476e87eb7f78 drm/sun4i: dsi: Change the start delay calculation
00734a9e7329 drm: Wake up next in drm_read() chain if we are forced to putback the event
d6dea92a4862 drm/drv: Hold ref on parent device during drm_device lifetime
473bc1af7a22 drm/v3d: Handle errors from IRQ setup.
b9c8f86f50ac ASoC: davinci-mcasp: Fix clang warning without CONFIG_PM
cc211863ac79 spi: Fix zero length xfer bug
8f7f333af9f6 spi: imx: stop buffer overflow in RX FIFO flush
3ae1817a29e7 spi: rspi: Fix sequencer reset during initialization
676aec9b8f11 drm/omap: dsi: Fix PM for display blank with paired dss_pll calls
bdc095631d50 spi : spi-topcliff-pch: Fix to handle empty DMA buffers
98eb1b80fea7 scsi: lpfc: Fix SLI3 commands being issued on SLI4 devices
755dc83020a5 media: saa7146: avoid high stack usage with clang
584e06c0ed20 scsi: lpfc: Fix fc4type information for FDMI
aecb245fdd90 scsi: lpfc: Fix FDMI manufacturer attribute value
4192c77f50dc media: vimc: zero the media_device on probe
fd1ade15f299 media: go7007: avoid clang frame overflow warning with KASAN
6d16d2e130e4 media: gspca: do not resubmit URBs when streaming has stopped
acf41fb8df45 media: vimc: stream: fix thread state before sleep
aeea87865aa7 scsi: ufs: fix a missing check of devm_reset_control_get
62e79f4c6bc0 drm/amd/display: Set stream->mode_changed when connectors change
fc5293ab6c48 drm/amd/display: Fix Divide by 0 in memory calculations
91435fce9b24 media: staging: davinci_vpfe: disallow building with COMPILE_TEST
f51db48c1220 media: m88ds3103: serialize reset messages in m88ds3103_set_frontend
e93677055a5a media: dvbsky: Avoid leaking dvb frontend
ab934f0ac158 media: si2165: fix a missing check of return value
561bd5615604 igb: Exclude device from suspend direct complete optimization
b6bc20249423 tinydrm/mipi-dbi: Use dma-safe buffers for all SPI transfers
5ec9ba494db2 e1000e: Disable runtime PM on CNP+
495e34e62c3b thunderbolt: property: Fix a NULL pointer dereference
70611b1b81c4 drm/amd/display: fix releasing planes when exiting odm
988dab7f5778 thunderbolt: Fix to check for kmemdup failure
877a202f9b27 thunderbolt: Fix to check return value of ida_simple_get
b9291078edce hwrng: omap - Set default quality
6b2d1934d1f9 dmaengine: tegra210-adma: use devm_clk_*() helpers
25204fe6a3f8 batman-adv: allow updating DAT entry timeouts on incoming ARP Replies
a2ace9b24387 selinux: avoid uninitialized variable warning
c7595096daf9 scsi: lpfc: avoid uninitialized variable warning
ac9149bc1402 scsi: qla4xxx: avoid freeing unallocated dma memory
239156e0c04a usb: core: Add PM runtime calls to usb_hcd_platform_shutdown
506b28fb9982 rcuperf: Fix cleanup path for invalid perf_type strings
75a96196d4c4 x86/mce: Handle varying MCA bank counts
aa7919e37fee rcutorture: Fix cleanup path for invalid torture_type strings
3d036cbaab92 x86/mce: Fix machine_check_poll() tests for error types
3c2b1ae4410c overflow: Fix -Wtype-limits compilation warnings
19ae270d1ce0 tty: ipwireless: fix missing checks for ioremap
3392cc5f3ce3 virtio_console: initialize vtermno value for ports
e819d4a13688 scsi: qedf: Add missing return in qedf_post_io_req() in the fcport offload check
dc0f37b780e9 timekeeping: Force upper bound for setting CLOCK_REALTIME
ee40c8a3efc2 thunderbolt: Fix to check the return value of kmemdup
c8eecd658220 thunderbolt: property: Fix a missing check of kzalloc
1de8f9653585 efifb: Omit memory map check on legacy boot
356f05fdd490 media: gspca: Kill URBs on USB device disconnect
2a9331ced525 media: wl128x: prevent two potential buffer overflows
6b5693f20dd8 media: video-mux: fix null pointer dereferences
bc75207a54dd kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.
ba906246e38b spi: tegra114: reset controller on probe
2cd236c27157 HID: logitech-hidpp: change low battery level threshold from 31 to 30 percent
fb2c65b4a279 cxgb3/l2t: Fix undefined behaviour
71efe4c70afc ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
b6b7a78cf997 ASoC: eukrea-tlv320: fix a leaked reference by adding missing of_node_put
69f67200cfd6 HID: core: move Usage Page concatenation to Main item
256f63c6806d sh: sh7786: Add explicit I/O cast to sh7786_mm_sel()
8ea279184619 RDMA/hns: Fix bad endianess of port_pd variable
65ec64f28a88 chardev: add additional check for minor range overlap
fc242af86d07 x86/uaccess: Fix up the fixup
5007453c7144 x86/ia32: Fix ia32_restore_sigcontext() AC leak
4614b0bb8f65 x86/uaccess, signal: Fix AC=1 bloat
1a3188d737ce x86/uaccess, ftrace: Fix ftrace_likely_update() vs. SMAP
da30c277c4fd wil6210: fix return code of wmi_mgmt_tx and wmi_mgmt_tx_ext
e667aef54f8a arm64: cpu_ops: fix a leaked reference by adding missing of_node_put
e3980dbef43a drm/panel: otm8009a: Add delay at the end of initialization
cb5946e5c86a scsi: ufs: Avoid configuring regulator with undefined voltage range
31318d4ae3ae scsi: ufs: Fix regulator load and icc-level configuration
c9e44a1a734a rtlwifi: fix potential NULL pointer dereference
bd2ab045df4a rtc: xgene: fix possible race condition
e29aba14e8db brcmfmac: fix Oops when bringing up interface during USB disconnect
8a412ed97184 brcmfmac: fix race during disconnect when USB completion is in progress
ce55a5941ed4 brcmfmac: fix WARNING during USB disconnect in case of unempty psq
4b2f0ebc306b brcmfmac: convert dev_init_lock mutex to completion
59ec3ad30ab8 b43: shut up clang -Wuninitialized variable warning
7c9d97f3b11d brcmfmac: fix missing checks for kmemdup
a27ce4840f89 mwifiex: Fix mem leak in mwifiex_tm_cmd
7be8d4251bf7 rtlwifi: fix a potential NULL pointer dereference
f8f54929bd23 selftests/bpf: ksym_search won't check symbols exists
ef8e5a78406d iio: adc: ti-ads7950: Fix improper use of mlock
36a59a036896 iio: common: ssp_sensors: Initialize calculated_time in ssp_common_process_data
dd106d198dee iio: hmc5843: fix potential NULL pointer dereferences
d7c773412f4b iio: ad_sigma_delta: Properly handle SPI bus locking vs CS assertion
ce59174d4e69 drm/pl111: fix possible object reference leak
e758471be038 x86/build: Keep local relocations with ld.lld
2b18febc8cdc block: sed-opal: fix IOC_OPAL_ENABLE_DISABLE_MBR
9d8b1d5db780 cpufreq: kirkwood: fix possible object reference leak
f9ead9f4d145 cpufreq: pmac32: fix possible object reference leak
513a7f8e8929 cpufreq/pasemi: fix possible object reference leak
9612f4040f05 cpufreq: ppc_cbe: fix possible object reference leak
f8a91441b2a1 qmi_wwan: Add quirk for Quectel dynamic config
1b6141cd052b selftests: cgroup: fix cleanup path in test_memcg_subtree_control()
9c594cae285c s390: cio: fix cio_irb declaration
c3c614380548 s390/mm: silence compiler warning when compiling without CONFIG_PGSTE
a07de9b98fbf x86/microcode: Fix the ancient deprecated microcode loading method
a3713f2cebdc s390: zcrypt: initialize variables before_use
e91146984939 clk: rockchip: Make rkpwm a critical clock on rk3288
c9aa87e5f345 extcon: arizona: Disable mic detect if running when driver is removed
822342658459 clk: rockchip: Fix video codec clocks on rk3288
cbaab786ee67 PM / core: Propagate dev->power.wakeup_path when no callbacks
d8a36f841803 drm/amdgpu: fix old fence check in amdgpu_fence_emit
e107bc69cc59 mmc: sdhci-of-esdhc: add erratum eSDHC-A001 and A-008358 support
019ca0bf8d91 mmc: sdhci-of-esdhc: add erratum A-009204 support
80118cba1f78 mmc: sdhci-of-esdhc: add erratum eSDHC5 support
fa291e89997a mmc_spi: add a status check for spi_sync_locked
059c2f5326a0 mmc: core: make pwrseq_emmc (partially) support sleepy GPIO controllers
aa06e61237ab scsi: libsas: Do discovery on empty PHY to update PHY info
4e98f3b11a7a hwmon: (f71805f) Use request_muxed_region for Super-IO accesses
8cfe000d0a69 hwmon: (pc87427) Use request_muxed_region for Super-IO accesses
48b31e8a025f hwmon: (smsc47b397) Use request_muxed_region for Super-IO accesses
e7dbe597ea55 hwmon: (smsc47m1) Use request_muxed_region for Super-IO accesses
fbdce79e7c3b hwmon: (vt1211) Use request_muxed_region for Super-IO accesses
1cd4902d9088 perf/x86/intel/cstate: Add Icelake support
ea6ff1bb3d00 perf/x86/intel/rapl: Add Icelake support
3a9a1fd14b27 perf/x86/msr: Add Icelake support
9754bab2057e RDMA/cxgb4: Fix null pointer dereference on alloc_skb failure
b0f6ac8c81e0 arm64: vdso: Fix clock_getres() for CLOCK_REALTIME
9082058b549a ACPI/IORT: Reject platform device creation on NUMA node mapping failure
4a9c84499e11 i40e: don't allow changes to HW VLAN stripping on active port VLANs
e3e8cdacdcce i40e: Able to add up to 16 MAC filters on an untrusted VF
267b3c6b3f45 phy: mapphone-mdm6600: add gpiolib dependency
3ecda6884660 phy: sun4i-usb: Make sure to disable PHY0 passby for peripheral mode
63b4f89d03c2 drm: etnaviv: avoid DMA API warning when importing buffers
f843f848c567 x86/irq/64: Limit IST stack overflow check to #DB stack
97abdfa81f1c USB: core: Don't unbind interfaces following device reset failure
3711c9885278 s390/qeth: handle error from qeth_update_from_chp_desc()
5d5652b51c87 thunderbolt: Take domain lock in switch sysfs attribute callbacks
afee27f38253 irq_work: Do not raise an IPI when queueing work on the local CPU
dee2faf0ac0c drm/msm: a5xx: fix possible object reference leak
e0b75a798651 staging: vc04_services: handle kzalloc failure
355673f80835 sched/core: Handle overflow in cpu_shares_write_u64
7053046e350f sched/rt: Check integer overflow at usec to nsec conversion
925275d0cc5d sched/core: Check quota and period overflow at usec to nsec conversion
4e4d5cea79a7 cgroup: protect cgroup->nr_(dying_)descendants by css_set_lock
944c58523731 random: add a spinlock_t to struct batched_entropy
6fa6381a2da0 random: fix CRNG initialization when random.trust_cpu=1
fec8a09f79ec powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX
f488832c2099 powerpc/numa: improve control of topology updates
ad393793794e block: fix use-after-free on gendisk
30f8da71c730 iio: adc: stm32-dfsdm: fix unmet direct dependencies detected
11ad52770a42 media: pvrusb2: Prevent a buffer overflow
a90ce66af211 media: au0828: Fix NULL pointer dereference in au0828_analog_stream_enable()
2096b3ba3274 media: stm32-dcmi: fix crash when subdev do not expose any formats
6c21fa849a5a audit: fix a memory leak bug
9fcfaab61420 media: ov2659: make S_FMT succeed even if requested format doesn't match
e3a9d646ecf2 media: au0828: stop video streaming only when last user stops
3ccd89123b67 media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper
81a0b6ff0209 media: coda: clear error return value before picture run
83544b04a406 dmaengine: at_xdmac: remove BUG_ON macro in tasklet
bfb9e836cf26 perf/arm-cci: Remove broken race mitigation
2d1df7fada2d clk: rockchip: undo several noc and special clocks as critical on rk3288
86a1de9c8d76 pinctrl: samsung: fix leaked of_node references
c3933fd4a8ee pinctrl: pistachio: fix leaked of_node references
12e7faac49e2 HID: logitech-hidpp: use RAP instead of FAP to get the protocol version
1eafabe144f4 Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
189b396a2580 mm/uaccess: Use 'unsigned long' to placate UBSAN warnings on older GCC versions
f46ae1cd7cec x86/mm: Remove in_nmi() warning from 64-bit implementation of vmalloc_fault()
3dc1e338ae5f smpboot: Place the __percpu annotation correctly
0fcb3cd5af98 x86/build: Move _etext to actual end of .text
58a0c2194bac vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev
8c1c78109a74 vfio-ccw: Do not call flush_workqueue while holding the spinlock
e0d25d17841a RDMA/cma: Consider scope_id while binding to ipv6 ll address
06740892db92 bcache: avoid clang -Wunintialized warning
330b67980381 bcache: add failure check to run_cache_set() for journal replay
cd83c78897d5 bcache: fix failure in journal relplay
29b166da7a4e bcache: return error immediately in bch_journal_replay()
8034a6b89990 bcache: avoid potential memleak of list of journal_replay(s) in the CACHE_SYNC branch of run_cache_set
e82df5f1e54a crypto: sun4i-ss - Fix invalid calculation of hash end
213e152316ed nvme-rdma: fix a NULL deref when an admin connect times out
c24860f40b66 nvme: set 0 capacity if namespace block size exceeds PAGE_SIZE
31de7f1d07b5 net: cw1200: fix a NULL pointer dereference
eacec4367998 rsi: Fix NULL pointer dereference in kmalloc
9d54cca8f939 mwifiex: prevent an array overflow
c2582f213897 ASoC: fsl_sai: Update is_slave_mode with correct value
67d812fbe303 slimbus: fix a potential NULL pointer dereference in of_qcom_slim_ngd_register
0cbef22f67ba libbpf: fix samples/bpf build failure due to undefined UINT32_MAX
ca5b9d63e9b1 mac80211/cfg80211: update bss channel on channel switch
1d057fefa045 dmaengine: pl330: _stop: clear interrupt status
cadb16d9e0f3 s390: qeth: address type mismatch warning
99079ceefb7c w1: fix the resume command API
07da741d48c4 sched/nohz: Run NOHZ idle load balancer on HK_FLAG_MISC CPUs
216155aab507 s390/kexec_file: Fix detection of text segment in ELF loader
6697d0b3f5b5 scsi: qedi: Abort ep termination if offload not scheduled
bc90af686912 rtc: stm32: manage the get_irq probe defer case
7fd0d9d10e5d rtc: 88pm860x: prevent use-after-free on device remove
0ea8b7cf9436 iwlwifi: pcie: don't crash on invalid RX interrupt
bd3d8f4cb956 btrfs: Don't panic when we can't find a root key
431cbaec1287 btrfs: fix panic during relocation after ENOSPC before writeback happens
1084fc9afbe3 Btrfs: fix data bytes_may_use underflow with fallocate due to failed quota reserve
8715ce033eb3 x86/modules: Avoid breaking W^X while loading modules
34f3a58f06da scsi: qla2xxx: Fix hardirq-unsafe locking
6ce116871011 scsi: qla2xxx: Avoid that lockdep complains about unsafe locking in tcm_qla2xxx_close_session()
55b95ce89ce7 scsi: qla2xxx: Fix abort handling in tcm_qla2xxx_write_pending()
de3cd35f5195 scsi: qla2xxx: Fix a qla24xx_enable_msix() error path
73026db866db sched/cpufreq: Fix kobject memleak
0fe8ed038e88 powerpc/watchdog: Use hrtimers for per-CPU heartbeat
efa336f785df arm64: Fix compiler warning from pte_unmap() with -Wunused-but-set-variable
9152b0815430 ARM: vdso: Remove dependency with the arch_timer driver internals
2d2017675b1a media: stm32-dcmi: return appropriate error codes during probe
5744fd7fa1d1 drm/nouveau/bar/nv50: ensure BAR is mapped
07bb9a71ee27 ACPI / property: fix handling of data_nodes in acpi_get_next_subnode()
c00f0fbd2e85 brcm80211: potential NULL dereference in brcmf_cfg80211_vndr_cmds_dcmd_handler()
57667dc86bef spi: pxa2xx: fix SCR (divisor) calculation
5cf668cf1110 ASoC: imx: fix fiq dependencies
b8bd069f855f powerpc/perf: Fix loop exit condition in nest_imc_event_init
1a6767f5f152 powerpc/boot: Fix missing check of lseek() return value
741853944fea powerpc/perf: Return accordingly on invalid chip-id in
49c0fa1f35c1 ASoC: hdmi-codec: unlock the device on startup errors
663411719895 usb: dwc3: move synchronize_irq() out of the spinlock protected block
1a7be0fe0777 usb: dwc2: gadget: Increase descriptors count for ISOC's
fc8c5907d8fc ASoC: Intel: kbl_da7219_max98357a: Map BTN_0 to KEY_PLAYPAUSE
b676f6c0b552 pinctrl: zte: fix leaked of_node references
8603d49906b2 Bluetooth: Ignore CC events not matching the last HCI command
6d9cfab853ca hv_netvsc: fix race that may miss tx queue wakeup
83eaba87e73e net: ena: gcc 8: fix compilation warning
19c2dd5025bb dmaengine: tegra210-dma: free dma controller in remove()
7ffd692bfce7 bpftool: exclude bash-completion/bpftool from .gitignore pattern
6d9f8909e540 selftests/bpf: set RLIMIT_MEMLOCK properly for test_libbpf_open.c
f3ed010f2bfe tools/bpf: fix perf build error with uClibc (seen on ARC)
d96a6c31e42e mmc: core: Verify SD bus width
c4b51dbcccfc gfs2: Fix occasional glock use-after-free
fa4aaa09d17e IB/hfi1: Fix WQ_MEM_RECLAIM warning
36296b0034ae NFS: make nfs_match_client killable
506961a7a4ef cxgb4: Fix error path in cxgb4_init_module
bac852089281 gfs2: Fix lru_count going negative
06a67c0f4abb Revert "btrfs: Honour FITRIM range constraints during free space trim"
7c2bcb3cca03 acct_on(): don't mess with freeze protection
7d562a90a88b at76c50x-usb: Don't register led_trigger if usb_register_driver failed
363aa80a51c9 batman-adv: mcast: fix multicast tt/tvlv worker locking
003e2d74c554 bpf: devmap: fix use-after-free Read in __dev_map_entry_free
3de79cb0ceb2 ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit
c8275cbe2bd8 media: vivid: use vfree() instead of kfree() for dev->bitmap_cap
0595e0d173f0 media: vb2: add waiting_in_dqbuf flag
aec118ecf579 media: serial_ir: Fix use-after-free in serial_ir_init_module
bdf3da72ae79 media: cpia2: Fix use-after-free in cpia2_exit
de2d09ebff2f fbdev: fix WARNING in __alloc_pages_nodemask bug
86c43c40fe05 ovl: relax WARN_ON() for overlapping layers use case
9c0339dd381d btrfs: honor path->skip_locking in backref code
2eefb4a3894e arm64: errata: Add workaround for Cortex-A76 erratum #1463225
8783c4128c37 brcmfmac: add subtype check for event handling in data path
cc240e057c1d brcmfmac: assure SSID length from firmware is limited
43caa29c99db bpf: add bpf_jit_limit knob to restrict unpriv allocations
cc1afc1050a9 NFSv4.1 fix incorrect return value in copy_file_range
e1eed6928b3e NFSv4.2 fix unnecessary retry in nfs4_copy_file_range
0bad28e92ced fbdev: fix divide error in fb_var_to_videomode
b8304d918c02 udlfb: fix some inconsistent NULL checking
94e1f96667b4 btrfs: sysfs: don't leak memory when failing add fsid
946ad2ecef61 btrfs: sysfs: Fix error path kobject memory leak
92f907d7d63b Btrfs: fix race between ranged fsync and writeback of adjacent ranges
4f9a774dda97 Btrfs: avoid fallback to transaction commit during fsync of files with holes
7ec747c811ab Btrfs: do not abort transaction at btrfs_update_root() after failure to COW path
ce21e6586eec btrfs: don't double unlock on error in btrfs_punch_hole
fdc78eedc54d gfs2: Fix sign extension bug in gfs2_update_stats
53cd8ae3eeb1 arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable
9c15fff28194 arm64/kernel: kaslr: reduce module randomization range to 2 GB
ee6d3eb31112 libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead
709a93054118 kvm: svm/avic: fix off-by-one in checking host APIC ID
5b69ceee2196 mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem
227e01537baf mmc: sdhci-iproc: cygnus: Set NO_HISPD bit to fix HS50 data hold time problem
792d65fc49a7 crypto: vmx - CTR: always increment IV as quadword
136b8cef4e4f Revert "scsi: sd: Keep disk read-only when re-reading partition"
ac7480a5b504 sbitmap: fix improper use of smp_mb__before_atomic()
b78255d6cffb bio: fix improper use of smp_mb__before_atomic()
432ec4fa6cd2 KVM: x86: fix return value for reserved EFER
70d33cce97f0 f2fs: Fix use of number of devices
5220582c427b ext4: wait for outstanding dio during truncate in nojournal mode
71e430fd593b ext4: do not delete unlinked inode from orphan list on failed truncate
1d84eb87efce x86: Hide the int3_emulate_call/jmp functions from UML
8b2fc0058255 Linux 4.19.46
fcac71697a15 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
107e215c2962 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
2bb3c5470aaf bpf: add map_lookup_elem_sys_only for lookups from syscall side
3ded3aaa4aa8 bpf: relax inode permission check for retrieving bpf program
c33563e9ec87 Revert "selftests/bpf: skip verifier tests for unsupported program types"
90110ffd86ae driver core: Postpone DMA tear-down until after devres release for probe failure
430908054540 md/raid: raid5 preserve the writeback action after the parity check
3d25b7f5c3be Revert "Don't jump to compute_result state from check_result state"
a0b1dde1e686 perf/x86/intel: Fix race in intel_pmu_disable_event()
7aea2f94cc64 perf bench numa: Add define for RUSAGE_THREAD if not present
a06fdd99a339 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
f037116fe05b x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
290da8e79c83 sched/cpufreq: Fix kobject memleak
2da19da7abb8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
7341daa0548e qmi_wwan: new Wistron, ZTE and D-Link devices
c1528193f643 bpf: Fix preempt_enable_no_resched() abuse
aea54f613534 power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
a1251522a522 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
36ae546a0046 net: ieee802154: fix missing checks for regmap_update_bits
9c045d8c9739 mac80211: Fix kernel panic due to use of txq after free
a0a49d8712de x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
a469646862aa PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
b21ca2769b0f apparmorfs: fix use-after-free on symlink traversal
9a0467e1f671 securityfs: fix use-after-free on symlink traversal
900bf351dd84 power: supply: cpcap-battery: Fix division by zero
b7771cb0143b clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
a654a73de29f xfrm4: Fix uninitialized memory read in _decode_session4
6faa62060624 xfrm: Honor original L3 slave device in xfrmi policy lookup
3716c2625099 esp4: add length check for UDP encapsulation
d410ef75886a xfrm: clean up xfrm protocol checks
159269cc6456 vti4: ipip tunnel deregistration fixes.
64f214ce563f xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
c9516503fe53 xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
fea685000caf fuse: Add FOPEN_STREAM to use stream_open()
f9eccf6ca1e0 dm mpath: always free attached_handler_name in parse_path()
9407680a7bb7 dm integrity: correctly calculate the size of metadata area
3b92ff729cb3 dm delay: fix a crash when invalid device is specified
90cc71127a3c dm zoned: Fix zone report handling
ff0699a5e5d0 dm cache metadata: Fix loading discard bitset
d5c352305d42 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
b51a033317cd PCI: Factor out pcie_retrain_link() function
7bc992e215c8 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
2e7574982502 PCI/AER: Change pci_aer_init() stub to return void
8c30e1499335 PCI: Init PCIe feature bits for managed host bridge alloc
29d031402718 PCI: Mark Atheros AR9462 to avoid bus reset
f4be6b7ee294 PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
2cf1dce1bfa5 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
27968d821368 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
f1c97f633375 fbdev: sm712fb: fix support for 1024x768-16 mode
b415308ae49a fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
02f89dd99c83 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
7e1b9659a43a fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
b0f08070903d fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
d30768975973 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
702156cd1a9a fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
e738fb38cf2e objtool: Allow AR to be overridden with HOSTAR
9ae0f86ceaa7 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
05fab3457210 perf intel-pt: Fix sample timestamp wrt non-taken branches
ba86f8f84fd5 perf intel-pt: Fix improved sample timestamp
3ed850ab2a9c perf intel-pt: Fix instructions sampling rate
5e011f3319fe memory: tegra: Fix integer overflow on tick value calculation
fb8c9c900d4e tracing: Fix partial reading of trace event's id file
07b487eb5762 ftrace/x86_64: Emulate call function while updating in breakpoint handler
ba246f64b0a5 x86_64: Allow breakpoints to emulate call instructions
01b6fdcecd5a x86_64: Add gap to int3 to allow for call emulation
77ca91441696 ceph: flush dirty inodes before proceeding with remount
b18339bc1d05 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
a9676c96e7e0 ovl: fix missing upper fs freeze protection on copy up for ioctl
979d2433b873 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
a452f733f93e fuse: fix writepages on 32bit
42f59b83f0cf udlfb: introduce a rendering mutex
fb36a97654a7 udlfb: fix sleeping inside spinlock
1b8c955691d4 udlfb: delete the unused parameter for dlfb_handle_damage
3487804cf6dc clk: rockchip: fix wrong clock definitions for rk3328
fe082b99d57b clk: mediatek: Disable tuner_en before change PLL rate
5bfba9529cea clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
1a7adc2edb98 clk: hi3660: Mark clk_gate_ufs_subsys as critical
04f34b76368f PNFS fallback to MDS if no deviceid found
d3dd6057d2d6 NFS4: Fix v4.0 client state corruption when mount
5e7f9e905ff8 media: imx: Clear fwnode link struct for each endpoint iteration
ef12f5b54da4 media: imx: csi: Allow unknown nearest upstream entities
77e178708136 media: ov6650: Fix sensor possibly not detected on probe
86d67dbdf0a0 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
939db6fdbea6 cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
a29b8829291e of: fix clang -Wunsequenced for be32_to_cpu()
a36430769ee5 p54: drop device reference count if fails to enable device
88cfd822f9d0 intel_th: msu: Fix single mode with IOMMU
c939121b5435 dcache: sort the freeing-without-RCU-delay mess for good.
10cb519c3e34 md: add mddev->pers to avoid potential NULL pointer dereference
3deaa1dc2f70 md: batch flush requests.
7f6b9285cada Revert "MD: fix lock contention for flush bios"
7928396df91e proc: prevent changes to overridden credentials
bbd559ad3ca7 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
d9ec75d048d7 stm class: Fix channel bitmap on 32-bit systems
44bc4e8815a4 stm class: Fix channel free in stm output free path
85b94de88046 parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
e5621f7e13f6 parisc: Use PA_ASM_LEVEL in boot code
615260c947b4 parisc: Skip registering LED when running in QEMU
9aabffe8c2a6 parisc: Export running_on_qemu symbol for modules
b11efd3262ef net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
79742133aff2 net/mlx5: Imply MLXFW in mlx5_core
9f12f4c922d4 vsock/virtio: Initialize core virtio vsock before registering the driver
4b900077784f tipc: fix modprobe tipc failed after switch order of device registration
4af8a327aeba vsock/virtio: free packets during the socket release
2f7025b0a3b3 tipc: switch order of device registration to fix a crash
2636da604e76 rtnetlink: always put IFLA_LINK for links with a link-netnsid
c73ed24c385a ppp: deflate: Fix possible crash in deflate_init
e4a6df16b441 nfp: flower: add rcu locks when accessing netdev for tunnels
948cd616504c net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
3620e546b177 net: test nouarg before dereferencing zerocopy pointers
0495c8b03545 net/mlx4_core: Change the error print to info print
746f8cd570ba net: avoid weird emergency message
466cadba6013 net: Always descend into dsa/
6bc3240adde5 ipv6: prevent possible fib6 leaks
81a61a95812e ipv6: fix src addr routing with the exception table
c3a072597748 Linux 4.19.45
e8816d3bc595 ext4: don't update s_rev_level if not required
6172ae55a187 ext4: fix compile error when using BUFFER_TRACE
953e826e8d0f pstore: Refactor compression initialization
fea8b84765a1 pstore: Allocate compression during late_initcall()
f4bf101be366 pstore: Centralize init/exit routines
627bb2d93b4d iov_iter: optimize page_copy_sane()
866f011181ff libnvdimm/namespace: Fix label tracking error
756eda9bc8b7 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
98bdd33883db kbuild: turn auto.conf.cmd into a mandatory include file
38f114887ca4 KVM: lapic: Busy wait for timer to expire when using hv_timer
3b5ea2df6cf6 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
5b8567682489 jbd2: fix potential double free
95482af27161 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
e0e1dc65bb13 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
ae3155123704 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
316063bf7d11 ext4: avoid panic during forced reboot due to aborted journal
c19db366c0a8 ext4: fix use-after-free in dx_release()
0db24122bd7f ext4: fix data corruption caused by overlapping unaligned and aligned IO
25d010f4e0ec ext4: zero out the unused memory region in the extent tree block
c907ce3fd552 tty: Don't force RISCV SBI console as preferred console
986d3453bee4 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
a80da82d0840 crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
f6de0a3b1e66 ipmi:ssif: compare block number correctly for multi-part return messages
88681649ed8c bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
ecfc882f6441 bcache: fix a race between cache register and cacheset unregister
8a8f671b3dad Btrfs: do not start a transaction at iterate_extent_inodes()
0388d45afc50 Btrfs: do not start a transaction during fiemap
74ca0a7671cc Btrfs: send, flush dellaloc in order to avoid data loss
8b13bb911f0c btrfs: Honour FITRIM range constraints during free space trim
87dcf0c61985 btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
d8925a1fee71 btrfs: Check the first key and level for cached extent buffer
45123ae534e0 ext4: fix ext4_show_options for file systems w/o journal
f795247578aa ext4: actually request zeroing of inode table after grow
2a18c9c76718 ext4: fix use-after-free race with debug_want_extra_isize
b12a8d80a46e ext4: avoid drop reference to iloc.bh twice
f0f805f8b9e7 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
71478ef67d7c ext4: make sanity check in mballoc more strict
001fe0dab4ea jbd2: check superblock mapped prior to committing
0fd2df64f142 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
d90824ecb887 tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
6a01793e0763 mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
dc6d69bde829 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
5185672f2acf mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
770e46b38ebe ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
8bae43985571 userfaultfd: use RCU to free the task struct when fork fails
3574bc98e2fe ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
a3ccc156f365 hugetlb: use same fault hash key for shared and private mappings
0b16b09a723e mm/hugetlb.c: don't put_page in lock of hugetlb_lock
58db3813680e mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
f580a54bbd52 mm/mincore.c: make mincore() more conservative
681f3695d514 crypto: ccree - handle tee fips error during power management resume
4fb3d87ee7b7 crypto: ccree - add function to handle cryptocell tee fips error
65f5c14a6011 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
1a4fc3d29632 crypto: ccree - pm resume first enable the source clk
120ab825c6fd crypto: ccree - don't map AEAD key and IV on stack
ca687cdb6159 crypto: ccree - use correct internal state sizes for export
766121a0a798 crypto: ccree - don't map MAC key on stack
7560c0adad34 crypto: ccree - fix mem leak on error path
642de1c00a14 crypto: ccree - remove special handling of chained sg
1bfceb375034 bpf, arm64: remove prefetch insn in xadd mapping
f3714257c422 ASoC: codec: hdac_hdmi add device_link to card device
975ef5c2f6ca ASoC: fsl_esai: Fix missing break in switch statement
df9f111db871 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
7295359bd6ac ASoC: max98090: Fix restore of DAPM Muxes
e13bac4031eb ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
d33f6063b7c3 ALSA: hda/realtek - EAPD turn on later
4ac6316a7c0f ALSA: hda/hdmi - Consider eld_valid when reporting jack event
8c827cda2864 ALSA: hda/hdmi - Read the pin sense from register when repolling
30dda277333e ALSA: usb-audio: Fix a memory leak bug
741e3efd8174 ALSA: line6: toneport: Fix broken usage of timer for delayed execution
003cf675eb07 mmc: core: Fix tag set memory leak
d42d342022b1 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
69b9d32d5139 crypto: arm/aes-neonbs - don't access already-freed walk.iv
b7d2adfd0512 crypto: rockchip - update IV buffer to contain the next IV
9a61ab689867 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
63efe31cf544 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
e7fd8a2862e0 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
7a19a4bef218 crypto: crct10dif-generic - fix use via crypto_shash_digest()
aabf86f24d9f crypto: skcipher - don't WARN on unprocessed data after slow walk step
66f5de68cb61 crypto: vmx - fix copy-paste error in CTR mode
07d677ae4db4 crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
fe632ee5ade8 crypto: chacha20poly1305 - set cra_name correctly
3b5ddd5ea016 crypto: salsa20 - don't access already-freed walk.iv
7a32ad34b889 crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
c1ec6beac625 crypto: crypto4xx - fix ctr-aes missing output IV
2ea1a37d0138 sched/x86: Save [ER]FLAGS on context switch
d8d751efec28 arm64: Save and restore OSDLR_EL1 across suspend/resume
f273cd16554a arm64: Clear OSDLR_EL1 on CPU boot
26e7d2ad97b9 arm64: compat: Reduce address limit
6d696ceb15a3 arm64: arch_timer: Ensure counter register reads occur with seqlock held
222abad906ba arm64: mmap: Ensure file offset is treated as unsigned
592127e9c1bb power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
26eb5e7fa08d power: supply: axp288_charger: Fix unchecked return value
921bc15462e2 ARM: exynos: Fix a leaked reference by adding missing of_node_put
6eaeee1e7845 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
e2c436d9268f ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
abea1fb53266 ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
8cf1bbca4467 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
7b72ca6312ab objtool: Fix function fallthrough detection
b185029f5c41 x86/speculation/mds: Improve CPU buffer clear documentation
393ca9ea37fb x86/speculation/mds: Revert CPU buffer clear on double fault exit
7761dbf58d22 locking/rwsem: Prevent decrement of reader count before increment
dafc674bbcb1 Linux 4.19.44
9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
4179b8580219 powerpc/booke64: set RI in default MSR
71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
e38406070729 vlan: disable SIOCSHWTSTAMP in container
dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
9f51d6f72063 packet: Fix error path in packet_init
2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
210057b79e71 net: seeq: fix crash caused by not set dev.parent
dfd919285f27 net: macb: Change interrupt and napi enable order in open
68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
c7b5e55be825 dpaa_eth: fix SG frame cleanup
a79feef32392 bridge: Fix error path for kobject_init_and_add()
9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
0dc9ad4e904d powerpc/64s: Include cpu header
db1b4aa651df um: Don't hardcode path as it is architecture dependent
85f347944a6b Don't jump to compute_result state from check_result state
ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
d756d1dea670 mwl8k: Fix rate_idx underflow
c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
575260507647 x86/kprobes: Avoid kretprobe recursion bug
322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
85b9e8694f9c net/tls: fix the IV leaks
e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
fb7c783b3139 net: fec: manage ahb clock in runtime pm
c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
9965da064e9a usb: typec: Fix unchecked return value
68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
09185e359827 spi: Micrel eth switch: declare missing of table
3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
521ae4da71cc drm/imx: don't skip DP channel disable for background plane
df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
5bc3d4491821 selftests/net: correct the return value for run_netsocktests
24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
005325b7f026 s390: ctcm: fix ctcm_new_device error return code
ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
74e9b761fba0 init: initialize jump labels before command line option parsing
6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
1134736869ef scsi: aic7xxx: fix EISA support
ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
d39f3cc71382 KVM: fix spectrev1 gadgets
4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
e360515f41fc drm/amd/display: If one stream full updates, full update all planes
58be7c109cea afs: Unlock pages for __pagevec_release()
08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
f83beff28048 mISDN: Check address length before reading address family
e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
068d1cce7801 drm/amd/display: extending AUX SW Timeout
2773e7454f4f s390/3270: fix lockdep false positive on view->lock
4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
f7ab4818f74e HID: input: add mapping for "Toggle Display" key
bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
dc30867da997 HID: input: add mapping for Expose/Overview key
e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
5640d0781267 USB: serial: fix unthrottle races
4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
824c212908b6 bfq: update internal depth state when queue depth changes
3351e9d39947 Linux 4.19.43
b21bde49d386 x86/speculation/mds: Fix documentation typo
8e65568e9d23 Documentation: Correct the possible MDS sysfs values
2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
e9ae32266605 x86/speculation/mds: Fix comment
b9faa4652867 x86/speculation/mds: Add SMT warning message
b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
cfaa3d76301e Documentation: Add MDS vulnerability documentation
e3803099d2f4 Documentation: Move L1TF to separate directory
c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
2951067089a3 x86/speculation/mds: Add mitigation control for MDS
4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
00b76324bd35 x86/speculation: Consolidate CPU whitelists
e09450ffa980 x86/msr-index: Cleanup bit defines
ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
34aae15cb179 Documentation/l1tf: Fix small spelling typo
(From OE-Core rev: a2466be459bb97800a83b3f6822ba139161668ec)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While we don't normally do a dual h/w and virt BSP (since they
tend to have conflicting requirements over time). A minimal overhead
option to do this was submitted to linux-yocto. Since it has no
impact on the h/w reference, has SDK testing value and can serve
as a template on how to do this for other arm boards, it is worth
making the configuration available.
The original commit log follows:
[
If the kernel supports Qemu's virt machine, runqemu works almost for free.
The device tree for machine virt is included in Qemu, which simplifies
everything quite a bit.
This change adds ARCH_VIRT=y and some drivers to the beaglebone kernel
configuration which allows to:
export MACHINE="beaglebone-yocto"
bitbake core-image-minimale
runqemu
This also works out of an eSDK. Whithout this feature usually two
different SDKs need to be compiled and maintained. One SDK is used for development
in Qemu, another one is used to develop for the real target hardware.
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
]
(From OE-Core rev: cc1fca6d464775daa15032f11c02d16b99759407)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Put libxml2-native dependency in this class and remove
it from recipes inheriting this class.
In fact, if a recipe inherits this class and does not have
libxml2-native, the xmlcatalog_sstate_postinst would fail.
(From OE-Core rev: 5a72c6d5cc1c9896c7425ac20eaf82d3d489e5c7)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
GTK+ 2 is being removed from oe-core, so remove it from the oe-core LSB
packagegroup.
Also document the fact that GTK+ 2 is no longer part of the LSB packagegroup,
and point to meta-oe for the recipe if required.
(From OE-Core rev: 759af1d5a5c3a0abe907d3875a7f548a6edfb39a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change the default configuration so that it doesn't need GTK+ 2 to build, as
GTK+ 2 is obsolete.
(From OE-Core rev: 963a9171c22de402a416016e498d3f266f2f87c6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using sstate, or performing an incremental build any change to
the do_stash_locale() will cause a build failure because
do_stash_locale() was destroying the results obtained from the
do_install() with several mv operations. A recent change to
do_stash_locale() for a different problem illustrated a number of
build failures for users in the community.
To fix the problem, do_stash_locale() must use copy operations instead
of the mv operations. Because this is changed to a copy, the sysroot
and package stage need to remove the files that would have been
previously removed. The correct "fixup" code to deal with the removal
already existed in the previous do_poststash_install_cleanup(). All
that needed change was the path to where to remove the files
from the sysroot and package stages.
In order to force a re-compilation of glibc some unused white space
was removed from do_compile() for glibc. I could not find any other
way around this and we don't want to have all the community folks to
have another iteration where they have to remove their tmp directories
or purge some portion of the sstate. It also makes this change
bisectable. If the change to the glibc is not included, it will fail
with the following message:
=====
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
=====
After this one time change I tested changing only the
do_stash_locale() function and it now works well because it is
deterministically operating off the sstate data or a local build.
(From OE-Core rev: fedc57a41a15bca1d96d14e25e2df0bb1eca904d)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The OpenSBI licence was updated to include contributors in the
copyright notice.
The payload logic has been updated to fix some bugs and handle the new
optional dependency on the Linux kernel for device trees
(From OE-Core rev: 76350b19945db458c60d3f233770543c00cb2067)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set the SANITIZERS varialbe to "" for the riscv32 machine as it is
already set for the riscv64 machine.
(From OE-Core rev: 12cd545fcbd2e826fb2c33b03b59113f62cad5a6)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depend on vulkan-loader component of the now split-up vulkan.
(From OE-Core rev: 64ee4af8c057dea47cdedf2ae6d1b8f62ecdbc7e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Depend on vulkan-loader instead of vulkan which has been deprecated.
(From OE-Core rev: edfd7164ca5954634f45bb05d76104c8dac00731)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vulkan tools and utilities that can assist development by enabling
developers to verify their applications correct use of the Vulkan API.
DEPENDS on vulkan-headers and vulkan-loader.
(From OE-Core rev: c4db69fc0d8d46a396ee744fddad0300ec730f46)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khronos official Vulkan ICD desktop loader for Windows, Linux, and MacOS.
Adapted from vulkan recipe with the changes done to remove obsolete options.
Needs either of X11 or Wayland to be enabled.
(From OE-Core rev: 4d9b993bd1706a8c29b45f58d513347a3d9f26d6)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
create_symlinks does not create any links if IMAGE_LINK_NAME is empty.
Unfortunately, setup_debugfs_variables unconditionally appends '-dbg' which
results in a previously-empty IMAGE_LINK_NAME containing just '-dbg'. Let's
check that it's not empty before appending.
(From OE-Core rev: e529c45f29bd9a1de21f31fef7acb23eb6e8ebdd)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For various technical reasons, native and cross builds have a prefix that
includes the full path to the sysroot. As these are stripped away before the
files are used in the sysroot, we should also filter them out of the
buildhistory report. This both removes noise when sharing a buildhistory
repository between different build directories, and improves the accuracy of the
reports.
(From OE-Core rev: 8bf53fbb62749b5d77c246fab6e1246b93f8c50f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As the sysroot isn't ran inside pseudo the ownership is whoever is running the
builds. In a setup where multiple builders all contribute to a shared
buildhistory writing the ownership data isn't useful, so just replace it with "-
-".
(From OE-Core rev: fadb7ae78876a7cf25c48481ff4ed3131e53415f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
efivar.h is in usr/include/efirvar directory so it should be
added to include search path via -I to compiler cmdline to fix
make[1]: *** No rule to make target 'efivar.h', needed by 'efibootmgr.o'. Stop.
| make[1]: *** Waiting for unfinished jobs....
When running clang to generate dependencies -MM -MG -MF it still
parses the compile unit and complains if certain header is not found
where as gcc does not do that, hence the compile error is only seen
when compiling with clang.
(From OE-Core rev: db4fa7e765cb434119d816d86b943eeb62235601)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
sqlite3 is only used by the regression testing tool, which is of limited use
unless you're the developer of libsndfile. Add a PACKAGECONFIG for this, but
disable by default.
(From OE-Core rev: 5f01497dee9fcd5e5fc6bddb061b6cc55909fe65)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output from bitbake will change slightly soon due to runqueue changes,
adpat the test now to account for both the old and new cases.
(From OE-Core rev: 78fcea74517de4793cc0ecc97bce7f5c7dcd44c0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This image continues to run out of space on the autobuilder, tweak it a bit
further now the image space requirements were reduced after various ptest
fixes to avoid the error.
(From OE-Core rev: 9f974dd51c18a1387134a9350097dea97ef5f7d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from util-linux_2.33.2.bb to util-linux_2.34.bb.
-util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch
Removed since this is included in 2.34.
(From OE-Core rev: c8685430d81b60c38d43ed20e480b2a0942dc768)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
i2ctransfer is now also provided by busybox.
(From OE-Core rev: 0325aaebb389370f0c5444da1db9c8a179bf97cb)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current go class includes ptest logic by default
and will make the recipe which inherits go class
to support ptest automatically though maybe the
recipe which inherits go class doesn't plan to
support the ptest.
So separate the ptest logic to another specified
class go-ptest to make the recipe which needs to
inherit go class more flexible with regards to
ptest support.
(From OE-Core rev: 099a2a212fed61a24643da63c74c09cef3ba4030)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that cve-update-db added CPE information to NVD database. We can
check for unpatched versions with operators '<', '<=', '>', and '>='.
(From OE-Core rev: bc0195be1b15bcffe60127bc5e8b7011a853c2ed)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of using expanded list of affected versions that is not
reliable, use the 'cpe_match' node in the 'configurations' json node.
For cve-check to correctly match affected CVE, the sqlite database need to
contain operator_start, operator_end and the corresponding versions fields.
(From OE-Core rev: f7676e9a38d595564922e5f59acbc69c2109a78f)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the NVD url is not accessible, print a warning on top of the CVE
report, and continue. The database will not be fully updated, but
cve_check can still run on the previous database.
(From OE-Core rev: 0325dd72714f0b447558084f481b77f0ec850eed)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When enabling multilib and building lib32-IMAGE which
uses grub-efi, the build fails with the following error.
install: cannot stat '/PROJ_DIR/build/tmp-glibc/deploy/images/intel-x86-64/grub-efi-bootia32.efi': No such file or directory
The grub-efi is in NON_MULTILIB_SCRIPTS. That means we
will use 64bit grub-efi for lib32-IMAGE.
So take into consideration of multilib to fix this problem.
(From OE-Core rev: 3c7b6dfecd22eae369bba54437cdff91fa8542df)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've a nice function to clean up absolute build paths for display, so use it.
(From OE-Core rev: c2f2ea87592d14e7020eff19c11aae2fb644358a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysroot isn't populated under pseudo, so ownership differences should be ignored.
(From OE-Core rev: 01b816be4adff8f3992c1369810bdcf11a26fd6c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to skip _setscene only if they would normally be
executed, without ignoring sstate completely.
Previously, '--no-setscene' would allow a build that completely ignored
sstate and _setscene tasks, and '--setscene-only' would allow a build
that only ran _setscene tasks, but there was no option do a build that
would respect tasks previously restored from sstate and build everything
else. Now one can run:
bitbake --setscene-only IMAGE; bitbake --skip-setscene IMAGE
which is functionally equivalent to:
bitbake IMAGE
The indented use is to allow a build to complete successfully in the
presence of _setscene task failures by splitting apart the two phases
e.g.:
(bitbake -k --setscene-only IMAGE || true) && bitbake --skip-setscene IMAGE
(Bitbake rev: 813ba5b7c13b573a0b813b628a819bdbf0627540)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the server shuts down 'cleanly' due to some issue, the socket will close.
A recently reported example was an invalid PRSERV being set. Doing this silently
and without changing the retries count will case the server startup to loop
infinitely.
Change the code so it triggers the usual retries note messages and times
out eventually pointing the user at the cooker log file.
[YOCTO #12984]
(Bitbake rev: bb696636ef0c59f9e9640bb9460e7cce323cc785)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the UI hasn't started, no messages are printed to the console
until the server starts. This is confusing, particularly if the server
never starts. Flush the UI queue through the simply handler upon connection
retry so the user sees the messages they're supposed to be seeing.
Also point the user at the logfile for hints about why this may be.
(Bitbake rev: 4b9ab675cebb427ab8ad0c56c7b37eed50a2a39e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`devtool create-workspace' would create devtool.conf, so track to
clean it up. Otherwise, this devtool.conf file would mess things up.
e.g.
oe-selftest -r devtool && oe-selftest -r devtool -j 2
AssertionError: '/PROJ_DIR/build-selftest-st-15753/workspace/conf/layer.conf' does not exist : Workspace directory not created
This is because the devtool.conf is also copied to build-selftest-st-xxxx
directory, resulting in devtool to create and use workspace specified
in this file.
(From OE-Core rev: a0a96db23686a38235fb0373e75e8b2951216c18)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The blocks were intended with 3 spaces instead of 4.
(From OE-Core rev: 98fbf61287971319547cc462b7c81f54950df619)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_stash_locale was not working consistently across the 4 build
configurations and the multilib, usrmerge configuration would fail
entirely with the obscure message:
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
| WARNING: /poky/build/tmp/work/core2-64-poky-linux/glibc-locale/2.29-r0/temp/run.do_prep_locale_tree.124690:1 exit 1 from 'gunzip $i'
Here is the 4 build configurations without the patch applied:
A) x86-64 no multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
B) x86-64 no multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
909
C) x86-64 multilibs, no usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
885
D) x86-64 multilibs, usrmerge
find ./tmp/work/*/glibc/2.29-r0/stashed-locale -type f |grep -v nscd.service |wc -l
864
The issue here is that all the moves should be processed first, then a
copy should be made of the lib directories, but only in the case they
are different when using the usrmerge feature. Even though the build
worked for the multilib configuration without usrmerge, the content
was not the same.
After applying the patch the same number of files are in all the
configurations. The list of files was also diffed, after normalizing
the directory names to ensure all the correct files were copied.
Ultimately there are probably additional files that should be pruned
from what is copied to the stated_locale, but the purpose of this
patch is make it 100% consistent between the build types and fix the
builds.
(From OE-Core rev: 33c2e7b4944af22ca47b53d1f85d03426f169bb7)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule:
=====
ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.29-r0 do_package: Fatal QA errors found, failing task.
=====
The simple fix is to prune the empty directory.
(From OE-Core rev: 4b3c5ec80e696fc2c7ce7ceba118095f9b8f6439)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using USE_NLS="no" in the local.conf psmisc will fail to
compile as follows:
| autoreconf: Entering directory `.'
| autoreconf: running: autopoint --force
| autoreconf: failed to run autopoint: No such file or directory
| autoreconf: autopoint is needed because this package uses Gettext
| ERROR: autoreconf execution failed.
This is because the gettext.bbclass returns gettext-minimal-native for
the host dependency which does not include autopoint. The autopoint
utility is required to build psmisc, so it needs to list
gettext-native as a dependency.
(From OE-Core rev: 1f163ab451a8a5a5ba1fb426cf5a9eb41f822368)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer export these variables into the environment so we no longer
need this code.
(From OE-Core rev: fd85639bf3092491123e8747e44e7b30648c85cf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tests the bitbake --skip-setscene option to verify that it correctly
reuses tasks previously restored from sstate, but doesn't execute new
sstate tasks
(From OE-Core rev: af10c620b1496bf5224d0628a92cb42e9cd362a8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some file has "pie" appending after LSB or MSB, which causes mismatch and the
following error.
"file01 10 TFAIL: in: was not recognized"
..."ELF 64-bit LSB pie executable"...
This patches tunes the regulation expression to include those cases.
(From OE-Core rev: 3602a7affd95a22e7e22c9ed4df731f94ed9b64b)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix-rngd-fail-to-stop.patch is added to fix rngd blocks system shutdown
issue. But it causes rngd doesn't release CPU and causes 100% CPU
usage, so drop it.
The block shutdown issue is caused by comit [7cb64b9fe1 rng-tools: start
earlier in the boot process] which updated rngd.service. Revert the
modification of rngd.service.
Update sed expressions in do_install as well which fails to replace
second match in one line.
(From OE-Core rev: edf760682270de36850407c860bea5aea29e30bc)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- update to last stable version 1.31.0
- remove and refresh already merged patches
(From OE-Core rev: 1654e8a6ec53799ce55302dfc075d4b1bd5a6cc0)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As part of upgrading a recipe we create the upgraded recipe file in the
workspace and then try to parse it so we can then make further
modifications. If for some reason that parsing fails then the failure
was not being handled very well - the broken recipe was being left in
place, breaking parsing until it was removed by hand. Fix that by adding
a call to the cleanup function, and fix the following issues:
* Fix the cleanup function which doesn't look like it has ever worked
due to a typo in the function call
* Fix double-printing the error message
* Remove usage of DevtoolError in this case (DevtoolError is for simple
usage errors, not this kind of issue which may be the result of a
bug).
We're still printing a traceback in this scenario but at least it
doesn't break the build system requiring manual cleanup. I also
introduced a command-line option to preserve the broken upgraded recipe
file(s) for debugging purposes.
(The reproducer for this is "devtool upgrade libnewt-python", however
you need to check out revision b82ea144e1
or earlier since that recipe has now been absorbed into the libnewt
recipe. The libnewt-python recipe was causing an issue with the upgrade
because it actually included the libnewt recipe using ${PV} in the
include statement, and of course PV was changing in the upgrade.)
Fixes [YOCTO #13404].
(From OE-Core rev: c519ac360796675d7fc09a5250d21f0f5b6236fc)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a setup.py file exists it ought to have something in it before we
consider the source tree to be a Python module and treating it as such.
(A counter-example is https://www.bro.org/downloads/binpac-0.50.tar.gz -
it's not clear why this has a zero-length setup.py in it but we should
pay no attention to it.)
Fixes [YOCTO #12923].
(From OE-Core rev: 548a5c8f42c6ac1b0f7962926d05276e71505678)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
P (which is ${PN}-${PV}) isn't terribly useful in this context - we
don't really care what the version is, but we do want to know what the
recipe is so we can find it or set PACKAGECONFIG_pn-<PN> in our
configuration, so display ${PN} instead.
(From OE-Core rev: 7facaacd145c2924414ad63ddce07602a72d02c1)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The blacklist, whilst previously useful for safety, is now becoming
obsolete - on my current system, the main storage is at /dev/nvme* and
if I plug in a USB stick it shows up as /dev/sdb which was previously
blacklisted. To make this more flexible, remove the blacklist and
instead check if the specified device is mounted, has a partition
that is mounted, or is otherwise in use according to the kernel, and
show an appropriate error and quit if so.
To make this robust, also ensure we handle where the specified device is
a symlink to another device.
(From OE-Core rev: 49043de1a7716ad612fb92a2e8a52e43d253c800)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I'm not sure what's going on but having this symlink present is causing
git problems rebasing just by being present; deleting it and checking it
out again does not fix it. In any event this is not the standard way of
sharing files between recipes in the same directory - extending
FILESEXTRAPATHS is, so use that method instead.
(From OE-Core rev: 9ddf0597b4ea40b4c2be2eb0f01f833b5ec23030)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Error:
diotest4 10 TBROK : diotest4.c:368: can't mmap file: Invalid argument
diotest4 11 TBROK : diotest4.c:368: Remaining cases broken
This is because the manually specified addr from mmap is invalid.
We should let kernel itself pick an addrress.
(From OE-Core rev: c49e4fd1cc573170fd18c2f6313f8d77f5e68470)
Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also set LDFLAGS=BUILD_LDFLAGS when compiling makeguids to ensure that any
target compiler flags are not passed to the native compiler.
[ YOCTO #13423 ]
(From OE-Core rev: f61e0676aabba9e006c32f0e53c69426368cd4f0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. recently, mdadm has changed to use service file under srcdir,
so remove the one not be used.
2. add -y option to fix below problem
mdadm: No mail address or alert command - not monitoring
(From OE-Core rev: e3cd783f42bff8ac50d4dde560ead999efd01a57)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check the existence of systemd before using systemctl to preset units.
This is because even if 'systemd' is in DISTRO_FEATURES, it's possible
that systemd is not even installed. e.g. container-test-image in
meta-selftest layer.
As systemd DEPENDS on systemd-systemctl-native, the existence of systemd
also ensures the existence of systemd-systemctl-native.
This would fix the following test case when using systemd as the init
manager.
containerimage.ContainerImageTests.test_expected_files
Also remove the IMAGE_EXTRADEPENDS setting, as nothing references this
variable.
(From OE-Core rev: c9854a4ab6af9e60b1a588a87b9a062624af6fae)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This uses the same code revision in the new repository.
(From OE-Core rev: c7d9991b7536233f33226a729edaf3ba816abc73)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The exit code for "echo q | dc" is 1 for dc-1.4.1;
while the exit code for "echo q | dc" is 0 for dc-1.4.
Here is the answer from ken@gnu.org:
dc-1.4 was right. There was a rewrite of a chunk of code for 1.4.1 to
fix a corner case in the Q command, and somehow the placement of the
clean-up label for the 'q' command got misplaced on the error-handling
branch instead of the clean-exit branch. The patch below fixes this
(it is committed for whenever the next bc/dc release gets made).
Thanks for the report,
--Ken Pizzini
(From OE-Core rev: ab16d9ccaf824fbda5e43c5b3cbdc43ec70be87f)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This switches the code to build pkgdata specific to the current recipe
which means that its filtered to the recipes dependencies and can perform
better as we can drop the lockfile.
It uses a similar method to the staging code to do this, using BB_TASKDEPDATA
to construct a list of packagedata task output which this recipe should "see".
The original pkgdata store is left unaltered so existing code works.
The lock file was there to prevent files disappearing as they were read or as
directories were listed. Since we have a copy of the data and only access output
from completed tasks (as per their manifests), we can remove the lock.
The lock was causing starvation issues on systems with parallelism.
There was also a potential determinism problem as the current code could "see"
data from recipes which it doesn't depend upon.
[YOCTO #13412]
(From OE-Core rev: 1951132576bfb95675b4879287f8b3b7c47524fa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
multiconfig dependencies no longer appear in BB_TASKDEPDATA so we can drop
this code.
(From OE-Core rev: 288b04c8a31fcf257219a57e23663b74178c75f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new version is using xsltproc utility
(From OE-Core rev: a8c370a9ff2c6f7d7d516ef69cc2c4c8b8279f61)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
style.css was set to write-only during build which means it wasn't actually
installed or packaged (with only webkitgtk producing a build failure!),
which in turn means generated documentation was broken.
(From OE-Core rev: 946516f5312edaa62fd20162d8c7596f77e9ca64)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build of glibc fails when you have multilibs enabled + the distro
feature usrmerge. Here is an example configuration:
===
MACHINE = "qemux86-64"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_append = " systemd "
DISTRO_FEATURES_append += " usrmerge"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
===
This will fail with the following error:
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glibc-2.28-r0 do_poststash_install_cleanup: Function failed: do_poststash_install_cleanup (log file is located at /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893)
ERROR: Logfile of failure stored in: /poky/build/tmp/work/core2-64-poky-linux/glibc/2.28-r0/temp/log.do_poststash_install_cleanup.107893
The fix is to not perform the rmdir check when using the multilib + usr/merge, namely:
if [ "${libdir}" != "${exec_prefix}/lib" ] && [ "${root_prefix}/lib" != "${exec_prefix}/lib" ]; then
This will evaluate as follows (collecting the output from bitbake -e glibc)
* no multilibs no usrmerge
if [ "/usr/lib" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* no multilibs yes usrmerge
if [ "/usr/lib" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
* yes multilibs no usrmerge
if [ "/usr/lib64" != "/usr/lib" ] && [ "/lib" != "/usr/lib" ]; then
* yes multilibs yes user merge
if [ "/usr/lib64" != "/usr/lib" ] && [ "/usr/lib" != "/usr/lib" ]; then
(From OE-Core rev: c5640f8c8663c8f81125bf7c5bc2ef8e9fe55315)
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Testinfo:
In kernel's builddir:
$ /path/to/oe-core/scripts/tiny/ksum.py
Collecting object files [DONE]
Totals:
vmlinux:
text data bss total
10933110 3824470 1605632 16363212
modules (2004):
text data bss total
46144408 3047516 167580 49359504
vmlinux + modules:
text data bss total
57077518 6871986 1773212 65722716
(From OE-Core rev: a55955f337b4cebf557f96f5dd7c2edc0bfa6d8a)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
test_git_submodule_dbus_broker, test_git_submodule_CLI11, test_git_submodule_update_CLI11,
test_git_submodule_aktualizr and test_git_submodule_iotedge try to access the network via
git clone, which fails when there is no network available. Add the relevant skip tag.
(Bitbake rev: 9b0538753da0514e6518723dac537007abf7a649)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch to python that makes the pre-compiled .pyc files
generated during the build reproducible.
(From OE-Core rev: 148d54f91f43147f31b16a7c2cb1ade385832366)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To be able to populate NVD database on a fetchall
(bitbake <image> --run-all=fetch), set the do_populate_cve_db task to be
executed before do_fetch.
Do not get CVE_CHECK_DB_DIR, CVE_CHECK_DB_FILE and CVE_CHECK_TMP_FILE
variable because do_populate_cve_db can be called in a context where
cve-check class is not loaded.
(From OE-Core rev: 975793e3825a2a9ca6dc0e43577f680214cb7993)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that the sysroot is written into the build history, write it out.
(From OE-Core rev: e9df98ba63e6d2baefee550170dbdd11ed2ad03a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to the sysroot are just as interesting during development, so write the
file listing for the sysroot to buildhistory too.
(From OE-Core rev: b3ac82a27ab70ed6996fe3087a578ac637820329)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently `devtool finish RECIPE meta' will silently succeed even
if there are multiple layers having the same base name of 'meta'.
e.g. meta layer from oe-core and meta layer from meta-secure-core.
We should at least give user a warning in such case. With the patch,
we will get warning like below.
WARNING: Multiple layers have the same base name 'meta', use the first one '<PROJ_DIR>/oe-core/meta'.
WARNING: Consider using path instead of base name to specify layer:
<PROJ_DIR>/oe-core/meta
<PROJ_DIR>/meta-secure-core/meta
(From OE-Core rev: 2c8740f543c38dbaef3345e40827ef48b3f75405)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
populate_packages relies on ``mkdir`` to both create a directory and set
its permissions. However, ``mkdir`` honors the ``umask`` value.
Therefore, some bits may be lost in the operation. In our case, the
setgid bit on the directories were lost.
This commit fixes this by having a distinct call to create the directory
and to set the permissions.
(From OE-Core rev: 0f82b53a650e76e0129fae6ce7581a41d042315b)
Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The change to ensure the existing processes shut down had a clear copy
and paste error. This really fixes syslog to avoid errors on restart.
(From OE-Core rev: 9f674a88c781c7092d5b3460922a1579b9fe4bf9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On a loaded builder we've seen the log message not make it to the log file
before the ssh command completes. Add a short delay to try and ensure
this does happen. There is unforunately no way to flush syslog in all
cases we test.
(From OE-Core rev: 66322b689e46520647e2d94d5e3f3ce282a41247)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The systemd-journald process doesn't restart/change the way syslog
does, don't test/error in this case.
(From OE-Core rev: be48190dca0643df4881624d29c2eae453395919)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Its useful to test whether the restart command returned an error code and
exit early from the test if so.
Also add different messages to tell if the syslog processes didn't
die or didn't restart.
(From OE-Core rev: f19e95b8571a0d8213c4dec0da056e3d243fbbd1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're seeing races on the autobuilder where syslogd fails to shut down
fast enough to be restarted leading to failures.
Add some checks to ensure when restarting that processes exit before
being restarted.
(From OE-Core rev: 04de384256ad321834cf5e3dbb9a8d3ea2ab66c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In testing we're seeing sysklogd fail to restart klogd since the original
process hasn't stopped before the new one is started. This means a restart
can result in no process running which is clearly not desireable.
Add extra code to ensure this works correctly. Busybox start-stop-daemon
seems particularly open to this kind of issue, the dpkg version maybe
less so if timeout options are used (which we don't use).
(From OE-Core rev: dc1fcb61f7d89cd066ace2edc143e7a2d329e033)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
syslogd and klogd can occasionally take too long to restart, which
causes tests to fail by starting before the log daemons are ready. To
work around this problem, poll for up to 30 seconds on the processes to
verify the old ones are killed and the new ones are up and running.
Similarly, add checks for rsyslogd and systemd-journald to possibly
catch issues with those daemons.
[YOCTO #13379]
(From OE-Core rev: dc73872b828ea271678fa624c15199364a5cba9e)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With postgresql added to IMAGE_INSTALL, we will get the following
error when building for 64bit BSPs.
Problem: package postgresql-11.3-r0.corei7_64 requires libperl.so.5()(64bit), but none of the providers can be installed
A previous patch has added libperl.so.5 to DUMMY_PROVIDES, but this
is not enough. Because for 64bit BSP, it should also provide libperl.so.5()(64bit).
(From OE-Core rev: ae1414fcbe41a70a56021c4d240976dae0adad33)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
$ bitbake core-image-minimal
update-alternatives: libtool has multiple providers with the same priority,
please check
/path/to/rootfs/usr/lib/opkg/alternatives/libtool for details
Both libtool and lib32-libtool have the same priority (as they're the same
recipe), so update-alternatives won't deterministically pick a provider. This
means you could end up with an image using a 32-bit pkgconfig and 64-bit
libtool, for example.
Make extended recipes reduce priority by 1 (or 2, 3 ... when there are multiple
variants in MULTILIB_VARIANTS) to fix the problem.
[YOCTO #13418]
(From OE-Core rev: a2f53255ed7fb3657c470cd6a4452d883edd11cc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The update-alternatives.bbclass' postinst script runs firstly before other
postinst, but busybox needs set basic tools such as sed command firstly,
otherwise, update-alternatives doesn't work, so run busybox' postinst firstly
to fix the problem.
(From OE-Core rev: 3a035bd0a06a6ded4d0ce7e35a3bce42245727d2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recipes like postfix run command newaliases in postinst, but newaliases is
installed as newaliases.postfix, it needs run update-alternatives to update it
to newaliases, so there was an error when installed postinst on target.
Fixed:
$ opkg install postfix
Configuring postfix.
///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command not found
Run update-alternatives firstly will fix the problem.
(From OE-Core rev: 52c36dd869c605c0065c17f9ed502a319ce3dd84)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream stopped using it in 2010.
(From OE-Core rev: 3583b713884ad7ce39f91b072dc22b8c9730eabd)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream stopped using it in 1.2.6.
(From OE-Core rev: b9353d6fbcd36a671e02bb849553a3791270c742)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream stopped using it in 2008.
(From OE-Core rev: 5a73ba641f2fad8d0afa954e7c1a7d199263fbe0)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
KERNEL_VERSION gets expanded at runtime to contain the real kernel
version. There is code to ensure the signatures are determinisic but
the multilib expansion code breaks this.
Exclude the variable from the datastore used for expansion to avoid this.
(From OE-Core rev: c068f907fee16477f59b6e5b168208aa4f677544)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building lttng-modules for a "lib32" multilib, then changing to a "lib64"
multilib with "lib32" removed doesn't rebuild lttng-modules.
This is due to the multilib pieces in RPROVIDES being added after RecipeParsed
which is after the signatures are generated.
Changing this to RecipeTaskPreProcess allows the multilib components to be
accounted for correctly in the task hashes.
This addresses failures on the autobuilder seen in lib64-core-image-sato-sdk
builds where lttng-modules was being reused from qemux86 world build's lib32
version.
(From OE-Core rev: a8dc13d4e4e34b061be5c2dd71f26cc0ad92a72e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Way back in
http://lists.openembedded.org/pipermail/openembedded-core/2014-April/210138.html
a few of us discussed not exporting TARGET_LDFLAGS. There seemed to be
support for this idea, and I modified our tree to not do so. I then seem to
have dropped the ball. :( We've been running like that for over five years,
and not observed any problems.
It seems sensible to stop exporting TARGET_CPPFLAGS, TARGET_CFLAGS and
TARGET_CXXFLAGS too.
I've successfully compile-tested core-image-minimal and core-image-sato for
x86_64 and qemuarm64 with these changes.
(From OE-Core rev: 1b1ab93408c3ba72f855b2f4a028f1a917e9b551)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't just test that we can build the cross-compiler, but test that it actually
can cross-compile some Fortran.
The quadmath dependency is now handled in gcc-runtime and isn't needed in this
test (as per local.conf.sample.extended changes).
There's also no need to build libgfortran explicitly, as fortran-helloworld depends on it.
(From OE-Core rev: 4b43c655ed5ff8b9d2662730526811220b21ff8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For future runtime testing something more complex is preferred but this is
sufficient to exercise the cross compiler.
(From OE-Core rev: 7d5f39ca717fa1caea357a4366bbf106386432c0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop 0001-libopkg-add-add-ignore-recommends-option.patch
- Drop 0001-opkg-add-target-for-testsuite-installation.patch
- Drop 0001-regress-issue72.py-resolve-paths-before-comparision.patch
- Remove test binaries tests\libopkg_test, leftovers from make dist
process
(From OE-Core rev: b14c17e9b1992a7f6c9acfa9ee82037325163b31)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The intercept is called update_icon_cache which is vague: rename to
update_gtk_icon_cache to make it clearer what it is for, and add a comment
explaining what class caused it to be used.
(From OE-Core rev: 3158adbe684890adc56af11e19af872e90e09d41)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It doesn't seem to be used.
(From OE-Core rev: 70fa25399503bd43da28d9d98765d354543c8975)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. mdadm: No mail address or alert command - not monitoring
fixed by use option -y to cause all events to be reported
through 'syslog'.
2. cannot create pid file: No such file or directory
fix by create dir before starting.
(From OE-Core rev: d18c937918ec3553cb98743088a37ff080af2491)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
- A bug with Visual Studio 2019
- An issue with target_link_libraries and PRIVATE
- An issue with include_directories
(From OE-Core rev: 116e876ffdb32d107271bb35e15a5ad951f64f65)
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
adduser in busybox and adduser under meta-openembeded have different
behavior, adduser under meta-openembeded need Interactive Input like
below if you manually run ptest.
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
...
remove the "Interactive Input" by add --gecos "" to align the behavior
also it is better for automation without interactive input
(From OE-Core rev: dd1fb3acf58d9a8d5194941976cad37f88ab2fdf)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of generating a series of indexes via range(len(list)), just iterate the
list.
(From OE-Core rev: 27eb839ee651c2d584db42d23bcf5dd764eb33f1)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
urllib3 was used in this recipe but it was not set as a
dependency. As it is not specifically needed, rewrite the recipe with
urllib from the standard library.
(From OE-Core rev: c0eabd30d7b9c2517f4ec9229640be421ecc8a5e)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the scsi-debug fragment to include the core scsi config
options. This allows standalone use of the fragment, since all
supporting options will be enabled simply by including the top
level config in a BSP.
This also removes a configuration warning on qemuarm, since we
will no longer have missing / unavailable options during the
config audit.
(From OE-Core rev: c65826e96a77928938fef69fc0cbc65ec7431cb2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been fixed in the GCC recipe, so remove from
local.conf.sample.extended.
(From meta-yocto rev: f19f3a7a5286cabf42a0f6d0ea8f7841dc043324)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that libmodule-build-perl has moved into oe-core,
make sure it is being tested on the autobuilder.
(From OE-Core rev: 91c4328e9b8d95a2e1b6d85dd7d266150ed6dd12)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash has an internal "build number" that it tracks and automatically
increments ever time a given builds is made from the same sandbox.
However, this can make builds non-reproducible in the event that a build
directory is reused multiple times.
Remove the .build files after every build if reproducible builds have
been requested which will reset the build build number for the next
build.
(From OE-Core rev: 9754be5c22de877bd53226908d03d2eef5751808)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies two patches that are required to improve the reproducibility of
builds.
(From OE-Core rev: 9297cabb0aca8212d3cc74f8d26e43abc02ded87)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reformats the sysconfig file when packaging. This file is output by
using the python pprint function. This function will wrap long lines at
80 characters by default, and will even split strings at whitespace
boundaries to do so, e.g.:
'A': 'B is really'
' long'
This causes a problem for reproducibility however because there might be
lines of differing lengths depending on the build path. These
non-reproducible paths are removed, but their effect on string wrapping
from pprint remains.
To correct this, reformat the entire sysconfig file by re-printing using
pprint with an (effectively) unlimited line length.
(From OE-Core rev: ec8a2b310d5f0b42f60898a5c6d239949842b34c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As pigz is compatible with gzip, but better performing, if it is installed it
should be used by default. Currently gzip has priority of 100 but pigz has
priority of 80, so gzip is still used by default.
Change the pigz priority to 110 so that it wins of gzip.
(From OE-Core rev: 808792122751714de3ba25e463fd8b2709581cfc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since
commit b071a1a209556158bcfcc20e3c8bd4b15373767c
Author: Changqing Li <changqing.li@windriver.com>
Date: Tue Jun 18 15:46:56 2019 +0800
gcc-runtime: fix C++ header mapping for n32/x32 tune
gcc-runtime.do_install is failing with:
ln: failed to create symbolic link 'work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux-gnueabi/bits': No such file or directory
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_install (log file is located at work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/temp/log.do_install.31049)
There is only empty directory without the -gnueabi suffix:
work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux/
and
work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oemllib32-linux-gnueabi/
bits ext
* make sure to create correct directory (with -${TARGET_OS suffix instead of -linux suffix)
before creating the symlinks in it
(From OE-Core rev: 41cbf5dc203ba74b06cb4890e1022f3f02fbd6fd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default GOCACHE is set to $HOME/.cache.
Fixes:
ERROR: go-cross-dbfp4-1.12.1-r0 do_compile: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120)
ERROR: Logfile of failure stored in: /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120
Log data follows:
| DEBUG: Executing shell function do_compile
| Building Go cmd/dist using /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/recipe-sysroot-native/usr/lib/go.
| failed to initialize build cache at /home/pokyuser/.cache/go-build: mkdir /home/pokyuser/.cache: permission denied
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120)
ERROR: Task (/workdir/repo/poky/meta/recipes-devtools/go/go-cross_1.12.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 23 tasks of which 16 didn't need to be rerun and 1 failed.
(From OE-Core rev: 9a6d208b9979035bbfc1def80fb6558db4bddb12)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d has added support of enable/disable options, which are
expected to keep the previous configuration even after upgrade the packages.
With support for these options, it will only create start/stop link
when there are none, or it will keep the previous configuration.
Our preinst uses "-f remove" to remove any links under the /etc/rcrunlevel.d
which is conflicting behavior with disable/enable options, so remove it.
For example, if a user disabled one service before upgrade,
then after upgrade the service could be started. This happens because during preinst,
all links have been deleted, then postinst may create the link to start service.
With this change, we remove preinst and therefore keep the previous links
so that after upgrade, if a link existed for the package, then the postinst
will not create new start/stop links.
* remove '-f' for postinst. Previously, the keepalived recipe used 'remove'
during postinst, so we needed the -f, but now the keepalived recipe has fixed
this problem, so it's safe to remove '-f'.
[Yocto #12955]
(From OE-Core rev: 7981d5261429cfb06030280460086f9af91876d9)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This pulls in updates to add enable/disable support.
The license is unchanged, code just changed to use an SPDX license
identifier.
(From OE-Core rev: 01df28021baebf6abe25eb5824e0ff45fded88bc)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For now, even if we have specified to skip the whole module/class via
command line, e.g., `oe-selftest -R gotoolchain', the class setup method
is still run. This at least results in unnecessary builds, and at worst
results in ERROR, if the setup method fails.
So improve the skipping mechanism to avoid class setup method to run
when specified to skip.
(From OE-Core rev: b0b79bf65f5e5e65958090a4a88622b42df896bf)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently `oe-selftest -R a' will skip 'archiver' tests. This is
not expected. Fix it so that the '-R' should be followed by actual
module/class/test names.
(From OE-Core rev: de3b070fc2ddd0b63a324679ec5adbe30142fc22)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enhances dropbear with a new feature "disable-weak-ciphers", on by default.
This feature disables all CBC, SHA1, and diffie-hellman group1 ciphers in
the dropbear ssh server and client.
Disable this feature if you need to connect to the ssh server from older
clients. Additional customization can be done with local_options.h as usual.
Tested: On dropbear_2019.78.
Upstream-Status: Inappropriate [configuration]
(From OE-Core rev: b11521ce1b1d1f8b4dddf830b41f5ea809730d22)
Signed-off-by: Joseph Reynolds <joseph.reynolds1@ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes a few reproducibility issues in the perl ptest package:
1) config.log has a lot of paths encoded in it. This file is
unnecessary for ptest, so it is omitted from the package
2) Makefile.config has a lot of paths encoded in it. This file should
be fixed up using the same rules as several other files that are in
the package
3) Paths in DEBUG_PREFIX_MAP are not being correctly removed from files
because DEBUG_PREFIX_MAP is now several command line arguments.
Instead of requiring an exact match for all arguments, remove any
matching argument.
(From OE-Core rev: 04454faadf5cf18c054c98803380393db42646c4)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unchanged patch from glib.git which was added after current release.
(From OE-Core rev: 59ded76363aec9289a007baca52a33b463e02e47)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* this is just another test case for issue already fixed in:
commit fef56d28c3efec4876c379898cbc4d4c65303aee
Author: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Sun Feb 24 21:07:28 2019 +0100
Subject: bitbake: fix version comparison when one of the versions ends in .
* The TypeError is triggered not by '.' at the end, but from the extra
numberic component in one of the versions.
* When one version has fewer elements, it's extended by another (0, None)
element where 0 means numeric component. Then the result cannot be
decided by comparing the types (oa < ob, ob > oa) and it continues
to compare values (ca < cb) which fails when one of them is the None
from (0, None) appended before.
======================================================================
ERROR: test_vercmpstring (bb.tests.utils.VerCmpString)
----------------------------------------------------------------------
Traceback (most recent call last):
File "lib/bb/tests/utils.py", line 32, in test_vercmpstring
result = bb.utils.vercmp_string('1a', '1a1')
File "lib/bb/utils.py", line 131, in vercmp_string
return vercmp(ta, tb)
File "lib/bb/utils.py", line 123, in vercmp
r = vercmp_part(va, vb)
File "lib/bb/utils.py", line 112, in vercmp_part
elif ca < cb:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
----------------------------------------------------------------------
Ran 3 tests in 0.002s
(Bitbake rev: 9767fffe3115a1f1afa3c6a2b39720fefb8dc4d5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
t6001-psep should check for device manager the same way as
other ptests for parted -- look for an environment variable.
(From OE-Core rev: c724a2feaef9030718742c02cb7da5a976e6b6e4)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enabling PGO for python current causes it to not be reproducible when
building, so disable it for now.
(From OE-Core rev: e53ebf297c86bba727e075c44c595beb061dbfc8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Follow the python3 behaviour, and common sense, by making 'python' install
python-modules instead of python-core. This means a user installing python gets
all of Python, instead of just a fraction of the library.
[ YOCTO #13402 ]
(From OE-Core rev: 778a6b4bf6aa9d0941d52ee05e14b061b659b3df)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When build lib32-qemu for qemumips with multilib:
require conf/multilib.conf
MACHINE = "qemumips64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "mips"
it fails to compile capstone:
| CC arch/AArch64/AArch64InstPrinter.o
| {standard input}: Assembler messages:
| {standard input}:36033: Error: branch out of range
| {standard input}:36257: Error: branch out of range
Disable capstone for mips o32 in this situation as a workround.
(From OE-Core rev: d741ebf346f265e331722369c8260a0a7af9e8e2)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The 2.6 release contains both libcrypt.so.1 and libcrypt.so.2 which fixes
compatibility with recent fedora/suse releases.
The difference is one is built with obsolete APIs enabled and one disabled.
We now ship both in uninative for compatibility regardless of which distro
a binary is built on.
(From OE-Core rev: 71ae975c49881174c2cb2a07c66e8468a27e7ac1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed do_configure error when use linux-dummy:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
/bin/sh: bison: command not found
Build make-mod-scripts doesn't make sense when use linux-dummy, but it breaks
"bitbake world", so add bison-native to DEPENDS to fix the problem.
(From OE-Core rev: 4301d533512669834282a6ba43ae8e266a79fe22)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
PREFERRED_PROVIDER_virtual/kernel = "linux-dummy"
$ bitbake world
ERROR: Task do_compile in make-mod-scripts_1.0.bb depends upon non-existent task do_compile_kernelmodules in linux-dummy.bb
ERROR: Command execution failed: Exited with 1
(From OE-Core rev: 2e8687174e399bb42e935cd74e08e0da67775704)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some package such as vim depends on iconv.
Without iconv, vim-common which is the
sub-pakcage of vim may include different files
as failed to use iconv to generate the *.po file.
(From OE-Core rev: a7d3650e346e8a6c2c27c567c4c0bf6a47b47317)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The comment is misleading and there was confusion in a bug report. In the native
case STAGING_DATADIR would be equal to the native value so there isn't any issue
but tweak the comment.
[YOCTO #12761]
(From OE-Core rev: 0fdf76305a3cb543c23d6122c523ce5c2af04a0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These tmp paths end up in the test names making it hard to compare test runs
so filter them out, they're not useful for our purposes.
(From OE-Core rev: dc47b3855d03af962bab176c7aed9bd47426b419)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to libxcrypt revealed a missing dependency in the openssh recipe.
(From OE-Core rev: 0fd0a1b1f733a8d9978d64fa23e9d083a716de87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The output format for Python and GLib both can be of this form:
FAIL: foobar (Segmentation fault)
In this case the test is called foobar not foobar_segmentation_fault.
(From OE-Core rev: 0219e9bd0273661b4b70df97e5762f77b3ac3e8c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the NVD json CVE feed, affected versions can be strictly matched to a
version, but they can also be matched with the operator '<='.
Add a new condition in the sqlite query to match affected versions that
are defined with the operator '<='. Then use LooseVersion to discard all
versions that are not relevant.
(From OE-Core rev: 3bf63bc60848d91e90c23f6d854d22b78832aa2d)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cve-check-tool-native do_populate_cve_db task was using deprecated NVD
xml data feeds, cve-update-db uses NVD json data feeds.
Sqlite database schema was updated to take into account CVSSv3 CVE
scores and operator in affected product versions.
A new META table was added to store the last modification date of the
NVD json data feeds.
(From OE-Core rev: 546d14135c50c6a571dfbf3baf6e9b22ce3d58e0)
Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patch, and a patch where upstream took care of the issue.
(From OE-Core rev: 35bd7de678223f48443bddbeed4f4640534805a4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnewt-python was including libnewt recipe and adding tweaks, which is bad form.
It also broke AUH, as it won't update more than one recipe in a single
transaction.
(From OE-Core rev: 282b744f46c5c058966836130084e300030d419e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This avoids sstate/uninative relocation issues where a binary was built against
a system with libcrypt.so.1 or libcrypt.so.2 and then run on the opposite by
ensuring both libraries are in uninative.
(From OE-Core rev: 6089bfbc059c8bebb63ae6b0bafe8fe035548ac0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a recipe which is able to build the obsolete APIs. This is mainly
to support uninative which needs to have both the new and obsolete APIs
available to support the different host combinations.
(From OE-Core rev: ad83f35c012e84dc8d2d27e02a4847568b4f3f35)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we have a fair amount of control of what we build in OE we can disable the obsolete
APIs which is what most distros are doing at this point.
This causes the library version to bump from 1 to 2.
(From OE-Core rev: 641529503a4bce628327855dc4769b0e57a9cb1d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building x86->x86 the system will try to execute .so and related items
from the default PYTHONPATH. This will fail if the target CPU contains
instructions that the host CPU does not have, add CROSSPYTHONPATH
into PYTHONPATH so we can prepend the list to find correct libs.
Fixes:
Illegal instruction (core dumped)
Makefile:625: recipe for target 'sharedmods' failed
make: *** [sharedmods] Error 132
make: *** Waiting for unfinished jobs....
(From OE-Core rev: 2106a567820bad438ff78d54a49e3d87da428dcf)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes:
File "/workdir/build/tmp/work/dbfp4-poky-linux/qv4l2/1.17.0+gitAUTOINC+95f39aae48-r0/recipe-sysroot-native/usr/lib/python3.7/site-packages/mesonbuild/dependencies/base.py", line 574, in _call_pkgbin
cache[(self.pkgbin, targs, fenv)] = self._call_pkgbin_real(args, env, use_native)
File "/workdir/build/tmp/work/dbfp4-poky-linux/qv4l2/1.17.0+gitAUTOINC+95f39aae48-r0/recipe-sysroot-native/usr/lib/python3.7/site-packages/mesonbuild/dependencies/base.py", line 556, in _call_pkgbin_real
cmd = self.pkgbin.get_command() + "-native" + args
TypeError: can only concatenate list (not "str") to list
(From OE-Core rev: f7a470531d4bcc2888cbb9a7b197b86174f3aba2)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade rng-tools from 6.6 to latest commit 9fc873c which 26 commits
beyond release 6.7:
$ git describe 9fc873c5af0e39263
v6.7-26-g9fc873c
Because it includes some critical fixes such as configure fails and
'Import yocto fixes for 6.6'.
* remove local patches that all are merged by upstream
* backport patch to fix rngd fails to stop issue
* add PACKAGECONFIG libp11
(From OE-Core rev: 3e09c8b5b6517da97a9ec0ce5deb4ba1b066d19b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Debian traditionaly uses /usr/bin/pager as the system pager, which is a
link to the user preferred pager. This is a Debianism.
Without this patch:
root@qt5122:~# dpkg -l
sh: pager: command not found
dpkg-query: error: showing package list on pager subprocess returned error exit status 127
(From OE-Core rev: 580d7f3325af0569239cdd9757ca77fbe6f29146)
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Glib's build looks for the 'env' binary and embeds that path into the test
script, but thanks to hosttools this is /path/to/tmpdir/hosttools/env.
Fix this by hardcoding the path to env in the cross file.
Also as the cross file is only used in target builds only add it to SRC_URI for
target builds, so that changes to the cross file don't cause a rebuild of
glib-2.0-native.
(From OE-Core rev: 05c9fb5a026e3006a1fc037f957cb4341fb55030)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since wpa-supplicant is provided,
the database of permitted frequencies should also be provided.
wireless-regdb-static should be used with kernel >= 4.15.
wireless-regdb can be used with older kernels and is mostly
irrelevant here, but keeping it in meta-networking would
create needless recipe duplication.
This package was previously in meta-networking.
(From OE-Core rev: 00c5a665b48c830a0008139b7ae1a51e79b72bb5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since 1522f09a4d serf: cleanup recipe
serf.do_install fails in builds with multilib enabled (with
libdir=/usr/lib64 on host where /usr/lib64 doesn't exist)
DEBUG: Executing shell function do_install
scons: Reading SConscript files ...
PermissionError: [Errno 13] Permission denied: '/usr/lib64':
File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 158:
ENV = os.environ,
File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Environment.py", line 965:
variables.Update(self)
File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/__init__.py", line 227:
option.validator(option.key, env.subst('${%s}'%option.key), env)
File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/serf-1.3.9/SConstruct", line 60:
return PathVariable.PathIsDirCreate(key, val, env)
File "/TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/bin/../../usr/lib/python3.7/site-packages/SCons/Variables/PathVariable.py", line 101:
os.makedirs(val)
File "TOPDIR/BUILD/work/qemux86-signage-linux/serf/1.3.9-r0/recipe-sysroot-native/usr/lib/python3.7/os.py", line 221:
mkdir(name, mode)
ERROR: scons install execution failed.
* I don't know how exactly --install-sandbox is supposed to work but
in this case it's trying to mkdir /usr/lib64 on the host rootfs
which is clearly wrong and if I set LIBDIR together with
--install-sandbox then the install paths are prefixed with $D twice
in some cases (not for includedir and empty libdir at the end).
So in the end I think it was an issue caused by the custom path
validator in serf's SConstruct, removing that stops touching host
and the installed paths (including the paths inside libserf*.pc)
look correct
(From OE-Core rev: 7ce8b1bc510cfe8b013430a3826ece6878d8568e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to boot nfs root with systemd that systemd-networkd
re-configures wired network and breaks the connection with nfs root.
(From OE-Core rev: 2abfbf186989223d5d256c25e0b52b02f29d5bfb)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The include is split ready to add the 32-bit RISC-V machine as soon as
glibc supports 32-bit RISC-V.
This is based on the work in the meta-riscv layer, thanks to Khem for
starting this.
(From OE-Core rev: 11b6020dff4550fc3a42e04bc1e86baf37942c62)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is used as a bootloader for RISC-V QEMU machines.
(From OE-Core rev: 112ca2174dd97f5ca9ea25f83007d44054abc487)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a libffi patch to add RISC-V support.
(From OE-Core rev: 24f4b2a8f2a0ed52fd791a5c393dea7d02f45116)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow plugin bootimg-efi to configure with multiple initrd
through source parameter.
Uses ; to separate each initrd.
e.g:
--sourceparams="loader=${EFI_PROVIDER},initrd=initrd1;initrd2"
(From OE-Core rev: c7b0823f9ab6a9959aaa809b8c3f70d199feb64d)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from lttng-ust_2.10.3.bb to lttng-ust_2.10.4.bb.
-lttng-ust/0001-compat-work-around-broken-_SC_NPROCESSORS_CONF-on-MU.patch
Removed since this is included in 2.10.4
(From OE-Core rev: dc25e9525495e00940da7716cbba6bca96423acd)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add libperl.so.5 to DUMMY_PROVIDES to avoid do_rootfs failure like
below.
Error:
Problem: package postgresql-11.3-r0.core2_32 requires libperl.so.5, but none of the providers can be installed
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.30.0-r0.core2_32
package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl-module-strict provided by perl-5.30.0-r0.core2_32
This problem could be reproduced by add 'postgresql' to IMAGE_INSTALL
and then `bitbake core-image-minimal -c populate_sdk'.
(From OE-Core rev: 8a21559bd49feba6288ad02d928daed6c736df3d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libevent_2.1.8.bb to libevent_2.1.10.bb.
-libevent/0001-test-fix-32bit-linux-regress.patch
Removed since this is included in 2.1.10.
(From OE-Core rev: 40ea686112e4def38363edb4a5b1cec2692e34da)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default logrotate uses 'dateext' in logrotate.conf which results in a
date string being appended at the end of log name. In cases when a test
that installs configuration in logrotate.d is executed first (dnf for
example), it might result in errors when logrotate test is executed:
error: destination /var/log/dnf.librepo.log-20190528 already exists, skipping rotation
error: destination /var/log/dnf.rpm.log-20190528 already exists, skipping rotation
error: destination /var/log/hawkey.log-20190528 already exists, skipping rotation
Tweak the test to use it's own temporary configuration that doesn't
enable dateext.
Fixes [YOCTO #13363]
(From OE-Core rev: d0a30c1c57edc9a724658e2ed312b34eed3af5a9)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SDK was unable to find the C++ header pieces correctly since it's
using a generic compiler, not one specifically targeting the multilib
vendor prefix and default tune. This adds the right mapping to ensure
SDKs work as expected. And fix problem in below configurations:
multilib configuration 1:
MACHINE="qemumips64"
MULTILIBS ?= "multilib:lib32 multilib:libn32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "mips"
DEFAULTTUNE_virtclass-multilib-libn32 ?= "mips64-n32"
MULTILIB_GLOBAL_VARIANTS_append = " libn32"
require conf/multilib.conf
ignoring nonexistent directory "<path>/sysroots/mips64-poky-linux/usr/include/c++/8.2.0/mips64-poky-linux/32
multilib configuration 2:
MACHINE="qemumips64"
MULTILIBS = 'multilib:lib64 multilib:lib32'
DEFAULTTUNE = 'mips64-n32'
DEFAULTTUNE_virtclass-multilib-lib64 = 'mips64'
DEFAULTTUNE_virtclass-multilib-lib32 = 'mips32r2'
require conf/multilib.conf
For this configuration:
for target gcc-runtime, need to create symlink like mips64-poly-linux --> mips64-poky-linux-gnu32
for target lib64-gcc-runtime, need to create symlink like mips64-poly-linux/32 --> mips64-pokymllib64-linux
in order to avoid conflict during populate_sdk, create symlink for subfoler bits/ext for target gcc-runtime,
this is ugly, but seems no better way to cover all kinds of configuration.
single lib configuration:
MACHINE="qemumips64"
DEFAULTTUNE = "mips64-n32"
(From OE-Core rev: b071a1a209556158bcfcc20e3c8bd4b15373767c)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix bug as following on aarch64BE:
Error: operand 1 must be an integer register -- `rev v31.16b,v31.16b'
(From OE-Core rev: f29572f70a89fd88ab3898d334c126422b66755c)
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* just to make sure it's expaned by bitbake before it gets
executed in shell
* e.g. with cmake.bbclass and cmake recipe (any recipe without
PACKAGECONFIG options have this issue) it looks like this:
bitbake -e cmake | grep EXTRA_OECMAKE=
EXTRA_OECMAKE=" -DCMAKE_DOC_DIR=share/doc/cmake-3.14
-DCMAKE_USE_SYSTEM_LIBRARIES=1 -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0
-DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0
-DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 -DKWSYS_CHAR_IS_SIGNED=1
-DBUILD_CursesDialog=0 -DKWSYS_LFS_WORKS=1
\${PACKAGECONFIG_CONFARGS}"
(From OE-Core rev: 745b63f4e11a6536cabd97013973562631a0e080)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script needs to be executable so the service doesn't
fail.
(From OE-Core rev: 1b93bc3857b352394abd652ef83f1081298b7a5b)
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Just like libsdl, we can rip out the sdl2-config script from the sysroot as
pkg-config is preferrable.
(From OE-Core rev: 8d93fc236a72cb1bb0e713c4fc5b73e65ede6f53)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If we're going to clean buildpaths from installed .la files then we should do it
globally, not in a class that only six recipes in oe-core use.
(From OE-Core rev: bd4e2cd3f70243f52215f8c92bcd7eb088a9b9f6)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of reporting large chunks of the work directory and not the package
name:
"File /work/corei7-64-poky-linux/libidn2/2.2.0-r0/packages-split/libidn2-dev/usr/lib/pkgconfig/libidn2.pc in package contained reference to tmpdir"
We can clean up the paths and be more useful:
"File /usr/lib/pkgconfig/libidn2.pc in package libidn2-dev contains reference to TMPDIR"
(From OE-Core rev: 156329247b40e9ee97e6249468ac3b9af4dffb68)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Even if SYSTEMD_AUTO_ENABLE is set to "enable", the service is never
activated by systemd. The cause is the postinst function in the recipe:
pkg_postinst_${PN} () {
if [ -n "$D" ]; then
exit 0
fi
if [ -e /etc/init.d/populate-volatile.sh ]; then
/etc/init.d/populate-volatile.sh update
fi
}
This generates with activated systemd the following postinst script:
set -e
if [ -n "$D" ]; then
exit 0
fi
if [ -e /etc/init.d/populate-volatile.sh ]; then
/etc/init.d/populate-volatile.sh update
fi
OPTS=""
if [ -n "$D" ]; then
OPTS="--root=$D"
fi
if type systemctl >/dev/null 2>/dev/null; then
if [ -z "$D" ]; then
systemctl daemon-reload
fi
systemctl $OPTS enable sysstat.service
if [ -z "$D" -a "enable" = "enable" ]; then
systemctl --no-block restart sysstat.service
fi
fi
Due to the exit statement, systemctl is never called and the service is
never enabled in rootfs.
Invert the logic for the check to let run the rest of postinst script.
(From OE-Core rev: 24ccfd80edb74871d0d69ddbe83c358f04ac0844)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
TOOLCHAIN_OUTPUTNAME could be overridden. So use this variable directly
instead of its default value ${SDK_NAME}-toolchain-${SDK_VERSION}.
(From OE-Core rev: 35a13468f551fff6305ba1ebbcb5dd28e99ec050)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* especially when pushing longer history to slow remote git server or when
it timeouts during the push, it's useful to see where the time was actually
spent
(From OE-Core rev: 96f1225d47985d94d9ed91eb5e7affdd70671c79)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original BSP qemuarm has been renamed to qemuarmv5. Update the machine
overrides accordingly to avoid not generating dtb.
(From OE-Core rev: a1ac097686daf0769e7ff94ff2c8795e1e8ae790)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A configure error occurs when /bin/sh -> dash:
checking for is_selinux_enabled in -lselinux... yes
checking for semanage_connect in -lsemanage... yes
configure: 16322: test: yesyes: unexpected operator
Use "=" instead of "==" since dash doesn't support the latter.
(From OE-Core rev: a86da25d620aa9a2fd832ffe12816e7670b43633)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-Revert-Return-correct-error-number-in-ubi_get_vol_in.patch is upstreamed
* Add "crypto" PACKAGECONFIG for UBIFS crypto features
* One extra commit after 2.1.0 release tag is pulled in to fix openssl error
when "crypto" PACKAGECONFIG is not enabled:
| In file included from ../git/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:25:
| ../git/ubifs-utils/mkfs.ubifs/mkfs.ubifs.h:49:10: fatal error: openssl/rand.h: No such file or directory
| #include <openssl/rand.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| Makefile:3457: recipe for target 'ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o' failed
| make: *** [ubifs-utils/mkfs.ubifs/mkfs_ubifs-mkfs.ubifs.o] Error 1
(From OE-Core rev: 917050ccb750d01a793c053d4b2e0e59723d2e07)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add runtime and ptest dependencies
* Add own run-ptest, since we need to run blib
License-Update: License lines moved up in README
Upstream release notes:
0.4229 - Tue Apr 16 00:49:45 CEST 2019
- Released 0.42_28 without changes
0.42_28 - Thu Apr 19 16:34:32 CEST 2018
- Replace "MOTIVATIONS" section with "COMPARISON" [Dan Brook]
- Update configure, build, test prereqs [Karen Etheridge]
0.4227 - Wed Dec 13 11:17:51 CET 2017
- Released 0.42_26 without changes
0.42_26 - Wed Dec 13 10:52:39 CET 2017
- Improve pureperl-only support (#119914) [Shoichi Kaji]
- Improve the documentation of Module::Build::Compat and dynamic_config [Dan Brook]
(From OE-Core rev: f9ffeab5caa4eafc57692a90f58ff2ef34153884)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Sort ptest dependencies alphabetically
Upstream release notes:
1.02 14 Jun 2019 Grant McLean
- Spelling fixes (patch from Ville Skyttä)
- Add repo location to metadata (patches from Ville Skyttä & Martin McGrath)
- Reorganise module files under lib/XML
- Regenerate MANIFEST using 'make manifest' to include missing test files
(From OE-Core rev: 2bd3e9b1aa7bf550564484df842a8a6f89b73497)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* File::Spec::Unix runtime depends on Cwd and constant
* Module::Metadata runtime depends on version
* CPAN::Meta runtime depends on Parse::CPAN::Meta and JSON::PP
* ExtUtils::MakeMaker runtime depends on ExtUtils::MM_Unix
* TAP::Base runtime depends on TAP::Object
* TAP::Parser::SourceHandler::Perl runtime depends on
TAP::Parser::SourceHandler::Executable
* TAP::Harness runtime depends on TAP::Formatter::File
* TAP::Formatter::File runtime depends on TAP::Formatter::Session
and TAP::Formatter::Base
* Many TAP::Harness::* dependencies
* POD::Simple::Transcode runtime depends on POD::Simple::Transcode{dumb,smart}
(From OE-Core rev: c80176774f675c1f48353dfd93942c6b60cbea82)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed in "Selecting an Initialization Manager" section.
Extraneous word needed removed.
(From yocto-docs rev: ab97d36299a7a648bc3f3325175d8ab633ad2d1a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
I updated the "Source Control Managers (Optional)" section
to reference the "Fetchers" section in the BB manuual.
(From yocto-docs rev: 0c014fba509d3ec28236e63a7bd2355b447c4acf)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I provided a general link to the wiki on npm software.
Also, updated the section to point to the new section on how to
create NPM packages, which is in the dev-manual.
(From yocto-docs rev: 03fd635d06d64a53ad00196919350a45942731ce)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added the "Creating node package manager (NPM) packages
section link to the list. Also, made some edits to make
the capitalization consistent in the list items.
(From yocto-docs rev: d3e345cd3f44e9588c5fe8f0560e1859df0ff496)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newly created section on how to create NPM packages
required a figure. I added the figure to both the dev-manual
and mega-manual tarballs creation areas.
(From yocto-docs rev: 5109274d107b6d3ae6be3f71a20379cb6abb39d6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
This is a new section in the development tasks manual that describes
how to create Node Package Manager (NPM) packages. I put the
section in the "Working with Packages" section.
(From yocto-docs rev: d7acd9f27418d414854d25bb27842407edfe7dda)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Check existence of all the bblayer direcotories at once and print them
all, so if there are multiple nonexistent directories, user does not
have to correct bblayers.conf and restart bitbake multiple times.
[YOCTO #11647]
(Bitbake rev: 19291f7c4d17086ebb6a7b80c3cb06333d7fd55b)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was moved during the perl cleanup, it can/should be moved back now as
its confusing too many people.
(From OE-Core rev: ce69c21707aa19ab8a3f6c07dc5a560671ab53a4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AArch64 images are not self-decompressing, thus usually much larger.
Boot times can be reduced by compressing them in FIT and uImages.
(From OE-Core rev: a725d188b5d6b5d3c5cf21cc2f3070a0fe711e18)
Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It fails to run ptest case test_shlibload which requires libcrypto.so
and libssl.so with version numbers now.
(From OE-Core rev: 728cd93f45096a1ba0997b3812504d27194b1b49)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The execscript test in bash fails when run with ptest-runner calling
'su', with the error:
bash: cannot set terminal process group (16036): Inappropriate ioctl for device
Even with ptest-runner fixed to make a child process use the right
process group, 'su' still results in the warning above. Use 'setpriv'
instead. 'runuser' was considered and works but depends on pam so it's
ruled out.
Now that all bash tests are run as a user, the patch:
fix-run-coproc-run-heredoc-run-execscript-run-test-f.patch
can be removed. Also to create the account 'bashtest' in the
'run-ptest' script the bash-ptest must depend on 'shadow'. Also,
in 'run-ptest', ensure that the bash ptests are owned by the 'bashtest' user.
Add 'sed' as a dependency for ptests since tests/exp8.sub runs:
var=$'x\001y\177z'
declare -p var | sed -n l
and that results in:
sed.busybox: ""
sed.sed: declare -- var="x\001y\177z"$
This appears to be a feature that busybox sed has not implemented.
With this series of changes, bash-ptest for qemux86-64 passes
79 of 81 tests. The remaining failures are:
1. run-read:
# cat tests/read6.sub
# test read with a timeout of 0 -- input polling
# sleep with fractional seconds argument is not universal
echo abcde | { sleep 0.25 2>/dev/null ; read -t 0; }
echo $?
read -t 0 < $0
echo $?
read -t 0
echo $? <-- returns 1, when 0 is expected.
I can reproduce this on my workstation but only when using ptest-runner
and initially logging into the console as root. That's a little odd and
seems like I need to continue to improve ptest-runner.
2. run-trap:
# cat tests/trap3.sub
PS4='+[$LINENO] '
trap 'echo trap: $LINENO' ERR
set -x
echo 1
echo 2
echo 3 | cat | false <--- error
echo 4
This is a scheduler behaviour difference between the common case
on a workstation and the common case in qemu. The test case does
warn about the completion order not being deterministic so I plan
to ignore it.
>From tests/run-trap:
UNIX versions number signals and schedule processes differently.
If output differing only in line numbers is produced, please
do not consider this a test failure.
Still, it's notable and slightly odd that the common case output
is different.
(From OE-Core rev: 81e3f01867cf114b728ab5a417c29426c9bf8122)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running the run-execscript bash ptest as a user rather than root, a warning:
bash: cannot set terminal process group (16036): Inappropriate ioctl for device
bash: no job control in this shell
contaminates the bash log files causing the test to fail. This happens only
when run under ptest-runner and not when interactively testing!
The changes made to fix this include:
1. Get the process group id (pgid) before forking,
2. Set the pgid in both the parent and child to avoid a race,
3. Find, open and set permission on the child tty, and
4. Allow the child to attach to controlling tty.
(From OE-Core rev: 83795a83505a311058130c662ff3342b0e39e67f)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux's setpriv needs the libcap-ng library but
not the python package so split the package up to enable
this without a dependency loop.
(From OE-Core rev: 9592b318ccd6a8dca60d1060c8255ed8e62ef046)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Enable the setpriv utility for targets only. It will be used in
the run-ptest script for bash and perhaps other packages where
the ptest code is expected to run as a user.
setpriv uses libcap-ng which doesn't build natively so disable
it for native* builds. Also, busybox has a setpriv implementation
so ensure that setpriv adheres to the alternatives scheme.
(From OE-Core rev: 587ba5f4bef18e8260fe671bd2e303140369a5e5)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current codes to skip test cases are logically correct, but they
do not work correctly in reality. It does skip the tests as the command
line argument specifies, but the related information is wrong.
e.g.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:24:53,764 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:25:06,309 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:25:06,310 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:25:06,312 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:25:10,521 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:25:10,522 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:25:10,522 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,522 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
2019-06-17 09:25:10,523 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:25:10,523 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "runtime_test"'
2019-06-17 09:25:10,523 - oe-selftest - INFO - Skip by the command line argument "runtime_test"
The archiver.Archiver.xxx tests should be skipped by 'archiver' command line
argument, not 'runtime_test'.
Change to use a function generator to achieve the desired effect. After the change,
the effect is as follows.
$ oe-selftest -R archiver bblayers runtime_test
2019-06-17 09:19:06,223 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it
2019-06-17 09:19:19,598 - oe-selftest - INFO - Adding layer libraries:
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-yocto-bsp/lib
2019-06-17 09:19:19,599 - oe-selftest - INFO - /buildarea5/chenqi/SWAT/poky/meta-selftest/lib
2019-06-17 09:19:19,602 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea5/chenqi/SWAT/poky/build-selftest/conf/local.conf
2019-06-17 09:19:24,368 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_allows_to_filter_on_recipe_name (archiver.Archiver)
2019-06-17 09:19:24,369 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,369 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,369 - oe-selftest - INFO - test_archiver_filters_by_type (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,370 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,370 - oe-selftest - INFO - test_archiver_filters_by_type_and_name (archiver.Archiver)
2019-06-17 09:19:24,370 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,371 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,371 - oe-selftest - INFO - test_archiver_srpm_mode (archiver.Archiver)
2019-06-17 09:19:24,371 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "archiver"'
2019-06-17 09:19:24,372 - oe-selftest - INFO - Skip by the command line argument "archiver"
2019-06-17 09:19:24,372 - oe-selftest - INFO - test_bitbakelayers_add_remove (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,373 - oe-selftest - INFO - Skip by the command line argument "bblayers"
2019-06-17 09:19:24,373 - oe-selftest - INFO - test_bitbakelayers_createlayer (bblayers.BitbakeLayers)
2019-06-17 09:19:24,373 - oe-selftest - INFO - ... skipped 'Skip by the command line argument "bblayers"'
2019-06-17 09:19:24,374 - oe-selftest - INFO - Skip by the command line argument "bblayers"
[snip]
(From OE-Core rev: 50004f431a71c71af4acf0f25403fee5a8447eab)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git based recipe is for those who want to build lttng-modules with bleeding
edge kernel, to avoid regularly backporting patches from upstream.
Note that PREFERRED_VERSION needs to be set to select the git recipe instead of
the tar ball one.
(From OE-Core rev: 18dd8e719f7c845d7e4bb1148ef6adad80a9493e)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pointer arithmatic results in implementation defined signed integer
type, so that 'd - dst’ in strlcat may trigger signed overflow if
pointer ‘d’ is near 0x7fffffff in 32 bits system. In case of ompilation
by gcc or clang with -ftrapv option, the overflow would generate
program abort.
(From OE-Core rev: 1c4b8d797c76a08ebd1658066e9d32972b6abe58)
Signed-off-by: hguo3 <heng.guo@windriver.com>
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the latest gtk-doc release the gstreamer1.0-libav documentation fails to
build:
| gst-libav-plugins-docs.sgml:38: element include: XInclude error:
| could not load xml/tree_index.sgml, and no fallback was found
For the short term we can just disable the documentation. The next upstream
release of gstreamer1.0-libav doesn't use gtk-doc anyway.
(From OE-Core rev: 27744ad292c9d7e57ebcf7c3c30acbd85aac77a4)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The upgrade from 5.28 to 5.30 caused acl's ptests to fail. The issue is
that the new function changes the endptr to the end of the scanned number
and this now needs to be reset to the end of the string for each iteration
of the loop.
[YOCTO #13391]
(From OE-Core rev: c1c4907f0e548564e6744fef1cb93c74bd330c55)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously the subprocess command to run dtc was not properly displaying
the error on console. Combining stderr into stdout for the dtc subprocess
so the actual error can be seen on console without having to open the
do_compile log.
For example, previously on a dtc error, just the following stack trace
and dtc command was being shown on console:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:devicetree_do_compile(d)
0003:
File:
function: devicetree_do_compile
0127: if not(os.path.isfile(dtspath)) or
not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
0128: continue # skip non-.dts files and non-overlay
files
0129: except:
0130: continue # skip if can't determine if overlay
*** 0131: devicetree_compile(dtspath, includes, d)
...
Exception: subprocess.CalledProcessError: Command '['dtc', '-R', '8',
'-b', '0', '-p', '0x1000', '-i', '${INCLUDES}, '-o', 'system-top.dtb',
'-I', 'dts', '-O', 'dtb', 'system-top.dts.pp']' returned non-zero exit
status 1
with this patch, the actual error from the dtc command will be appended
like the following:
Subprocess output:
Error: Label or path not found
FATAL ERROR: Syntax error parsing input tree
(From OE-Core rev: 1da43a558ffd5040a1b5aaebfc1c5118f5e59c01)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Match only the first line and match even if the line says python3.
Otherwise we end up with multiple 3s at the end after multiple
invocations of do_install on same source.
(From OE-Core rev: 144c6c7183dd2b32c65edf325038eb84683a28f8)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building `systemd-resolve` from systemd 242 with OpenSSL 1.1.1c and enabling
DNS over TLS ends up calling abort (on 32 bit armhf):
Program terminated with signal SIGABRT, Aborted.
#0 __libc_do_syscall () at libc-do-syscall.S:49
49 libc-do-syscall.S: No such file or directory.
(gdb) where
#0 __libc_do_syscall () at libc-do-syscall.S:49
#1 0xb6940ea4 in __libc_signal_restore_set (set=0xbec68b78) at ../sysdeps/unix/sysv/linux/internal-signals.h:84
#2 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:48
#3 0xb69336e0 in __GI_abort () at abort.c:79
#4 0xb6968428 in __libc_message (action=action@entry=do_abort, fmt=<optimized out>) at ../sysdeps/posix/libc_fatal.c:181
#5 0xb696c7e6 in malloc_printerr (str=<optimized out>) at malloc.c:5352
#6 0xb696ca1a in munmap_chunk (p=<optimized out>) at malloc.c:2840
#7 0xb6bd1c4a in CRYPTO_clear_realloc (str=0xd0e59a, old_len=388, num=<optimized out>, file=0xb6c300dc "../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c", line=135)
at ../../../../../../workspace/sources/openssl/crypto/mem.c:290
#8 0xb6b5da3a in BUF_MEM_grow_clean (str=0xcfb960, len=len@entry=393) at ../../../../../../workspace/sources/openssl/crypto/buffer/buffer.c:135
#9 0xb6b486a0 in mem_write (b=0xcf8300, in=0xd07c6b "\027\003\003", inl=24) at ../../../../../../workspace/sources/openssl/crypto/bio/bss_mem.c:235
#10 0xb6b45c86 in bwrite_conv (bio=<optimized out>, data=<optimized out>, datal=<optimized out>, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_meth.c:77
#11 0xb6b452d4 in bio_write_intern (written=0xbec68ec8, dlen=24, data=0xd07c6b, b=0xcf8300) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:343
#12 bio_write_intern (b=0xcf8300, data=0xd07c6b, dlen=24, written=0xbec68ec8) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:320
#13 0xb6b455b2 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=<optimized out>) at ../../../../../../workspace/sources/openssl/crypto/bio/bio_lib.c:363
#14 0xb6cabd1a in ssl3_write_pending (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", len=len@entry=2, written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1146
#15 0xb6cac72e in do_ssl3_write (s=s@entry=0xcfd2d8, type=type@entry=23, buf=buf@entry=0xcfcc28 "", pipelens=pipelens@entry=0xbec698b4, numpipes=numpipes@entry=1, create_empty_fragment=create_empty_fragment@entry=0,
written=written@entry=0xbec698b0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:1107
#16 0xb6cac92e in ssl3_write_bytes (s=0xcfd2d8, type=23, buf_=0xcfcc28, len=<optimized out>, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/record/rec_layer_s3.c:613
#17 0xb6cb1698 in ssl3_write (s=<optimized out>, buf=0xcfcc28, len=2, written=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/s3_lib.c:4460
#18 0xb6cb87b2 in ssl_write_internal (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2, written=written@entry=0xbec699c0) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1943
#19 0xb6cb8896 in SSL_write (s=<optimized out>, buf=buf@entry=0xcfcc28, num=num@entry=2) at ../../../../../../workspace/sources/openssl/ssl/ssl_lib.c:1957
#20 0x004ddac8 in dnstls_stream_write (stream=stream@entry=0xcfca60, buf=0xcfcc28 "", count=2) at ../git/src/resolve/resolved-dnstls-openssl.c:270
#21 0x004d8d5c in dns_stream_writev (s=s@entry=0xcfca60, iov=iov@entry=0xbec69b4c, iovcnt=iovcnt@entry=2, flags=flags@entry=0) at ../git/src/resolve/resolved-dns-stream.c:225
#22 0x004d9516 in on_stream_io (es=<optimized out>, fd=<optimized out>, revents=4, userdata=0xcfca60) at ../git/src/resolve/resolved-dns-stream.c:334
#23 0xb6e7f020 in source_dispatch (s=0xcf3658) at ../git/src/libsystemd/sd-event/sd-event.c:2821
#24 0xb6e806b0 in sd_event_dispatch (e=e@entry=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3234
#25 0xb6e807f6 in sd_event_run (e=0xced6d0, timeout=<optimized out>) at ../git/src/libsystemd/sd-event/sd-event.c:3291
#26 0xb6e809bc in sd_event_loop (e=0xced6d0) at ../git/src/libsystemd/sd-event/sd-event.c:3312
#27 0x004bb64c in run (argv=<optimized out>, argc=<optimized out>) at ../git/src/resolve/resolved.c:84
#28 main (argc=<optimized out>, argv=<optimized out>) at ../git/src/resolve/resolved.c:91
(From OE-Core rev: b11ddab19bc7c0ce35b95345181de8a708268472)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scons tries to get build time vars by loading sysconfigdata. Inherit
python3native instead of using host python and unset
_PYTHON_SYSCONFIGDATA_NAME to avoid the need to depend on target
python3 for sysconfigdata when using scons to build.
Avoids build errors on still supported CentOS 7:
| DEBUG: Executing shell function do_compile
| scons: *** SCons version 3.0.5 does not run under Python version
3.4.8.
| Python 2.7 or >= 3.5 is required.
(From OE-Core rev: 44f303ba9fb193a985e8e4b7c6962883ae3970d1)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Inherit scons bbclass and use the task definitions from there.
* Remove the DEPENDS on python3-scons-native that is already present in
scons class.
(From OE-Core rev: 1522f09a4dd21fef177d514cb4d37e94d140dd33)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. Run run-ptest at arbitrary path
2. Fix large-subopt.in1 not found
...
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in1:
No such file or directory
|diff: /lib32-diffutils/3.7-r0/build/../diffutils-3.7/tests/large-subopt.in2:
No such file or directory
...
(From OE-Core rev: 0f7ada89ef8ed65eee8ada5e766999af7771c2c8)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop 0001-opkg-build-do-not-set-mtime-on-data.tar.X.patch
- Drop 0001-opkg-list-fields-fix-to-print-the-fields-again.patch
(From OE-Core rev: 76a7f0d60f5dc38da15f21720cb97bf761562b44)
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running 'oe-selftest -r oescripts', the following error appeared.
cls.skipTest('Python module cairo is not present')
TypeError: skipTest() missing 1 required positional argument: 'reason'
This is because the host does not have the cairo python module installed.
Fix this problem by using unittest's SkipTest exception.
(From OE-Core rev: 785bb108ceb9dc137ec8d75d887b6a3869cbfb9c)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
util-linux ptest requires the scsi_debug module to perform eject/mount
tests. This will conditionally add scsi_debug module when ptest is in
DISTRO_FEATURES.
This doesn't include linux-yocto-tiny because the resulting image will
be too big and do_image would complain about this.
[YOCTO #13301]
(From OE-Core rev: 70a30872bd93cc058b05d9cf2b4f9334658629ee)
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The util-linux's ptest uses the SCSI_DEBUG kernel module to create
virtual SCSI disks. The automount feature of udevd will try to mount
these disks by default. Because udevd controls the mount of the disks,
the eject/mount tests will fail or be skipped. This change will stop
udevd before executing the util-linux's ptest and start the daemon
again after all the tests.
This is for eudevd only, systemd-udevd doesn't present this problem
because there are no automount rules.
[YOCTO #13301]
(From OE-Core rev: f7becf0b5743dfbee06b354a086dc553db2b1348)
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add bison-native to DEPENDS of qemu and qemu-system-native to fix
compile warning:
| BISON dtc-parser.tab.c
| make[1]: bison: Command not found
(From OE-Core rev: ef2592eb898b494cf61f1e0614bdcaf94ec103d0)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
rpm5.org has been down for about a year now. Use linuxfromscratch.org
as an alternative reliable source instead.
(From OE-Core rev: d9224014da9a512b1b8837e4e7a736d465c97be3)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in meta-oe but EFI is sufficiently widespread now that we need it in
core.
The recipe is based on the one in meta-oe but with several updates.
(From OE-Core rev: 275e5e7ecf4f79b7892ae35a47902188d9905bd0)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was in meta-oe but EFI is sufficiently wide spread now that we need it in
core.
The recipe is based on the one in meta-oe but with several updates.
(From OE-Core rev: 53fe0133432f62024850e87456292b044d1280ee)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this commit:
commit ad1db93d134db1ec4f6d6598c9741dc13e82e1f3
Author: Anuj Mittal <anuj.mittal@intel.com>
Date: Tue May 28 06:32:10 2019 +0800
Subject: Revert "pigz: pigz is not gzip"
pigz-native and nativesdk-pigz no longer installs pigz, unpigz, pigzcat,
so scripts explicitly depending on pigz-native and calling pigz started to fail.
* reverse the logic
- all the builds install pigz, unpigz, pigzcat
- only the native one installs it as gzip as well
* it could be optimized a bit more to create gzip as just a symlink
in native case as well, but they are in different directories
(pigz in base_bindir and gzip in bindir) and it's only 130kB..
(From OE-Core rev: 112deafd1c144d770b6ec0953911f2adc1cb30dd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
this commit will permit to read the option from
/etc/default/rng-tools both from systemd and sysvinit unit file.
(From OE-Core rev: 16ced1a253c74c01ca414db2f1a010c083213b91)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since UBOOT_DTB_BINARY empty means we don't need to inject signatures
into the U-Boot DTB, we can remove the dependencies between consumers of
these two classes and resolve a circular dependency between u-boot and
kernel.
(From OE-Core rev: c6b49cb75285e71909d1f9e4bf636f186941b519)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_install_ptest in recipe is covered by default function
in ptest.bbclass since inherit ptest write in wrong place,
fix it by move it to top.
(From OE-Core rev: d4ad8d95c60830ac4bd988314cd865c32d1ec4e0)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MACHINE set to qemux86-64
for lib32-core-image-sato, during do_rootfs, it will run
install_complementary, which will get localedir by
d.getVar("libdir"), without override, libdir will still be
lib64. add override to fix it.
(From OE-Core rev: 8ed0cf040abbfb0999ac92b59ca9b7067d340202)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The license files' names are changed, but the contents remain the
same. However, the LICENSE section of the recipe was wrong. This
upgrade change the 'BSD' part to 'BSD-3-Clause & BSD-4-Clause'.
(From OE-Core rev: 9bc68bcc79d9e2464b9b29f6bfde8322b65c09b9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With meta-micro, ${prefix} is the empty string. This means that
CMAKE_INSTALL_BINDIR:PATH and friends end up containing paths starting with
many instances of "../", presumably due to os.path.relpath attempting to
find its way to the current directory.
Let's avoid this by ensuring that the root path always ends in a slash. If
it already ends in a slash then adding another one shouldn't cause any
problems.
(From OE-Core rev: 67b19414c1c17f71f39c971b9f9fdd1f776516a1)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase 0003-Add-disable-opengl-configure-option.patch
and add another fix to it (g-introspection input file list assumes
opengl is always available).
(From OE-Core rev: e6ca80559f02a8a38272ae52c568053dde52ac9f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-loaders.cache-depend-on-loaders-being-fully-build.patch
as upstream has fixed the issue.
Add a patch to revert upstream's decision to not cross-compile
thumbnailer or tests.
(From OE-Core rev: 0598f66aa823ec4355284a0a40c3d125d6c5e0c9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One bug went unnoticed without these selftests: an INCOMPATIBLE_LICENSE
with a non-SPDX license for a package with that non-SPDX license wasn't
enforcing the denial of build for said package. See
4b6ce4604c ("meta: license: fix non-SPDX
license being removed from INCOMPATIBLE_LICENSE")
While adding a test for that particular case, let's add a few more so
that we cover a handful more use cases of INCOMPATIBLE_LICENSE.
(From OE-Core rev: 6c2ca52218c196e7ccf6b3275bffc3e3a04193c6)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current QA team need to merge test result files from multiple sources.
Adding TESTSERIES configuration too early will have negative
implication to report and regression. Enable control to add TESTSERIES
when needed. Also enable adding EXECUTED_BY configuration when
needed.
(From OE-Core rev: 651d8d371e78e77599d56681228d5782664f7743)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current results stored does not have information needed to trace who
executed the tests. Enable store to add EXECUTED_BY configuration
to results file in order to track who executed the tests.
(From OE-Core rev: dca2a57d54163a2e63b06e2f140fea3bd49cef0d)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current resultutils library always add "TESTSERIES" configuration
to results. Enhance this to allow control of adding "TESTSERIES"
configuration as well as allow adding extra configurations
when needed.
(From OE-Core rev: 443c0acc14ef2451b10878fc83dd11b46805daf0)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch originally only meant to correct the python3 build for mips
with softfloat, as the original test only checked for mips hardfloat.
Replaced custom C Program for triplet detection with autotools triplet
detection.
(From OE-Core rev: 203336486c84528e8779db93f64cc28e4b372aab)
Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have nose recipes for both Py2 and Py3, but they both want to ship the
unversioned nosetest binary. As Py2 is approaching EOL, remove the unversioned
binary from python-nose (leaving nosetest-2.7) instead of renaming the binary to
nosetest3 in python3-nose.
(From OE-Core rev: e22111a18a0f67fefd1800f67bd5e45637deaa60)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you have no BBMULTICONFIG set but set mcdepends, they're currently
ignored. We can handle them correctly with this small tweak.
(Bitbake rev: 578f0c02f6a13f4315e7c2ce8b5e876dd2025055)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A separate patch to base.bbclass (in poky) will add the OE_EXTRA_IMPORTS
variable. The contents are appended into OE_IMPORTS. This provides a
mechanism by which layers (in their layer.conf) can make custom progress
handlers available.
As a backup, individual recipes can inject progress handlers into
__builtins__.
Custom handlers are expected to have this __init__ signature:
def __init__(self, d, outfile=None, otherargs=None):
Recipes can then use the handlers like this:
do_task[progress] = "custom:mylayer.util.ProgressHandler[:args]"
The last part (everything after and including the second colon) is
optional. If provided, it is passed to HandlerClass's __init__ as
otherargs="args". Otherwise, otherargs=None.
(Bitbake rev: 20289d62c84c393990dd3deb0cca1b17c09092e6)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It seems context management support was half-implemented, but never
finished. For example, LogTee has __enter__ and __exit__ but they
haven't been exercised until now.
(Bitbake rev: bf522ad3e0c52cdb69b406226840d870ff4f2766)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package 'make-mod-scripts' creates files in 'kernel-build-artifacts/include/config'
which are removed by 'cleanall/cleansstate' of 'virtual/kernel'. And this causes the
below error while building out of tree kernel module:
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
Suggested-by: Jun Nie <jun.nie@linaro.org>
(From OE-Core rev: f79c95f6a883e999e0c2ecfd60b6b696b7595497)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The value of PACKAGE_EXTRA_ARCHS_tune-thunderx should be based on
PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto instead of armv8a-crc-crypto.
Otherwise we would get some sanity check error like this:
OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Error, the PACKAGE_ARCHS variable (all any noarch armv8a-crc-crypto thunderx qemuarm64) for DEFAULTTUNE (thunderx) does not contain TUNE_PKGARCH (aarch64)
(From OE-Core rev: 13cc0f7c0bd98ea228e9bdf51043117d38837ce7)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A non-SPDX license (which is not an alias to an SPDX license) cannot
currently be marked as incompatible in INCOMPATIBLE_LICENSE.
In the current state, we take all INCOMPATIBLE_LICENSE and pass them
through expand_wildcard_licenses which is only adding SPDX licenses that
match the glob regexp of what is in INCOMPATIBLE_LICENSE (be it a direct
match to an SPDX license or via an alias).
This does not work well with custom licenses.
E.g.:
foo.bb:
LICENSE = "FooLicense"
conf/local.conf:
INCOMPATIBLE_LICENSE = "FooLicense"
`bitbake foo`
Gives no warning, no error, builds and packages successfully, because
INCOMPATIBLE_LICENSE is basically empty since FooLicense is neither in
SPDXLICENSEMAP nor in SRC_DISTRIBUTE_LICENSES.
Let's add the original licenses to the list returned by
expand_wildcard_licenses to be able to handle the aforementioned case.
INCOMPATIBLE_LICENSE = "FooLicense GPLv2 GPLv3+" used to "resolve" to
"GPLv2 GPLv3". It now resolves to "FooLicense GPLv2 GPLv3 GPLv3+" which
fixes the issue with custom licenses not being in SPDXLICENSEMAP or
SRC_DISTRIBUTE_LICENSES and thus being left out of the blacklisted
licenses.
I needed to pass a list to expand_wildcard_licenses from the
license_image class instead of the current output of map() because the
operator [:] does not work on this kind of type, and list(map()) or
anything that iterates over map() actually moves the iterator and breaks
the forloop right after in expand_wildcard_licenses.
(From OE-Core rev: 2d976587d703462db2b7b78661b05ac22fb93787)
Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
replaced hardcoded kernel image with KERNEL_IMAGETYPE.
set kernel image to "bzImage" incase KERNEL_IMAGETYPE not set.
(From OE-Core rev: 88a9fef761c5e67b2964fedc85a7e8ad37067564)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
icecc preprocesses source files locally before shipping them off to be compiled
on remote hosts. This preprocessing removes comments, including /* fallthough */
comments in switch statements that normally prevent an implicit-fallthrough
warning, see https://github.com/icecc/icecream/issues/419
Rather than turning off -Werror, the upstream project has implemented a
configure option, --disable-werror, in response to Ross's
https://github.com/json-c/json-c/issues/489
This patch from
21c886534f
Upstream-Status: Backport [Not yet released]
(From OE-Core rev: c668b467415599cb95d93a231eb51d77137a57e4)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The action of "dhclient -x eth0" and "dhclient -r eth0" is
same when enable ENABLE_GENTLE_SHUTDOWN. Disable ENABLE_GENTLE_SHUTDOWN
that will use the default signal hander.
(From OE-Core rev: 8e5c85332f222efd5ffddaa9da9272c6e42881f5)
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As mentioned in upstream commit a2cf84afff,
"gstpythonplugin hardcodes the location of the libpython from the build
workspace and then fails at runtime."
In other words, PYTHON_LIB_LOC was set to the recipe-sysroot-native dir
in the gstreamer1.0-python workspace on the host. Overriding
PYTHON_LIB_LOC with /usr/lib by adding --with-libpython-dir=${libdir} to
EXTRA_OECONF to fix this issue.
The error that was seen is:
** (gst-plugin-scanner:2343): CRITICAL **: 23:08:18.327: Couldn't
g_module_open libpython. Reason: ${project}/build/tmp/work/${arch}/
gstreamer1.0-python/1.14.4-r0/recipe-sysroot-native/usr/lib/libpython3.5m.so:
cannot open shared object file: No such file or directory
The comment continues and says "it still fails because it looks for
a symlinked library ending in .so instead of the actually library with
LIBNAME.so.MAJOR.MINOR. Although we could patch the code to use the path
we want, it will break again if the library version ever changes."
This isn't the case anymore as the package is deploying
/usr/lib/gstreamer-1.0/libgstpython.cpython-37m-i386-linux-gnu.so, a
versionless so.
(From OE-Core rev: ac1d6d55e9cc647caf104e94465e32cf25647ad1)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add support for generating python3 recipes using the recipetool / devtool.
Drop python2 support at the same time.
Tested with:
oe-selftest -r recipetool.RecipetoolTest
[YOCTO #13264]
(From OE-Core rev: d8b2f58974482b3b1ccc65c5f93104d0d7ba87bc)
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wic images are handled as vmtype images. Starting qemu with "-kernel"
parameter and an image of type wic is not supported. Especially for
"-machine virt" the combination of wic with -kernel parameter would
be beneficial.
The new parameter QB_FSINFO allows to pass image type specific flags to
runqemu. QB_FSINFO is a space separated list of parameters. Parameters are
structured according to the following pattern: image-type:flag.
For now two parameters are supported:
- wic:no-kernel-in-fs
The wic image is treated as rootfs only image. A -kernel option is
passed to qemu.
- wic:kernel-in-fs
The wic image is treated as VM image including a bootloader and a
kernel. This is still the default behavior.
Example:
QB_DEFAULT_FSTYPE = "wic"
QB_FSINFO = "wic:no-kernel-in-fs"
QB_KERNEL_ROOT = "/dev/vda1"
QB_SYSTEM_NAME = "qemu-system-aarch64"
QB_MACHINE = "-machine virt"
...
[YOCTO #13336]
(From OE-Core rev: 2aa79a67affd22dfa37e4c2945c6ab0c86321f98)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows "multiconfig:" targets to continue to work by internally
mapping them to the new "mc:" naming, allowing older builds to work
as before.
(Bitbake rev: c4d90890547af642e99cc541af3415df3559563e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After real world use its clear the "multiconfig:" prefix to multiconfig tasks,
whilst clear, is also clumbersome. Switch to use the short version instead.
mcdepends will continue to work with "multiconfig:" for now as well. The commandline
will only accept mc: going forward.
[YOCTO #11168]
(Bitbake rev: 821daf093b76504067a8b77dfa4b181af6ec92b4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an initial test for reproducible builds to the OE selftest. This
initial test builds core-image-minimal using sstate, then does a clean
build without sstate in another build directory, and finally does a
binary comparison of the resulting package files between the two builds.
The test is currently always skipped since it doesn't pass yet, but it
can easily be enabled locally
(From OE-Core rev: 2e591bdf93ec9e59b900562263dfe8e72b163baa)
Signed-off-by: Joshua Watt <JPEWHacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE_IMPORTS is not intended to be touched by users, but there are cases
in which layers might want to make additional Python modules available
to Python functions. For example, Python modules defined in the layer
themselves (under meta-layer/lib).
(From OE-Core rev: 00fa8391365863fa7805ad61b2d1a8425b9ea040)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
testimage.bbclass starts qemu with the first image type found in
the IMAGE_FSTYPES list. It's weird: this ['wic', 'tar'] works but
this ['tar'. 'wic'] does not. If QB_DEFAULT_FSTYPE is defined,
this fstype is booted.
(From OE-Core rev: aedb6bf9b6ccf37f69372642bc4c5dbbca92d0d9)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While hacking on this I got an Exception. It's better to define
variables also in python.
Signe:-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
(From OE-Core rev: 1ea225a86cdee4ed932ede509d3351d5aecae497)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In minimal images the agent-ptrace test is skipped unless gdb is
installed which explains the difference in test counts. We don't
want a build dependency on gdb and the test isn't critical so just
document the dependency.
(From OE-Core rev: d3f29e6e52367e124e3f543f970038c0332ad3e1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In minimal images all tests pass due to a missing dependency on make.
Add the missing dependecy.
The test list created by the run-ptest script is incorrect as it includes
entries like "fi". Simplify it and correct it.
Some tests are skipped due to mpfr not being enabled. Correctly mark these
as SKIP.
Some tests need the "../gawk" script, create a link to it so the tests
work correctly.
Also print more information in the failed test cases.
(From OE-Core rev: 8392d60e05c4eed0b08273c1a934eeea54215079)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't really care about kernels this old anymore, so drop the patch.
(From OE-Core rev: b9630048451342a0ca1080955b0df35b0c94ce46)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several of the parted fixes are actually upstream in slightly different form.
(From OE-Core rev: 90e032a4dc8e7d56db667d35a15cbf30b9fcdf06)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop autotools-specific parts from patches, as all autotools files
have been removed upstream (meson is now the only option).
Remove autotools-specific 0001-Revert-Use-absolute-paths-in-pkg-config-files.patch
Remove backported fix-nl-abaltmon.patch
Add a hunk to Enable-more-tests-while-cross-compiling.patch which comments out
the part of the tests that hard-codes native ld for building.
(From OE-Core rev: c7479bfd5fad4b9ba2e4299048a0c432200a5204)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some file systems don't support fetching the block size (notably the file system
Docker uses for containers), so handle the iotctl() failing and raise the
expected error.
(From OE-Core rev: 3757073726a00c5250556aae3d0daac76b88085e)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I left out the word "not" in a key sentence in the new
"Checking on the Upgrade Status of a Recipe" section.
Little words can make big differences.
(From yocto-docs rev: 46a524a0d6c9e2ed6428039a4454e384a6ef648d)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I updated the section to include more detail on what the user
sees in the returned table.
(From yocto-docs rev: 671279548dde7f356888ba1ad1551b8bb1f70a65)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I show the "devtool check-upgrade-status" command as part of
the "do_checkpkg" task section. I added a cross-reference
link to the "Checking on the Upgrade Status of a Recipe"
section in the ref-manual.
(From yocto-docs rev: 034054f431cc9f0e61c8e156eed66bdf6e1198a1)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The section "Upgrading Recipes" covers several ways of
upgrading a recipe. I added some stuff in the introductory
area that mentions the fact a user might want to check
the upgrade status of a recipe first.
(From yocto-docs rev: bd2fd8d0a91b64455c282ebf4974e40874274f46)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I added a new section showcasing the "devtool check-upgrade-status"
command.
Also, added a note in the "Upgrading a Recipe" section" to tell
the reader they might want to check on a recipe's upgrade
status before upgrading a recipe.
(From yocto-docs rev: 974f63fe8836fccd51f12b511c23644235cbd4b4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Specifically missing was the "devtool check-upgrade-status"
command.
(From yocto-docs rev: beaa40e8d1037f237ab588ec6ce256b8c3a18543)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This class was removed for 2.7 and I took the reference section
out of the class area.
(From yocto-docs rev: daf786bebb0286d2ced46c97957d80a94c921c56)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The migration section noted this class as becoming obsolete.
I removed it from the class reference section.
(From yocto-docs rev: 63128888242493fb5671f11a2e5e470f2da6b22a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ousted these since it was noted in the migration section that
the class had been removed. Modified all references to the
removed class as needed.
(From yocto-docs rev: 7000acc76da6b7ee850b799347ab9083663c7e6a)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
This task needed to cross-reference the "Fetchers" section,
which is in the BitBake User Manual.
(From yocto-docs rev: c8862f4c8cc43777acead0e93fc728f2e8be4641)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the "Use devtool upgrade to Create a Version of the Recipe
that Supports a Newer Version of the Software" section, we
reference "fetchers" but do not link to the section on them
in the BB manual. I added a link.
(From yocto-docs rev: 633ac78daa2ab3bdde17ecb1a203f6addd6ee4af)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IrDA support was removed in upstream kernel 4.17,
and irda-utils as well as the feature are now also removed.
(From yocto-docs rev: 5650b3c733310b4d478440449d427de417946c81)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One array test attempts to create an array that is far too
large to exist. Different exceptions are thrown for 32 and 64
bit machines, so we account for that when catching them.
(From OE-Core rev: 03e3721674fe7fc22911ec738524cef86c7a5357)
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Makefile used for bash-ptest can pick up the path to the uninative
loader through BUILD_LDFLAGS. This includes the full path to the
uninative loader, which is not reproducible. Replace it with /bin/false.
It doesn't appear as if these native programs are used in the test
suites and if there are likely to be other problems related to building
them using the BUILD_* flags.
(From OE-Core rev: 1208ff934a2bb6378aa8b219345110a0d56bf767)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
They are now added automatically by the ptest class.
(From OE-Core rev: 25cf1820122bb2b15057aafe1c9e04a733f81bcf)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We keep seeing "cannot allocate memory" errors from rpm when signing packages
on the autobuilder. The following were tried:
* checking locked memory use (isn't hitting limits)
* Restricting RPM_GPG_SIGN_CHUNK to 1
* Limiting to 10 parallel do_package_write_rpm tasks
* Allowing unlimied memory overcommit
* Disabling rpm parallel compression
and the test still failed. Further invetigation showed that the --auto-expand-secmem
wasn't being passed to gpg-agent which meant the secmem couldn't be expanded hence the
errors when there was pressure on the agent.
The reason this happens is that some of the early gpg commands can start the agent
without the option and it sticks around in memory so a version with the correct
option may or may not get started.
We therefore add the option to all the key gpg calls.
(From OE-Core rev: c7e131a76e522503df55e211dd261829feacfa28)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the openssh tests in minimal images since they use options
not present in the busybox versions of the commands.
[YOCTO #13295]
(From OE-Core rev: 4059d8eedc5cf6f46a834997b7120150fcec4c0e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
allow wic to list and search for kickstart file in .wks.in extension.
basename show by wic list images to fully exclude extension.
(From OE-Core rev: 2c0a292a790ad069648e37b1b29fcea656fcf3e4)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was added 9 years ago as a workaround for a problem with
gcc 4.5 on mips.
Building webkitgtk works for me without it for qemumips.
Debian also builds webkitgtk for 32/64 bit big/little endian mips
without using this workaround.
(From OE-Core rev: 7af322a995a9385f7f452c2988188de98db300c2)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the commit ad522ea6a6 ("runqemu: Let qemuparams override default
settings"), the order of the two "-serial" parameters when running the
qemu have been switched. The effect of this is that the logging thread
will use ttyS1 (of course can't capture the kernel boot message anymore),
and the test command will run on the ttyS0. So the output of the test
command may be mangled by the kernel message (such as call trace), and
let the test command produce a fake timeout error message. We can't fix
it by just adjusting the order of the threadport and serverport, since
it will break some machines such as qemuarm64 which use the virtio
serial. So using the tcpserial to setup both the threadport and
serverport.
[YOCTO Bug 13309]
(From OE-Core rev: 9f2005dee41b1ef5a0d1f7b69bcd6c8352dac016)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In some cases(such as the oeqa's qemurunner), we need to setup multi
serial devices via the '-serial 127.0.0.1:xx" and the order of them
is significant. The mixing use of "tcpserial" and "-serial 127.0.0.1:xx"
cause ambiguous issues and we can't fix it by only adjusting the order
of them. So add the support to pass multi ports to the tcpserial
parameter, this will make sure that the order of setting up the serial
is really what we want.
[YOCTO Bug 13309]
(From OE-Core rev: 766c3b56e5071b5a5a64e88df6d3abe5232dd958)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This introduces a variable, PKGDATA_VARS, that contains the names of
the variables that are to be output in the runtime pkgdata files.
(From OE-Core rev: 43e55bfa040425cf93d94ac626a31f6fd00a7a74)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ship some obex files in the appropriate obex package. This fixes boot
error:
[FAILED] Failed to start Bluetooth OBEX service.
that was caused by the obex.service being shipped in the main package,
rather than the -obex (that includes obexd).
(From OE-Core rev: bc9f5f4c107ea34171aad3245a49b25b671d8679)
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several files that are part of libvte (e.g. src/widget.cc)
are licensed LGPLv3+.
(From OE-Core rev: 4e3b013daaa07934f1fa81f1b26fe40fea1e3435)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of patching out the Perl detection, seed the search for perl with
HOSTTOOLS_DIR/perl. This search usually fails because we don't let
find_program() hunt in the system paths currently.
(From OE-Core rev: 802091c09091b71814cbdce0ec3323741862f807)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
63d097c Add SPDX-License-Identifier: GPL-2.0-or-later in source files (HEAD)
fb93c99 utils.c: close all file descriptors after completing a ptest
(From OE-Core rev: 4115805fb4ff47fc794651ca59c858f91fe26fc7)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newlibs Makefiles use a variable CC_FOR_TARGET to build
libraries for the TARGET machine (as opposed to
CC_FOR_BUILD).
We pass CC on our compile function, which is normally
use to build, although in this case, the configure
script is trimming CC and using simply gcc for the target
machine, basically taking out the TUNE variables we pass
in CC as well, such as march, mfloat-abi and such.
This causes errors when building applications since
CC will try to use hard floating point for example
whereas the libc.a from newlib will contain libraries
built with the defaults which could be soft floating
point for example.
e.g.:
$ ${CC} test.c
real-ld: error: test.out uses VFP register arguments,
/usr/lib/libg.a(lib_a-stdio.o) does not.
Analizing the object files we can see that one of them
uses soft (library) and the other one uses hard
floating point (program):
$ readelf -A test.out | grep VFP
Tag_ABI_VFP_args: VFP registers
$ readelf -A usr/lib/libc.a | grep VFP
Hence why the linker complains.
Pass CC_FOR_TARGET with the contents of CC to override
the trimming from the configure script and build newlib
with the correct tune.
(From OE-Core rev: d00b32f4f961ceeb75e7a014209666c10cf3eb93)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade both newlib and libgloss to the yearly
release 3.1.0.
BSD-2 license was added on:
6864c08b94752d34cca
(From OE-Core rev: ef90ed7e4be3f1ed63faba73bd4bbd593ae7bdf2)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <aehs29@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32-bit x86 isn't really a useful target these days, and if users are
experimenting without setting MACHINE to their actual target then 64-bit x86
will have better performance.
(From meta-yocto rev: 69ddecdb15168dcd362f29226419a448d66fdacc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The unistring patch isn't needed anymore (the relevant lines are entirely
removed).
License checksums updated because of a typo fix, and an added author name.
(From OE-Core rev: 73fe3f7108e1d194961440f63afa73d5f7a0b983)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recent upgrade to the recipe moved SRC_URI to github. Fix the version
check accordingly.
(From OE-Core rev: 6119272f8855f949d428e12ab4da987d43a6adbf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As said in ${S}/m4/groff.m4
...
1642 # gdiffmk will attempt to use bash (for option -ef of 'test'). If bash
1643 # is not available it will use /bin/sh.
...
So drop hardcode shebang replacement, and pass variable to configure,
it also remove build path in gdiffmk to improve reproducibility
(From OE-Core rev: 9726c75c98f04735df33f61cf019ee50f67296f5)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Printing the lack of a test is not necessary (per feedback). Remove
this from the template to quieten it.
(From OE-Core rev: b1fe6ae66360e160eeaeafe456536f335a0eab60)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add missing quotes in ptest runner. Without these it runs all gnome tests
which is why the counts in my minimal image tests differed from those on the
main autobuilder core-image-sato runs.
Also fix an error showing in the ptest logs where invalid options were being
passed to busybox du.
(From OE-Core rev: dc0c916e610297063821450761c17e10c53bb4dd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sorts the list of detected ELF files by path before processing. This
ensures that when multiple files are hardlinked together the first one
found is always the same. This is required to have reproducible builds.
(From OE-Core rev: de86bfeda6e3845336a0b56c883b49219967128f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Applies a patch from Debian to remove the build date from zip.
(From OE-Core rev: 222d485e4eb789307093d57cb3c8d373c2e695b8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow the creation of test case configuration file based on user inputs.
Where this testcase configuration file will be used by the the manual
execution to run selected test cases for a module rather than compulsory
run all test cases in manual json file.
(From OE-Core rev: 73d2a747c17779da0ca972da776b3cf02c2e1cbc)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the SRCREVs to pickup the following configuration tweak for
ptest usage:
Author: Mariano López <just.another.mariano@gmail.com>
Date: Sat Jun 1 17:30:46 2019 -0500
Add SCSI debug configuration for util-linux ptest
The ptests from util-linux require the scsi debug module to be installed
for a subset of tests. This patch would allow to build the kernel module
for the linux-yocto kernel.
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
(From OE-Core rev: 1d72b295a22cde80259393e36e3515b6fa2ee34d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows ptests to execute successfully in minimal images.
(From OE-Core rev: 895d96fc65fbaab6d94b6e2fe56202f256d86ede)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the code will sum all of the different machine results into a
single report of the tests results. This can lead to confusion as to
which machine may be experiencing issues. Modify the code to store the
results in a per machine basis and report them accordingly.
(From OE-Core rev: 16d4031ea5df8a4ddfdb937d35464c09e1abd10e)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
While pv contains char `+' (such as ncurses 6.1+20181013),
it was incorrectly converted to `6.1'
In this commit:
- Convert [^\+]* to .*?
Support pv to contain char `+' and not greedy match
(Such as ncurses 6.1+20181013)
- Add [^\+] to sfx match
Support sfx contains extra chars between `+' and `git'
(such as asciidoc "8.6.9+py3-gitAUTOINC+618f6e6f6b")
- Make sfx and rev greedy match
Run `devtool check-upgrade-status --all' in poky and compare results,
only one difference on ncurses version:
Without the commit:
INFO: ncurses 6.1 6.1+20181013 Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
With the commit:
INFO: ncurses 6.1+20181013 MATCH Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
(From OE-Core rev: 8049bd34b89e710f7bb20883813ba3f929d9e997)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit [330fc83 grub: Use -Wno-error instead of doing this
on a per-warning basis] applied in oe-core, it missed a space
in append.
(From OE-Core rev: 62c3c8277fcea61940a4433d3796a4cec1b5f577)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: cd1dc2334fd3e3d1db9be1d26e888051e3f59c5a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch headers.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 6fa60ac102f6d3977df4236bd5a22680298bdac2)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--
v2: Add comment in the patch header.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gtk-doc was the only user, and has been switched over to python3-pygments.
(From OE-Core rev: 5301fe1a41ff921dcf1349dece74644bb7cc3a0f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source-highlight support has been replaced upstream with python3-pygments.
(From OE-Core rev: 25a26ee7bc73a9a475f89cf9fc7876a4e75a26f4)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commit is part of 5.0.17+:
ARM: fix function graph tracer and unwinder dependencies
[ Upstream commit 503621628b32782a07b2318e4112bd4372aa3401 ]
Naresh Kamboju recently reported that the function-graph tracer crashes
on ARM. The function-graph tracer assumes that the kernel is built with
frame pointers.
We explicitly disabled the function-graph tracer when building Thumb2,
since the Thumb2 ABI doesn't have frame pointers.
We recently changed the way the unwinder method was selected, which
seems to have made it more likely that we can end up with the function-
graph tracer enabled but without the kernel built with frame pointers.
Fix up the function graph tracer dependencies so the option is not
available when we have no possibility of having frame pointers, and
adjust the dependencies on the unwinder option to hide the non-frame
pointer unwinder options if the function-graph tracer is enabled.
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
As such, we no longer have UNWINDER_ARM enabled in our ARM builds by
default, since we do have FUNCTION_GRAPH_TRACER enabled in the common
ftrace configuration.
We disable FUNCTION_GRAPH_TRACER for ARM, which allows UNWINDER_ARM to
remain enabled and hence systemtap work out of the box for our ARM
reference builds. Obviously, BSPs or other users of the fragments can
make a different decision, but we chose unwinder to be on by default.
(From OE-Core rev: 8b8fb2e0d991c280317e28867224ed2080aa50c1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 5.0 -rt to -rt11, which comprises the following commits:
9c1e84c9b81b v5.0.19-rt11
c4258b70deda workqueue: rework
2a0f03c9daff softirq: rework
cb38c9a00313 Revert "drm/i915/fence: Do not use TIMER_IRQSAFE"
0ffa8402bf10 clocksource: TCLIB: Add proper depend
6a2ecc186d9a arm: imx6: cpuidle: Use raw_spinlock_t
c302271409c2 locking/lockdep: Don't complain about incorrect name for no validate class
4042bcac2c90 v5.0.19-rt10
d6ad4a85a911 genirq: Handle missing work_struct in irq_set_affinity_notifier()
(From OE-Core rev: 9bef18bd94af24d758d2b6e9b4a1de6f4323ce05)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
3f7c1cab1a61 Linux 5.0.19
64d314bd8cc8 fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
e5c6d75b0f03 bpf, lru: avoid messing with eviction heuristics upon syscall lookup
b5f95aa7a88b bpf: add map_lookup_elem_sys_only for lookups from syscall side
d811930f74ac bpf: relax inode permission check for retrieving bpf program
ca7ef7e3ddfa driver core: Postpone DMA tear-down until after devres release for probe failure
bad4fbe76cfb md/raid: raid5 preserve the writeback action after the parity check
3770eb3721be Revert "Don't jump to compute_result state from check_result state"
07116a6548c8 perf/x86/intel: Fix race in intel_pmu_disable_event()
58d1e074c742 perf cs-etm: Always allocate memory for cs_etm_queue::prev_packet
cd448c27b08e perf bench numa: Add define for RUSAGE_THREAD if not present
7325696ce261 i2c: designware: ratelimit 'transfer when suspended' errors
8258661858d5 ufs: fix braino in ufs_get_inode_gid() for solaris UFS flavour
5b73764a5d2c KVM: selftests: make hyperv_cpuid test pass on AMD
fb654d0763c8 KVM: fix KVM_CLEAR_DIRTY_LOG for memory slots of unaligned size
497ce5c7f538 x86/mm/mem_encrypt: Disable all instrumentation for early SME setup
96f0be982c8a sched/cpufreq: Fix kobject memleak
2a9605f177f8 iwlwifi: mvm: check for length correctness in iwl_mvm_create_skb()
df5eba5f41be qmi_wwan: new Wistron, ZTE and D-Link devices
bd61ddd3e9fc bpf: Fix preempt_enable_no_resched() abuse
bd3713424a01 tools: bpftool: fix infinite loop in map create
1e61a219090f power: supply: sysfs: prevent endless uevent loop with CONFIG_POWER_SUPPLY_DEBUG
e6ae43922897 KVM: arm/arm64: Ensure vcpu target is unset on reset failure
5450811a02f5 net: ieee802154: fix missing checks for regmap_update_bits
15f64f420bae mac80211: Fix kernel panic due to use of txq after free
eff6d5429bd2 x86: kvm: hyper-v: deal with buggy TLB flush requests from WS2012
48be4d7ced2c PCI: Fix issue with "pci=disable_acs_redir" parameter being ignored
fa42fde1f8e6 apparmorfs: fix use-after-free on symlink traversal
cf0259f7662a securityfs: fix use-after-free on symlink traversal
04aa8a51e723 power: supply: cpcap-battery: Fix division by zero
38a725dd0be7 KVM: PPC: Book3S: Protect memslots while validating user address
eec0c746757b KVM: PPC: Book3S HV: Perserve PSSCR FAKE_SUSPEND bit on guest exit
f3adb80bb243 clk: sunxi-ng: nkmp: Avoid GENMASK(-1, 0)
791746a758e7 ARC: PAE40: don't panic and instead turn off hw ioc
30bd4585bf14 xfrm4: Fix uninitialized memory read in _decode_session4
79fad8fd2b76 xfrm: Honor original L3 slave device in xfrmi policy lookup
ff7fa2c801bc esp4: add length check for UDP encapsulation
4e8ce2680442 xfrm: clean up xfrm protocol checks
6c0db1cbf772 vti4: ipip tunnel deregistration fixes.
f8a427ca50d6 xfrm6_tunnel: Fix potential panic when unloading xfrm6_tunnel module
70a87327025a xfrm: Reset secpath in xfrm failure
9531aac1ee3e xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
07a573c046c0 fuse: Add FOPEN_STREAM to use stream_open()
560c6fd312c9 dm mpath: always free attached_handler_name in parse_path()
96ecf4c59f08 dm integrity: correctly calculate the size of metadata area
ecff1441aa15 dm crypt: move detailed message into debug level
862a78341ade dm delay: fix a crash when invalid device is specified
fab2e96c6be0 dm zoned: Fix zone report handling
ef3f84246954 dm cache metadata: Fix loading discard bitset
6c412dc3b757 PCI: Work around Pericom PCIe-to-PCI bridge Retrain Link erratum
d06a30b1a957 PCI: Factor out pcie_retrain_link() function
4f22ec9f0c28 PCI: rcar: Add the initialization of PCIe link in resume_noirq()
fbd9c6ef0dfc PCI/AER: Change pci_aer_init() stub to return void
be361ee757b8 PCI: Init PCIe feature bits for managed host bridge alloc
adb00a68d2dd PCI: Reset Lenovo ThinkPad P50 nvgpu at boot if necessary
2e4017e3ddfd PCI: Mark Atheros AR9462 to avoid bus reset
4ddfb43373ca PCI: Mark AMD Stoney Radeon R7 GPU ATS as broken
1fbec8aa02f3 fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
620a97786fd6 fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
b2adbace369e fbdev: sm712fb: fix support for 1024x768-16 mode
d119b4a43e53 fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
39045ad5a808 fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
4badede3e74b fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
62463c4661f1 fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
2a5d31230505 fbdev: sm712fb: fix brightness control on reboot, don't set SR30
cfe31930dac8 fbdev/efifb: Ignore framebuffer memmap entries that lack any memory types
a816dc52fe77 x86/mpx, mm/core: Fix recursive munmap() corruption
9d50a05607a7 objtool: Allow AR to be overridden with HOSTAR
93dbb5304b51 MIPS: perf: Fix build with CONFIG_CPU_BMIPS5000 enabled
822e8c43b08a perf intel-pt: Fix sample timestamp wrt non-taken branches
14f3460ed499 perf intel-pt: Fix improved sample timestamp
23abb1eed2ee perf intel-pt: Fix instructions sampling rate
c82da3e43ce1 memory: tegra: Fix integer overflow on tick value calculation
dda71c1663c8 tracing: probeevent: Fix to make the type of $comm string
95142e28042b tracing: Fix partial reading of trace event's id file
9dba717a8156 ftrace/x86_64: Emulate call function while updating in breakpoint handler
2a1069824a5c x86_64: Allow breakpoints to emulate call instructions
16e559791d6b x86_64: Add gap to int3 to allow for call emulation
69fc24195198 ceph: flush dirty inodes before proceeding with remount
43cc8d378ca0 iommu/tegra-smmu: Fix invalid ASID bits on Tegra30/114
d79e6a726acb gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6
0e83f9e5ce46 ovl: fix missing upper fs freeze protection on copy up for ioctl
bf076fd44bd6 fuse: honor RLIMIT_FSIZE in fuse_file_fallocate
79d8f6321221 fuse: fix writepages on 32bit
12db517f8a3e udlfb: introduce a rendering mutex
0bd143ed4109 udlfb: fix sleeping inside spinlock
02851943751d udlfb: delete the unused parameter for dlfb_handle_damage
855e2af24ab5 clk: rockchip: fix wrong clock definitions for rk3328
317e574eaf6d clk: mediatek: Disable tuner_en before change PLL rate
b5f7027a6f79 clk: tegra: Fix PLLM programming on Tegra124+ when PMC overrides divider
87b083dbdd8f clk: hi3660: Mark clk_gate_ufs_subsys as critical
3c1f44469d83 PNFS fallback to MDS if no deviceid found
73e0d62f16ec NFS4: Fix v4.0 client state corruption when mount
1aa8f89cf5ad RDMA/ipoib: Allow user space differentiate between valid dev_port
90ebb540a7b1 RDMA/mlx5: Use get_zeroed_page() for clock_info
2132baff7e0f media: imx: Clear fwnode link struct for each endpoint iteration
7543aeaf9331 media: imx: csi: Allow unknown nearest upstream entities
8a6a542635fe media: ov6650: Fix sensor possibly not detected on probe
252f74c15935 phy: ti-pipe3: fix missing bit-wise or operator when assigning val
921bb3e9be5b cifs: fix strcat buffer overflow and reduce raciness in smb21_set_oplock_level()
6c65b5a9d829 brcmfmac: Add DMI nvram filename quirk for ACEPC T8 and T11 mini PCs
e15c901c9b1f of: fix clang -Wunsequenced for be32_to_cpu()
a1243cd45745 p54: drop device reference count if fails to enable device
24cb69043d68 intel_th: msu: Fix single mode with IOMMU
86901d0a34ab dcache: sort the freeing-without-RCU-delay mess for good.
cb259d53313c md: add a missing endianness conversion in check_sb_changes
ceaae3df28ef md: add mddev->pers to avoid potential NULL pointer dereference
3d8c54fb4b8f md: batch flush requests.
dfbe4d1af4b3 Revert "MD: fix lock contention for flush bios"
be2bcbeda06b proc: prevent changes to overridden credentials
e2d95e6022f9 brd: re-enable __GFP_HIGHMEM in brd_insert_page()
019da3cf8d2d stm class: Fix channel bitmap on 32-bit systems
e52484d4b315 stm class: Fix channel free in stm output free path
7a76effe2dea parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
e2d87b36a59b parisc: Use PA_ASM_LEVEL in boot code
fac8648ec7ce parisc: Allow live-patching of __meminit functions
62c78938e3ee parisc: Add memory barrier to asm pdc and sync instructions
81641f9c6039 parisc: Skip registering LED when running in QEMU
f4a05c586c3a parisc: Add memory clobber to TLB purges
52b905433b0d parisc: Export running_on_qemu symbol for modules
5b3b51fe5bef regulator: core: fix error path for regulator_set_voltage_unlocked
97346dda2c99 blk-mq: free hw queue's resource in hctx's release handler
860dde8d0962 mm/gup: Remove the 'write' parameter from gup_fast_permitted()
b80fc1eed537 net/mlx5e: Fix ethtool rxfh commands when CONFIG_MLX5_EN_RXNFC is disabled
5125c4d4cfca net/mlx5: Imply MLXFW in mlx5_core
ac5465716ae6 net/mlx5e: Additional check for flow destination comparison
e3e09b07aab6 net/mlx5e: Add missing ethtool driver info for representors
5048d03fa137 vsock/virtio: Initialize core virtio vsock before registering the driver
ac01b87ed3ec tipc: fix modprobe tipc failed after switch order of device registration
51adb8ebe8c1 vsock/virtio: free packets during the socket release
3f48a2fa3d79 tipc: switch order of device registration to fix a crash
0501b80b158a rtnetlink: always put IFLA_LINK for links with a link-netnsid
4d4b20738489 ppp: deflate: Fix possible crash in deflate_init
ebf4338d96e9 nfp: flower: add rcu locks when accessing netdev for tunnels
d818a94975ed net: usb: qmi_wwan: add Telit 0x1260 and 0x1261 compositions
18b3bb2503b4 net: test nouarg before dereferencing zerocopy pointers
4e6d54b16a89 net/mlx4_core: Change the error print to info print
708c22fedf0c net: avoid weird emergency message
145708e7d94c net: Always descend into dsa/
6c8566ebb5f1 ipv6: prevent possible fib6 leaks
aed9be48191f ipv6: fix src addr routing with the exception table
8614793dbb41 Linux 5.0.18
3dacabb35d7f ext4: don't update s_rev_level if not required
18f59db712ce ext4: fix compile error when using BUFFER_TRACE
593ddcbac4a4 s390/mm: convert to the generic get_user_pages_fast code
97249a2034b6 s390/mm: make the pxd_offset functions more robust
4999174b1a77 iov_iter: optimize page_copy_sane()
6e52e4b6cf50 libnvdimm/namespace: Fix label tracking error
63e54af2e570 xen/pvh: correctly setup the PV EFI interface for dom0
a1c5c7476db0 xen/pvh: set xen_domain_type to HVM in xen_pvh_init
9339434bdbb4 kbuild: turn auto.conf.cmd into a mandatory include file
d71c6a4b31db KVM: lapic: Busy wait for timer to expire when using hv_timer
fae3b156b196 KVM: x86: Skip EFER vs. guest CPUID checks for host-initiated writes
87e61d57ae37 KVM: Fix the bitmap range to copy during clear dirty
295a7bd172d2 jbd2: fix potential double free
a5f8b69097a3 ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
20f6e5999787 ALSA: hda/realtek - Fixup headphone noise via runtime suspend
5ddcddba1be6 ALSA: hda/realtek - Corrected fixup for System76 Gazelle (gaze14)
ec9ff0dd9829 ext4: avoid panic during forced reboot due to aborted journal
297a39c6528c ext4: fix use-after-free in dx_release()
256e27da8b62 ext4: fix data corruption caused by overlapping unaligned and aligned IO
7f3b711cbf54 ext4: zero out the unused memory region in the extent tree block
bde5b8473bd3 tty: Don't force RISCV SBI console as preferred console
549b0b8a9479 fs/writeback.c: use rcu_barrier() to wait for inflight wb switches going into workqueue when umount
f7fea7c067fb crypto: ccm - fix incompatibility between "ccm" and "ccm_base"
638fffb11c93 ipmi:ssif: compare block number correctly for multi-part return messages
bfc6980ff235 bcache: never set KEY_PTRS of journal key to 0 in journal_reclaim()
5fa31fabc628 bcache: fix a race between cache register and cacheset unregister
0e56cc24df1a Btrfs: fix race between send and deduplication that lead to failures and crashes
0565f46b75e4 Btrfs: do not start a transaction at iterate_extent_inodes()
d48e71659e07 Btrfs: do not start a transaction during fiemap
e7fb540d6a06 Btrfs: send, flush dellaloc in order to avoid data loss
b9ee62718749 btrfs: Honour FITRIM range constraints during free space trim
4afdd2d2afbb btrfs: Correctly free extent buffer in case btree_read_extent_buffer_pages fails
1a6e5f745b57 btrfs: Check the first key and level for cached extent buffer
f325062756d0 ext4: fix ext4_show_options for file systems w/o journal
91bf9123ce86 ext4: actually request zeroing of inode table after grow
715f547a6299 ext4: fix use-after-free race with debug_want_extra_isize
310aea022196 ext4: avoid drop reference to iloc.bh twice
7db933229f64 ext4: ignore e_value_offs for xattrs with value-in-ea-inode
7dfca4b97693 ext4: make sanity check in mballoc more strict
39108bea309d jbd2: check superblock mapped prior to committing
033b15ff6b92 tty/vt: fix write/write race in ioctl(KDSKBSENT) handler
770e812bbc1d tty: vt.c: Fix TIOCL_BLANKSCREEN console blanking if blankinterval == 0
9537358c9452 mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
969859b87f8b mtd: maps: physmap: Store gpio_values correctly
8a2c3433b51b mtd: spi-nor: intel-spi: Avoid crossing 4K address boundary on read/write
ed824ff290d3 mfd: max77620: Fix swapped FPS_PERIOD_MAX_US values
12061d7ce0ee mfd: da9063: Fix OTP control register names to match datasheets for DA9063/63L
966e7ae49bee ACPI: PM: Set enable_for_wake for wakeup GPEs during suspend-to-idle
09ceb529c4ac userfaultfd: use RCU to free the task struct when fork fails
3f26c01c4001 ocfs2: fix ocfs2 read inode data panic in ocfs2_iget
f989305d02a4 hugetlb: use same fault hash key for shared and private mappings
6720e0bc50e9 mm/hugetlb.c: don't put_page in lock of hugetlb_lock
ff191b1d827d mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addresses
535ca6f75ddb mm/mincore.c: make mincore() more conservative
b5b076649d2e crypto: ccree - handle tee fips error during power management resume
2380a8464ee1 crypto: ccree - add function to handle cryptocell tee fips error
22a44b51f2e0 crypto: ccree - HOST_POWER_DOWN_EN should be the last CC access during suspend
f1a7dc5d0e46 crypto: ccree - pm resume first enable the source clk
4a807bab1431 crypto: ccree - don't map AEAD key and IV on stack
a1cb31fd79be crypto: ccree - use correct internal state sizes for export
3ff036422024 crypto: ccree - don't map MAC key on stack
2e1679f6a1d0 crypto: ccree - fix mem leak on error path
23a072df0482 crypto: ccree - remove special handling of chained sg
8efcdb781463 bpf, arm64: remove prefetch insn in xadd mapping
fd049ce703c3 ASoC: codec: hdac_hdmi add device_link to card device
519511e47f79 ASoC: fsl_esai: Fix missing break in switch statement
94748513d811 ASoC: RT5677-SPI: Disable 16Bit SPI Transfers
dccbcc8060c8 ASoC: max98090: Fix restore of DAPM Muxes
b2c90ad71e00 ALSA: hdea/realtek - Headset fixup for System76 Gazelle (gaze14)
0a1cf4fdc58b ALSA: hda/realtek - EAPD turn on later
98ffad31068d ALSA: hda/hdmi - Consider eld_valid when reporting jack event
787d1c606f1a ALSA: hda/hdmi - Read the pin sense from register when repolling
bc3c4c9e00b0 ALSA: usb-audio: Fix a memory leak bug
592b655a306b ALSA: line6: toneport: Fix broken usage of timer for delayed execution
978e70ead670 mmc: sdhci-pci: Fix BYT OCP setting
56f590e2e30a mmc: core: Fix tag set memory leak
1ea20c66648a mmc: tegra: fix ddr signaling for non-ddr modes
4ea5e92a20b9 crypto: arm64/aes-neonbs - don't access already-freed walk.iv
b51455e5493a crypto: arm/aes-neonbs - don't access already-freed walk.iv
86d478d06696 crypto: caam/qi2 - generate hash keys in-place
fd2830991e56 crypto: caam/qi2 - fix DMA mapping of stack memory
0eaed393b4ec crypto: caam/qi2 - fix zero-length buffer DMA mapping
86add9b56835 crypto: rockchip - update IV buffer to contain the next IV
8d9cdf34aaf9 crypto: gcm - fix incompatibility between "gcm" and "gcm_base"
246ef445e015 crypto: arm64/gcm-aes-ce - fix no-NEON fallback code
47a9de26eb06 crypto: x86/crct10dif-pcl - fix use via crypto_shash_digest()
8eb6266c8eb1 crypto: crct10dif-generic - fix use via crypto_shash_digest()
043e69dd7fef crypto: skcipher - don't WARN on unprocessed data after slow walk step
2c0f409ba69c crypto: vmx - fix copy-paste error in CTR mode
8d02b83b332b crypto: ccp - Do not free psp_master when PLATFORM_INIT fails
fdcd8b3b745e crypto: chacha20poly1305 - set cra_name correctly
d6d54c7c59c6 crypto: chacha-generic - fix use as arm64 no-NEON fallback
0a348941ad06 crypto: lrw - don't access already-freed walk.iv
25f1509c739f crypto: salsa20 - don't access already-freed walk.iv
fb7261b31a2c crypto: crypto4xx - fix cfb and ofb "overran dst buffer" issues
3149ac3ef4e6 crypto: crypto4xx - fix ctr-aes missing output IV
5404a6ff7458 x86/MCE/AMD: Don't report L1 BTB MCA errors on some family 17h models
ad09c6ef2dcb x86/MCE: Group AMD function prototypes in <asm/mce.h>
b05237350b4a x86/MCE/AMD: Carve out the MC4_MISC thresholding quirk
e6b8b66f965e x86/MCE/AMD: Turn off MC4_MISC thresholding on all family 0x15 models
993a6595b253 x86/MCE: Add an MCE-record filtering function
52176123f9cb sched/x86: Save [ER]FLAGS on context switch
d81b4ae57fe9 arm64: Save and restore OSDLR_EL1 across suspend/resume
bd254f9d1157 arm64: Clear OSDLR_EL1 on CPU boot
a184f8889306 arm64: compat: Reduce address limit
e57320e0177a arm64: arch_timer: Ensure counter register reads occur with seqlock held
32e802d947ca arm64: mmap: Ensure file offset is treated as unsigned
38a6f722c01a power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
a4e41f047a3e power: supply: axp288_charger: Fix unchecked return value
fe3f22b7084d ARM: exynos: Fix a leaked reference by adding missing of_node_put
a6bc3bfb8206 mmc: sdhci-of-arasan: Add DTS property to disable DCMDs.
bf6cb21717f4 ARM: dts: exynos: Fix audio (microphone) routing on Odroid XU3
de42e519cbee ARM: dts: exynos: Fix interrupt for shared EINTs on Exynos5260
3ea393bb1ca4 ARM: dts: qcom: ipq4019: enlarge PCIe BAR range
5d6fa0370c51 arm64: dts: rockchip: Disable DCMDs on RK3399's eMMC controller.
5414a4761988 arm64: dts: rockchip: fix IO domain voltage setting of APIO5 on rockpro64
8c1134ff70df objtool: Fix function fallthrough detection
bc19bb7d8d10 x86/speculation/mds: Improve CPU buffer clear documentation
d2214ccfecb5 x86/speculation/mds: Revert CPU buffer clear on double fault exit
bfcac7872252 locking/rwsem: Prevent decrement of reader count before increment
(From OE-Core rev: a05ca00a3c44900bfeade01a998ddc8e8c61d9e4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto-rt to -rt9, which comprises the following commits:
cc66f1b95af7 (HEAD -> v5.0/standard/preempt-rt/base) v5.0.14-rt9
96957f0ca4a4 sched/completion: Fix a lockup in wait_for_completion()
7108dfc6c002 iommu/dma-iommu: Remove iommu_dma_map_msi_msg()
50e9a302a12e irqchip/gic-v3-mbi: Don't map the MSI page in mbi_compose_m{b, s}i_msg()
4a4c41f25d90 irqchip/ls-scfg-msi: Don't map the MSI page in ls_scfg_msi_compose_msg()
e6549dc52874 irqchip/gic-v3-its: Don't map the MSI page in its_irq_compose_msi_msg()
21ab1a505f71 irqchip/gicv2m: Don't map the MSI page in gicv2m_compose_msi_msg()
5c7e7ee1155f iommu/dma-iommu: Split iommu_dma_map_msi_msg() in two parts
ed562a120218 genirq/msi: Add a new field in msi_desc to store an IOMMU cookie
8269017c7c71 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
834de13e9df3 v5.0.14-rt8
60a1f2741b0b v5.0.10-rt7
5cbcfdaf619f clocksource: improve Atmel TCB timer driver
dde28bc12270 x86/ima: Check EFI_RUNTIME_SERVICES before using
c02d0b49cf87 printk: kmsg_dump: remove mutex usage
b4ccebf15704 locking/rwsem: Rename rwsem_rt.h to rwsem-rt.h
d5758ba7a93e x86/fpu: Remove unnecessary saving of FPU registers in copy_fpstate_to_sigframe()
e16351073c50 x86/fpu: Fault-in user stack if copy_fpstate_to_sigframe() fails
14ff99cb7d48 v5.0.10-rt6
843445383127 v5.0.7-rt5
e886711e0449 drm/i915: Don't disable interrupts independently of the lock
69e41e29c6ad clocksource: improve Atmel TCB timer driver
c2e266f415d0 x86: load FPU registers on return to userland (Update to v9)
4be2fd56d44f v5.0.7-rt4
6fb29acc8efe (origin/v5.0/standard/preempt-rt/base) genirq: Prevent use-after-free and work list corruption on rt
(From OE-Core rev: 80f59dc94ab1522a70412bfb1df9086f6bb7ba22)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable commits that comprise the following
changes:
d59f5a01fa43 Linux 5.0.17
ba686f90778b f2fs: Fix use of number of devices
78b8c59eee72 PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
f20f463b32bc PCI: hv: Add hv_pci_remove_slots() when we unload the driver
d3a9cd23b172 PCI: hv: Fix a memory leak in hv_eject_device_work()
7f9572e798ea virtio_ring: Fix potential mem leak in virtqueue_add_indirect_packed
ba81b50090a4 powerpc/booke64: set RI in default MSR
0da52ad69b37 powerpc/powernv/idle: Restore IAMR after idle
d314437d17ad powerpc/book3s/64: check for NULL pointer in pgd_alloc()
79e981a8503f drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
1a84219f73b2 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
8b8fc62b6c67 isdn: bas_gigaset: use usb_fill_int_urb() properly
12786188dcf3 flow_dissector: disable preemption around BPF calls
39f7b3941969 net: phy: fix phy_validate_pause
4a91e5e4c58f tuntap: synchronize through tfiles array instead of tun->numqueues
e0630246658a tuntap: fix dividing by zero in ebpf queue selection
92edcf205388 vrf: sit mtu should not be updated when vrf netdev is the link
13d54150e746 vlan: disable SIOCSHWTSTAMP in container
83c25477e944 tipc: fix hanging clients using poll with EPOLLOUT flag
be6a9818866d selinux: do not report error on connect(AF_UNSPEC)
c3954f8f5a7e packet: Fix error path in packet_init
7bc936f4f226 net: ucc_geth - fix Oops when changing number of buffers in the ring
57ee33b48190 net: seeq: fix crash caused by not set dev.parent
224b04c9e028 net: macb: Change interrupt and napi enable order in open
a3bf31d7ffb2 net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
261a8958a57e net: dsa: Fix error cleanup path in dsa_init_module
2f679c41821f ipv4: Fix raw socket lookup for local traffic
f8351176aed6 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
e4607de103ba dpaa_eth: fix SG frame cleanup
430a64f6fa2c bridge: Fix error path for kobject_init_and_add()
69798384ba38 bonding: fix arp_validate toggling in active-backup mode
d3ff0184ebd2 Don't jump to compute_result state from check_result state
843135c1ce1e rtlwifi: rtl8723ae: Fix missing break in switch statement
14654a1f2e2b mwl8k: Fix rate_idx underflow
202436fe0810 cw1200: fix missing unlock on error in cw1200_hw_scan()
92a9787bb38c drm/rockchip: fix for mailbox read validation.
5b4ef3c5faf9 net: mvpp2: fix validate for PPv2.1
45e1075e04cb net: sched: fix cleanup NULL pointer exception in act_mirr
4b84cde61ce9 bpf: only test gso type on gso packets
073d8f286f34 mm/page_alloc.c: avoid potential NULL pointer dereference
61fadd8a5000 mm/memory_hotplug.c: drop memory device reference after find_memory_block()
59c58e43e80f RDMA/hns: Bugfix for mapping user db
26f70c4e0aef gpio: Fix gpiochip_add_data_with_key() error path
fb53ebc9eb9a net: vrf: Fix operation not supported when set vrf mac
ec69b3c91b3b Input: synaptics-rmi4 - fix possible double free
6a2abf951ed3 Input: snvs_pwrkey - make it depend on ARCH_MXC
21a3f7c2c76c drm/sun4i: Unbind components before releasing DRM and memory
f79084e5372b Revert "drm/virtio: drop prime import/export callbacks"
2455f6cbd19b ceph: handle the case where a dentry has been renamed on outstanding req
d3a9275364d9 spi: ST ST95HF NFC: declare missing of table
943609acd628 spi: Micrel eth switch: declare missing of table
4c6df58231f8 ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
dc41fe5d6fb5 ARM: fix function graph tracer and unwinder dependencies
0cb06e339cee drm/imx: don't skip DP channel disable for background plane
7680e881fdaa gpu: ipu-v3: dp: fix CSC handling
28e4593bb148 arm64/module: ftrace: deal with place relative nature of PLTs
d0f8faa2f540 dmaengine: bcm2835: Avoid GFP_KERNEL in device_prep_slave_sg
d4dc7d99b111 netfilter: fix nf_l4proto_log_invalid to log invalid packets
ddb632889fae netfilter: never get/set skb->tstamp
226ef4f27a45 selftests/net: correct the return value for run_afpackettests
1a20185157b5 selftests/net: correct the return value for run_netsocktests
2d83e90c2375 of_net: Fix residues after of_get_nvmem_mac_address removal
7ba51c0e84b3 drm/sun4i: Fix component unbinding and component master deletion
3000bdec55c8 drm/sun4i: Set device driver data at bind time for use in unbind
1330679d64f8 s390: ctcm: fix ctcm_new_device error return code
143c8279955e IB/mlx5: Fix scatter to CQE in DCT QP creation
b3a64096c5ee MIPS: perf: ath79: Fix perfcount IRQ assignment
ecef50c35a07 netfilter: nat: fix icmp id randomization
c2987d193f8b netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
b0a90cae081d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
a3a5ad78488b ipvs: do not schedule icmp errors from tunnels
44fbb3db2bde selftests: netfilter: check icmp pkttoobig errors are set as related
16b01614d369 drm: bridge: dw-hdmi: Fix overflow workaround for Rockchip SoCs
5bc0352515ef init: initialize jump labels before command line option parsing
57c2301fc9c9 mm: fix inactive list balancing between NUMA nodes and cgroups
47d1b202e325 mm/hotplug: treat CMA pages as unmovable
247e9fe2f4ad slab: store tagged freelist for off-slab slabmgmt
4176e671a44e scsi: aic7xxx: fix EISA support
e9697ba264c2 perf tools: Fix map reference counting
d39036685e22 ocelot: Don't sleep in atomic context (irqs_disabled())
d7200d0648e5 ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
d2ae8127d693 perf top: Always sample time to satisfy needs of use of ordered queuing
9b2395e2bfec tools lib traceevent: Fix missing equality check for strcmp
b053700b6ce9 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
7cee96602903 KVM: fix spectrev1 gadgets
ac0cd21ff7f3 KVM: nVMX: always use early vmcs check when EPT is disabled
ad0b4845927e x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
47155c33761e x86/mm: Prevent bogus warnings with "noexec=off"
e011d319f736 x86/build/lto: Fix truncated .bss with -fdata-sections
5a8306e3b433 s390/pkey: add one more argument space for debug feature entry
7a96a56eea04 drm/amd/display: If one stream full updates, full update all planes
e3a41f93e337 qed: Fix the DORQ's attentions handling
47ef1bab8d1d qed: Fix missing DORQ attentions
deb2cc51dd52 qed: Fix the doorbell address sanity check
2de1573a5ed9 qed: Delete redundant doorbell recovery types
775e0e613250 afs: Fix in-progess ops to ignore server-level callback invalidation
35d71b00267e afs: Unlock pages for __pagevec_release()
f4faab6c9034 qede: fix write to free'd pointer error and double free of ptp
40990109952a vxge: fix return of a free'd memblock on a failed dma mapping
4230787c0655 mISDN: Check address length before reading address family
2d56b3f53ac8 drm/amdgpu: shadow in shadow_list without tbo.mem.start cause page fault in sriov TDR
bf4b7bc690e3 selftests: fib_tests: Fix 'Command line is not complete' errors
b1e68de7659a clocksource/drivers/oxnas: Fix OX820 compatible
641a9b94456d clocksource/drivers/npcm: select TIMER_OF
44d7638b3934 drm/amd/display: extending AUX SW Timeout
6661203b4210 drm/ttm: fix dma_fence refcount imbalance on error path
1e1bdaca091e s390/3270: fix lockdep false positive on view->lock
adefea883c1f tools/testing/nvdimm: Retain security state after overwrite
40af621fefdb libnvdimm/pmem: fix a possible OOB access when read and write pmem
7547c20fdd1c libnvdimm/security: provide fix for secure-erase to use zero-key
8f2e6b8c9b0b nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
0e36c8ed2d52 mac80211: fix memory accounting with A-MSDU aggregation
c93951de3ecb cfg80211: Handle WMM rules in regulatory domain intersection
7c7345f1cad8 mac80211: Increase MAX_MSG_LEN
0c077b14bdc0 mac80211: fix unaligned access in mesh table hash function
9d02fc4b7789 s390/dasd: Fix capacity calculation for large volumes
181518b8eb4e libnvdimm/btt: Fix a kmemdup failure check
f744a5e31a47 HID: input: add mapping for "Toggle Display" key
0e56b93040c2 HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
c64e4d22342c HID: input: add mapping for Expose/Overview key
e42bcea02b46 libnvdimm/namespace: Fix a potential NULL pointer dereference
469cc616e03c acpi/nfit: Always dump _DSM output payload
a9189a36d66e iio: adc: xilinx: prevent touching unclocked h/w on remove
1fc0aeddc0b7 iio: adc: xilinx: fix potential use-after-free on probe
fc92e97e24df iio: adc: xilinx: fix potential use-after-free on remove
a41382ca99e8 USB: serial: fix unthrottle races
b5f2cb384e11 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
a16532b59cca kernfs: fix barrier usage in __kernfs_new_node()
0748cf2d9d1c selftests/seccomp: Handle namespace failures gracefully
5c3c0ffa9d74 hwmon: (occ) Fix extended status bits
a91e668131ad hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
b9d31180294a platform/x86: dell-laptop: fix rfkill functionality
22c8b3235eb2 platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
8fb172181a29 platform/x86: sony-laptop: Fix unintentional fall-through
54c140c5b614 bfq: update internal depth state when queue depth changes
89e11ec0280b Linux 5.0.16
f8bb2589227b x86/speculation/mds: Fix documentation typo
14e3ad8a1452 Documentation: Correct the possible MDS sysfs values
0acbbdf3e41d x86/mds: Add MDSUM variant to the MDS documentation
4cf168a94fd5 x86/speculation/mds: Add 'mitigations=' support for MDS
394e3d8de828 s390/speculation: Support 'mitigations=' cmdline option
f905727fa11c powerpc/speculation: Support 'mitigations=' cmdline option
bd600de16b82 x86/speculation: Support 'mitigations=' cmdline option
6d7407ef9272 cpu/speculation: Add 'mitigations=' cmdline option
c2b25b6b3582 x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
3f7fe4ad1f62 x86/speculation/mds: Fix comment
9cd62662dd7e x86/speculation/mds: Add SMT warning message
c98b736e763d x86/speculation: Move arch_smt_update() call to after mitigation decisions
fb49e1bb2061 x86/speculation/mds: Add mds=full,nosmt cmdline option
08831a92501f Documentation: Add MDS vulnerability documentation
ab8e3e63f23e Documentation: Move L1TF to separate directory
31fd0223449e x86/speculation/mds: Add mitigation mode VMWERV
3944139ce828 x86/speculation/mds: Add sysfs reporting for MDS
0174e8984c2d x86/speculation/mds: Add mitigation control for MDS
d9117863c521 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
100087c08030 x86/kvm/vmx: Add MDS protection when L1D Flush is not active
481871997e37 x86/speculation/mds: Clear CPU buffers on exit to user
a5a8ef7cd7c9 x86/speculation/mds: Add mds_clear_cpu_buffers()
87f96d5e7525 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
78157c977674 x86/speculation/mds: Add BUG_MSBDS_ONLY
ea3d1b32b86e x86/speculation/mds: Add basic bug infrastructure for MDS
019159aec4b7 x86/speculation: Consolidate CPU whitelists
26c0aff1ad63 x86/msr-index: Cleanup bit defines
7b13756d2c32 Linux 5.0.15
41d7bb19aa31 arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
3b928b59fae0 locking/futex: Allow low-level atomic operations to return -EAGAIN
be4b9a303a25 i3c: Fix a shift wrap bug in i3c_bus_set_addr_slot_status()
4b1f2ad28fe1 ASoC: Intel: avoid Oops if DMA setup fails
987722984163 UAS: fix alignment of scatter/gather segments
349bb9138b3a Bluetooth: hci_bcm: Fix empty regulator supplies for Intel Macs
41d5f23ef17b Bluetooth: Fix not initializing L2CAP tx_credits
2c93762f4b38 Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
1c1727f4b948 Bluetooth: hidp: fix buffer overflow
69d6687a5c66 scsi: qla2xxx: Fix device staying in blocked state
aee2053554ea scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
45076c8e403a scsi: lpfc: change snprintf to scnprintf for possible overflow
185e58d16ac8 soc: sunxi: Fix missing dependency on REGMAP_MMIO
34ebc8ad2ea4 ACPI / LPSS: Use acpi_lpss_* instead of acpi_subsys_* functions for hibernate
61ae16c4586b cpufreq: armada-37xx: fix frequency calculation for opp
573a935bfb4f iio: adc: qcom-spmi-adc5: Fix of-based module autoloading
284af2788432 intel_th: pci: Add Comet Lake support
704eaf49399f usb-storage: Set virt_boundary_mask to avoid SG overflows
bba2feefcacd USB: cdc-acm: fix unthrottle races
5b1c70f36832 USB: serial: f81232: fix interrupt worker not stop
083a8f69962a usb: dwc3: Fix default lpm_nyet_threshold value
9092861ce665 usb: dwc3: Allow building USB_DWC3_QCOM without EXTCON
70a44a01f8a4 genirq: Prevent use-after-free and work list corruption
b5dbb4058183 iommu/amd: Set exclusion range correctly
6610c1785f70 perf/core: Fix perf_event_disable_inatomic() race
a5f62d2c15a2 NFSv4.1 fix incorrect return value in copy_file_range
a3aa7cab0fc2 platform/x86: pmc_atom: Drop __initconst on dmi table
e6f2733f48cb nvmet: fix discover log page when offsets are used
ea359038ab73 nvme-fc: correct csn initialization and increments on error
407bb38bf3f7 nvme: cancel request synchronously
e62732d12bd9 blk-mq: introduce blk_mq_complete_request_sync()
e81f9ca291ac virtio-blk: limit number of hw queues by nr_cpu_ids
677713b1254f ALSA: hda: Fix racy display power access
7c7450aa9838 ASoC: stm32: sai: fix master clock management
60ec4c3d39be ASoC: Intel: kbl: fix wrong number of channels
c79f5a7a3559 drm/mediatek: no change parent rate in round_rate() for MT2701 hdmi phy
718254750661 drm/mediatek: using new factor for tvdpll for MT2701 hdmi phy
5b82d95ac6fe drm/mediatek: remove flag CLK_SET_RATE_PARENT for MT2701 hdmi phy
273ed6c20cb5 drm/mediatek: make implementation of recalc_rate() for MT2701 hdmi phy
4b112e5e6af9 drm/mediatek: fix the rate and divder of hdmi phy for MT2701
a873474c769a drm/mediatek: fix possible object reference leak
3051b6a1a14a scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
353392e5b9a5 KEYS: trusted: fix -Wvarags warning
6fb3aa5d7307 RDMA/hns: Fix bug that caused srq creation to fail
f4d87f9b027a RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
3fa40c30fe4c virtio_pci: fix a NULL pointer reference in vp_del_vqs
e0696fe3c10f drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
09c5ad16c22c slab: fix a crash by reading /proc/slab_allocators
ad74ab443e30 objtool: Add rewind_stack_do_exit() to the noreturn list
fa42760cf276 ASoC: cs35l35: Disable regulators on driver removal
c577757d294e drm/amd/display: fix cursor black issue
4b5f2b0ce17c drm/amdgpu: amdgpu_device_recover_vram always failed if only one node in shadow_list
f528dbeec017 drm/amdgpu: Adjust IB test timeout for XGMI configuration
255063992678 drm/amdkfd: Add picasso pci id
2f0ec100032e ASoC: rockchip: pdm: fix regmap_ops hang issue
dfa9efe42df2 xtensa: fix initialization of pt_regs::syscall in start_thread
9680a806201d iov_iter: Fix build error without CONFIG_CRYPTO
2e94d4e8f2b9 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
bae9b6b98342 perf/x86/intel: Initialize TFA MSR
9bd3e66587f5 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
83f3ed3b4bde drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
693d72f920e7 ASoC: tlv320aic32x4: Fix Common Pins
e904a8b14895 MIPS: KGDB: fix kgdb support for SMP platforms.
59188acd0c7d IB/hfi1: Fix the allocation of RSM table
a3270ed43389 IB/hfi1: Eliminate opcode tests on mr deref
1f9f22f6c7d6 IB/hfi1: Clear the IOWAIT pending bits when QP is put into error state
a2fdb5d19477 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
08aa8be65b52 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
15d326f9548b ASoC: cs4270: Set auto-increment bit for register writes
1be14f5da0b1 ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
9baa2f8ab758 ASoC: stm32: dfsdm: manage multiple prepare
5bff91d2a18f clk: meson-gxbb: round the vdec dividers to closest
b2b47cecd2ce ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
9fb991d9cf50 ASoC: rt5682: recording has no sound after booting
b2cb6f8f307b ASoC: rt5682: fix jack type detection issue
8425db671440 ASoC: rt5682: Check JD status when system resume
3f60f8813be9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
b44509a152a3 ASoC: nau8810: fix the issue of widget with prefixed name
6c4a8ae4baa6 ASoC: nau8824: fix the issue of the widget with prefix name
f4f4303c6d54 ASoC: dpcm: prevent snd_soc_dpcm use after free
71ec072682ff ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
ad8af1f8d26e ASoC:hdac_hda:use correct format to setup hda codec
30d948ac01d9 ASoC:soc-pcm:fix a codec fixup issue in TDM case
6872cfa57c42 ASoC: stm32: sai: fix race condition in irq handler
b329de3769b0 ASoC: stm32: sai: fix exposed capabilities in spdif mode
27162c8fdfb9 ASoC: stm32: sai: fix iec958 controls indexation
aba1a357cd90 ASoC: hdmi-codec: fix S/PDIF DAI
045c73ba325d ASoC: tlv320aic3x: fix reset gpio reference counting
ce3a072f275a staging: most: sound: pass correct device when creating a sound card
2dbcc037de1a staging: most: cdev: fix chrdev_region leak in mod_exit
3f57fef02fa7 staging: wilc1000: Avoid GFP_KERNEL allocation from atomic context.
9cccac4ee35f staging: greybus: power_supply: fix prop-descriptor request size
9fe5b8e9d4c2 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
7c03a3534d24 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
634424f63373 net: stmmac: Use bfsize1 in ndesc_init_rx_desc
(From OE-Core rev: 3faea669be9aa3c75ffbd5309316116392434aff)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 597eddc71a963613edea243c4c320ecbd6149916)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 688ac24fca404233d68f26ac8744938e96740541)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 531e5b0b790434d4cadd9b5abd4b76fc9f197709)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 35ec94fa3c3d3d6c2781f579c74094a271b220f9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when using the module (as used by various other perl
module ptests).
(From OE-Core rev: ba2dff81186c194c5f4b7361f2f9678068d93769)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: 0e1539bfa0e07a9d8d8a670ce4add221d1955feb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes runtime errors when running the ptest in a minimal image.
(From OE-Core rev: a99204f36afd1b98e6a0aabe70cc4d86d8d18315)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes the ptest to work in minimal images.
(From OE-Core rev: 2a74e127cbb1972923d8b35f6f41b6fba6cf96fa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the new source highlighter used by gtk-doc.
(From OE-Core rev: 18ac8091728ede09024385cc71acff2b59500017)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The wic image built for beaglebone-yocto needs the u-boot deployed artefacts but
there is no direct dependency. Usually this happens to work but if the u-boot
build fails, the image built with -k exposes this race.
Add the missing dependnecy.
[YOCTO #13280]
(From meta-yocto rev: d0abe4a39ad261bcd4993ebd3340c2160870959a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are taking a development version from an odd-even versioned project,
so upstream version check reports that the latest version is less than
the one the recipe is using.
UPSTREAM_VERSION_UNKNOWN avoids a version check failure until
there is a new stable series.
(From OE-Core rev: 0e7a4a14dc63588cfd5f6adff527f7613bb69c55)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
new-exp ptest fails as it expects non-root user.
>From the failed ptest log:
< new-exp.tests: the test suite should not be run as root
628c627
< argv[1] = <host(2)[5.0]# >
---
> argv[1] = <host(2)[5.0]$ >
FAIL: run-new-exp
Many of the ptests declare that they should not be run as root
and a few fail since the expected result strings are for a
user shell.
When ptests are run as bash_user (non-root) the glob test
fails with error:
run-glob-test
59,60d58
< touch: cannot touch 'a?': Permission denied
< touch: cannot touch 'aa': Permission denied
So ensure that the bash/ptest/tests directory is owned by the
bash_user while the tests are being run and return it to root
owner afterwards.
(From OE-Core rev: c125609886b36048cfde6e694eee7fb47f197241)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 91227184b5.
Instead of fixing incorrect regex, the commit actually broke the correct one.
Before the reverted commit:
alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses
INFO: ncurses 6.1 6.1+20181013 Hongxu Jia <hongxu.jia@windriver.com> 7a97a7f937762ba342d5b2fd7cd090885a809835
After the reverted commit:
alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses
INFO: ncurses 6.1 UNKNOWN_BROKEN Hongxu Jia <hongxu.jia@windriver.com>
The code in bitbake/lib/bb/fetch2/git.py actually splits each tag
with '/' as separator and takes only the last part for some reason,
so the "debian/" or "upstream/" prefixes are never a part of the string
that is matched against regex:
https://salsa.debian.org/debian/ncurses/tags
(From OE-Core rev: b6f4c130e5b2df458bf9d1b2d8edc8ac87fecf12)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Config_git.pl is required for Test::Builder and other perl ptest
modules. It was packaged before the perl-sanity change, but
missed in the refactoring.
(From OE-Core rev: a432df483a6b2c44518882b976c73b0d7ad28509)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A number of dependencies for Test::Builder and other perl ptest
modules were missing, especially Test2::API and its like.
Fixes [YOCTO #13200]
(From OE-Core rev: bad9856570094792de22c8a857cecfcb57d3555f)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ptests have additional dependency on:
* perl-module-filehandle
* perl-module-if
* perl-module-test
(From OE-Core rev: 278b4fb78cc35338f692c559b4e4c068e8f37c71)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to gitlab.freedesktop.org, as the previous
location is now a mirror of that and may be taken down.
Remove upstreamed patches.
(From OE-Core rev: a109aa96a3c3b8ce3d3e8076955fd72b3a60af77)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_populate_sysroot task doesn't rerun if you change any of the USERADD_PARAM
or GROUPADD_PARAM variables, only do_package will.
If another task depends on the recipe, this means it won't see any updated changes.
This patch adds in the missing vardeps ensuring the code is deterministic.
[YOCTO #13232]
(From OE-Core rev: 37d0382a3c67f47f8cfdd977a041069bf912b8c3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add missing files which needed by ptest test
to fix the ptest failures such as:
| sh: ../src/elflint: No such file or directory
| FAIL: asm-tst4
* Rework 0001-skip-the-test-when-gcc-not-deployed.patch
to skip the tests which depend on gcc
* Define INHIBIT_PACKAGE_STRIP_FILES for elfutils to
avoid stripping some generated binaries otherwise
some of the tests such as test-nlist, run-strip-reloc.sh,
run-strip-strmerge.sh and so on will fail
* Set EXCLUDE_PACKAGES_FROM_SHLIBS = "${PN}-ptest"
to avoid ${PN}-ptest be the shlibs provider to
fix below error:
Problem 1: package rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
- conflicting requests
- nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
Problem 2: package dnf-4.2.2-r0.core2_32 requires python3-rpm, but none of the providers can be installed
- package python3-rpm-1:4.14.2.1-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
- conflicting requests
- nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
Problem 3: package ltp-20190115-r0.core2_32 requires iproute2, but none of the providers can be installed
- package packagegroup-core-tools-testapps-1.0-r2.qemux86 requires ltp, but none of the providers can be installed
- package iproute2-5.1.0-r0.core2_32 requires elfutils-ptest >= 0.176, but none of the providers can be installed
- conflicting requests
- nothing provides elfutils-binutils needed by elfutils-ptest-0.176-r0.core2_32
Before:
--------------------------------------------
Recipe | Passed | Failed | Skipped
--------------------------------------------
elfutils | 176 | 23 | 4
--------------------------------------------
After:
--------------------------------------------
Recipe | Passed | Failed | Skipped
--------------------------------------------
elfutils | 199 | 0 | 4
--------------------------------------------
(From OE-Core rev: 174690b1745eadc6981d83b7c6869712e835b5d0)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The restriction against glibc-locale depending on virtual/libc is
removed now that libc-initial no longer exists.
Adding the DEPENDS on virtual/libc fixes a race (and reproducibility
issue) where the packages created by this recipe would have different
runtime dependencies depending on if libc had generated its packages yet
or not.
(From OE-Core rev: 75539cb23073596a9f13446dd6f3921755d7fb53)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since version 2.58 the glib-networking TLS database relies on GnuTLS's system
trust store, so not enabling it leads to TLS errors in applications depending on
glib-networking. The raised runtime warning is:
process:500): GLib-Net-WARNING **: 09:14:09.321: Failed to load TLS database: Failed to load system trust store: GnuTLS was not configured with a system trust
(app:490): ... TLS Error: TLS certificate has unknown CA.
(From OE-Core rev: 1d147be584d2f016853edbe9751247d7daa0b5d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
X11 support in at-spi2-core can be turned off at compile time, so leverage this
and disable it when X11 is not present in DISTRO_FEATURES.
(From OE-Core rev: be18dabdb28703c889f97faadbaec07e76d5e8bd)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Perl uses an internal #define called PERL_BUILD_DATE as the string for
the date when perl was built. If undefined, it defaults to using
__DATE__ and __TIME__, which is not reproducible. If SOURCE_DATE_EPOCH
is set at do_configure time, use it to generate a reproducible string
for PERL_BUILD_DATE.
(From OE-Core rev: 0ab44c72d0fb9b1d110ba975273b520cea5bf29f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When mixing aarch64 and x86_64 host builds with common sstate, useradd failures
were found. This was due to references to:
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/aarch64/pseudo-native/usr/bin/pseudo
or
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo
on the wrong architecture within the useradd postinst files.
Instead of using COMPONENTS_DIR as the FIXME, use PSEUDO_SYSROOT which contains
the arch component as well to avoid this.
Add extra comments to cause the relavent sstate to be rebuilt.
(From OE-Core rev: 0384622f72a6c0bd8225cf06f692340fdef67d4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The main issue is to make the x86 checks apply to x86 targets only. We may
end up with better checks on other architectures but this adapts the code to
allow for that and its still controlled by whether QB_CPU_KVM is set.
The code needed minor refactoring so the qemu-system-XXX name is set
earlier so the kvm code can use it.
(From OE-Core rev: 06c473a0127f19b76d0f647b87873944add1e331)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows kvm acceleration on arm systems that support it. "host" is the
best option I can find right now to attempt to use the acceleration. It
potentially might not be correct but arm systems are sensitive to the
correct values and I don't want to encode the autobuilders CPU type here.
(From OE-Core rev: f13788541f64774a586971ed57699e4397b38b32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes in this release:
979a351 [common] Add A2RGB10 fourcc definition
22cba79 build: meson: enables va messaging and visibility
b89f6ec va/va_trace: add trace support for RIR(rolling intra refresh).
844b90c va/va_trace: add trace support for ROI(region of interest).
(From OE-Core rev: 6072f1f3a0064bbb550367386d96c6cf7d88e32c)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since yocto thud, and more specifically since poky switched to
openssl 1.1 line, the openssl binary is provided by 'openssl-bin'. This
impacts the native and nativesdk recipe variants as well.
(From OE-Core rev: dc778c70449ee5401b5a24ad18b22b88338c47c5)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As of commit 898490c010b [moduleparam: Save information about built-in
modules in separate file] (kernels v5.2-rc1+), modules.builtin.modinfo
is generated as part of the kernel build process.
We package it along with the other module artifacts, so it can be used
by scripts/other build steps.
(From OE-Core rev: 112a4d3b2b4a829dd5657b6533b1c1bb589d6c8e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable updates that comprise the following
commits:
dafc674bbcb1 Linux 4.19.44
9fa23ea14e8f PCI: hv: Add pci_destroy_slot() in pci_devices_present_work(), if necessary
76888d135c4e PCI: hv: Add hv_pci_remove_slots() when we unload the driver
a47e0054253f PCI: hv: Fix a memory leak in hv_eject_device_work()
4179b8580219 powerpc/booke64: set RI in default MSR
71b20cdb4353 powerpc/powernv/idle: Restore IAMR after idle
69c2b71cb0c1 powerpc/book3s/64: check for NULL pointer in pgd_alloc()
e9ec5073c90d drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
ee3b53d89967 drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
afa485dc6f17 tipc: fix hanging clients using poll with EPOLLOUT flag
98652e0b0a1b isdn: bas_gigaset: use usb_fill_int_urb() properly
17d8a9ebaa99 tuntap: synchronize through tfiles array instead of tun->numqueues
9c79732f98a8 tuntap: fix dividing by zero in ebpf queue selection
737713e6d835 vrf: sit mtu should not be updated when vrf netdev is the link
e38406070729 vlan: disable SIOCSHWTSTAMP in container
dfdfad3d188f selinux: do not report error on connect(AF_UNSPEC)
9f51d6f72063 packet: Fix error path in packet_init
2e95eb9c92f7 net: ucc_geth - fix Oops when changing number of buffers in the ring
210057b79e71 net: seeq: fix crash caused by not set dev.parent
dfd919285f27 net: macb: Change interrupt and napi enable order in open
68df8383f3ca net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
9284895b7ee6 net: dsa: Fix error cleanup path in dsa_init_module
da2e770f0c4a ipv4: Fix raw socket lookup for local traffic
947fec630c41 fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied
c7b5e55be825 dpaa_eth: fix SG frame cleanup
a79feef32392 bridge: Fix error path for kobject_init_and_add()
9c2cda31196a bonding: fix arp_validate toggling in active-backup mode
0dc9ad4e904d powerpc/64s: Include cpu header
db1b4aa651df um: Don't hardcode path as it is architecture dependent
85f347944a6b Don't jump to compute_result state from check_result state
ace28a8efdd4 rtlwifi: rtl8723ae: Fix missing break in switch statement
d756d1dea670 mwl8k: Fix rate_idx underflow
c300c98a94b4 cw1200: fix missing unlock on error in cw1200_hw_scan()
575260507647 x86/kprobes: Avoid kretprobe recursion bug
322a57551d06 nfc: nci: Potential off by one in ->pipes[] array
f5e60565e6bd NFC: nci: Add some bounds checking in nci_hci_cmd_received()
21e9515b7d16 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
85b9e8694f9c net/tls: fix the IV leaks
e38c6748d1cc mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
835ae6cc28d9 mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
880a328e197b mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
a80f62f781c2 mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
fb7c783b3139 net: fec: manage ahb clock in runtime pm
c18731c2786c netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
5014aa937422 netfilter: nf_tables: use-after-free in dynamic operations
9965da064e9a usb: typec: Fix unchecked return value
68321994225d mm/memory.c: fix modifying of page protection by insert_pfn()
bc3361461fcb net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
19f4f94fdb2a powerpc/smp: Fix NMI IPI xmon timeout
f8bd34d1d399 powerpc/smp: Fix NMI IPI timeout
6a60fb62c82a mm/memory_hotplug.c: drop memory device reference after find_memory_block()
fb67c97c4e2f RDMA/hns: Bugfix for mapping user db
afc7cebbbb5e Input: synaptics-rmi4 - fix possible double free
f621bc1bd7f4 drm/sun4i: Unbind components before releasing DRM and memory
21b71e191bd8 spi: ST ST95HF NFC: declare missing of table
09185e359827 spi: Micrel eth switch: declare missing of table
3835cb5a911f ARM: 8856/1: NOMMU: Fix CCR register faulty initialization when MPU is disabled
521ae4da71cc drm/imx: don't skip DP channel disable for background plane
df3a97d197a3 gpu: ipu-v3: dp: fix CSC handling
3a53fa469d60 netfilter: fix nf_l4proto_log_invalid to log invalid packets
5bc3d4491821 selftests/net: correct the return value for run_netsocktests
24b1c849ce9d drm/sun4i: Fix component unbinding and component master deletion
1973df1ec5bc drm/sun4i: Set device driver data at bind time for use in unbind
005325b7f026 s390: ctcm: fix ctcm_new_device error return code
ca8648816e3d MIPS: perf: ath79: Fix perfcount IRQ assignment
743a5a951d4d netfilter: nf_tables: prevent shift wrap in nft_chain_parse_hook()
7b115755fb9d netfilter: ctnetlink: don't use conntrack/expect object addresses as id
4e1994ef6365 ipvs: do not schedule icmp errors from tunnels
cb9a11d017c6 selftests: netfilter: check icmp pkttoobig errors are set as related
74e9b761fba0 init: initialize jump labels before command line option parsing
6536de8232c8 mm: fix inactive list balancing between NUMA nodes and cgroups
1134736869ef scsi: aic7xxx: fix EISA support
ba87f547b0f7 ocelot: Don't sleep in atomic context (irqs_disabled())
9e4fd5e0b81a ipmi: ipmi_si_hardcode.c: init si_type array to fix a crash
7d4d8683e925 tools lib traceevent: Fix missing equality check for strcmp
0c8afd514df0 KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
d39f3cc71382 KVM: fix spectrev1 gadgets
4074bc379b1f x86/reboot, efi: Use EFI reboot for Acer TravelMate X514-51T
3b51d71365e0 x86/build/lto: Fix truncated .bss with -fdata-sections
8eb64692d6e2 s390/pkey: add one more argument space for debug feature entry
e360515f41fc drm/amd/display: If one stream full updates, full update all planes
58be7c109cea afs: Unlock pages for __pagevec_release()
08f2c299b38c qede: fix write to free'd pointer error and double free of ptp
090b74020014 vxge: fix return of a free'd memblock on a failed dma mapping
f83beff28048 mISDN: Check address length before reading address family
e4525c9d9ada selftests: fib_tests: Fix 'Command line is not complete' errors
7828986b84ba clocksource/drivers/oxnas: Fix OX820 compatible
6a414ef36840 clocksource/drivers/npcm: select TIMER_OF
068d1cce7801 drm/amd/display: extending AUX SW Timeout
2773e7454f4f s390/3270: fix lockdep false positive on view->lock
4c8c9d514917 libnvdimm/pmem: fix a possible OOB access when read and write pmem
f2565d0e5277 nl80211: Add NL80211_FLAG_CLEAR_SKB flag for other NL commands
1d918120e37d mac80211: fix memory accounting with A-MSDU aggregation
9d4da01f7d66 cfg80211: Handle WMM rules in regulatory domain intersection
35e2abbaffa2 mac80211: Increase MAX_MSG_LEN
bbe1ab38e1a2 mac80211: fix unaligned access in mesh table hash function
e28e5055eacd s390/dasd: Fix capacity calculation for large volumes
af5b7a150ef8 libnvdimm/btt: Fix a kmemdup failure check
f7ab4818f74e HID: input: add mapping for "Toggle Display" key
bbdccc170adf HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
dc30867da997 HID: input: add mapping for Expose/Overview key
e94f852e2034 libnvdimm/namespace: Fix a potential NULL pointer dereference
5f72e3a021a6 acpi/nfit: Always dump _DSM output payload
f07db1f1f54c iio: adc: xilinx: prevent touching unclocked h/w on remove
6400212ae3b6 iio: adc: xilinx: fix potential use-after-free on probe
06d5ea398e55 iio: adc: xilinx: fix potential use-after-free on remove
5640d0781267 USB: serial: fix unthrottle races
4c416eef65a7 virt: vbox: Sanity-check parameter types for hgcm-calls coming from userspace
e361ccccdd51 kernfs: fix barrier usage in __kernfs_new_node()
f1917f21c8f6 hwmon: (pwm-fan) Disable PWM if fetching cooling data fails
87cc345aefc9 platform/x86: dell-laptop: fix rfkill functionality
381eaca5017f platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
efe6802e812b platform/x86: sony-laptop: Fix unintentional fall-through
824c212908b6 bfq: update internal depth state when queue depth changes
3351e9d39947 Linux 4.19.43
b21bde49d386 x86/speculation/mds: Fix documentation typo
8e65568e9d23 Documentation: Correct the possible MDS sysfs values
2e4c54890226 x86/mds: Add MDSUM variant to the MDS documentation
12a0dad799fb x86/speculation/mds: Add 'mitigations=' support for MDS
59a14fb5832c s390/speculation: Support 'mitigations=' cmdline option
74857f69fec5 powerpc/speculation: Support 'mitigations=' cmdline option
af5332dd991e x86/speculation: Support 'mitigations=' cmdline option
8cb932aca5d6 cpu/speculation: Add 'mitigations=' cmdline option
7ba793ae7b9f x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
e9ae32266605 x86/speculation/mds: Fix comment
b9faa4652867 x86/speculation/mds: Add SMT warning message
b3a63d9c7453 x86/speculation: Move arch_smt_update() call to after mitigation decisions
f7a119a762ef x86/speculation/mds: Add mds=full,nosmt cmdline option
cfaa3d76301e Documentation: Add MDS vulnerability documentation
e3803099d2f4 Documentation: Move L1TF to separate directory
c50e81fe8a13 x86/speculation/mds: Add mitigation mode VMWERV
8230c2028dce x86/speculation/mds: Add sysfs reporting for MDS
2951067089a3 x86/speculation/mds: Add mitigation control for MDS
4df98b3f3161 x86/speculation/mds: Conditionally clear CPU buffers on idle entry
b39dc9a8cced x86/kvm/vmx: Add MDS protection when L1D Flush is not active
e4fa775b5606 x86/speculation/mds: Clear CPU buffers on exit to user
1f7c31be1e04 x86/speculation/mds: Add mds_clear_cpu_buffers()
de89ff6f1674 x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
aca9e8d8e2ce x86/speculation/mds: Add BUG_MSBDS_ONLY
2e9104aa2633 x86/speculation/mds: Add basic bug infrastructure for MDS
00b76324bd35 x86/speculation: Consolidate CPU whitelists
e09450ffa980 x86/msr-index: Cleanup bit defines
ca0056d97840 kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
1f1bc8222ce7 x86/cpu: Sanitize FAM6_ATOM naming
34aae15cb179 Documentation/l1tf: Fix small spelling typo
9c2556f428cf Linux 4.19.42
9ccdbde1850c arm64: futex: Bound number of LDXR/STXR loops in FUTEX_WAKE_OP
0f4ef8fb1dae locking/futex: Allow low-level atomic operations to return -EAGAIN
6fee39874d1f ASoC: Intel: avoid Oops if DMA setup fails
c3b3955f0250 UAS: fix alignment of scatter/gather segments
38f092c41ceb Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
c6d1f9b4b2cb Bluetooth: hidp: fix buffer overflow
de7fe08b92dc scsi: qla2xxx: Fix device staying in blocked state
ef7014d76361 scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
7a793ca17357 scsi: lpfc: change snprintf to scnprintf for possible overflow
8b330b3efa91 soc: sunxi: Fix missing dependency on REGMAP_MMIO
557be5771563 cpufreq: armada-37xx: fix frequency calculation for opp
6b7daf1ff8bf intel_th: pci: Add Comet Lake support
5b2ba94386eb usb-storage: Set virt_boundary_mask to avoid SG overflows
18e6f3027642 USB: cdc-acm: fix unthrottle races
bce2b9d63786 USB: serial: f81232: fix interrupt worker not stop
caa5680dc05a usb: dwc3: Fix default lpm_nyet_threshold value
33f2aa87c294 genirq: Prevent use-after-free and work list corruption
29184cbaaec0 iommu/amd: Set exclusion range correctly
42638d6aae06 perf/core: Fix perf_event_disable_inatomic() race
c1189d68be7d platform/x86: pmc_atom: Drop __initconst on dmi table
777943cd6c5f nvme-fc: correct csn initialization and increments on error
0e8e67b8147f virtio-blk: limit number of hw queues by nr_cpu_ids
d955bb0b3189 ASoC: Intel: kbl: fix wrong number of channels
e5c749ad6d7f drm/mediatek: fix possible object reference leak
8f4dbd17777f scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
fb357b9eb47d RDMA/hns: Fix bug that caused srq creation to fail
8dfb2896d8c7 RDMA/vmw_pvrdma: Fix memory leak on pvrdma_pci_remove
5984fd687600 virtio_pci: fix a NULL pointer reference in vp_del_vqs
a8f5c1bceb25 drm/sun4i: tcon top: Fix NULL/invalid pointer dereference in sun8i_tcon_top_un/bind
78bc98235e84 slab: fix a crash by reading /proc/slab_allocators
cf6cb79d57b0 objtool: Add rewind_stack_do_exit() to the noreturn list
e66e72710962 ASoC: cs35l35: Disable regulators on driver removal
dd015a3b072a drm/amd/display: fix cursor black issue
88294658ddbe ASoC: rockchip: pdm: fix regmap_ops hang issue
95587274e9d5 linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
7d10436ca569 perf/x86/intel: Initialize TFA MSR
2b791e8ee7b2 perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
929d019d6d44 drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()
0fb785e28833 ASoC: tlv320aic32x4: Fix Common Pins
e6efcbf3cbce MIPS: KGDB: fix kgdb support for SMP platforms.
09c6954e83e8 IB/hfi1: Fix the allocation of RSM table
3abd4aef917f IB/hfi1: Eliminate opcode tests on mr deref
1ed91af83a45 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
d356db088333 ASoC: dapm: Fix NULL pointer dereference in snd_soc_dapm_free_kcontrol
6f69661f6ebe ASoC: cs4270: Set auto-increment bit for register writes
8f5077ceee5f ASoC: stm32: dfsdm: fix debugfs warnings on entry creation
33ffe0807d52 ASoC: stm32: dfsdm: manage multiple prepare
74f5898f660d clk: meson-gxbb: round the vdec dividers to closest
8aa62dc731e5 ASoC: wm_adsp: Add locking to wm_adsp2_bus_error
2ece73fe079b ASoC: rt5682: recording has no sound after booting
afcbb3c755c9 ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate
7525d6104ca4 ASoC: nau8810: fix the issue of widget with prefixed name
c2119de4ed41 ASoC: nau8824: fix the issue of the widget with prefix name
29f1b9761520 ASoC:intel:skl:fix a simultaneous playback & capture issue on hda platform
581a8bd9fa8b ASoC:soc-pcm:fix a codec fixup issue in TDM case
c37f7344075a ASoC: stm32: sai: fix exposed capabilities in spdif mode
2aeceaaff09b ASoC: stm32: sai: fix iec958 controls indexation
6544b4966193 ASoC: hdmi-codec: fix S/PDIF DAI
98a80393b82a ASoC: tlv320aic3x: fix reset gpio reference counting
34ae4c6a3609 staging: most: cdev: fix chrdev_region leak in mod_exit
2197e11bb624 staging: greybus: power_supply: fix prop-descriptor request size
35d2c86db2d4 ubsan: Fix nasty -Wbuiltin-declaration-mismatch GCC-9 warnings
eb7b8d1afb92 Drivers: hv: vmbus: Remove the undesired put_cpu_ptr() in hv_synic_cleanup()
0f18e433b97b scsi: libsas: fix a race condition when smp task timeout
e629cabe34ed net: stmmac: Use bfsize1 in ndesc_init_rx_desc
21de7eb67cff Linux 4.19.41
e7c2d066566b mm/kmemleak.c: fix unused-function warning
5b94768bd07c ASoC: wm_adsp: Check for buffer in trigger stop
c5c74e63985f media: v4l2: i2c: ov7670: Fix PLL bypass register values
5f18c95d2964 i2c: i2c-stm32f7: Fix SDADEL minimum formula
7a32cbf1720b x86/mm/tlb: Revert "x86/mm: Align TLB invalidation info"
c48b027f2aa3 x86/mm: Fix a crash with kmemleak_scan()
052c78f5cfe2 x86/mm/KASLR: Fix the size of the direct mapping section
d572a3a03f63 clk: x86: Add system specific quirk to mark clocks as critical
61ff44069f5b x86/mce: Improve error message when kernel cannot recover, p2
c7e220eff874 powerpc/mm/hash: Handle mmap_min_addr correctly in get_unmapped_area topdown search
a78c3898de59 mac80211: Honor SW_CRYPTO_CONTROL for unicast keys in AP VLAN mode
574be221407e selinux: never allow relabeling on context mounts
6b13ae52ac75 selinux: avoid silent denials in permissive mode under RCU walk
53ffa56456fb gpio: mxc: add check to return defer probe if clock tree NOT ready
a10c88bf365a Input: stmfts - acknowledge that setting brightness is a blocking call
a99b9c82bde6 Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
8d5c1c039708 IB/core: Destroy QP if XRC QP fails
841487432d11 IB/core: Fix potential memory leak while creating MAD agents
dabcbe58d8bc IB/core: Unregister notifier before freeing MAD security
d1698f74bdbd platform/x86: intel_pmc_core: Handle CFL regmap properly
51e777c795ce platform/x86: intel_pmc_core: Fix PCH IP name
d4f1e3ef9586 ASoC: stm32: fix sai driver name initialisation
7d3f7107079b ASoC: wm_adsp: Correct handling of compressed streams that restart
3b958d5e6972 ASoC: Intel: bytcr_rt5651: Revert "Fix DMIC map headsetmic mapping"
9d696f405e6d scsi: RDMA/srpt: Fix a credit leak for aborted commands
f16e83170e25 staging: iio: adt7316: fix the dac write calculation
ad774285beee staging: iio: adt7316: fix the dac read calculation
7041e3d6b81f staging: iio: adt7316: allow adt751x to use internal vref for all dacs
2ccaef716388 clk: qcom: Add missing freq for usb30_master_clk on 8998
8897bf03ec30 Bluetooth: mediatek: fix up an error path to restore bdev->tx_state
f5ad05e680aa Bluetooth: btusb: request wake pin with NOAUTOEN
3f8497cfff3b perf/x86/amd: Update generic hardware cache events for Family 17h
96e4471d3881 block: pass no-op callback to INIT_WORK().
14f3c36b47ed ARM: iop: don't use using 64-bit DMA masks
39839f3ec616 ARM: orion: don't use using 64-bit DMA masks
04b4d5f75ab0 fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock
a82cfd770651 xsysace: Fix error handling in ace_setup
54ad0956ef93 sh: fix multiple function definition build errors
b51fdcbe45d1 hugetlbfs: fix memory leak for resv_map
6a62bbe82343 kmemleak: powerpc: skip scanning holes in the .bss section
82e8da1f1a91 KVM: SVM: prevent DBG_DECRYPT and DBG_ENCRYPT overflow
57186663b3a1 libcxgb: fix incorrect ppmax calculation
5c5e9f23df7a net: hns: Fix WARNING when remove HNS driver with SMMU enabled
c9f431017617 net: hns: fix ICMP6 neighbor solicitation messages discard problem
1ff38d33d7c4 net: hns: Fix probabilistic memory overwrite when HNS driver initialized
7713ee691767 net: hns: Use NAPI_POLL_WEIGHT for hns driver
7e7befd8dee2 net: hns: fix KASAN: use-after-free in hns_nic_net_xmit_hw()
98d6651f1878 arm64: fix wrong check of on_sdei_stack in nmi context
69da58b7386c arm/mach-at91/pm : fix possible object reference leak
8052c066e6d0 scsi: storvsc: Fix calculation of sub-channel count
03260f46f2d1 scsi: core: add new RDAC LENOVO/DE_Series device
4d043d3d2be1 vfio/pci: use correct format characters
7ce0b428c046 HID: input: add mapping for Assistant key
ce9e2dc03f63 rtc: da9063: set uie_unsupported when relevant
e5be04ee1766 block: use blk_free_flush_queue() to free hctx->fq in blk_mq_init_hctx
177edf25706a mfd: twl-core: Disable IRQ while suspended
f0112b649525 debugfs: fix use-after-free on symlink traversal
e22c11da0a86 jffs2: fix use-after-free on symlink traversal
7cce2543cbcd net: stmmac: don't log oversized frames
f86c1d3f10a2 net: stmmac: fix dropping of multi-descriptor RX frames
0ab012e3df48 net: stmmac: don't overwrite discard_frame status
2170bbf19f6e net: stmmac: don't stop NAPI processing when dropping a packet
cd50daabf5ee net: stmmac: ratelimit RX error logs
c13a936f46e3 net: stmmac: use correct DMA buffer size in the RX descriptor
824451fdcfc2 bonding: show full hw address in sysfs for slave entries
f91bb70a3616 net/mlx5: E-Switch, Fix esw manager vport indication for more vport commands
7e0548e111e5 net: hns3: fix compile error
6869dd570f10 HID: quirks: Fix keyboard + touchpad on Lenovo Miix 630
bc031095828b riscv: fix accessing 8-byte variable from RV32
0424b0b35793 igb: Fix WARN_ONCE on runtime suspend
cc04b5b3314a reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev
ef9533481c11 ARM: dts: rockchip: Fix gpu opp node names for rk3288
894b4fc04387 batman-adv: fix warning in function batadv_v_elp_get_throughput
7afe374cc718 batman-adv: Reduce tt_global hash refcnt only for removed entry
6957021da735 batman-adv: Reduce tt_local hash refcnt only for removed entry
be807f9b4fc4 batman-adv: Reduce claim hash refcnt only for removed entry
8a734e251c0c rtc: sh: Fix invalid alarm warning for non-enabled alarm
5b5c653ddf91 rtc: cros-ec: Fail suspend/resume if wake IRQ can't be configured
2f4052ffd9be HID: debug: fix race condition with between rdesc_show() and device removal
61effc648fe4 HID: logitech: check the return value of create_singlethread_workqueue
dbfef4bd8836 arm64: dts: rockchip: fix rk3328-roc-cc gmac2io tx/rx_delay
3e6b472f474a efi: Fix debugobjects warning on 'efi_rts_work'
30673786f906 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
83c6688d679c USB: core: Fix bug caused by duplicate interface PM usage counter
7b73c2a056b3 USB: core: Fix unterminated string returned by usb_string()
7df0d2c7d092 usb: usbip: fix isoc packet num validation in get_pipe
512ce15023a8 USB: dummy-hcd: Fix failure to give back unlinked URBs
508954883054 USB: w1 ds2490: Fix bug caused by improper use of altsetting array
9f632afe4f39 USB: yurex: Fix protection fault after device removal
f02c6460a5b6 ALSA: hda/realtek - Apply the fixup for ASUS Q325UAR
347411f9aded ALSA: hda/realtek - Fixed Dell AIO speaker noise
f937634b6626 ALSA: hda/realtek - Add new Dell platform for headset mode
b19c230648b5 i2c: Prevent runtime suspend of adapter when Host Notify is required
04e07919f7da i2c: Allow recovery of the initial IRQ by an I2C client device.
1e031ab31843 i2c: Clear client->irq in i2c_device_remove
63eab25ed1cc i2c: Remove unnecessary call to irq_find_mapping
e89ba70e10b2 i2c: imx: correct the method of getting private data in notifier_call
d1493c5cbbad i2c: synquacer: fix enumeration of slave devices
ec30811209e4 mac80211: don't attempt to rename ERR_PTR() debugfs dirs
be7df63d3680 mwifiex: Make resume actually do something useful again on SDIO cards
81a7534f9ef4 iwlwifi: fix driver operation for 5350
(From OE-Core rev: 0a70d1c66ccb52cbdbe655eccd0560ca38ed5677)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest -stable release which comprises the following
changes:
1656b1457209 Linux 4.19.40
cc313d405b0c ath10k: Drop WARN_ON()s that always trigger during system resume
d0a5000f10e7 ALSA: line6: use dynamic buffers
68d49ff47789 KVM: nVMX: Fix size checks in vmx_set_nested_state
499bbe739d5a KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
d0771bd41c27 net/tls: fix copy to fragments in reencrypt
dd424182bc2d net/tls: don't copy negative amounts of data in reencrypt
f1fd68e93409 bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
396350737326 bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
09a921361353 bnxt_en: Improve multicast address setup logic.
6a57fa6fa7d5 packet: validate msg_namelen in send directly
7a42cf4dfa43 selftests: fib_rule_tests: print the result and return 1 if any tests failed
b563e9bbabfe sctp: avoid running the sctp state machine recursively
fdd36abd9d09 rxrpc: Fix net namespace cleanup
a976384b9553 net/tls: avoid NULL pointer deref on nskb->sk in fallback
1d412d873a12 net: phy: marvell: Fix buffer overrun with stats counters
b48a0a1207e9 net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
485f382f2c6d l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
e571a33963f4 l2ip: fix possible use-after-free
f78ec0cd0664 ipv6: invert flowlabel sharing check in process and user mode
39eddbb7cab3 ipv6/flowlabel: wait rcu grace period before put_pid()
1a9e0134af40 ipv6: fix races in ip6_dst_destroy()
7ea4f000c41f ipv6: A few fixes on dereferencing rt->from
3f611a479962 ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
ad119c970bbe Linux 4.19.39
ee096f0dc4a4 leds: trigger: netdev: use memcpy in device_name_store
2663959af22c leds: pca9532: fix a potential NULL pointer dereference
13a6a6dd3c11 ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
71f3397a1c31 iommu/amd: Reserve exclusion range in iova-domain
75a5e3e6340c kconfig/[mn]conf: handle backspace (^H) key
458a65c71029 perf machine: Update kernel map address and re-order properly
60d3b51d05a7 nvme-multipath: relax ANA state check
a918af5b6fd8 gpio: of: Fix of_gpiochip_add() error path
43dba153d52b libata: fix using DMA buffers on stack
6a364b2e47a6 x86/mm: Don't exceed the valid physical address space
a138f995ab84 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
97c4f3a8853c ceph: fix use-after-free on symlink traversal
90ce58d457c2 usb: u132-hcd: fix resource leak
fe71e625e23f x86/realmode: Don't leak the trampoline kernel address
04cac1dce923 leds: trigger: netdev: fix refcnt leak on interface rename
0018c21f34d6 usb: usb251xb: fix to avoid potential NULL pointer dereference
4135e588274e scsi: qla4xxx: fix a potential NULL pointer dereference
a2b302e4f2fb scsi: aacraid: Insure we don't access PCIe space during AER/EEH
2c8c8ef8d3b4 scsi: mpt3sas: Fix kernel panic during expander reset
6222f1c6ed97 ARM: davinci: fix build failure with allnoconfig
5d545dde8d9d drm/meson: Uninstall IRQ handler
efa69a66697c drm/meson: Fix invalid pointer in meson_drv_unbind()
c87a5086d354 gpio: aspeed: fix a potential NULL pointer dereference
c5eb9a424ebd drm: Fix drm_release() and device unplug
11242181f52f net: ethernet: ti: fix possible object reference leak
ae6e6bbc1741 net: ibm: fix possible object reference leak
b9c8db41912f net: xilinx: fix possible object reference leak
b989a3e9d260 NFS: Fix a typo in nfs_init_timeout_values()
e0c34051669c drm/tegra: hub: Fix dereference before check
abd76731f899 ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
2b0e6d6bf088 net/sched: don't dereference a->goto_chain to read the chain index
b435a79e5a87 net: macb: Add null check for PCLK and HCLK
f85682bc594a staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
c5750b45e406 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
5a5f1decd6fc staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
d55bfd0746ae staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
bfa4cd06a902 net: ks8851: Set initial carrier state to down
3796ab4828ed net: ks8851: Delay requesting IRQ until opened
3005509f88e3 net: ks8851: Reassert reset pin if chip ID check fails
fb6ca157d738 net: ks8851: Dequeue RX packets explicitly
cdef35e83c3f i2c: i801: Add support for Intel Comet Lake
c6694e7c8bf6 ARM: dts: pfla02: increase phy reset duration
41be4abfb04d usb: gadget: net2272: Fix net2272_dequeue()
edaebfe7721c usb: gadget: net2280: Fix net2280_dequeue()
346eab0d1559 usb: gadget: net2280: Fix overrun of OUT messages
710d4f29fe38 usb: dwc3: pci: add support for Comet Lake PCH ID
e4705ae72736 KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
0371fa033741 KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
51a5d70a59ee KVM: arm64: Reset the PMU in preemptible context
2ba0421f2b77 serial: ar933x_uart: Fix build failure with disabled console
1d815c5a9434 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
2cbb465e526a ARM: imx51: fix a leaked reference by adding missing of_node_put
f67021192cc1 s390/qeth: fix race when initializing the IP address table
e634fc48661f netfilter: ip6t_srh: fix NULL pointer dereferences
506375f509b8 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
a5374a3086d6 netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
5f7e5b9bba19 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
2fbb4c48f138 staging, mt7621-pci: fix build without pci support
99f1ba88d7f8 staging: axis-fifo: add CONFIG_OF dependency
947bd0d9bdbc xsk: fix umem memory leak on cleanup
fc055dffa575 qlcnic: Avoid potential NULL pointer dereference
98650508a9d0 net: stmmac: don't set own bit too early for jumbo frames
24a46cad0e18 ieee802154: hwsim: propagate genlmsg_reply return code
f722b7789afa net: ieee802154: fix a potential NULL pointer dereference
a1e34e289e15 s390: limit brk randomization to 32MB
d52dfdf1845d ARM: dts: bcm283x: Fix hdmi hpd gpio pull
0311ff82b70f fs: prevent page refcount overflow in pipe_buf_get
d972ebbf42ba mm: prevent get_user_pages() from overflowing page refcount
0612cae7ec6b mm: add 'try_get_page()' helper function
9f6da5fd0557 mm: make page ref count overflow check tighter and more explicit
99ae2bd0772f Revert "ACPICA: Clear status of GPEs before enabling them"
145f6a70bb9b selinux: use kernel linux/socket.h for genheaders and mdp
a03957ab0fd5 Linux 4.19.38
5cb299c80651 powerpc/fsl: Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg
53db65232428 net/tls: don't leak IV and record seq when offload fails
d3bdd359fa53 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
041b3224e8f8 net/mlx5e: Fix use-after-free after xdp_return_frame
ae6b07107458 net/mlx5e: Fix the max MTU check in case of XDP
b08774d38882 mlxsw: spectrum: Put MC TCs into DWRR mode
21e47998d959 mlxsw: pci: Reincrease PCI reset timeout
e875a409594b net: hns: Fix WARNING when hns modules installed
7ce836e8a963 team: fix possible recursive locking when add slaves
1f78e75e85bb stmmac: pci: Adjust IOT2000 matching
e97f0bc7be88 net/tls: fix refcount adjustment in fallback
b02f8aa85604 net: stmmac: move stmmac_check_ether_addr() to driver probe
d7b10dfe6c31 net/rose: fix unbound loop in rose_loopback_timer()
ed1866aa608a net: rds: exchange of 8K and 1M pool
7da11d6a5d85 net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
829fd9849e44 mlxsw: spectrum: Fix autoneg status in ethtool
250e51f856e1 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
07445fea9575 ipv4: add sanity checks in ipv4_link_failure()
d4ff57d0320b x86/fpu: Don't export __kernel_fpu_{begin,end}()
423497a96d4a mm: Fix warning in insert_pfn()
e923c6b70ce2 x86/retpolines: Disable switch jump tables when retpolines are enabled
6cfcff3cfb0e x86, retpolines: Raise limit for generating indirect calls from switch-case
e9e47779aaa7 Fix aio_poll() races
aab66dfb757a aio: store event at final iocb_put()
c20202c51d2b aio: keep io_event in aio_kiocb
592ea630b081 aio: fold lookup_kiocb() into its sole caller
c7f2525abfec pin iocb through aio.
d6b2615f7d31 aio: simplify - and fix - fget/fput for io_submit()
2afa01cd9186 aio: initialize kiocb private in case any filesystems expect it.
a812f7b68a39 aio: abstract out io_event filler helper
d384f8b855a5 aio: split out iocb copy from io_submit_one()
4d677689742a aio: use iocb_put() instead of open coding it
ef529eead8cf aio: don't zero entire aio_kiocb aio_get_req()
730198c889d8 aio: separate out ring reservation from req allocation
b3373253f0ba aio: use assigned completion handler
9101cbe70ef6 aio: clear IOCB_HIPRI
920ecc72093d rxrpc: fix race condition in rxrpc_input_packet()
5a228d5ddca2 net/rds: Check address length before reading address family
e30203e4f94d net: netrom: Fix error cleanup path of nr_proto_init
a0cb0faa15f3 tipc: check link name with right length in tipc_nl_compat_link_set
f21fae8049cd tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
9b9b0df4e788 fm10k: Fix a potential NULL pointer dereference
f7dc13d6e4a2 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
94ad68a6e570 NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
245a94a0ffab sched/deadline: Correctly handle active 0-lag timers
6bf7d3c5c0c5 binder: fix handling of misaligned binder object
8c37f7c23c02 workqueue: Try to catch flush_work() without INIT_WORK().
4d476a00b3f9 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
bce00f419c9d intel_th: gth: Fix an off-by-one in output unassigning
9c8c39bae89a slip: make slhc_free() silently accept an error pointer
f41d2de67101 USB: Consolidate LPM checks to avoid enabling LPM twice
50cda8891818 USB: Add new USB LPM helpers
8c700e902ceb drm/vc4: Fix compilation error reported by kbuild test bot
2bc7ce32eb21 Revert "drm/i915/fbdev: Actually configure untiled displays"
2c892ef09435 drm/vc4: Fix memory leak during gpu reset.
087341c0f40d powerpc/mm/radix: Make Radix require HUGETLB_PAGE
478afe341d29 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
129c337c6659 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
0f00e1c599b3 dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
f7b467ad1be0 vfio/type1: Limit DMA mappings per container
ac9e2bece112 Input: synaptics-rmi4 - write config register values to the right offset
37ecf31a3e5e perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
c0309570a5f1 sunrpc: don't mark uninitialised items as VALID.
b4d4b5e4b839 nfsd: Don't release the callback slot unless it was actually held
950eec812600 ceph: fix ci->i_head_snapc leak
246d2bf32da1 ceph: ensure d_name stability in ceph_dentry_hash()
8d693ef0141c ceph: only use d_name directly when parent is locked
9b8c07129ddf sched/numa: Fix a possible divide-by-zero
1af34bf97eca RDMA/mlx5: Do not allow the user to write to the clock page
8ac57d1bdc25 IB/rdmavt: Fix frwr memory registration
d0264d10ae6a trace: Fix preempt_enable_no_resched() abuse
7f9c9d1d79fd MIPS: scall64-o32: Fix indirect syscall number load
ce900ddd660d lib/Kconfig.debug: fix build error without CONFIG_BLOCK
710733e539d1 zram: pass down the bvec we need to read into in the work struct
a19e4a1b4c63 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
cffeb9c84d20 tracing: Fix buffer_ref pipe ops
0e78e92da2d8 tracing: Fix a memory leak by early error exit in trace_pid_write()
ee231063ff95 cifs: do not attempt cifs operation on smb2+ rename error
d5bf783a09a0 cifs: fix memory leak in SMB2_read
15e978391577 net: dsa: mv88e6xxx: add call to mv88e6xxx_ports_cmode_init to probe for new DSA framework
984c4e00c387 ALSA: hda/ca0132 - Fix build error without CONFIG_PCI
1e0cab1bce57 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
ae5e0c773ca6 ipvs: fix warning on unused variable
8e59639791f2 vsock/virtio: fix kernel panic from virtio_transport_reset_no_sock
416699b9bb90 drm/rockchip: fix for mailbox read validation.
1832b1517c2b loop: do not print warn message if partition scan is successful
070e34b627f4 tipc: handle the err returned from cmd header function
8766cc7d0d1d ext4: fix some error pointer dereferences
816e3e2258e8 net: mvpp2: fix validate for PPv2.1
e7ddd6af17e4 net/ibmvnic: Fix RTNL deadlock during device reset
ffc1d85e8c5f netfilter: nf_tables: bogus EBUSY in helper removal from transaction
e313d5da057b netfilter: nf_tables: bogus EBUSY when deleting set after flush
25ddad73070c netfilter: nf_tables: fix set double-free in abort path
8906234c5015 netfilter: nft_compat: use .release_ops and remove list of extension
4f67e8976f7b netfilter: nft_compat: don't use refcount_inc on newly allocated entry
af26f3e2903b netfilter: nf_tables: unbind set in rule from commit path
27458b5457d3 netfilter: nf_tables: warn when expr implements only one of activate/deactivate
cb2e343d1d85 netfilter: nft_compat: destroy function must not have side effects
3dbba8ebb066 netfilter: nf_tables: split set destruction in deactivate and destroy phase
7693bae6b314 netfilter: nft_compat: make lists per netns
db99f122cbf8 netfilter: nft_compat: use refcnt_t type for nft_xt reference count
19bb613acb9a Linux 4.19.37
cdd369fe0f98 kernel/sysctl.c: fix out-of-bounds access when setting file-max
ac54bc121e1f Revert "locking/lockdep: Add debug_locks check in __lock_downgrade()"
9c1862566176 i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array
52dde1160f17 ASoC: rockchip: add missing INTERLEAVED PCM attribute
a782f8475715 tools include: Adopt linux/bits.h
6580376fe810 percpu: stop printing kernel addresses
8a6f2ea0c3dd ALSA: info: Fix racy addition/deletion of nodes
1343fd8f9629 mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
628c99a836dd device_cgroup: fix RCU imbalance in error case
c3edd427d538 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
c21bcc2352e9 Revert "kbuild: use -Oz instead of -Os when using clang"
1c36862e8be8 tpm: Fix the type of the return value in calc_tpm2_event_size()
18af9b7b9138 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
7de43cb71116 modpost: file2alias: check prototype of handler
aa0e8cc9d7a8 modpost: file2alias: go back to simple devtable lookup
87eadc0b8c2a mmc: sdhci: Handle auto-command errors
ba8a6c055677 mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
b2be40b73b29 mmc: sdhci: Fix data command CRC error handling
be608583d9c4 nfit/ars: Avoid stale ARS results
40221d56ae28 nfit/ars: Allow root to busy-poll the ARS state machine
bc18c2593635 nfit/ars: Introduce scrub_flags
82a13a006ed5 nfit/ars: Remove ars_start_flags
cd37fd46b485 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
5680b0635cda x86/speculation: Prevent deadlock on ssb_state::lock
90e17512f1e4 perf/x86: Fix incorrect PEBS_REGS
293926b37013 x86/cpu/bugs: Use __initconst for 'const' init data
f45829e6250a perf/x86/amd: Add event map for AMD Family 17h
ba407222f563 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
39cad03c4360 mac80211: do not call driver wake_tx_queue op during reconfig
852de0d53d14 rt2x00: do not increment sequence number while re-transmitting
23a926e5edd9 kprobes: Fix error check when reusing optimized probes
426e2a8024c2 kprobes: Mark ftrace mcount handler functions nokprobe
1fab567a270b x86/kprobes: Verify stack frame on kretprobe
5105fc758bdc arm64: futex: Restore oldval initialization to work around buggy compilers
96800ba9e565 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
fbe5cff93229 crypto: x86/poly1305 - fix overflow during partial reduction
dacdbc115d23 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
6ff17bc5936e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
3e1b3e4d3c83 Revert "svm: Fix AVIC incomplete IPI emulation"
ee4b8e266229 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
1aa2682d0a98 scsi: core: set result when the command cannot be dispatched
8f2ef0e8f967 vt: fix cursor when clearing the screen
38b7f09a9e83 serial: sh-sci: Fix HSCIF RX sampling point calculation
de6d6b8902fb serial: sh-sci: Fix HSCIF RX sampling point adjustment
ec96f65e1214 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
b50e435df2d8 ALSA: core: Fix card races between register and disconnect
4171b6ee9328 ALSA: hda/realtek - add two more pin configuration sets to quirk table
4e78a1fb8d1d staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
09f9bacae118 staging: comedi: ni_usb6501: Fix use of uninitialized mutex
edf2f548baa9 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
1f01a970b8c2 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
a1da981f6643 staging: most: core: use device description as name
b007c64d860f io: accel: kxcjk1013: restore the range after resume.
bbe0bed4647c iio: core: fix a possible circular locking dependency
98171e1947b6 iio: adc: at91: disable adc channel interrupt in timeout case
36971130bb2f iio: Fix scan mask selection
0e47edde9132 iio: dac: mcp4725: add missing powerdown bits in store eeprom
5ad173ea6c3a iio: ad_sigma_delta: select channel when reading register
42eae0cff22a iio: cros_ec: Fix the maths for gyro scale calculation
adfb0f0b17a3 iio:chemical:bme680: Fix SPI read interface
a3117576a73f iio:chemical:bme680: Fix, report temperature in millidegrees
f7ee6890caa5 iio/gyro/bmg160: Use millidegrees for temperature scale
8bd3fd46ec23 iio: gyro: mpu3050: fix chip ID reading
6f3e66b155f0 staging: iio: ad7192: Fix ad7193 channel address
c54d1258c637 Staging: iio: meter: fixed typo
c9e34935a351 KVM: x86: svm: make sure NMI is injected after nmi_singlestep
18cf09a81771 KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
2fcee5eaae6e cifs: fix handle leak in smb2_query_symlink()
c69330a855ab cifs: Fix use-after-free in SMB2_read
8fb89b43b65f cifs: Fix use-after-free in SMB2_write
8092ecc306d8 CIFS: keep FileInfo handle live during oplock break
6e2081f29392 net: IP6 defrag: use rbtrees in nf_conntrack_reasm.c
684685326ab0 net: IP6 defrag: use rbtrees for IPv6 defrag
702ddf862d9d net: IP defrag: encapsulate rbtree defrag code into callable functions
e24be8e38cd7 sch_cake: Simplify logic in cake_select_tin()
8d9051a4680a nfp: flower: remove vlan CFI bit from push vlan action
06f7d2182f9d nfp: flower: replace CFI with vlan present
cbce0413f783 sch_cake: Make sure we can write the IP header before changing DSCP bits
490532225e20 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
5f72cb2ab51d route: Avoid crash from dereferencing NULL rt->from
1d2499b08600 net/mlx5: FPGA, tls, idr remove on flow delete
785833b9eee0 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
7cfddb81a817 net/mlx5: FPGA, tls, hold rcu read lock a bit longer
d1785bea2f34 net: thunderx: don't allow jumbo frames with XDP
9de22b997fe4 net: thunderx: raise XDP MTU to 1508
7ba5ec69e1a7 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
8a430e56a648 ipv4: recompile ip options in ipv4_link_failure
b82df42059fb vhost: reject zero size iova range
242e5746cb47 tipc: missing entries in name table of publications
a60a47206a31 team: set slave to promisc if team is already in promisc mode
6728c6174a47 tcp: tcp_grow_window() needs to respect tcp_space()
1cd878836822 net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
2804598764f9 net: Fix missing meta data in skb with vlan packet
97fd88e04c8d net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
08b0b4f28008 net: bridge: fix per-port af_packet sockets
bcb964012d1b net: atm: Fix potential Spectre v1 vulnerabilities
fae6053d7611 failover: allow name change on IFF_UP slave interfaces
2a458eddc4c2 bonding: fix event handling for stacked bonds
c98875d930e9 Linux 4.19.36
0c00f71e7d7c appletalk: Fix compile regression
9e91db59e3b9 mm: hide incomplete nr_indirectly_reclaimable in sysfs
d49dea545af4 mm: hide incomplete nr_indirectly_reclaimable in /proc/zoneinfo
7a4626798276 IB/hfi1: Failed to drain send queue when QP is put into error state
e8eef7ad9841 bpf: fix use after free in bpf_evict_inode
40c6d718d78c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
48b0309f85ae f2fs: fix to dirty inode for i_mode recovery
11582064271d rxrpc: Fix client call connect/disconnect race
a7e90c1892d9 lib/div64.c: off by one in shift
6c42507f426b appletalk: Fix use-after-free in atalk_proc_exit
539282e9cd9b drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
91583411b5d1 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
1b871f39097a drm/nouveau/volt/gf117: fix speedo readout register
ad854fa3c8dc PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
4984d918cd46 coresight: cpu-debug: Support for CA73 CPUs
2a3c322d46e0 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
5f516d0ba082 crypto: axis - fix for recursive locking from bottom half
862adb5b0da6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
2be8987a076f lkdtm: Add tests for NULL pointer dereference
55588aebde38 lkdtm: Print real addresses
8387c1455d34 soc/tegra: pmc: Drop locking from tegra_powergate_is_powered()
29b934dd5fa0 scsi: core: Avoid that system resume triggers a kernel warning
38855a84d891 iommu/dmar: Fix buffer overflow during PCI bus notification
8c5e9ea11730 net: ip6_gre: fix possible NULL pointer dereference in ip6erspan_set_version
d7a90ee5aadd crypto: sha512/arm - fix crash bug in Thumb2 build
1f52fa127898 crypto: sha256/arm - fix crash bug in Thumb2 build
bbbe47463da9 xfrm: destroy xfrm_state synchronously on net exit path
5be4bb315de2 net/rds: fix warn in rds_message_alloc_sgs
d801282dfd2a ACPI: EC / PM: Disable non-wakeup GPEs for suspend-to-idle
e434fbf4f049 ALSA: hda: fix front speakers on Huawei MBXP
b10cc0837472 drm/ttm: Fix bo_global and mem_global kfree error
cb09e99b9ad3 platform/x86: Add Intel AtomISP2 dummy / power-management driver
491dee743d6b kernel: hung_task.c: disable on suspend
e9603cffb1ca cifs: fallback to older infolevels on findfirst queryinfo retry
fc34758d4af6 net: stmmac: Set OWN bit for jumbo frames
8722566b7870 f2fs: cleanup dirty pages if recover failed
263ed7e66b17 netfilter: nf_flow_table: remove flowtable hook flush routine in netns exit routine
19e6ff0146ef compiler.h: update definition of unreachable()
f35e2a685c81 KVM: nVMX: restore host state in nested_vmx_vmexit for VMFail
3d11fc93aa28 HID: usbhid: Add quirk for Redragon/Dragonrise Seymur 2
1424b7fefd6b ACPI / SBS: Fix GPE storm on recent MacBookPro's
0d41c7b3860e usbip: fix vhci_hcd controller counting
360186d8ab02 ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms
1475ce4ff957 pinctrl: core: make sure strcmp() doesn't get a null parameter
8e271100efa6 HID: i2c-hid: override HID descriptors for certain devices
09b6c08061bb Bluetooth: Fix debugfs NULL pointer dereference
6496b9636f74 media: au0828: cannot kfree dev before usb disconnect
6947d853be19 powerpc/pseries: Remove prrn_work workqueue
7863304bc00f serial: uartps: console_setup() can't be placed to init section
1f2b1c6ab353 netfilter: xt_cgroup: shrink size of v2 path
14b183214c08 f2fs: fix to do sanity check with current segment number
7fcce1828e5f ASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx()
4369f8a38085 9p locks: add mount option for lock retry interval
db77c7890ed7 9p: do not trust pdu content for stat item size
f9368366b4d1 f2fs: fix to avoid NULL pointer dereference on se->discard_map
de1fd69b6541 rsi: improve kernel thread handling to fix kernel panic
93b7c722637c gpio: pxa: handle corner case of unprobed device
13cc3e6b2a18 drm/cirrus: Use drm_framebuffer_put to avoid kernel oops in clean-up
6fd66bec6d6a ext4: prohibit fstrim in norecovery mode
83e3e89d6639 x86/gart: Exclude GART aperture from kcore
40276e4e2fd0 fix incorrect error code mapping for OBJECTID_NOT_FOUND
777cd2681b2d x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
cff04fad89b9 iommu/vt-d: Check capability before disabling protected memory
181117a1b4f3 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
276084f0e017 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
16dab2916615 x86/hyperv: Prevent potential NULL pointer dereference
30d9b740e201 x86/hpet: Prevent potential NULL pointer dereference
ac0343a48e7e irqchip/mbigen: Don't clear eventid when freeing an MSI
f3c3b0f1fae5 irqchip/stm32: Don't clear rising/falling config registers at init
41b1234677bd drm/exynos/mixer: fix MIXER shadow registry synchronisation code
bde271d1ad0e blk-iolatency: #include "blk.h"
b63df738ce7d PM / Domains: Avoid a potential deadlock
19302c51c043 ACPI / utils: Drop reference in test for device presence
00059edd3121 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
2c843ae984a8 perf tests: Fix memory leak by expr__find_other() in test__expr()
a077618a3af8 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
cf050670d092 perf evsel: Free evsel->counts in perf_evsel__exit()
28848061d882 perf hist: Add missing map__put() in error case
bb644ded9e6d perf top: Fix error handling in cmd_top()
df894a047f37 perf build-id: Fix memory leak in print_sdt_events()
871aa38e9525 perf config: Fix a memory leak in collect_config()
9007d724cb08 perf config: Fix an error in the config template documentation
93d449bd6552 perf list: Don't forget to drop the reference to the allocated thread_map
c5d9104281b9 tools/power turbostat: return the exit status of a command
ada35b525486 x86/mm: Don't leak kernel addresses
52466ab20393 sched/core: Fix buffer overflow in cgroup2 property cpu.max
a8c1de3ab8b6 sched/cpufreq: Fix 32-bit math overflow
a629c32ac2d1 scsi: iscsi: flush running unbind operations when removing a session
5b67d518eaaf thermal/intel_powerclamp: fix truncated kthread name
193dd213bebd thermal/int340x_thermal: fix mode setting
10313672b3f0 thermal/int340x_thermal: Add additional UUIDs
c5161c689e81 thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
8fd403fc2a8e thermal: samsung: Fix incorrect check after code merge
0644ee713c00 thermal/intel_powerclamp: fix __percpu declaration of worker_data
a803600c5b90 ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
94a6f47a5ecb mmc: davinci: remove extraneous __init annotation
f596ad9ea8a4 i40iw: Avoid panic when handling the inetdev event
74ed2226e65a IB/mlx4: Fix race condition between catas error reset and aliasguid flows
5e4dc4b6fc10 drm/udl: use drm_gem_object_put_unlocked.
cbba1f554b4f auxdisplay: hd44780: Fix memory leak on ->remove()
317e716a8ad9 ALSA: sb8: add a check for request_region
17829309ec00 ALSA: echoaudio: add a check for ioremap_nocache
a793860c0f52 ext4: report real fs size after failed resize
f5a94fd3b375 ext4: add missing brelse() in add_new_gdb_meta_bg()
90a1327e4ed3 ext4: avoid panic during forced reboot
673e23ce80a6 perf/core: Restore mmap record type correctly
ca306c17d2ed inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
618490ba5841 arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
2296eedef0c5 ARC: u-boot args: check that magic number is correct
4b0e041c9dad Linux 4.19.35
59bf185ae6b7 KVM: x86: nVMX: fix x2APIC VTPR read intercept
119031be7b0a KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
f8053df634d4 ACPICA: AML interpreter: add region addresses in global list during initialization
fad502a9439e arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
c963475972f6 arm64: dts: rockchip: fix vcc_host1_5v pin assign on rk3328-rock64
aa9ee4b1ed46 dm integrity: fix deadlock with overlapping I/O
469b40a429c5 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
4f5c99e0421c dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
30dc4d7b299d dm integrity: change memcmp to strncmp in dm_integrity_ctr
5be6e02cfbdf PCI: pciehp: Ignore Link State Changes after powering off a slot
250fef8de77c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
056264656a67 x86/perf/amd: Remove need to check "running" bit in NMI handler
23d39b0af08e x86/perf/amd: Resolve NMI latency issues for active PMCs
e5a791b4ab56 x86/perf/amd: Resolve race condition when disabling PMC
4b004504bfcc x86/asm: Use stricter assembly constraints in bitops
356ae4deab4b x86/asm: Remove dead __GNUC__ conditionals
f7b778b9007e xtensa: fix return_address
cb75a0c5d381 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
ed3adb562fc8 xen: Prevent buffer overflow in privcmd ioctl
84c6c2af4c53 arm64: backtrace: Don't bother trying to unwind the userspace stack
1ec54cee6333 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
82a30a5d60e3 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
4362ff977bc6 ARM: dts: at91: Fix typo in ISC_D0 on PC9
627a7d5a4422 ARM: dts: am335x-evm: Correct the regulators for the audio codec
57a9c1f40f5b ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
3ba48b3cf850 ARM: dts: rockchip: fix rk3288 cpu opp node reference
32fdac09765d virtio: Honour 'may_reduce_num' in vring_create_virtqueue
8b4f68b47448 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
cd5b06a93997 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
543bb48dc48b block: fix the return errno for direct IO
2591bfc68282 block: do not leak memory in bio_copy_user_iov()
7af20b60f6db riscv: Fix syscall_get_arguments() and syscall_set_arguments()
54fb5c9da6cd btrfs: prop: fix vanished compression property after failed set
fbfbb996d58e btrfs: prop: fix zstd compression parameter validation
16515acd5bc3 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
e6265e368022 ASoC: fsl_esai: fix channel swap issue when stream starts
19b0a7f5a083 ASoC: intel: Fix crash at suspend/resume after failed codec registration
43f47331a4ce mm: writeback: use exact memcg dirty counts
576f22ac47ba include/linux/bitrev.h: fix constant bitrev
c4f103f6ac3a kvm: svm: fix potential get_num_contig_pages overflow
93d60348edcb drm/udl: add a release method and delay modeset teardown
df4106f23d0b drm/i915/gvt: do not deliver a workload if its creation fails
a5277bcc1b7d alarmtimer: Return correct remaining time
5db86e2a9b36 parisc: also set iaoq_b in instruction_pointer_set()
53bb8444eab2 parisc: regs_return_value() should return gpr28
41cf8111f3cb parisc: Detect QEMU earlier in boot process
ba5765a243ed arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
9a62d69114d7 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
b3a8a3728d7e ALSA: hda - Add two more machines to the power_save_blacklist
bfea74941d6d ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
c6d25f0b3653 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
73b50a56e51e ALSA: seq: Fix OOB-reads from strlcpy
d4b4aeea5506 ACPICA: Namespace: remove address node from global list after method termination
ed52b07bd698 ACPICA: Clear status of GPEs before enabling them
370004024aec hwmon: (w83773g) Select REGMAP_I2C to fix build error
4ebab60d6561 tty: ldisc: add sysctl to prevent autoloading of ldiscs
894dc8495898 tty: mark Siemens R3964 line discipline as BROKEN
902eaef7781c arm64: kaslr: Reserve size of ARM64_MEMSTART_ALIGN in linear region
40177a7931e0 netfilter: nfnetlink_cttimeout: fetch timeouts for udplite and gre, too
c2d27b330a98 netfilter: nfnetlink_cttimeout: pass default timeout policy to obj_to_nlattr
564f0391b783 Revert "clk: meson: clean-up clock registration"
3412671a781b lib/string.c: implement a basic bcmp
c7415f2a3ad6 x86/vdso: Drop implicit common-page-size linker flag
f66a52d991de kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
23605a4664ae kbuild: deb-pkg: fix bindeb-pkg breakage when O= is used
da9b353c78b8 net/mlx5e: Update xon formula
e2d92a74a353 net/mlx5e: Update xoff formula
eab86503fec0 net: mlx5: Add a missing check on idr_find, free buf
b787544dc5e7 r8169: disable default rx interrupt coalescing on RTL8168
55a7f7b20c40 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
a2ef7723a13c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
5c6f2f4c0e9f net: ip_gre: fix possible use-after-free in erspan_rcv
ecee513a5273 bnxt_en: Reset device on RX buffer errors.
d2d055a55403 bnxt_en: Improve RX consumer index validity check.
a333fcc41075 nfp: disable netpoll on representors
81da1314596c nfp: validate the return code from dev_queue_xmit()
c297e8814578 net/mlx5e: Add a lock on tir list
9441317513b7 net/mlx5e: Fix error handling when refreshing TIRs
0516ef27ddba vrf: check accept_source_route on the original netdevice
7243e3520956 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
0e0afb06e11c tcp: Ensure DCTCP reacts to losses
87349583e517 sctp: initialize _pad of sockaddr_in before copying to user memory
1e4a7e7869ac r8169: disable ASPM again
84dc2f872d2d qmi_wwan: add Olicard 600
ec0e32da41a6 openvswitch: fix flow actions reallocation
eeedfa94c195 net/sched: fix ->get helper of the matchall cls
15c0770e2e83 net/sched: act_sample: fix divide by zero in the traffic path
78b4bf26a8a7 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
a1c2f3229734 netns: provide pure entropy for net_hash_mix()
53a1906859a2 net/mlx5: Decrease default mr cache size
b87ec81362ac net-gro: Fix GRO flush when receiving a GSO packet.
80c205813d3f net: ethtool: not call vzalloc for zero sized memory request
b7b058315577 kcm: switch order of device registration to fix a crash
42f1fa0fcf55 ipv6: sit: reset ip header pointer in ipip6_rcv
ea06796f8857 ipv6: Fix dangling pointer when ipv6 fragment
8e4b4da3d3d9 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
167019572ca8 ibmvnic: Fix completion structure initialization
9a7c4f5acc0e hv_netvsc: Fix unwanted wakeup after tx_disable
902eca1a0ccf powerpc/tm: Limit TM code inside PPC_TRANSACTIONAL_MEM
8ad895bf4b8b drm/i915/gvt: do not let pin count of shadow mm go negative
646f8e01fc37 kvm: nVMX: NMI-window and interrupt-window exiting should wake L2 from HLT
(From OE-Core rev: 554970c74c3dc7fd11385076e75350be8afe339f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg stable commits that comprise the following
changes:
e5b9547b1aa3 Linux 5.0.13
d467f3acebc5 ath10k: Drop WARN_ON()s that always trigger during system resume
3c13f6cd254d iwlwifi: mvm: properly check debugfs dentry before using it
c391e6198768 ALSA: line6: use dynamic buffers
4c38bd0d4cd6 KVM: nVMX: Fix size checks in vmx_set_nested_state
119ac69c0772 KVM: x86: Whitelist port 0x7e for pre-incrementing %rip
a31a8f55c8e8 net/tls: fix copy to fragments in reencrypt
f7f4d4b85b83 net/tls: don't copy negative amounts of data in reencrypt
126255f1ef2b bnxt_en: Fix uninitialized variable usage in bnxt_rx_pkt().
95fc8b4b4367 bnxt_en: Fix statistics context reservation logic.
1c38ed7b5ef6 bnxt_en: Pass correct extended TX port statistics size to firmware.
4348cae3a6e1 bnxt_en: Fix possible crash in bnxt_hwrm_ring_free() under error conditions.
76dba4d8d0db bnxt_en: Free short FW command HWRM memory in error path in bnxt_init_one()
4aaaa658466a bnxt_en: Improve multicast address setup logic.
7a0d81d12f62 udp: fix GRO packet of death
8858d7234542 udp: fix GRO reception in case of length mismatch
b58d12d306ae tcp: add sanity tests in tcp_add_backlog()
4d5aaae5fa0e selftests: fib_rule_tests: Fix icmp proto with ipv6
3362ece2719c packet: in recvmsg msg_name return at least sizeof sockaddr_ll
3a0701b8d93a packet: validate msg_namelen in send directly
02694885a2be selftests: fib_rule_tests: print the result and return 1 if any tests failed
484d404fdc2a sctp: avoid running the sctp state machine recursively
f8970584f08c rxrpc: Fix net namespace cleanup
90cb17d3df6f net/tls: avoid NULL pointer deref on nskb->sk in fallback
52c89e455b5c net: phy: marvell: Fix buffer overrun with stats counters
801038cca48c net: dsa: bcm_sf2: fix buffer overflow doing set_rxnfc
31f4cb2730d8 l2tp: use rcu_dereference_sk_user_data() in l2tp_udp_encap_recv()
f86adc57e7db l2ip: fix possible use-after-free
d1fa4f8784bb ipv6: invert flowlabel sharing check in process and user mode
787a77cccb18 ipv6/flowlabel: wait rcu grace period before put_pid()
d0aa794674e5 ipv6: fix races in ip6_dst_destroy()
c61a4beb31f0 ipv6: A few fixes on dereferencing rt->from
5a06ba5ed2ae ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
6006d5b02522 Linux 5.0.12
310f9b1e52c0 leds: trigger: netdev: use memcpy in device_name_store
004ec01370bc leds: pca9532: fix a potential NULL pointer dereference
107cfb99c81f ptrace: take into account saved_sigmask in PTRACE{GET,SET}SIGMASK
87eaf3d8ac51 kasan: fix variable 'tag' set but not used warning
514860ee6633 iommu/amd: Reserve exclusion range in iova-domain
8bd7d23a4a76 kconfig/[mn]conf: handle backspace (^H) key
44fe72aeaae8 perf machine: Update kernel map address and re-order properly
441d23c87644 perf cs-etm: Add missing case value
b8bc52cd62e8 nvmet: fix error flow during ns enable
163719bdcd9c nvmet: fix building bvec from sg list
2e7d5b2e1fa0 nvme-multipath: relax ANA state check
a72f60dbb557 gpio: of: Fix of_gpiochip_add() error path
41a94b1909a4 KVM: selftests: complete IO before migrating guest state
a312d0eaf90d KVM: selftests: disable stack protector for all KVM tests
77507936fea3 KVM: selftests: explicitly disable PIE for tests
e478d1c9b585 KVM: selftests: assert on exit reason in CR4/cpuid sync test
02a7fc6c77d5 x86/kvm/hyper-v: avoid spurious pending stimer on vCPU init
e10edda577cc kvm/x86: Move MSR_IA32_ARCH_CAPABILITIES to array emulated_msrs
3d714ded80f6 KVM: SVM: Workaround errata#1096 (insn_len maybe zero on SMAP violation)
5369433777ec KVM: nVMX: Do not inherit quadrant and invalid for the root shadow EPT
e8b8dde69f81 gpio: of: Check for "spi-cs-high" in child instead of parent node
0e48494c0edf gpio: of: Check propname before applying "cs-gpios" quirks
fb853a4a7748 afs: Fix StoreData op marshalling
c6d02b1ea4d7 kbuild: skip parsing pre sub-make code for recursion
479e1afd232e libata: fix using DMA buffers on stack
8d3c7282cec4 x86/mm: Don't exceed the valid physical address space
ab4a5df699b5 scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
b0921da055f1 ceph: fix use-after-free on symlink traversal
1ab2566c5329 usb: u132-hcd: fix resource leak
4f5d11bf2eca x86/realmode: Don't leak the trampoline kernel address
89ae17728a98 SUNRPC: fix uninitialized variable warning
ec44e4273006 leds: trigger: netdev: fix refcnt leak on interface rename
facfcac8357d usb: usb251xb: fix to avoid potential NULL pointer dereference
3ce3290dee84 scsi: qla4xxx: fix a potential NULL pointer dereference
ab602d0043a4 scsi: aacraid: Insure we don't access PCIe space during AER/EEH
9a5795520b91 scsi: mpt3sas: Fix kernel panic during expander reset
08dd1acccb43 staging: vc04_services: Fix an error code in vchiq_probe()
b2814ce32d47 sbitmap: order READ/WRITE freed instance and setting clear bit
44a7849ecbd2 ARM: davinci: fix build failure with allnoconfig
e24c5428060f drm/meson: Uninstall IRQ handler
da9c64dc934a drm/meson: Fix invalid pointer in meson_drv_unbind()
55a5c46268ff gpio: aspeed: fix a potential NULL pointer dereference
e9917fd844ec drm: Fix drm_release() and device unplug
c4cdbd4075a6 net: ethernet: ti: fix possible object reference leak
6e4f7c129b24 net: ibm: fix possible object reference leak
3da122192cde net: xilinx: fix possible object reference leak
8dcf6dce4023 NFS: Fix a typo in nfs_init_timeout_values()
4d88134c2f7c drm/tegra: hub: Fix dereference before check
ec44a9a47e7e ARM: dts: imx6qdl: Fix typo in imx6qdl-icore-rqs.dtsi
4da511ff427b net/sched: don't dereference a->goto_chain to read the chain index
fe9fae9c5bff net: macb: Add null check for PCLK and HCLK
ead946dc3824 net: phy: Add DP83825I to the DP83822 driver
9bd87bbd2988 staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc
62d91f5a1ea4 staging: rtl8712: uninitialized memory in read_bbreg_hdl()
6300a60f50b9 staging: rtlwifi: rtl8822b: fix to avoid potential NULL pointer dereference
5fad07771fb8 staging: rtl8188eu: Fix potential NULL pointer dereference of kcalloc
fe4e7a03c742 net: ks8851: Set initial carrier state to down
372b41d6efe3 net: ks8851: Delay requesting IRQ until opened
860fd08630a6 net: ks8851: Reassert reset pin if chip ID check fails
75e3e76a45c6 net: ks8851: Dequeue RX packets explicitly
07c5093a04f8 KVM: arm/arm64: Fix handling of stage2 huge mappings
e68cc902c624 i2c: i801: Add support for Intel Comet Lake
bcc78b63f0b4 ARM: dts: pfla02: increase phy reset duration
2af87002a5e4 usb: gadget: net2272: Fix net2272_dequeue()
202db3b5c17c usb: gadget: net2280: Fix net2280_dequeue()
ad7be5bfe969 usb: gadget: net2280: Fix overrun of OUT messages
e5a7f0905664 usb: dwc3: pci: add support for Comet Lake PCH ID
7f482404c11e KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots
d2eecdbc6eca KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory
d6d23d335672 arm64: KVM: Always set ICH_HCR_EL2.EN if GICv4 is enabled
e38694c6b9a8 KVM: arm64: Reset the PMU in preemptible context
4343cbf52e36 serial: ar933x_uart: Fix build failure with disabled console
d25b0c89b3b9 sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
0bb1f79a1427 ARM: imx51: fix a leaked reference by adding missing of_node_put
42ed22a8b969 s390/qeth: fix race when initializing the IP address table
f0028f723428 netfilter: ip6t_srh: fix NULL pointer dereferences
21fde4fcbbd2 netfilter: fix NETFILTER_XT_TARGET_TEE dependencies
eb213c54aaac netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
0f9c88c5ccc9 netfilter: nft_set_rbtree: check for inactive element after flag mismatch
7f0d096410af staging, mt7621-pci: fix build without pci support
6c41d389904c staging: axis-fifo: add CONFIG_OF dependency
5227fe96b107 xsk: fix umem memory leak on cleanup
9fc5c6e8fce8 qlcnic: Avoid potential NULL pointer dereference
2e75be8dd6fa net: stmmac: fix jumbo frame sending with non-linear skbs
53485ee41fc3 net: stmmac: don't set own bit too early for jumbo frames
099a26557db9 Btrfs: fix file corruption after snapshotting due to mix of buffered/DIO writes
61a9e0f4cc86 ieee802154: hwsim: propagate genlmsg_reply return code
645dc42f97d8 net: ieee802154: fix a potential NULL pointer dereference
edb616838408 mt76: mt76x2: fix 2.4 GHz channel gain settings
63019ec07c61 mt76: mt76x2: fix external LNA gain settings
a495f4c9afbf mt76x02: fix hdr pointer in write txwi for USB
1d568d7476da s390: limit brk randomization to 32MB
87240adabb46 ARM: dts: bcm283x: Fix hdmi hpd gpio pull
9979cd3953b9 arm64: dts: renesas: r8a77990: Fix SCIF5 DMA channels
27f651142eec fs: prevent page refcount overflow in pipe_buf_get
ad73e3a19906 mm: prevent get_user_pages() from overflowing page refcount
bdc8dfd65873 mm: add 'try_get_page()' helper function
258fc3baeb4b mm: make page ref count overflow check tighter and more explicit
cc37cb69fbdc drm/i915: Do not enable FEC without DSC
742c556944e1 Revert "ACPICA: Clear status of GPEs before enabling them"
635e82b9bdc8 selinux: use kernel linux/socket.h for genheaders and mdp
d5a2675b207d Linux 5.0.11
bcf0c1f4d564 net/tls: don't leak IV and record seq when offload fails
2adb99038ae4 net/tls: avoid potential deadlock in tls_set_device_offload_rx()
c01e42fdccf5 net/mlx5e: Fix use-after-free after xdp_return_frame
f9444b6aaa01 net/mlx5e: Fix the max MTU check in case of XDP
a7b71fc253e8 mlxsw: spectrum: Put MC TCs into DWRR mode
a3964a683ca1 mlxsw: pci: Reincrease PCI reset timeout
72f71005903d net/ncsi: handle overflow when incrementing mac address
19f6d3f49b28 net: socionext: replace napi_alloc_frag with the netdev variant on init
af31849700e4 team: fix possible recursive locking when add slaves
dc2b8b627802 stmmac: pci: Adjust IOT2000 matching
3fd3574106de net/tls: fix refcount adjustment in fallback
e39643c12d3f net: stmmac: move stmmac_check_ether_addr() to driver probe
8de6f5e5b90d net/rose: fix unbound loop in rose_loopback_timer()
b225e518109b net: rds: exchange of 8K and 1M pool
283882b045ad net/mlx5e: ethtool, Remove unsupported SFP EEPROM high pages query
f37782f2d708 mlxsw: spectrum: Fix autoneg status in ethtool
d69b7c8c8ab5 ipv4: set the tcp_min_rtt_wlen range from 0 to one day
617d24036564 ipv4: add sanity checks in ipv4_link_failure()
7f909f520742 rdma: fix build errors on s390 and MIPS due to bad ZERO_PAGE use
dee438745d74 x86/retpolines: Disable switch jump tables when retpolines are enabled
6bd5637a3ebb x86, retpolines: Raise limit for generating indirect calls from switch-case
b6dd51f041fa Fix aio_poll() races
f6408361ded7 aio: store event at final iocb_put()
a8a538aed4f9 aio: keep io_event in aio_kiocb
636fa71ed5f7 aio: fold lookup_kiocb() into its sole caller
199f34c1355b pin iocb through aio.
e2f0a96eeb50 rxrpc: fix race condition in rxrpc_input_packet()
4f2c07441634 net/rds: Check address length before reading address family
d0d184559cb4 net: netrom: Fix error cleanup path of nr_proto_init
d0cf85f49505 tipc: check link name with right length in tipc_nl_compat_link_set
4ee29a10021f tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
a92526e257a5 fm10k: Fix a potential NULL pointer dereference
0d41789ad820 netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
becfa96eaecd NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
b5db8ea57de5 mac80211_hwsim: calculate if_combination.max_interfaces
16de5d9b8f6b sched/deadline: Correctly handle active 0-lag timers
bbb19ca082ce binder: fix handling of misaligned binder object
8fe1600c91f9 workqueue: Try to catch flush_work() without INIT_WORK().
abcbf3078130 slip: make slhc_free() silently accept an error pointer
ba965c2c9808 tipc: handle the err returned from cmd header function
2501b17f4f72 loop: do not print warn message if partition scan is successful
acaec7f6e25d ext4: fix some error pointer dereferences
2cd705091e36 USB: Consolidate LPM checks to avoid enabling LPM twice
30d57be1f6eb USB: Add new USB LPM helpers
6ec39721f131 drm/vc4: Fix compilation error reported by kbuild test bot
3e869fd34856 Revert "drm/i915/fbdev: Actually configure untiled displays"
6dca846c920d drm/ttm: fix re-init of global structures
0b029ce3f4ee drm/vc4: Fix memory leak during gpu reset.
aaceebbb71c5 powerpc/mm/radix: Make Radix require HUGETLB_PAGE
b9a5bc4bb079 ARM: 8857/1: efi: enable CP15 DMB instructions before cleaning the cache
aa5f016ba785 dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start
9476c3ad5ee2 dmaengine: sh: rcar-dmac: Fix glitch in dmaengine_tx_status
c46e14be004a dmaengine: sh: rcar-dmac: With cyclic DMA residue 0 is valid
16df9424ffaa vfio/type1: Limit DMA mappings per container
4898e9b99795 Input: synaptics-rmi4 - write config register values to the right offset
c704bba6dd36 perf/x86/intel: Update KBL Package C-state events to also include PC8/PC9/PC10 counters
b2eeeb49027e sunrpc: don't mark uninitialised items as VALID.
6d29f7c720c6 nfsd: wake blocked file lock waiters before sending callback
6569ae328aa3 nfsd: wake waiters blocked on file_lock before deleting it
5e4a20e631a7 nfsd: Don't release the callback slot unless it was actually held
870588487197 ceph: fix ci->i_head_snapc leak
d9061ef0ab17 ceph: ensure d_name stability in ceph_dentry_hash()
bcd9cbffb98f ceph: only use d_name directly when parent is locked
e548c9702d46 sched/numa: Fix a possible divide-by-zero
c3e4c555ac86 RDMA/ucontext: Fix regression with disassociate
52c44c4e81b3 RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages
92d6731e6a6f RDMA/mlx5: Do not allow the user to write to the clock page
f4dba6bf743e IB/rdmavt: Fix frwr memory registration
e7e378ed703e arm64: mm: Ensure tail of unaligned initrd is reserved
e5f06bf8f46c mm: do not boost watermarks to avoid fragmentation for the DISCONTIG memory model
655b464eeaa8 trace: Fix preempt_enable_no_resched() abuse
0f73358dff40 MIPS: scall64-o32: Fix indirect syscall number load
928962e99694 lib/Kconfig.debug: fix build error without CONFIG_BLOCK
f4ab3de10c84 zram: pass down the bvec we need to read into in the work struct
e6093c0212d0 gpio: eic: sprd: Fix incorrect irq type setting for the sync EIC
0bb4e85bbd34 crypto: lrw - Fix atomic sleep when walking skcipher
6506cdd4205b crypto: xts - Fix atomic sleep when walking skcipher
8659a04c77e2 tracing: Fix buffer_ref pipe ops
68ab802fb8cc tracing: Fix a memory leak by early error exit in trace_pid_write()
90b70b3ed31b cifs: do not attempt cifs operation on smb2+ rename error
e6302b845f2d cifs: fix page reference leak with readv/writev
62cf691cdf74 cifs: fix memory leak in SMB2_read
34fb6f5eb2cd block, bfq: fix use after free in bfq_bfqq_expire
41e09d7eab07 fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
685550ad1192 ALSA: hda/realtek - Move to ACT_INIT state
b6f3aa978866 powerpc/vdso32: fix CLOCK_MONOTONIC on PPC64
92d4af2766a1 intel_th: gth: Fix an off-by-one in output unassigning
0ccd99339030 netfilter: nf_tables: bogus EBUSY in helper removal from transaction
5b3124548062 netfilter: nf_tables: bogus EBUSY when deleting set after flush
d3da1f09fff2 Linux 5.0.10
c735a988a9ca kernel/sysctl.c: fix out-of-bounds access when setting file-max
822482bff7c5 percpu: stop printing kernel addresses
b2c65593ea62 ALSA: info: Fix racy addition/deletion of nodes
c3d0cf332bcd mm/vmstat.c: fix /proc/vmstat format for CONFIG_DEBUG_TLBFLUSH=y CONFIG_SMP=n
4ae522890cc1 mm/memory_hotplug: do not unlock after failing to take the device_hotplug_lock
c138ed72186a perf/ring_buffer: Fix AUX record suppression
65fce15dbd87 device_cgroup: fix RCU imbalance in error case
74b4ef5df590 mt76x02: avoid status_list.lock and sta->rate_ctrl_lock dependency
edc94cb2c13b tpm: fix an invalid condition in tpm_common_poll
6799f32fff63 sched/fair: Limit sched_cfs_period_timer() loop to avoid hard lockup
fb9693679feb Revert "kbuild: use -Oz instead of -Os when using clang"
18636692a1b4 tpm: Fix the type of the return value in calc_tpm2_event_size()
03c1d8f8afd8 tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete
4a96e63f8f7d nfit/ars: Avoid stale ARS results
33dcadf02c1f nfit/ars: Allow root to busy-poll the ARS state machine
b49a9157c3ec nfit/ars: Introduce scrub_flags
2cc8e8c230e8 nfit/ars: Remove ars_start_flags
451fd88f62b9 timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()
205c53cbe553 x86/speculation: Prevent deadlock on ssb_state::lock
19867049334b perf/x86: Fix incorrect PEBS_REGS
5e34d62b59dd x86/cpu/bugs: Use __initconst for 'const' init data
35f288b72f64 perf/x86/amd: Add event map for AMD Family 17h
22cc6e1b4fc0 drm/amdgpu/gmc9: fix VM_L2_CNTL3 programming
5b05d7d6fd5b s390/mem_detect: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD)
b1db090fb046 mac80211: do not call driver wake_tx_queue op during reconfig
9a0748c55188 rt2x00: do not increment sequence number while re-transmitting
44aa331f99b4 kprobes: Fix error check when reusing optimized probes
ca61e51567a7 x86/kprobes: Avoid kretprobe recursion bug
7b91f26c45b6 kprobes: Mark ftrace mcount handler functions nokprobe
fbe6f067a3ad x86/kprobes: Verify stack frame on kretprobe
f89f9d9636f0 arm64: futex: Restore oldval initialization to work around buggy compilers
508b773175c7 drm/ttm: fix out-of-bounds read in ttm_put_pages() v2
8223263d7c44 crypto: x86/poly1305 - fix overflow during partial reduction
46c4f2375638 ipmi: fix sleep-in-atomic in free_user at cleanup SRCU user->release_barrier
2f6919fdc23b x86/kvm: move kvm_load/put_guest_xcr0 into atomic context
1eb719f09f7e coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
e58a114d0746 Revert "svm: Fix AVIC incomplete IPI emulation"
922270b4f018 i3c: Fix the verification of random PID
33a3fff44a0f i3c: dw: Fix dw_i3c_master_disable controller by using correct mask
e6200707e648 Revert "scsi: fcoe: clear FC_RP_STARTED flags when receiving a LOGO"
ad1deea5c4c9 scsi: core: set result when the command cannot be dispatched
c2116717884c vt: fix cursor when clearing the screen
5ae77c340c52 serial: sh-sci: Fix HSCIF RX sampling point calculation
333a81c16e4f serial: sh-sci: Fix HSCIF RX sampling point adjustment
95df599f95f3 Input: elan_i2c - add hardware ID for multiple Lenovo laptops
6ef122eb7956 ALSA: core: Fix card races between register and disconnect
ffd87f87a9c1 ALSA: hda/realtek - add two more pin configuration sets to quirk table
8834139083cd staging: comedi: ni_usb6501: Fix possible double-free of ->usb_rx_buf
16b235e81d9d staging: comedi: ni_usb6501: Fix use of uninitialized mutex
a47fd7121627 staging: comedi: vmk80xx: Fix possible double-free of ->usb_rx_buf
bd3011021447 staging: comedi: vmk80xx: Fix use of uninitialized semaphore
dcff1b3c1a1d staging: most: core: use device description as name
68bbd7524a6f io: accel: kxcjk1013: restore the range after resume.
3e13bb9782f5 iio: core: fix a possible circular locking dependency
1f6b63285e2f iio: adc: at91: disable adc channel interrupt in timeout case
2b70088e1509 iio: Fix scan mask selection
5c526f27861f iio: dac: mcp4725: add missing powerdown bits in store eeprom
50bc2c022b6e iio: ad_sigma_delta: select channel when reading register
f65207cfee33 iio: cros_ec: Fix the maths for gyro scale calculation
b4dd709ada6d iio:chemical:bme680: Fix SPI read interface
fd3c6ad2a934 iio:chemical:bme680: Fix, report temperature in millidegrees
5527e1e58007 iio/gyro/bmg160: Use millidegrees for temperature scale
9efe152f769c iio: gyro: mpu3050: fix chip ID reading
25a91f7b9810 staging: iio: ad7192: Fix ad7193 channel address
80c1486b7e20 Staging: iio: meter: fixed typo
739969f56e4f KVM: x86: svm: make sure NMI is injected after nmi_singlestep
935fef82120f KVM: x86: Don't clear EFER during SMM transitions for 32-bit vCPU
d12bcf87e6ff fs/dax: Deposit pagetable even when installing zero page
f6846161e203 cifs: fix handle leak in smb2_query_symlink()
76dbd554c273 cifs: Fix use-after-free in SMB2_read
e8ac406c749e cifs: Fix use-after-free in SMB2_write
9582ba401ef0 cifs: Fix lease buffer length error
ebac4d0adf68 CIFS: keep FileInfo handle live during oplock break
2cf17769d6b5 sch_cake: Simplify logic in cake_select_tin()
5aa94a5b5641 nfc: nci: Potential off by one in ->pipes[] array
a023c1a245a7 NFC: nci: Add some bounds checking in nci_hci_cmd_received()
d58923dac952 sch_cake: Make sure we can write the IP header before changing DSCP bits
064290d0f6c7 sch_cake: Use tc_skb_protocol() helper for getting packet protocol
116ac142d2c6 nfp: flower: remove vlan CFI bit from push vlan action
51db0d068057 nfp: flower: replace CFI with vlan present
da86299fcccb route: Avoid crash from dereferencing NULL rt->from
6ad8c35a70cc net/mlx5: FPGA, tls, idr remove on flow delete
d3697f88a271 net/tls: prevent bad memory access in tls_is_sk_tx_device_offloaded()
1d9005b96dce net/mlx5: FPGA, tls, hold rcu read lock a bit longer
abe4a1328a78 Revert "net/mlx5e: Enable reporting checksum unnecessary also for L3 packets"
acf4d270942a net/mlx5e: Rx, Check ip headers sanity
3ce8793e03cd net/mlx5e: Rx, Fixup skb checksum for packets with tail padding
af294d42d43e net/mlx5e: Switch to Toeplitz RSS hash by default
6daad2e30e0b net/mlx5e: Protect against non-uplink representor for encap
58f682514cb5 net/mlx5e: XDP, Avoid checksum complete when XDP prog is loaded
0e4b3800c069 net: bridge: fix netlink export of vlan_stats_per_port option
adfc12451123 net/tls: fix build without CONFIG_TLS_DEVICE
5e7171bf8db7 net: strparser: partially revert "strparser: Call skb_unclone conditionally"
96418eaa8e6a net/tls: don't leak partially sent record in device mode
b30d9457b1dc net/tls: fix the IV leaks
ae924f4e1c45 net: thunderx: don't allow jumbo frames with XDP
a902fe6dd585 net: thunderx: raise XDP MTU to 1508
9be4e8224cd6 mlxsw: spectrum_router: Do not check VRF MAC address
61647856f32a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw workqueue
87ffb893490a mlxsw: core: Do not use WQ_MEM_RECLAIM for mlxsw ordered workqueue
565e18a0be10 mlxsw: core: Do not use WQ_MEM_RECLAIM for EMAD workqueue
6f180e411c3e mlxsw: spectrum_switchdev: Add MDB entries in prepare phase
ed112abe6795 ipv4: ensure rcu_read_lock() in ipv4_link_failure()
6bd1ee0a993f ipv4: recompile ip options in ipv4_link_failure
8cc6c4767e49 vhost: reject zero size iova range
e35fa0016788 tipc: missing entries in name table of publications
aad7db2b23c1 team: set slave to promisc if team is already in promisc mode
8aa965e92750 tcp: tcp_grow_window() needs to respect tcp_space()
1274905c8e1b net: fou: do not use guehdr after iptunnel_pull_offloads in gue_udp_recv
49f472ba481b net: Fix missing meta data in skb with vlan packet
a7a3382b1564 net: fec: manage ahb clock in runtime pm
88f561ab1bd4 net: bridge: multicast: use rcu to access port list from br_multicast_start_querier
88c58435304b net: bridge: fix per-port af_packet sockets
11ba95c4503b net: atm: Fix potential Spectre v1 vulnerabilities
b633f6580b62 failover: allow name change on IFF_UP slave interfaces
7e2c712830d6 bonding: fix event handling for stacked bonds
e4abcebedac3 Linux 5.0.9
2db9f8d63d74 paride/pcd: Fix potential NULL pointer dereference and mem leak
e78434f4dcd2 paride/pf: Fix potential NULL pointer dereference
b59d92ac8a32 IB/hfi1: Failed to drain send queue when QP is put into error state
b05baa9f19d0 bpf: fix use after free in bpf_evict_inode
d05fb50b3d0c include/linux/swap.h: use offsetof() instead of custom __swapoffset macro
1c108a1b6459 f2fs: fix to add refcount once page is tagged PG_private
b5f51f7abb43 f2fs: fix to use kvfree instead of kzfree
c55d13d94f8c f2fs: fix to dirty inode for i_mode recovery
4fb70c2107e9 rxrpc: Fix client call connect/disconnect race
78154e319888 lib/div64.c: off by one in shift
f0f1c97f38b8 cifs: return -ENODATA when deleting an xattr that does not exist
2fbb0171b13a appletalk: Fix use-after-free in atalk_proc_exit
a33383757975 drm/amdkfd: use init_mqd function to allocate object for hid_mqd (CI)
3835c46e6ff5 ARM: 8839/1: kprobe: make patch_lock a raw_spinlock_t
ed3a6901a3d7 platform/x86: intel_pmc_core: Quirk to ignore XTAL shutdown
36f268740bce drm/nouveau/volt/gf117: fix speedo readout register
3b2457ce9997 f2fs: sync filesystem after roll-forward recovery
b851a25507e2 PCI/ASPM: Save LTR Capability for suspend/resume
75e3256e2309 PCI: Blacklist power management of Gigabyte X299 DESIGNARE EX PCIe ports
dce48c5878ab coresight: cpu-debug: Support for CA73 CPUs
cf56bb03ffa3 RDMA/hns: Fix the Oops during rmmod or insmod ko when reset occurs
5ada4de03943 Revert "ACPI / EC: Remove old CLEAR_ON_RESUME quirk"
41c3883dfadb crypto: axis - fix for recursive locking from bottom half
b9563b52e802 net: hns3: Fix NULL deref when unloading driver
f1a2397542f6 drm/panel: panel-innolux: set display off in innolux_panel_unprepare
3fcb02749530 drm/amdgpu: psp_ring_destroy cause psp->km_ring.ring_mem NULL
e7ab5c78e516 lkdtm: Add tests for NULL pointer dereference
8167ea40725d lkdtm: Print real addresses
8bc6ef890c86 ext4: prohibit fstrim in norecovery mode
642530739f19 x86/gart: Exclude GART aperture from kcore
14bec2dda7a0 cifs: Fix slab-out-of-bounds when tracing SMB tcon
a419571b2da5 fix incorrect error code mapping for OBJECTID_NOT_FOUND
21edc981053f cifs: fix that return -EINVAL when do dedupe operation
92b646e27677 x86/hw_breakpoints: Make default case in hw_breakpoint_arch_parse() return an error
aca4bd1a1cc6 iommu/vt-d: Save the right domain ID used by hardware
d96516127498 iommu/vt-d: Check capability before disabling protected memory
d9fb98c921a8 drm/nouveau/debugfs: Fix check of pm_runtime_get_sync failure
f0a085e99ff7 x86/cpu/cyrix: Use correct macros for Cyrix calls on Geode processors
aaddd952f3db x86/hyperv: Prevent potential NULL pointer dereference
105d043fedcb x86/hpet: Prevent potential NULL pointer dereference
1512c986c578 irqchip/mbigen: Don't clear eventid when freeing an MSI
dc60ac49b040 irqchip/stm32: Don't set rising configuration registers at init
d79220ee57b8 irqchip/stm32: Don't clear rising/falling config registers at init
c24b1f67cea0 drm/exynos/mixer: fix MIXER shadow registry synchronisation code
c43003451a01 blk-iolatency: #include "blk.h"
8bd30e5e0ec5 PM / Domains: Avoid a potential deadlock
66495ebfd4df ACPI / utils: Drop reference in test for device presence
fd9f338db867 perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()
26980cd03ea6 perf tests: Fix memory leak by expr__find_other() in test__expr()
5ffefcfe9764 perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test
ece1fd3f4023 perf evsel: Free evsel->counts in perf_evsel__exit()
05fe1d5b6ed1 perf top: Fix global-buffer-overflow issue
940df86f505d perf maps: Purge all maps from the 'names' tree
60b7f41c4aea perf map: Remove map from 'names' tree in __maps__remove()
d86bf97d119d perf hist: Add missing map__put() in error case
4a66a027c1ba perf top: Fix error handling in cmd_top()
29dddb32f56b perf build-id: Fix memory leak in print_sdt_events()
86cb58f1a12f perf config: Fix a memory leak in collect_config()
5bb92662f2f1 perf config: Fix an error in the config template documentation
d41f87ee413f perf tools: Fix errors under optimization level '-Og'
84b2a2ca6d41 perf list: Don't forget to drop the reference to the allocated thread_map
0c6568492019 perf stat: Fix --no-scale
c957d798c11c scsi: qla2xxx: Fix NULL pointer crash due to stale CPUID
9ec3c84936f7 scsi: core: Also call destroy_rcu_head() for passthrough requests
638bf55940b9 tools/power turbostat: return the exit status of a command
4a45137bb2eb x86/mm: Don't leak kernel addresses
8764542aa21c sched/core: Fix buffer overflow in cgroup2 property cpu.max
02abd369fa77 sched/cpufreq: Fix 32-bit math overflow
7aa9be519579 scsi: iscsi: flush running unbind operations when removing a session
b0b05ab719c3 thermal/intel_powerclamp: fix truncated kthread name
800e3fd7bfce thermal/int340x_thermal: fix mode setting
891fea677cca thermal/int340x_thermal: Add additional UUIDs
f1a315ca06be thermal: bcm2835: Fix crash in bcm2835_thermal_debugfs
481c8a89e89a thermal: samsung: Fix incorrect check after code merge
74920ee161d4 thermal/intel_powerclamp: fix __percpu declaration of worker_data
6e684bd65a5c paride/pcd: cleanup queues when detection fails
77323732005a paride/pf: cleanup queues when detection fails
1f208b0adaee ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
bdb43acc8858 mmc: davinci: remove extraneous __init annotation
e52431f7547c i40iw: Avoid panic when handling the inetdev event
221b45319d05 IB/mlx4: Fix race condition between catas error reset and aliasguid flows
b21723eda4cc drm/udl: use drm_gem_object_put_unlocked.
33550275bbcf auxdisplay: hd44780: Fix memory leak on ->remove()
4c12b50fc86a ALSA: sb8: add a check for request_region
b3a964aea086 ALSA: echoaudio: add a check for ioremap_nocache
2c20533ea602 ext4: report real fs size after failed resize
d45fc2ba0e39 ext4: add missing brelse() in add_new_gdb_meta_bg()
e23981104716 ext4: avoid panic during forced reboot
0a7ef6820970 mips: bcm47xx: Enable USB power on Netgear WNDR3400v2
c5d7b6089be5 perf/core: Restore mmap record type correctly
7f434180c880 inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()
9005b534c2ba arc: hsdk_defconfig: Enable CONFIG_BLK_DEV_RAM
48de44356e07 ARC: u-boot args: check that magic number is correct
0b9132ee7429 Linux 5.0.8
eaa06ac5d1c1 drm/virtio: do NOT reuse resource ids
7af79a36d188 KVM: x86: nVMX: fix x2APIC VTPR read intercept
b564364f22ac KVM: x86: nVMX: close leak of L0's x2APIC MSRs (CVE-2019-3887)
63bec9219c39 dm integrity: fix deadlock with overlapping I/O
de022a3453e6 dm: disable DISCARD if the underlying storage no longer supports it
ca7671084384 dm table: propagate BDI_CAP_STABLE_WRITES to fix sporadic checksum errors
50b2e5c3b0a8 dm: revert 8f50e358153d ("dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE")
556b7d910d5d dm integrity: change memcmp to strncmp in dm_integrity_ctr
78dbc2482a78 powerpc/64s/radix: Fix radix segment exception handling
49558542e0eb xprtrdma: Fix helper that drains the transport
8af91139a0a8 PCI: pciehp: Ignore Link State Changes after powering off a slot
9b63917c6a4c PCI: Add function 1 DMA alias quirk for Marvell 9170 SATA controller
025768c171b8 x86/perf/amd: Remove need to check "running" bit in NMI handler
ecb09f75a9b9 x86/perf/amd: Resolve NMI latency issues for active PMCs
c583b4d08f3a x86/perf/amd: Resolve race condition when disabling PMC
8b866ffe3d31 x86/asm: Use stricter assembly constraints in bitops
3783a3b1e218 x86/asm: Remove dead __GNUC__ conditionals
5866b5fc2b8a csky: Fix syscall_get_arguments() and syscall_set_arguments()
b66f9a1ea65a xtensa: fix return_address
e09deff8f8f4 sched/fair: Do not re-read ->h_load_next during hierarchical load calculation
05acf6f5b81c xen: Prevent buffer overflow in privcmd ioctl
e0e77b23a73d IB/mlx5: Reset access mask when looping inside page fault handler
6b3b09cd4daa arm64/ftrace: fix inadvertent BUG() in trampoline check
36078cae3790 arm64: backtrace: Don't bother trying to unwind the userspace stack
de2e5ed04711 arm64: dts: rockchip: fix rk3328 rgmii high tx error rate
7fcf2d915fa0 arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64
68a6a619ebd7 arm64: futex: Fix FUTEX_WAKE_OP atomic ops with non-zero result value
b0266ece310d ARM: dts: at91: Fix typo in ISC_D0 on PC9
a005242834ac ARM: dts: rockchip: Fix SD card detection on rk3288-tinker
e74aa76752f4 ARM: dts: am335x-evm: Correct the regulators for the audio codec
724d26349abf ARM: dts: am335x-evmsk: Correct the regulators for the audio codec
4e34e23d5708 ARM: dts: rockchip: fix rk3288 cpu opp node reference
f04200259be8 ARM: OMAP1: ams-delta: Fix broken GPIO ID allocation
4e6f0d588cd2 drm/i915/dp: revert back to max link rate and lane count on eDP
88fa815395e3 virtio: Honour 'may_reduce_num' in vring_create_virtqueue
ec64558908d7 genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n
b8ad5278c4d3 genirq: Respect IRQCHIP_SKIP_SET_WAKE in irq_chip_set_wake_parent()
fffb3e8b5920 block: fix the return errno for direct IO
b4af1b3cb545 block: do not leak memory in bio_copy_user_iov()
43d15c041ad7 block: Revert v5.0 blk_mq_request_issue_directly() changes
6a184be78d3f riscv: Fix syscall_get_arguments() and syscall_set_arguments()
ee02ae76d069 btrfs: prop: fix vanished compression property after failed set
41cd8693bfcc btrfs: prop: fix zstd compression parameter validation
ddb27d3b30f7 Btrfs: do not allow trimming when a fs is mounted with the nologreplay option
4badea79434d ASoC: fsl_esai: fix channel swap issue when stream starts
7c394c70a394 ASoC: intel: Fix crash at suspend/resume after failed codec registration
3859d8fae2d8 mm: writeback: use exact memcg dirty counts
c4727317b4e5 include/linux/bitrev.h: fix constant bitrev
a1428aee0c69 kvm: svm: fix potential get_num_contig_pages overflow
d2c5c9ea9a09 drm/udl: add a release method and delay modeset teardown
7029188253fc drm/sun4i: DW HDMI: Lower max. supported rate for H6
3e05b13e52e5 drm/i915/gvt: do not deliver a workload if its creation fails
56487f7b8330 alarmtimer: Return correct remaining time
b4dfbd47a494 parisc: also set iaoq_b in instruction_pointer_set()
97ba69f22665 parisc: regs_return_value() should return gpr28
d347bbea0668 parisc: Detect QEMU earlier in boot process
af2abcc62e64 mmc: sdhci-omap: Don't finish_mrq() on a command error during tuning
13771e12fb7d mmc: alcor: don't write data before command has completed
8a3bb1553d5b arm64: dts: rockchip: fix rk3328 sdmmc0 write errors
9e77cd4a9922 mm/huge_memory.c: fix modifying of page protection by insert_pfn_pmd()
89944d7e95e3 ALSA: hda - Add two more machines to the power_save_blacklist
3c20e6c50e03 ALSA: xen-front: Do not use stream buffer size before it is set
97bf09839964 ALSA: hda/realtek - Add quirk for Tuxedo XC 1509
acaf3a112008 ALSA: hda/realtek: Enable headset MIC of Acer TravelMate B114-21 with ALC233
df828c33163f ALSA: seq: Fix OOB-reads from strlcpy
cb11af93e626 ACPICA: Namespace: remove address node from global list after method termination
da6a87fb0ad4 ACPICA: Clear status of GPEs before enabling them
bee8b4b4c79b HID: logitech: Handle 0 scroll events for the m560
0601ac3b4925 SMB3: Allow persistent handle timeout to be configurable on mount
4d4ec04ed77e hwmon: (occ) Fix power sensor indexing
026f98a1d51d hwmon: (w83773g) Select REGMAP_I2C to fix build error
c231b6b0064d tty: ldisc: add sysctl to prevent autoloading of ldiscs
e4ebae16792a tty: mark Siemens R3964 line discipline as BROKEN
e2a0237494ce Revert "clk: meson: clean-up clock registration"
62a23bbaee09 lib/string.c: implement a basic bcmp
622902df9eba kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LD
396f116f6d0a net/mlx5e: Update xon formula
29b4db4176da net/mlx5e: Update xoff formula
68ef6f3e1a70 net: mlx5: Add a missing check on idr_find, free buf
4fe853723d57 r8169: disable default rx interrupt coalescing on RTL8168
4b780e0fc986 net: core: netif_receive_skb_list: unlist skb before passing to pt->func
b5f69a5648b0 net: vrf: Fix ping failed when vrf mtu is set to 0
c83447096390 net: thunderx: fix NULL pointer dereference in nicvf_open/nicvf_stop
502de75b3b34 net: bridge: always clear mcast matching struct on reports and leaves
f4473ccd883c net: ip6_gre: fix possible use-after-free in ip6erspan_rcv
b49e1837b15e net: ip_gre: fix possible use-after-free in erspan_rcv
eefa6c2464c8 bnxt_en: Reset device on RX buffer errors.
aecbbae850ed bnxt_en: Improve RX consumer index validity check.
c43bbe6d49f4 nfp: disable netpoll on representors
c974a681e996 nfp: validate the return code from dev_queue_xmit()
6fc42565470a net/mlx5e: Add a lock on tir list
44bd84f1b5a5 net/mlx5e: Fix error handling when refreshing TIRs
59c5f595a120 vrf: check accept_source_route on the original netdevice
71707cc55c39 tcp: fix a potential NULL pointer dereference in tcp_sk_exit
bc7167651e30 tcp: Ensure DCTCP reacts to losses
cd1b7376d8a3 sctp: initialize _pad of sockaddr_in before copying to user memory
3c36cc5bdf89 r8169: disable ASPM again
cdeed1e0f47e qmi_wwan: add Olicard 600
3bcad39f08ca openvswitch: fix flow actions reallocation
48a1cd79cc7e net/sched: fix ->get helper of the matchall cls
4edf174b821e net/sched: act_sample: fix divide by zero in the traffic path
4e8d8e767f11 net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock().
ec7aeb6a0709 netns: provide pure entropy for net_hash_mix()
6ced07adaead net/mlx5: Decrease default mr cache size
67b0fbfaf828 net-gro: Fix GRO flush when receiving a GSO packet.
88b9d6f6aff8 net: ethtool: not call vzalloc for zero sized memory request
351ddbdf532c kcm: switch order of device registration to fix a crash
472a290314f0 ipv6: sit: reset ip header pointer in ipip6_rcv
ccec3a09c429 ipv6: Fix dangling pointer when ipv6 fragment
fd4ecb124730 ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
4f90b9ca3cb2 ibmvnic: Fix completion structure initialization
b68b3427a2a2 hv_netvsc: Fix unwanted wakeup after tx_disable
5160fb3353f5 netfilter: nf_tables: add missing ->release_ops() in error path of newrule()
19589530ec6d netfilter: nf_tables: use-after-free in dynamic operations
43154d5c868c netfilter: nft_compat: use .release_ops and remove list of extension
93f7f61ed079 kbuild: pkg: use -f $(srctree)/Makefile to recurse to top Makefile
118003351916 drm/i915/gvt: do not let pin count of shadow mm go negative
(From OE-Core rev: a4544d19b4f5db419e7a02e584a28a14768c8f2f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upgrade from openssh_7.9p1.bb to openssh_8.0p1.bb.
-openssh/0001-upstream-Have-progressmeter-force-an-update-at-the-b.patch
-openssh/CVE-2018-20685.patch
-openssh/CVE-2019-6109.patch
-openssh/CVE-2019-6111.patch
-Removed since these are included in 8.0p1.
(From OE-Core rev: 7e21cfec4de3d66585c92632e1503df54a89b79a)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add rconflicts since error during do_rootfs:
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586
(From meta-yocto rev: 28bdd6efe8a4fff12ee169a227762ec0978dab36)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since warrior, python3native.bbclass sets _PYTHON_SYSCONFIGDATA_NAME;
unfortunately, this also affects Python scripts run as fetch commands like
git-make-shallow, breaking it with a message like
Failed to import the site module
Traceback (most recent call last):
File "/usr/lib/python3.6/site.py", line 570, in <module>
main()
File "/usr/lib/python3.6/site.py", line 556, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python3.6/site.py", line 288, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python3.6/site.py", line 264, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python3.6/site.py", line 254, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python3.6/sysconfig.py", line 607, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python3.6/sysconfig.py", line 550, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python3.6/sysconfig.py", line 421, in _init_posix
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
ModuleNotFoundError: No module named '_sysconfigdata'
on an Ubuntu 18.04 system (and likely others) when building with
BB_GIT_SHALLOW and BB_GENERATE_SHALLOW_TARBALLS.
Unset _PYTHON_SYSCONFIGDATA_NAME in runfetchcmd() to work around this.
(Bitbake rev: d94ccd506d04aff182ab48f501f6f366d5dd14f5)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds support to the 'bitbake -e' command so that it can display the base
environment for a multiconfig. It was previously possible to get the
base environment for the main environment by running "bitbake -e", but
there was no support for getting the base environment for a multiconfig
without specifying a recipe. A user can now print the base environment
for the multiconfig "foo" by running:
$ bitbake -e multiconfig:foo
(Bitbake rev: 3d657af8a6120193d45d01968605b30075a56198)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The renaming of the __depends variable to __base_depends and file
watches needs to occurs for all multiconfigs, not just the base config.
Failing to do this for all multiconfigs will result in a huge increase
in the size of the parsing cache (about 5x for a single mulitconfig)
because all multiconfig caches will still depend on the base config
files. This will also seen a similar jump in the amount of time required
to load the parsing cache from memory, both because the cache is larger
and because of explosion of additional existence checks that must be
done for the base files.
[YOCTO #13359]
(Bitbake rev: 34137a00f60280e9e806070c6507a0fc6284b834)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add new source parameter label to allow custom boot.conf/grub.cfg label,
so far it's hardcoded to "Boot".
Default label to "Boot" for systemd-boot and blank for grub-efi when source
parameter label are not set.
(From OE-Core rev: 7a0aab1aa31e66e6bc94c04c2f6c1043b64a8967)
Signed-off-by: Chee Yang Lee <chee.yang.lee at intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
add rconflicts since error during do_rootfs:
file /sbin/resolvconf conflicts between attempted installs of resolvconf-1.79-r0.noarch and systemd-1:242+0+db2e367bfc-r0.i586
file /sbin/init conflicts between attempted installs of tiny-init-1.0-r3.i586 and systemd-1:242+0+db2e367bfc-r0.i586
(From OE-Core rev: 10d0a824ad9b835b6f5ec24a49d41aead613031b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The DEBUG_MAP_PREFIX flags need to be passed when building the Python
library to prevent these non-reproducible paths from being encoded into
the library. The patch that does this was accepted upstream and
supersedes part of a previous patch that passed LDFLAGS to the Python
library in favor of passing EXTRA_PYTHON_LDFLAGS, so the patch and
recipe has been updated to reflect this.
(From OE-Core rev: 04bb44c1b97c3183739e4836588a93dc34af8806)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bc can be provided by busybox as well (e.g. if you have your own
defconfig and forget to explicitly disable it:
...
*
* Miscellaneous Utilities
*
adjtimex (4.7 kb) (ADJTIMEX) [N/y/?] n
bbconfig (9.7 kb) (BBCONFIG) [N/y/?] n
bc (45 kb) (BC) [Y/n/?] (NEW) dc (36 kb) (DC) [Y/n/?] y
Use bc code base for dc (larger, more features) (FEATURE_DC_BIG) [Y] (NEW) y
Interactive mode (+4kb) (FEATURE_BC_INTERACTIVE) [Y/n/?] (NEW) Enable bc/dc long options (FEATURE_BC_LONG_OPTIONS) [Y/n] (NEW) beep (2.4 kb) (BEEP) [N/y/?] n
chat (6.3 kb) (CHAT) [N/y/?] n
conspy (10 kb) (CONSPY) [N/y/?] n
...
), causing conflict in u-a:
update-alternatives: Error: not linking /usr/bin/bc to /bin/busybox.nosuid since /usr/bin/bc exists and is not a link
and then whole do_rootfs or do_populate_sdk to fail because busybox postinst is failing:
do_populate_sdk: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} (). Deferring to first boot via 'exit 1' is no longer supported.
(From OE-Core rev: f4e712162566373279049fb952d8bceb9184128a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit a559ffab30.
This is not needed now that pigz has been marked as a drop-in
replacement.
(From OE-Core rev: 3a73662ea72fbf0180d9a66032b6d92248ae4ddf)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gdbserver does not yet build for riscv64, therefore
let the package be empty so we can build core-image-sato-sdk-ptest
(From OE-Core rev: 111f65528e3c0b147c1713cfc684958f94c41cd6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Several fetchers support named sources that require setting a SRCREV with
the source name as a suffix. These named SRCREV variables are not captured
in the sstate hash calculation because they're only referenced within the
bitbake fetcher function. Several recipes avoid this bug by adding the
different SRCREVs to their packaging versioning but this is not enforced so
it is very trivial to trip this bug case.
Add a snippet to the base.bbclass anonymous python to add all named SRCREV
variables to the vardeps of do_fetch to capture them in the sstate hash
calculation.
Testing of the bug can be shown by running the following bitbake commands
with this patch set not applied:
bitbake vulkan-demos | tee
sed -i 's/SRCREV_gli = ".*"/SRCREV_gli = "xxx"/' \
../meta/recipes-graphics/vulkan/vulkan-demos_git.bb
bitbake vulkan-demos | tee;
The above results in no errors despite a broken SRCREV because the recipe is
considered unchanged by the bitbake sstate hash.
After applying this patch the above commands instead result in a fetcher
error which is correct.
(From OE-Core rev: fdc000b8ae1577f1b29efb2cc4927664ad41e21c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Consider DISTRO_FEATURES for nfs-utils and rpcbind.
This is to prevent the following warning while booting:
NFS daemon support not enabled in kernel
(From OE-Core rev: bd59536158ba29aec979378068d5d50b4a29282d)
Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fix below error:
file /etc/xinetd.d/telnet conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586
file /usr/sbin/in.telnetd conflicts between attempted installs of netkit-telnet-0.17-r0.i586 and inetutils-telnetd-1.9.4-r0.i586
(From OE-Core rev: 1ceaaab6aab449f05a6e5f984bd20fa33d84937d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting the CMAKE_C{,XX}_COMPILER_LAUNCHER variables is the recomended way to
deal with ccache in CMake. It allows build scripts to optionally opt-out of
ccache, which is especially useful when the pre-processed GCC output is required.
(From OE-Core rev: 0a36d1b342c0b4760bc75794c2e941a17012bc19)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
when both installed, do_rootfs report error like:
file /etc/inittab conflicts between attempted installs of
busybox-inittab-1.30.1-r0.qemux86 and sysvinit-inittab-2.88dsf-r10.qemux86
so add each other to rconflicts
(From OE-Core rev: d66114b07ef3e8482fee4c3c93e4f6324c38da3b)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This includes libstdc++ changes from gcc 9.X.
It also switches uninative from bz2 to xz compression.
(From OE-Core rev: 7ed16ec033366aea175ac4ecf7cd82656c4141bb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this the ptest fails, unable to find mkfs.ext3.
(From OE-Core rev: 8f4e7f4ff4eed6503213f2d15bb86c0c86368966)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We should append to the ptest RDEPENDS and RRECOMMENDS otherwise the bbclass
defaults are overwritten. This leads to ptest-runner not being installed in
minimal images. Also drop the duplicate ${PN} value which is unneeded once
we do this.
(From OE-Core rev: 5054038567744d09e51e50f8c663f18224d6c555)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the test is successful, remove the log and exp files. This stops strace
using around 600MB of disk space and running our ptest images out of space.
(From OE-Core rev: ae94bffc6991efd6a6a74b2c129d3743b5fd1cd3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch uninative to use xz compression instead of bzip2. We can then directly
use the SDK_ARCHIVE_CMD.
(From OE-Core rev: c2e30917542297c0dbef2868d4aeebc05b13ef8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst this may take longer to compress, it reduces network transfer and potentially
extraction time so is worthwhile.
(From OE-Core rev: 0a89d486cf596da791c27cff14ef3d6ca1cbb75a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7 renamed the tar_sdk function
but didn't fix this recipe. This leads to broken uninative tarballs as the internal
structure isn't correct. Fix this.
(From OE-Core rev: 1cfe7cbb20a0eedd46ab6ee57f8d49bc652f818a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There doesn't seem to be a reason to keep it in addition to 1.12 now.
(From OE-Core rev: 03bfbbb1d86f102ce23ee6ac0d4b905fc241f23c)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
udev is an optional dependency of bluez5, so use PACKAGECONFIG to give
users the ability to build bluez5 without udev support.
(From OE-Core rev: 862438543ef04a3c23f38ec65cd66a3b4e3907d5)
Signed-off-by: David Frey <dpfrey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file attributes (specifically the timestamps) must be preserved when
applying the cross files to have reproducible builds. Otherwise, the
cross files get the timestamp from when they are copied in the do_unpack
task, and the reproducible_build class uses this timestamp since it is
the youngest one in the source tree.
(From OE-Core rev: b9b8cd3ce9755087d5d89b54287e171ac5effe3b)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One of the ptests failed for internationalization.
>From the failed ptest log:
run-intl
fr_FR.ISO8859-1: Error Encoding U+00000080 to [ "$'\200'" != "\\u0080" ]
(125 similar errors related to same encoding)
The test was unable to convert iso8859-1 encoding to perform comparison.
(From OE-Core rev: ec1849d7a5964bef53462b9d4763e22433f9d246)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All known issues have been addressed in OE-Core, switch to gc9 by default.
(From OE-Core rev: 55014de1cb19d46467314adf37c88b1b91e001f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
fix is included in 1.16.0
* SCTP plugin got added
* WPE plugin got added (but currently disabled due to build problems with
meta-webkit; will be fixed in a separate commit)
* ACM, SPC, daala, VCD plugins got removed
(From OE-Core rev: 19897615db54dd24e4c67f32e64dfee171c03746)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-scaletempo-Advertise-interleaved-layout-in-caps-temp.patch
Added this patch that is on track for version 1.16.1 because
it is needed for WebKit
* 0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch
Removed since it is not needed (using mpeg4videoparse fixes the issue)
* avoid-including-sys-poll.h-directly.patch
* ensure-valid-sentinel-for-gst_structure_get.patch
Removed since these are included in 1.16.0
(From OE-Core rev: 2af6b5500f719eb4128e27e8346be9d9c3e1377e)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
Removed since the https://bugzilla.gnome.org/show_bug.cgi?id=726571
fix is included in 1.16.0
* 0005-viv-fb-Make-sure-config.h-is-included.patch
Added to prevent build errors due to missing config.h #include
* 0010-gl-Add-switch-for-explicitely-enabling-disabling-GBM.patch
* 0011-gl-Add-switches-for-explicitely-enabling-disabling-P.patch
Removed since these are included in 1.16.0
(From OE-Core rev: 9dbd91c22cbd39245e72a128e07036c22edd9b4e)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 0002-gstconfig.h.in-initial-RISC-V-support.patch
Removed since this is included in 1.16.0
(From OE-Core rev: 4f9b8ce9aad05fd6e2b7d2fefc0d22fcb431c003)
Signed-off-by: Philippe Normand <philn@igalia.com>
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
* Feature: Add support for 200Gbps (50Gbps per lane) link mode
* Feature: simplify handling of PHY tunable downshift
* Feature: add support for PHY tunable Fast Link Down
* Feature: add PHY Fast Link Down tunable to man page
* Feature: Add a 'start N' option when specifying the Rx flow hash indirection table.
* Feature: Add bash-completion script
* Feature: add 10000baseR_FEC link mode name
* Fix: qsfp: fix special value comparison
* Feature: move option parsing related code into function
* Feature: move cmdline_coalesce out of do_scoalesce
* Feature: introduce new ioctl for per-queue settings
* Feature: support per-queue sub command --show-coalesce
* Feature: support per-queue sub command --coalesce
* Fix: fix up dump_coalesce output to match actual option names
* Feature: fec: add pretty dump
(From OE-Core rev: 0622b7e17b5c3db80a21c11e3079392552f144ea)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd upstream only care about glibc. We made musl specific
patches so that systemd could work. But currently these patches
contain potential security issues.
So apply these patches only when the libc is musl.
(From OE-Core rev: 464a1c16db1d7cc950eaee43bd8a47124dc4398f)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
assembler ends up crashing on target sometimes due to
segfaults in libbfd, therefore avoid using -O2 for now
(From OE-Core rev: a6f9327e79df1bfadb1f613eda799586e60009f2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The API between lttng-tools and lttng-modules is safe, whitelist it as
the dependency fixes tools failures. This needs a hack in the multilib
class as right now there is no way to know if a given recipe is a kernel
module or not. This needs to be revisited.
(From OE-Core rev: 584e713bf7f6885a13c440cd45c0f469feb3a694)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The lttng-tools project is essentially a "tracer" controller, the tests
depends heavily on lttng-ust and lttng-modules presence.
(From OE-Core rev: f50483cef0a65f3098018600276fba70195643da)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original version of template.py parses the arguments manually. This
fails when looking for the -E option if, e.g., an -I option is specified
without any space before its argument, and that argument contains the
letter 'E'.
A minor difference to the original version is that it parsed the
arguments in the order they were specified on the command line whereas
this version will always handle -E before -o.
(From OE-Core rev: 60e8de529eb0dfd546d96af3c2cdd7f23041ab45)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is mainly whitespace clean up, plus using the with statement when
writing files.
(From OE-Core rev: f09cb832fa8e83e7e5faf6bd9464481aef5b4547)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 0c68c621d3b8690e3a346170006f75b032511a8a.
It should be upstreamed first
Secondly, musl and glibc are under different licenses and importing
code from one to other could taint it.
(From OE-Core rev: 71c6930e304f8918e4bd571237ff41e7e9e9b9a3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl > v1.1.21 changed the implementation of the freeaddrinfo() function
not allowing anymore to pass null pointers to it.
This was causing a segmentation fault in connman.
(From OE-Core rev: a9bf875af4a5133e4f0e3039a76b1dfc6d5d1f63)
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes build with musl where TEMP_FAILURE_RETRY is not provided
(From OE-Core rev: 2a6c1c33bcf061f65da159d66fae78b31bcc9e60)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When we updated to QEMU 4.0 we saw a segfault when running tests on the
qemuarm machine. At the time we just reverted the offending patch from
QEMU. Now that the fix has been merged into upstream let's remove that
revert patch and replace it with the correct backport.
(From OE-Core rev: ce0cae5511ce4ba7b9dcc9c6676ec7ea10622cb7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a typical scenario with arm platforms, with meson if DRIDRIVERS
is empty then dri is disabled automatically, but gbm needs dri2 enabled
for it to have proper backend, in autotools we could use --enable-gbm
--enable-dri and get correct behaviour but with meson enabling dri2 only
works if DRIDRIVERS is not empty
This fixes mesa-gl build for rpi machines when using userland graphics
(From OE-Core rev: 0c670a0fad379c3dc2a69ac5abfeaceda98a2f9c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When the original problem was fixed in gnulib the
patches were rebased on top of the upstream fix...
(From OE-Core rev: d93ad85d94ea99e3fad7e4c2f6be999088e2f9f9)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All still supported host distributions have gcc >= 4.8.
(From OE-Core rev: c8eeb487d09cc4bd0f637260dd01d0982745038f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Silently ignoring FNM_EXTMATCH makes fnmatch()
behave different from what callers expect.
Mark as incompatible with musl instead of risking
broken runtime behaviour.
The practical consequences should be small since
what is used in OE is mainly squashfs-tools-native.
(From OE-Core rev: c9aed6a84c0a33fee8a52603b22cc2b78928eb5f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The pkg_resources Python module is useful by itself, for example for
automatic loading of resources shipped in a Python package.
Add separate packages for it, so that users can depend on them
individually and avoid pulling in the entire setuptools, which
include scripts to download other packages, which might not be
desired on minimal images.
Other distributions like Debian and Ubuntu already split setuptools
and pkg-resources in this way.
The setuptools packages now depend on the new pkg-resources packages,
to avoid regressions for other packages that depend on them
already.
(From OE-Core rev: 4316d9afe920460e5d2236f217027cce37ed7bf5)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build with meson
* dependency intltool-native can go - they moved gettext only translation
* put gnome inherits together
(From OE-Core rev: e965b72c08fc94c7c6dbfea36505400f3dbb2c53)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls from meta-gplv2 isn't new enough for this version of glib-networking:
meson.build:74:0: ERROR: Invalid version of dependency, need 'gnutls' ['>= 3.4.6'] found '3.3.30'
* disabling gnutls PACKAGECONFIG isn't an option either:
meson.build:131:2: ERROR: Problem encountered: No TLS backends enabled. Please enable at least one TLS backend
* add an option to replace gnutls with openssl
(From OE-Core rev: 7fe82038105709a02a29d6b1359b9e6cd4e9dade)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst not complete, this resolves some module dependency failures being seen
by various lib*-perl ptests and in quilt.
(From OE-Core rev: 2706b396ef9699c560cded4384cbfc9d79beaa7f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The scripts use options not supported by busybox utils such as head and diff
so the full coreutils and diffutils utilities are needed.
(From OE-Core rev: f3f60e024a2718d18a68897d7f5ca5e4fbb96f61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The tests are run from a makefile so this dependency is needed.
(From OE-Core rev: 0fe3490b5c6ce731b705a5e40341350d64165a4d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Without this we see test failures due to the sudo binary being missing.
(From OE-Core rev: b9e4db06dd95ce709a4a895014cc98fdd7df4624)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bash's ptest needs glibc-utils (for locale), some extra locales for various tests
it uses options busybox doesn't support for some tools, hence coreutils and also runs
perl for some tests.
(From OE-Core rev: 7ce6f69e56ef7ccc0187722cd78728a6505073b7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding these fixes the acl and attr ptests to work within minimal images.
(From OE-Core rev: d877a7b819e08c2d308ef544a849169c096ef68b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to address a missing format string error.
Drop the x86-specifc setting for GSTREAMER_GL as it is no longer needed.
(From OE-Core rev: e920e58af56d1d1279d396bfb4e8baf38605b6d1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream has started to tag releases, so drop UPSTREAM_CHECK_COMMITS
(From OE-Core rev: 4df5e8c514a1a169664483505a512547ae68b81e)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Delete the deletion of files, as they are no longer included in bash-completion
(util-linux provides them).
(From OE-Core rev: 9f9846d975ca9cc863e1510e47a2d2ebb5573302)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13344]
When parsing manually the 'npm view --json' ouput, an extra closing
brackets in a JSON string can leads the fetcher to fail with a
JSONDecodeError exception.
This commit use the JSON parser to extract:
- The last object in the returned array if there are multiple results.
- The returned object if there is only one result.
(Bitbake rev: 3d319c79981811d3cfd4732885057db4fd5afcc2)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a new option to the svn fetcher url "externals=allowed". This will allow
a user to enable svn co w/ externals. However, this does avoid the fetcher,
network access and mirror systems.
By default we no longer allow externals in the checkout. This ensures a
deterministic download. The system does attempt to identify SVN repos that
have externals enabled, and will warn the user. It is up to the user to
determine if these are necessary for the recipe. They may disable the warning
by adding "externals=nowarn" to the url.
In the future we would like to parse this list and see if the items are already
in the SRC_URI for that recipe, but with SVN being in limited use these days
that extra work is likely not worth the trouble.
Add test cases that generated a local SVN tree, with an external source
set to github bitbake in svn format. One test case checks that externals are
ignored, and one checks that they in downloaded.
(Bitbake rev: bf53f07c3647e57d8452a7743a2b04bcb72c80d6)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
to avoid:
./run_openmp_test: line 12: /usr/bin/file: No such file or directory
SKIP: drd/tests/omp_matinv
when using core-image-minimal to run valgrind ptests.
(From OE-Core rev: f68ba3e49a8a8da7e48cd3fecf1dd3fc39219a40)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid ptest failures due to .diffs such as
cachegrind/tests/ann1.post.diff:
@ Source file 'a.c' is more recent than input file 'cgout-test'.
@ Annotations may not be correct.
by using:
touch a.c -r cgout-test
(From OE-Core rev: 531cea018fa440fc408e1e061794978a502ad4ba)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SRC_URI almost definitely shouldn't be using ${PN}, and GitHub */archive/*
tarballs are dynamically generated so the checksums will change over time.
Detect both of these, and emit a QA warning if found.
(From OE-Core rev: 21f84fcdd659544437fe393285c407e1e9432043)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bump GDB and change the oeqa selftest expression to allow ptests to
pass.
(From OE-Core rev: f31986ed9f82c48834b2f25979c93697228acbf7)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no point in building an NSS module for a C library
that doesn't support NSS.
(From OE-Core rev: e3197eeaf352cb5c578a675ce2a07881fad597e6)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both python-numpy and python3-numpy try to install the file:
${D}/${bindir}/f2py
which causes an error during do_rootfs since the package manager complains about that.
The numpy packages create basically copies of f2py script with the following names:
f2py (on both)
f2py2 (on python 2)
f2py2.7 (on python 2)
f2py3 (on python 3)
f2py3.7 (on python 3)
Remove the copy of f2py from python-numpy in favor of using the one from python3
to avoid installation issues at do_rootfs().
(From OE-Core rev: a625899c4de4f8ec030ade09686f0c7c0e624a50)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Now that we have a common inc file for both vim and vim-tiny move a few
bits of logic out of vim.inc and in to vim_$VER.bb so that vim adds
things rather than vim-tiny removes them.
Suggested-by: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: a9f62ea2c380375c749a28405708bfdb7754f51f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously vim-tiny would include the vim recipe wholesale;
this meant that they had to be upgraded in a single transaction
which devtool cannot cope with. This thwarted the latest AUH
run in particular.
(From OE-Core rev: 55cc8c6dbef8de240f63e7274a2beaf421124b58)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There's no point in building an NSS module for a C library
that doesn't support NSS.
(From OE-Core rev: ec528bd5edf5f85abdaef25ff73a282f5c6ce2c4)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are some missing dependencies for the util-linux-ptest package
that causes inconsistencies in the package tests run in different images.
The kernel module in RRECOMMENDS is not build at this time, it needs
more testing and check if the configuration change can be part of the
yocto-kernel-cache repository.
(From OE-Core rev: 56f09cb4873f9de8efb44c640b6c9f1db8b721b7)
Signed-off-by: Mariano López <just.another.mariano@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #11028]
When dealing with node modules which use "node-gyp" [1] to build native
addons to node. Some temporary build files stay in the image: object
files, static library files, dependency files, ...
This commit does not keep only the required files, but remove the files
which can leads to QA issues (staticdev with static library files).
[1]: https://github.com/nodejs/node-gyp
(From OE-Core rev: bac9075f51f6acba2fcfbe9f79f97f5171186d9c)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #13349]
When dealing with node modules which have declared "bin" files [1], npm
will create a link in '/usr/bin' with a relative link to
'../lib/node_modules/<module bin file>'.
The commits e9270af429 and
2713d9bcc3 explicitely use
'/usr/lib/node/' as install directory, but does not care about the "bin"
symbolic linked files.
In order to keep valid links, and to keep it as simple as possible, the
path '/usr/lib/node_modules/' is used as install directory for npm. And
a symbolic link is created to have a valid '/usr/lib/node/' path, needed
for node.
[1]: https://docs.npmjs.com/files/package.json#bin
(From OE-Core rev: 2d72007deea7ed529f82b8a6e67e2715dd0a0dca)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12534]
When using npm packages with exotic names, like "JSONSelect" (with
uppercase) or "@angular/cli" (with at sign and slash), there are three
different names:
- the recipe name ("jsonselect" or "angular-cli")
- the npm module name ("JSONSelect" or "@angular/cli")
- the npm pack name ("JSONSelect" or "angular-cli")
The commit fa9c077068 allow to have
different recipe name and npm module name by setting the NPMPN variable.
This commit allows to have yet another npm pack name. The pack filename
is now dynamically retrieved from the 'npm pack' command.
(From OE-Core rev: b6ffa59d03fbf53d1681fce5f8c3c1f163cf9923)
Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This matches what the qemux86_64 is currently using, and
will allow testing the instructions added in the meantime;
particularly various SSE extensions are now enabled.
(From OE-Core rev: f3b1e577ec94c849d0354f5679257f02ef4e4fe9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The thread tests need libgcc for pthread_cancel to work.
(From OE-Core rev: 0563003fea0ff432e61f7361fa8c1524ffbc925a)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* otherwise P_V might be set for i686 and PN and RECIPE_MAINTAINER for i586
from bitbake -e lib32-gcc-cross-i686:
PREFERRED_VERSION_lib32-go-cross-i686="1.12%"
RECIPE_MAINTAINER_pn-go-cross-i586="Khem Raj <raj.khem@gmail.com>"
$ git grep 'go-cross-${'
meta/conf/distro/include/maintainers.inc:RECIPE_MAINTAINER_pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem@gmail.com>"
meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
meta/recipes-devtools/go/go-cross.inc:PN = "go-cross-${TUNE_PKGARCH}"
* actually is there a reson to use TUNE_PKGARCH here (unlike other cross/canadian-cross recipes
which are using TARGET_ARCH/TRANSLATED_TARGET_ARCH)?
(From OE-Core rev: 80dc146a5a4cd8772a49e4fca56eb5467cdb1451)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid:
libgcc_s.so.1 must be installed for pthread_cancel to work
when running the ptest without libgcc.
(From OE-Core rev: 791bb6f1c95552a44660bb78c522fd8ecc4e6384)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This solves ptest runtime errors where make was missing causing the ptests
to fail.
(From OE-Core rev: 2ade2c53388c92d36b8b30dae30670fd96ca4821)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Patch it into musl instead of patching all users
(currently elfutils and next ofono).
(From OE-Core rev: 0c68c621d3b8690e3a346170006f75b032511a8a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* both use KERNEL_IMAGETYPE variable which is MACHINE specific
* fixes:
=== Comparing signatures for task do_configure.sigdata between hammerhead and mako ===
ERROR: grub-bootconf different signature for task do_configure.sigdata between hammerhead and mako
basehash changed from 710332f3ec15670302dd690708730c9e418d53790ce36d6a91b049ae4f7069b1 to c9a46e58b4634b5fd47d20683f8320e15f5c4cb7628e3a62ed97d8528d7aabd2
Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'
ERROR: systemd-bootconf different signature for task do_configure.sigdata between hammerhead and mako
basehash changed from 2abbaf6d7760696fbf1ff5df5705239b475ccbf6f0c831fc4031984c0ce0e9f2 to 24f1e7886dee02b04bc180acc1c946ad82ce842655e5a5f4a8006f4a8490f985
Variable KERNEL_IMAGETYPE value changed from 'zImage-dtb' to 'zImage'
detected with:
openembedded-core/scripts/sstate-diff-machines.sh --targets=world --tmpdir=tmp-glibc/ --analyze --machines="hammerhead mako qemux86"
(From OE-Core rev: 90a47da8c50da49ecaf0e2786dc4d9a78c61189e)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The original mdadm service may include variable like BINDIR,
It should use the real value of it, since the install method
"install-systemd" in Makefile can easily do such work, so don't
install it in bb file manually, use "make install-systemd" to
install all the service of mdadm.
(From OE-Core rev: be24f1dc995f7a996abfa551abea74f06de19ae6)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If 'cron' is added into PACKAGECONFIG, for sysvinit, the related
cron scripts will be installed; for systemd, the services of
data collect and summary will be installed.
(From OE-Core rev: 3ee977629331843cc811b6571d13fa02f5593a10)
Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Change SRC_URI to https://cpan.metacpan.org
License-Update: Lines moved further down in README.
Upstream release notes:
0.002006 - 2019-04-04
- added additional references to related modules in pod
- various internal cleanups
- fix backwards compatibility with earlier versions of version.pm
- fix output from test script when tests fail
- added note about RELEASE_TESTING to test message on forced failures
(From OE-Core rev: bec77f5d48055bd30ee69acb43d67c2d05180f7b)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because we are trying to avoid network activity and use our own fetcher,
the system emulates the behavior of 'git submodule init'.
git submodule init uses the .gitmodules file, where typically the module
name and path are the same. However, in this case the module name and
path (in the tree) were different. i.e.:
[submodule "edgelet/hsm-sys/azure-iot-hsm-c/deps/azure-c-shared-utility"]
path = edgelet/hsm-sys/azure-iot-hsm-c/deps/c-shared
url = https://github.com/Azure/azure-c-shared-utility.git
Previously the code assumed the 'path' was both the checkout location
under .git/modules, as well as the path to extract the components. This
proved to be incorrect as the .git/modules path needs to match the submodule
'name'. This causes the components that were fetched to be initialized in
the wrong location, which later caused the 'git submodule update' process to
skip not properly initialized modules.
A test case was added for this specific case to ensure a regression does
not appear in the future.
(Bitbake rev: fd27ab60d33553dba13de39394edaaac04e446b3)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is reported with clang e.g.
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:391:5: error: cannot jump from this goto statement to its label
goto out;
^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup))
g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:385:5: error: cannot jump from this goto statement to its label
goto out;
^
../../../../../../../workspace/sources/epiphany/lib/ephy-web-app-utils.c:398:20: note: jump bypasses initialization of variable with __attribute__((cleanup)) g_autofree char *app_file = g_build_filename (profile_dir, ".app", NULL);
^
Ensure that the initialization is deterministic for goto to work reliably
(From OE-Core rev: 19e4c1f63abc82cf5f8d1eaac28d8fd5d09bf9d3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
clang has more warnings to report, lets fix them
(From OE-Core rev: 44b06d940bc3d623c57df0b06092548912a903c2)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch fixes a following issue:
| omapip/isclib.c: In function 'dns_client_init':
| omapip/isclib.c:356:18: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
| if (dhcp_gbl_ctx.dnsclient == NULL) {
| ^
| omapip/isclib.c:363:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'dnsclient'
| &dhcp_gbl_ctx.dnsclient,
| ^
| omapip/isclib.c:364:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local4'
| (dhcp_gbl_ctx.use_local4 ?
| ^
| omapip/isclib.c:365:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local4_sockaddr'
| &dhcp_gbl_ctx.local4_sockaddr
| ^
| omapip/isclib.c:367:24: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'use_local6'
| (dhcp_gbl_ctx.use_local6 ?
| ^
| omapip/isclib.c:368:25: error: 'dhcp_context_t {aka struct dhcp_context}' has no member named 'local6_sockaddr'
| &dhcp_gbl_ctx.local6_sockaddr
(From OE-Core rev: e36076b6feca481b7a7a44b1c03c4cfca2dd8c48)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_bundle_initramfs does not have to depend on
${INITRAMFS_IMAGE}:do_image_complete if INITRAMFS_IMAGE_BUNDLE is not
set.
(From OE-Core rev: 6676411fccff2d331878e4ca1f9411aafb056a80)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
I did some re-writing here and also linked over to the
"Fetchers" section, which is in the BitBake User Manual.
(From yocto-docs rev: a2ba04bcf13dd1c68cba5a79ae9e7d4c8fbcdf59)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream glib don't really actually test the test suite with modern glibc and
all the locales present so we're finding a number of bugs. Backport another fix
from upstream to fix the test data with modern glibc.
(From OE-Core rev: b2832df86b5218954c63b01595620fe8cf7ec921)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Many different ptests are breaking as they assume that ${PN}-ptest
depends on ${PN}. It doesn't currently but should. If we fix this, many
different ptests start passing when they previously failed.
It does depend on fixing an issue in the dbus-test recipe which is done
in the preceeding patch (mentioned in case this gets backported).
(From OE-Core rev: b47194b57d94260b4e6438c5bf74914027f0b520)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dbus-test package is empty, move its dependencies to the ${PN}-ptest
package. Also ensure that it doesn't depend on the empty ${PN} package
which is about to start causing image failures in the following commit.
In this case the correct dependency is dbus itself.
(From OE-Core rev: db4ef506b6b86e62a5ee1cbea8f12f97615dd0b8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use the *_annotate executables from ${bindir}
Actually install cachegrind/tests/a.c since it is used by
the call/cachegrind/tests/ann[12].vgtest files.
With this change and the previous commits, the ptest results
on qemux86-64 when invoked with:
runqemu qemux86 kvm nographic slirp qemuparams="-m 2048"
are:
=== Test Summary ===
TOTAL: 159
PASSED: 149
FAILED: 1
SKIPPED: 9
Only drd/tests/pth_detached3 remains to be fixed.
(From OE-Core rev: 7fc21775e62fddd6620d49a6cf00ca914ba6b4ba)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Skip two filters in filter_xml_frames since they
are intended to filter filesystem paths under '/usr' that
vary from platform to platform. In the ptest case
for Yocto's valgrind, the ptest executables are placed under:
/usr/lib/valgrind/ptest
and if these frames are filtered out, then several 'drd' tests fail
the comparision between expected and actual output.
Also adjust the std_list expected output to agree with that
produced when the --yocto-ptest option to vg_regtest is used.
(From OE-Core rev: 38cc663b69ec96ae1470f040f7dcb05e816deb2e)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Split the list into one directory per line.
Sort the list alphabetically.
Add the gdbserver_tests directory to get the 'gone' executable
which is needed by:
memcheck/tests/gone_abrt_xml.vgtest
(From OE-Core rev: eb7d907deb09f2658f69d8faa8e56e6a56510fca)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
About half the ptests will fail if the executables deployed
as part of the ptest package are stripped. We therefore need
to add a dependency on the dbg symbols package and silence the
QA test which would complain about this since we really do want
it in this case.
(From OE-Core rev: 7d8407583033ea70039dd7e475c325efcf857c18)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding the valgrind debug symbol information caused the genericx86-64 image to
overflow the 4GB boundary. Tweak the sizes to avoid autobuilder failures yet
leave enough space all the tests still run successfully.
(From OE-Core rev: fa24a5056acea6610e2ad1a1eb1e7425a3828979)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* before trying to copy unistd.h into it
* older kernels don't have uapi in tools/include and do_configure fails
with:
DEBUG: Executing shell function do_configure
cp: cannot create regular file '.../perf/1.0-r9/perf-1.0/tools/include/uapi/asm-generic/unistd.h':
No such file or directory
WARNING: exit code 1 from a shell command.
* tools/include/uapi was added in kernel 4.8 with
c4b6014e8b
tools: Add copy of perf_event.h to tools/include/linux/
(From OE-Core rev: 5fdb96f4996856286c4f72b93d31b7990ceed8aa)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Line lengths, remove duplication, and use the PYTHON variable provided by
pythonnative.bbclass.
Coincidentally fixes a dormant defect in distutils3.bbclass in which we were
sedding for STAGING_BINDIR_NATIVE/python-python3/python3.
(From OE-Core rev: 7b8dd17c65e2d7d163f452833f21469918bf222e)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
IrDA support was removed in kernel 4.17.
(From OE-Core rev: 9609256bfcfbb3860f68f1d8e553e9dd051ad218)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
volume name should refer to --label in .wks.
Replace the hardcoded volume name with label.
set "ESP" as default name when no lable specified.
(From OE-Core rev: 5621aceaf39ef0dc097b16c83e73b9882c987a7c)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Originally a web browser was added to build-appliance-image to
enable Hob's use cases that involve opening a URI; with Hob long gone,
a web browser is no longer necessary to have in build-appliance-image.
This will also address the out-of-resources problem when
build-appliance-image builds itself in a VM, as a test case.
(From OE-Core rev: e354b33d4aa16a302e1972d87755b654db3d54fb)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changelog:
- Fix issue with DHCP client and handling renewing state
- Fix issue with DHCP client and handling rebinding state
- Fix issue with DHCP client and recommended retry timeouts
- Fix issue with Generic Netlink and family discovery
(From OE-Core rev: ebb5b261230dbb2cc13093174960613cfdaf20b4)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As runqemu with launch_cmd means directly run the command, don't need set
rootfs or env vars.
Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
work, which is overridden by latter qemuparams="-serial tcp:127.0.0.1" in
QemuRunner.launch();
So we set qemuparams as a parameter in runqemu, the fix makes it work
(From OE-Core rev: 4f0a576fd5b9373cff4ca5ac92ec6af29499df89)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
OpenSSL 1.0 has been replaced by 1.1, and it would be harder
to security-support after the upstream EOL at the end of 2019.
(From OE-Core rev: 0f7ffcaa18db7bc27f30c994aafbb9f4f8b2ae7e)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We continued to see encoding problems with ssh commands run in oeqa. After much
research the conclusion was we should use ignore the errors since some occasional bad
locale encoding is better than the unicode decoding issues we were seeing which crashed
large parts of tests.
(From OE-Core rev: b3bae8aba5b897c1afcc8bf4ad8929251812d2b5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 837c786d600ba69('weston-init: Add support for non-root start') added a
typo that uses WEST_USER instead of WESTON_USER variable when chwon'ing the
XDG_RUNTIME_DIR directory. Since WEST_USER is not defined, it will `chown
:$WESTON_USER file`, which will work, but that is not 100% correctly and should
be fixed.
This patch basically fix the typo and now the file will be chown'ed to the
WESTON_USER user.
(From OE-Core rev: 1b9a2374be8723de654afa2c59a8b10266e5d8df)
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop local fix, backport upstream gnulib fix and translate to tarball groff.
Suggested-by: Adrian Bunk <bunk@stusta.de>
(From OE-Core rev: 5a33682c907daf359d3f88d96cc152d37e13a915)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It removes function JSC::AssemblerBuffer::data() for ARM64 in commit
https://trac.webkit.org/changeset/236589/webkit. But it is required by
Cortex A53 from https://trac.webkit.org/changeset/175514/webkit and
fails to compile for arm64:
| .../tmp/work/aarch64-poky-linux/webkitgtk/2.24.0-r0/webkitgtk-2.24.0/Source/JavaScriptCore/assembler/ARM64Assembler.h:3769:100: error: 'class JSC::AssemblerBuffer' has no member named 'data'
| if (UNLIKELY((*reinterpret_cast_ptr<int32_t*>(reinterpret_cast_ptr<char*>(m_buffer.data()) + m_buffer.codeSize() - sizeof(int32_t)) & 0x0a000000) == 0x08000000))
Not set WTF_CPU_ARM64_CORTEXA53 for arm64 to fix the failure.
(From OE-Core rev: 754baa7ccc8afad300f1a391469b6b428e37f096)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Drop groff-1.22.2-correct-man.local-install-path.patch and
0001-Unset-need_charset_alias-when-building-for-musl.patch
- Inherit bbclass pkgcnofig to fix `undefined macro: AC_DEFINE'
...
| configure:20010: error: possibly undefined macro: AC_DEFINE
...
- Use autotools-brokensep to replace autotools to workaround failure
caused by out of tree
...
| rm -f lib/alloca.h-t lib/alloca.h && \
| { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
| cat ../groff-1.22.4/lib/alloca.in.h; \
| } > lib/alloca.h-t && \
| mv -f lib/alloca.h-t lib/alloca.h
| /bin/sh: line 4: lib/alloca.h-t: No such file or directory
| Makefile:10407: recipe for target 'lib/alloca.h' failed
...
- Add `--without-doc' to not use target groff to generate doc at build time,
since upstream commit [cfe916e Support of configure option to build the
documentation.]
- Remove groff depends groff-native, and add DEPENDS bison-native
- Add 0001-fix-shebang-for-taget.patch
- Add 0001-support-musl.patch
(From OE-Core rev: 70c2364cae3aad62877e0267d840ea3567d3d1ea)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Backport a patch to fix build failure while APR 1.7.0
...
checking for apr_int64_t Python/C API format string...
configure: error: failed to recognize APR_INT64_T_FMT on this platform
...
- Rebase disable_macos.patch and serfmacro.patch
License-update: no change, declare two new added file
* in build/ac-macros/ax_boost_base.m4
* in build/ac-macros/ax_boost_unit_test_framework.m4
(From OE-Core rev: 68ae5e624642218e7e01805c096da09098a8706f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Revert gpgrt-config support which oe-core does not support it
- Rebase 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch
and 0001-pkgconfig.patch
- Tweak LANGUAGES, since upstream auto check the version of python rather
than specify option
[ff6ff61 python: Auto-check for all installed python versions.]
License-update: SPDX identifiers site and formats
[8d91c0f Add SPDX identifiers to most source files]
"s/LGPL-2.1+/LGPL-2.1-or-later/"
"s#https://www.gnu.org/licenses#https://gnu.org/licenses#"
(From OE-Core rev: 991d374edd6fc66400dad0c54f007bfaaa46e47a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- Rebase build-tests.patch and execute_cmd.patch to 5.0
- Drop 0001-help-fix-printf-format-security-warning.patch
and pathexp-dep.patch, upstream has fixed them in commit
[d233b48 bash-5.0 distribution sources and documentation]
(From OE-Core rev: db044235e72a1519a081c4f6541f7d7cfe70d49f)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream shipped a systemd service in the following commit
[bc52248 Ship a systemd timer for daily DB maintenance]
Backward compatible, disable it by default
(From OE-Core rev: f5a5f7e9a45fe4124aba0fece4656a9706b83342)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Although base-passwd in OE is somewhat outdated, upgrading
to a newer version is not going to solve eudev warnings about
missing groups during boot; input/shutdown/kvm are still not
listed in groups.master. The reason for this is that
Debian uses systemd, which will automatically create
missing groups(systemd-sysusers). In a sysvinit+eudev
configuration you instead get a warning printed to
the console:
udevd[<pid>]: specified group 'kvm' unknown
(From OE-Core rev: 76caed136b819522b908a2bee7b81103bd2ea7e4)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some tests are either failing or skipping due to missing locales.
(From OE-Core rev: a7e57e44fefcbc7ca377e310bb295c34faa6874d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A bug upstream resulted in broken locale handling with the new glibc we have, so
the test suite was failing.
(From OE-Core rev: 8331008bc5b8c97469301701e4bd899610989198)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #10098]
Inside the "Fetching Code" section we mention fetchers but have
no links for more information to the "Fetchers" section in the
BibBake User Manual. I have added a link.
(From yocto-docs rev: 5224bb7b7a3c0f081b066a45865fd326aa068fc9)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After reading this over, I needed to explicitly state the
*.bb and *.bbappend file names. It is clear now.
(From yocto-docs rev: 901b76d9f94c33da15382068dc933d765cddade5)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I changed the PREFERRED_VERSION_linux-yocto example to use
the 5.0 linux-yocto kernel rather than the 4.12 version.
(From yocto-docs rev: 334554dd87f5372066d55246384ed5205aaf1f86)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were some issues with this. The example stated using an
append file and the file was actually named as a regular
recipe file. I fixed that. Also, I updated the
PREFERRED_VERSION_linux-yocto variable from "4.12" to "5.0"
to be more up-to-date.
(From yocto-docs rev: 933a668ef73b417587b4a8091b834db220611bd6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch worked around a problem in musl but caused
the following:
iplink_bridge.c: In function 'br_dump_bridge_id':
iplink_bridge.c:77:2: warning: implicit declaration of function 'ether_ntoa_r'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration]
ether_ntoa_r((const struct ether_addr *)id->addr, eaddr);
^~~~~~~~~~~~
In the meantime upstream has already implemented a different
workaround for musl, so this patch can just be dropped.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
run-postinsts runs a given set of scripts during the first boot of the
device, when one of these scripts prints something to stdout (isnt
daemonized correctly), since stdout is not available at that time,
the script execution immediately returns with an error (exit_group()),
this error causes the script to terminate all threads within the process,
causing undesired behavior since the script might still had to execute
some other code.
Replace eval built-in with (), since () executes in a subshell,
even if one of the scripts exits, all threads of that process will only
be within that session, this ensures other scripts meant to be run are
still run afterwards.
[YOCTO #13266]
(From OE-Core rev: 706410c847ac9c89317d098de5d5c580736edbbb)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The sysctl.conf file for procps is very outdated:
https://git.openembedded.org/openembedded-core/commit/?id=8a9b9a323f4363e27138077e3e3dce8139a36708
(circa 2014)
The origin of this file is hard to determine and due to it's age
is causing a routing issue when both wifi and ethernet are enabled.
This manifested during an update from thud -> warrior due to the
following:
- upstream change in NetworkManager during 1.16 cycle removes the
dynamic setting of rp_filter sysctl when more than one interface
is enabled:
https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=b1082aa9a711deb96652e5b2fcaefcf399d127b8
- open-embedded updated to NetworkManager 1.16 in March 2019:
https://git.openembedded.org/meta-openembedded/commit/meta-networking/recipes-connectivity/networkmanager?id=5509328af9e4fab267251456f4d6e7bd51df779a
- setting in legacy sysctl.conf sets rp_filter to 1 which blocks
packets with different inbound and outbound addresses.
Documentation of rp_filter setting from kernel.org:
rp_filter - INTEGER
0 - No source validation.
1 - Strict mode as defined in RFC3704 Strict Reverse Path
Each incoming packet is tested against the FIB and if the interface
is not the best reverse path the packet check will fail.
By default failed packets are discarded.
2 - Loose mode as defined in RFC3704 Loose Reverse Path
Each incoming packet's source address is also tested against the FIB
and if the source address is not reachable via any interface
the packet check will fail.
This patch updates the sysctl.conf file to current which doesn't set
the rp_filter mode explicity (2 is the default).
NOTE: The kernel/pid_max=10000 setting has been commented out as this
may not be desired by default.
(From OE-Core rev: f0b5f56b101d98574f81decd9de76222e7f20603)
Signed-off-by: Michael Scott <mike@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Automate the current manual pybootchart tests. This includes a check
for the cairo dependency, skipping the test if appropriate.
Based on original patch from Armin Kuster <akuster808@gmail.com>
(From OE-Core rev: ff5370a381a4996b7da56aaaa7055f7a1786c823)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since openssl 1.1.1 and openssh which uses it, sshd
startup is delayed. The delays range from few seconds
to minutes and even to hours. The delays are visible
in host keys generation and when sshd process is started
in response to incoming TCP connection but is failing
to provide SSH version string and clients or tests time out.
In all cases traces show that sshd is waiting for getentropy()
system call to return from Linux kernel, which returns only
after kernel side random number pool is initialized. The pool
is initialized via various entropy source which may be
missing on embedded development boards or via rngd from
rng-tools package from userspace. HW random number generation
and kernel support help but rngd is till needed to feed that data
back to the Linux kernel.
Example from an NXP imx8 board shows that kernel random number pool
initialization can take over 400 seconds without rngd,
and with rngd it is initialized at around 4 seconds after boot.
The completion of initialization is visible in kernel dmesg with line
"random: crng init done".
More details are available from:
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912087
* https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572
* https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=43838a23a05fbd13e47d750d3dfd77001536dd33
* http://www.man7.org/linux/man-pages/man2/getrandom.2.html
(From OE-Core rev: 9b01375236e19e3366c58877c4154d7c71632984)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Cc: Mark Hatle <mark.hatle@windriver.com>
Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Set NO_RECOMMENDATIONS with weak assignment then it could be set a
default value somewhere else.
(From OE-Core rev: f88da482d74e9f7d7c5bfc164cca52950ab6615d)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove backported patches.
Switch to new download location.
(From OE-Core rev: 6e0f6a3433c314c870791ef75639a78c39a5f164)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit adds support for two variables (WESTON_USER and WESTON_TTY) that
would be passed to weston_launch. It allows starting weston as a non-root user.
(From OE-Core rev: 4e6ef156028cc48d21ff5b3f131bdb8882407395)
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch simply fixes space and tab mixes. It converts space to tabs. This is
being done since I am going to change the code in the next commit and I do not
want to change more lines than it is required, thus, I am creating a commit
just to fix indentation, so I can create a cleaner patch later.
(From OE-Core rev: 82e97de432bfd553fb84b62666e2c860be2ecfeb)
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"shutdown now" makes systemd hang at the following line.
[ OK ] Stopped Session c1 of user root.
It's already been fixed by 03cb25525423 ("socket-util: make sure flush_accept() doesn't hang on unexpected EOPNOTSUPP")
(From OE-Core rev: b8f175296905518d0222bd63bb44c93772afb8be)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ERROR: libgfortran-9.1.0-r0 do_package: QA Issue: libgfortran:
Files/directories were installed but not shipped in any package:
/usr/lib/gcc/x86_64-poky-linux/9.1.0/include
/usr/lib/gcc/x86_64-poky-linux/9.1.0/include/ISO_Fortran_binding.h
(From OE-Core rev: 8493fe87e241bb7aeb9075683d2e44dd1e2bc334)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the addition of gcc 9 recipes it highlighted there is no PREFERRED_VERSION
set for libgfortran and it should match the rest of gcc. Add this missing
PREFERRED_VERSION line to avoid mixing gcc versions in inadvisable ways.
(From OE-Core rev: 172dfdd62b012dc63f492d33239af209f83f4966)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently setupClass errors were not being mapped back to the failing tests
and they were hence being marked as UNKNOWN and the test statistics were
inaccurate.
This is because whilst the errors were being encoded into the test results
stream, the decoder doesn't cope with an error outside a testStart event.
We patch in an addError handler to the outsideTest parser so that this
does get handled in a way similar to the non-concurrent case.
It would be nice if we didn't have to do this but there doesn't seem
to be any other way to fix this other than forking subunit.
We also make a minor change so another of our changes can cope with
tests without a start time.
(From OE-Core rev: 8f7352ed9c1a3e82689b842b7f87e469ebf2e48f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The string format for subunit setupClass/setupModule failures is slightly
different, tweak the regex to correctly handle both cases.
(From OE-Core rev: 425fbba9348420df72de5c6292f50acaf2023d0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Matching changes in OE-Core. drop OETestID.
(From meta-yocto rev: 58e50924e5fd0b3dae5ac3413c40f0f16a857b72)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make icu support arm32 BE.
Upstream-Status: Pending
(From OE-Core rev: 244f2e5fb545dd40d020811799a6022e14468eeb)
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move symlinks to the machines.target and var-lib-machines.mount units to
the systemd-container package, where the pointed at units are located as
well.
This avoids an implicit dependency of the systemd package on
systemd-container, which prevented the use of systemd without installing
systemd-container.
(From OE-Core rev: ae3c8d938c261c92ecf06e2d09f7e32bc117ceb8)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than adding the dependency on libnss-myhostname to
RDEPENDS_${PN} if the myhostname PACKAGECONFIG is set, add the runtime
dependency to myhostname's PACKAGECONFIG definition.
(From OE-Core rev: e107feab1734d5751ea0d94ca6dbccc059709b55)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The third field in the /etc/shadow file (sp_lstchg) contains the date of
the last password change expressed as the number of days since Jan 1,
1970.
Backport the upstream changes to honour SOURCE_DATE_EPOCH for build
reproducibility.
(From OE-Core rev: 4ad2cf5054618f2dd14fe40dac9aede66f2c0dd3)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using u-boot-nodtb, the symlink didn't install correctly to the
${DEPLOYDIR}. This commit fixes this bug.
(From OE-Core rev: c4eddb65e2ddb61bf519b768fab1e131fb0c297b)
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
None of the backported patches actually made it into this release.
(From OE-Core rev: a443a765944797b2a62935fc7ea3a2dd827e3b1a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commands only work with with bash. If /bin/sh is
dash like in Debian, the command execution fails with
errors like:
Standard Output: /bin/sh: 5: export: --sysroot: bad variable name
and all SDK tests fail.
(From OE-Core rev: ba5bee46131bbb31efba766c4d29e5bf71c664a7)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that anyone who sets SYSTEMD_AUTO_ENABLE_${PN} = "mask" (or
"preset") retains the previous behaviour. In addition fix "enable" so it
can (again) create instance units out of templates.
Remove over-zealous quoting of SYSTEMD_SERVICE_ESCAPED as it's already
safely escaped (and can be multiple arguments).
Reported-by: Paul Barker <paul@betafive.co.uk>
(From OE-Core rev: e9444649f49431a8e203e6e2009a1de05e505007)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refactor so that SystemdUnit is its own class, then add support for the
enable command. This restores the ability of systemd.bbclass to create
instances using syntax such as:
SYSTEMD_SERVICE_${PN} = "serial-getty@ttyAMA0.service"
(From OE-Core rev: 9ef6f326ad323b2687440b81b0a983cb3d86a3ab)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When creating images, for anything other than the explicitly stateless
case, touch /etc/machine-id so that the images can be booted without an
initramfs and with `ro` set on the kernel command line, otherwise system
refuses to start:
[ 7.222134] systemd[1]: No hostname configured.
[ 7.227266] systemd[1]: Set hostname to <localhost>.
[ 7.232622] systemd[1]: System cannot boot: Missing /etc/machine-id and /etc is mounted read-only.
[ 7.241750] systemd[1]: Booting up is supported only when:
[ 7.247362] systemd[1]: 1) /etc/machine-id exists and is populated.
[ 7.253752] systemd[1]: 2) /etc/machine-id exists and is empty.
[ 7.259757] systemd[1]: 3) /etc/machine-id is missing and /etc is writable.
If IMAGE_FEATURES includes `stateless-rootfs` then systemctl-native is
not run on the image leaving the image for population at runtime by
systemd.
(From OE-Core rev: c5fb399f5894c16cf8eeadd507dc38c29b0fd657)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently a development version is being used.
(From OE-Core rev: ddc2baa8b7ef6ecd6ed450bb8b3ed986b6797d9f)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of showing:
RESULTS - ptest.PtestRunnerTest.test_ptestrunner - Testcase 1600: UNKNOWN (32.30s)
map unexpectedSuccesses to PASSED and improve the way they're displayed. We
expect/allow ptest runner to fail but if it passes we should handle it correctly.
(From OE-Core rev: 7885939ca3dea9704185e93469fe515c17eb8017)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds SPDX license headers in place of the wide assortment of things
currently in our script headers. We default to GPL-2.0-only except for the
oeqa code where it was clearly submitted and marked as MIT on the most part
or some scripts which had the "or later" GPL versioning.
The patch also drops other obsolete bits of file headers where they were
encoountered such as editor modelines, obsolete maintainer information or
the phrase "All rights reserved" which is now obsolete and not required in
copyright headers (in this case its actually confusing for licensing as all
rights were not reserved).
More work is needed for OE-Core but this takes care of the bulk of the scripts
and meta/lib directories.
The top level LICENSE files are tweaked to match the new structure and the
SPDX naming.
(From OE-Core rev: f8c9c511b5f1b7dbd45b77f345cb6c048ae6763e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These IDs refer to testopia which we're no longer using. We would now use the test
names to definitively reference tests and the IDs can be dropped, along with their
supporting code.
(From OE-Core rev: 8e2d0575e4e7036b5f60e632f377a8ab2b96ead8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Should be Backport, not Backported
(From OE-Core rev: 728c6c43deff8a3259a1e0f3aef799bec9983090)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It exists a situation that there is a common config file includes
multilib.conf but variable MULTILIBS is not set by default:
require conf/multilib.conf
MULTILIBS ?= ""
When build target-sdk-provides-dummy in a build project, it fails with
following steps:
1 $ echo 'MACHINE = "qemux86"' >>conf/local.conf
$ bitbake target-sdk-provides-dummy
2 $ cat <<EOF >>conf/local.conf
MACHINE = "qemux86-64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "i586"
EOF
$ bitbake target-sdk-provides-dummy
$ bitbake lib32-target-sdk-provides-dummy
It fails to build lib32-target-sdk-provides-dummy with error messages:
| ERROR: target-sdk-provides-dummy-1.0-r0 do_packagedata: The recipe target-sdk-provides-dummy
| is trying to install files into a shared area when those files already exist. Those files
| and their manifest location are:
| .../tmp/pkgdata/qemux86-64/lib32-target-sdk-provides-dummy
| (matched in manifest-qemux86_64-lib32-target-sdk-provides-dummy.packagedata)
| .../tmp/pkgdata/qemux86-64/runtime/lib32-target-sdk-provides-dummy
| (matched in manifest-qemux86_64-lib32-target-sdk-provides-dummy.packagedata)
| ... snip ...
| Please verify which recipe should provide the above files.
Add related directories to SSTATE_DUPWHITELIST to avoid the failures.
(From OE-Core rev: 9de9daa3dcbe271b3684f9a6eea1554f377e35fa)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When using make -j with the 'install' target, it's possible for altbininstall
(which normally creates BINDIR) and libainstall (which doesn't, though it
installs python-config there) to race, resulting in a failure due to
attempting to install python-config into a nonexistent BINDIR. Ensure it also
exists in the libainstall target.
(From OE-Core rev: 07aeaa4f3f88f575e4674145a7faab3ba8e97fad)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not disable the warning as error for overflow, which was a workaround
until the real fix came in.
(From OE-Core rev: d5e999616e2671442cfc678750bdfb990ef5728c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ls.c license checksum changed due to modified copyright year.
musl fix was backported from RHEL5 and is musl specific as the patched
file is autogenerated during configure phase.
(From OE-Core rev: 5226ce196ff1edb5d2d9d9c7ed5728df8150c09a)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should now also be covered by the
DEBUG_OPTIMIZATION_append = " -Wno-error=maybe-uninitialized"
(From OE-Core rev: 6f4c6fa45733744f2698a98336aa589118c59106)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mmc-utils doesn't do releases, add the git revision to PV.
Remove patch for an issue now fixed upstream.
(From OE-Core rev: ff131346395a58c1579a94f564975dde3fbcf5c8)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds an option to dump all the ptest logs to individual files in a
specified directory. If multiple test runs are present, the
'--prepend-run' argument will create separate directories for each test
run under the target directory and put the logs there to prevent each
test run from clobbering the others.
[YOCTO #13331]
(From OE-Core rev: f262b9e7482e38f04dfa162f0aaf65b17e86f8b2)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In practice the warnings were disabled individually instead of fixes added,
so just make all warnings non-fatal to achieve the same.
(From OE-Core rev: 330fc83d4519da3c13eb55e8c060ba3e191c9906)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
No host platform that is still supported uses such an old gcc.
(From OE-Core rev: 3265d730e822907808434161e43bf33c3457d83e)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The chart size extents were being incorrectly reported, not accounting for the
width of the legend. Set a minimum width to account for that (its fixed size).
Also stop printing the chart background off the bottom of the chart extents.
(From OE-Core rev: ef257afb772daf721f12cb3ff9708d39da06f2c9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This tweaks some intermediate variable names to make it clearer what
is being done.
(From OE-Core rev: 50d9af7bcb05823db36e86170ef9ba3a1d6cfeca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This updates the pybootchart code (used for viewing build timing profiles)
to use python3. The bulk of the changes are to use gi instead of pygtk, i.e.
port from gtk+2 to gtk+3.
The main change is to make the bootchart widget inherit gtk.Scrollable
and change the way the scrollbars are implemented to match the new method
upstream. The drawing code used cairo already so can remain unchanged,
(From OE-Core rev: 949144681ad7f536732169351cab6d0612e9c566)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The script had a toxic mix of tabs and spaces, fix this.
(From OE-Core rev: 5eebe246e9444a5a7dbf4d8683ae08c468cfc401)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
acpidump is both provided by acpica and pmtools, so use
update-alternatives to fix conflicts:
...
|Error: Transaction check error:
| file /usr/bin/acpidump conflicts between attempted installs of
pmtools-20130209+git0+3ebe0e54c5-r0.i586 and acpica-20190405-r0.i586
...
(From OE-Core rev: 6af441a50922943176bf4df32f3541c34a7b0bb2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These options are not needed on target infact since the defaults would
be good enough for compiler to find the relevant headers and libraries
from compiler runtime
with gcc9 it starts to strip the sysroot from gxx-include-dir which
means it tries to look for gxx headers in localdir
ignoring nonexistent directory "usr/include/c++/9.0.1"
ignoring nonexistent directory "usr/include/c++/9.0.1/arm-yoe-linux-gnueabi"
ignoring nonexistent directory "usr/include/c++/9.0.1/backward"
instead of sysroot
Removing these options make it behave normal
(From OE-Core rev: 2996640fb3577a3c28a22f1e25eae15e8e3d46b1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whenever cml1 do_configure is used with a defconfig, oldconfig waits for
input. This silently fails on recent kconfig projects with:
"Error in reading or end of file."
We cannot use a more up to date kconfig target such as olddefconfig,
because busybox does not support it.
(From OE-Core rev: 7ad50a8fc1448dd152eaba57aaeb63a8229fdb21)
Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The python distutils generate a python wrapper script for each package,
containing shebang lines pointing to the python executable.
In our case, this is a fully-qualified path to python-native in the
recipe-sysroot-native.
Ubuntu 18.04 restricts the useful length of the shebang line to 125
characters, and Ubuntu 16.04 restricts it to 77. In both cases, the
staged python script fails to run due to the length of the path to
the python-native executable.
Replace the shebang line with nativepython or nativepython3 as appropriate.
The nativepython symlink is installed by the python-native recipe:
#!/usr/bin/env nativepython
We were already doing this for on-target distutils components.
This change applies the sed-line to -native distutils components as well.
In this way, -native clients of these components can invoke the wrapper scripts
directly, without themselves needing to inherit pythonnative.
This works around a known setuptools issue:
https://github.com/pypa/setuptools/issues/494
Even once this issue has been resolved upstream,
we will still need to replace `python` with `nativepython`
(From OE-Core rev: 0a5bd4f30182a3d55153e5ade76f1dfd5b52b482)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If attempting to find a fixed SRCREV fails because the directory doesn't exit,
avoid failing with:
Traceback (most recent call last):
File "/home/vagrant/poky/scripts/recipetool", line 121, in <module>
ret = main()
File "/home/vagrant/poky/scripts/recipetool", line 110, in main
ret = args.func(args)
File "/home/vagrant/poky/scripts/lib/recipetool/create.py", line 707, in create_recipe
srcrev = stdout.rstrip()
UnboundLocalError: local variable 'stdout' referenced before assignment
Fixes: 000480c42797 ("recipetool / devtool: set a fixed SRCREV by default when fetching from git")
(From OE-Core rev: 8e4b301573071ea04911b0df6533c25bc4596b93)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Because our clones use the host git, on (say) Ubuntu 18.04, the local
git directories acquire perl scripts such as fsmonitor-watchman.sample.
During packaging, this leads to failures:
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA Issue: /usr/lib/go/pkg/dep/sources/https---github.com-nsf-termbox--go/.git/hooks/fsmonitor-watchman.sample contained in package go-hsperfdata-staticdev requires /usr/bin/perl, but no providers found in RDEPENDS_go-hsperfdata-staticdev? [file-rdeps]
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa:
ERROR: go-hsperfdata-1.0.3+gitAUTOINC+b58598ac84-r0 do_package_qa: Function failed: do_package_qa
(From OE-Core rev: 2ee246524ab881d57d8aac204f671215a25a58d3)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The newer python3 recipe no longer includes ntpath.py in core, leading
to failures in pkg_resources:
Traceback (most recent call last):
File "/usr/bin/bmaptool", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.7/site-packages/pkg_resources/__init__.py", line 42, in <module>
import ntpath
ModuleNotFoundError: No module named 'ntpath'
(From OE-Core rev: 9ff61fa83a0a4f2a7b5b0376b6c48fb1173c9ac7)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.
And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt
(From OE-Core rev: e9ac5ac2f4d135734f549d17cce3ebc52132b7d0)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream now adds this automatically when required.
(From OE-Core rev: 26e87532874acde8e653769a8a7b87f2b6d366fb)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream now adds this automatically when required.
(From OE-Core rev: 8ff6a2a8b88befd7e4c7965f525937c0d723c0bf)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The YP manual set was using the plugin term inconsistently.
It was appearing as "plugin" as well as "plug-in". The
plugins in the project are all named without a hyphen.
The term itself is either/or according to Google. I have
changed all references to plugin so that they do not use
a hyphen.
(From yocto-docs rev: 715bb58e2347c5e37a49da7d9e3e230503672337)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This listing had gone stale. I updated the actual listing to match
what is in poky repository and adjusted the various variable
explanations affected.
(From yocto-docs rev: 44ccb6ea7301ffa43c89f7a4f28265ea28725f99)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I removed the incorrect "meta-intel" layer for the example
and replaced it with the better "meta-openembedded" layer.
Reported by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: eed35c97aa53efdcdb9a270555774a7c3a0e3b69)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I left only the single mention of "container layers" and changed
the example from "meta-intel" to OpenEmbedded's meta-openembedded
layer.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 8aa4de2be19c001f19cc540e2f7b33ca71f6be60)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
poky.ent - variables all set up for 2.8
mega-manual.sed - "2.7" replaced with "2.8"
<folder>.xml - manual revision history tables updated.
(From yocto-docs rev: 6092a9282cbd397a2f64ca74361f862ea76b0e28)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I put a new introductory paragraph in the "Viewing Variables"
section that alludes to why you might want to see variables.
Also, I linked to the section "Modifying Variable Values" in
the BB manual.
(From yocto-docs rev: 6e18524ba62d2ff1231184467b0dd24dab33cfe6)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added the "yocto-2.6.2" tag to the example output since that
will be part of the overal list when 2.7 releases.
(From yocto-docs rev: 4863284811ad459cb0193528d5686a1ec008bb3e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One Neon appendix completely removed. One other chapter
removed that held the latest version of Eclipse use
removed. A figure was also removed.
(From yocto-docs rev: 03524fc363f9232a2ed45d10688ddeb0439b0917)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
One figure was removed and files modified.
(From yocto-docs rev: f5d7024c3c38bc7737894a5ad4b750d4d633f173)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I also fixed all linking as needed.
(From yocto-docs rev: f987bc2846a2356a58934164652bb1dc59623b3b)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I also fixed all linking as needed.
(From yocto-docs rev: c8d10a924a3a4ae76e8fc26ebcba52ea04f2f267)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Two chapters formerly in the sdk-manual were included when
the mega-manual makes. These chapters are no longer
needed.
(From yocto-docs rev: a4e76a30baba5ab1d8f9783bb2a329d136600126)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The index-downloads.png file changes due to "eclipse" no
longer being there. Both the overview-manual and the
mega-manual figures folders hold this figure.
(From yocto-docs rev: ef7b8dd8d636ef0ad563d1fe1ef44227f5f89fbc)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Eclipse is no longer supported. We do not need thes figures
as they would no longer exist.
(From yocto-docs rev: efcfb5a62fcacdc606b8485da809bdf6aa19a5f3)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The help files for YP manuals used in the Eclipse application
are no longer supported. I removed the individual
*-customization.xsl files for the individual YP manuals.
(From yocto-docs rev: 8c19244298b2c95ac92a398a5b6d3aca788f075e)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updated the file so that Eclipse help for YP manuals is
not generated. Updated comments to remove examples of
Eclipse.
(From yocto-docs rev: db62b107e82a9d6fad619b03d57e807b3a617afd)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use gtk+3-native instead gtk-icon-utils-native as that recipe no longer exists
and is provided by gtk+3-native for compatibility.
(From OE-Core rev: 078950f6ff88d406894229337b2b367ba049ff44)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This change allows us to support the placement of WORKDIR and DEPLOY_DIR
on different devices.
(From OE-Core rev: f064a581ba31764839459bd667130bccbbedefab)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function creates hard links if possible, falling back to copying
the file if the destination is on a different volume to the source.
The docstring for copyhardlinktree() is also updated to make the
difference between the two functions a little clearer.
(From OE-Core rev: 5437efa16f9bec914e417c6c939a39c247084f52)
Signed-off-by: Paul Barker <paul@betafive.co.uk>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Werror spews more warnings with gcc9, like other distros (
debian/fedora) disable Warnings as errors
Fixes
super-intel.c:696:9: error: taking address of packed member of 'struct imsm_super' may result in an unaligned pointer value [-Werror=address-of-packed-member]
(From OE-Core rev: 7ac6ac8eb8fc3c623eba0e245fd9049dc6e2dd86)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a global --debug option to assist debugging.
(From OE-Core rev: 4e23b22bdf7b0e1fd16c7e53b6a7232c9c92ce95)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The documentation says that --expand takes a comma-separated list of
partition:size pairs, but the code was splitting on hyphens.
Hyphens are not a transitional separator for a list of items, so change the code
to reflect the documentation.
(From OE-Core rev: a210e28bb3fd5433ebecf50e218fc548013b35dc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ELL has originally been part of meta-openembedded, but newer versions
of some of the oe-core components depend on it, e.g. ofono.
(From OE-Core rev: 808d5dbe257d1b6faf241ee252a6ef092e4c6d3d)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zlib is just a library so there's no point in it being part of a 'full
commandline experience' packagegroup.
(From OE-Core rev: d54244b43b31f6ef58d302e29ae8970a21f5365c)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
x11 is actually always present in native DISTRO_FEATURES, and
so it's fine to require it in all cases.
(From OE-Core rev: 1d9f1da619089fc8edee027261b1fbe2e673091b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't really need a header boilerplate now the header is simplified, drop it.
(Bitbake rev: 9b4a9e5459db5f443fcffbdc499e12f09970e709)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are much better ways to handle this and most editors shouldn't need this
in modern times, drop the noise from the files. Its not consitently applied
anyway.
(Bitbake rev: 5e43070e3087d09aea2f459b033d035c5ef747d0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the introduction of SPDX-License-Identifier headers, we don't need a ton
of header boilerplate in every file. Simplify the files and rely on the top
level for the full licence text.
(Bitbake rev: 695d84397b68cc003186e22f395caa378b06bc75)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.
The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.
The COPYING file is replaced with LICENSE.X files which contain the full
license texts.
(Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When UBOOT_DTB_BINARY is empty and because the code now changes
directory into ${B}, the test for the existence becomes `[ -f ]` which
succeeds and subsequently the install fails.
Reorder the code so it's clear that UBOOT_DTB_BINARY empty is an
expected configuration and then quote UBOOT_DTB_BINARY everywhere so
no one trips over this again.
Fixes: bacb59079eb6 ("uboot-sign: add support for different u-boot configurations")
(From OE-Core rev: e79f0db0745625b35dd83483747e486d08eebfde)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
there is small issue with ptest packaging in cases where
OPKGLIBDIR is set to /usr/lib.
Then all ptest files get packaged in libopkg instead of opkg-ptest and correct QA error is triggered:
ERROR: QA Issue: /usr/lib/opkg/ptest/tests/opkgcl.py contained in package libopkg requires /usr/bin/python3, but no providers found in RDEPENDS_libopkg? [file-rdeps]
# $FILES_libopkg
# set /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:62
# "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/"
FILES_libopkg="/usr/lib/*.so.* /usr/lib/opkg/"
# $FILES_opkg-ptest [2 operations]
# set /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:9
# "${PTEST_PATH}"
# rename from FILES_${PN}-ptest data.py:117 [expandKeys]
# "${PTEST_PATH}"
# pre-expansion value:
# "${PTEST_PATH}"
FILES_opkg-ptest="/usr/lib/opkg/ptest"
# $PACKAGES [4 operations]
# set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/bitbake.conf:292
# "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
# set /jenkins/mjansa/build-webos-master/oe-core/meta/conf/documentation.conf:314
# [doc] "The list of packages to be created from the recipe."
# prepend /jenkins/mjansa/build-webos-master/oe-core/meta/classes/ptest.bbclass:20
# "${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)}"
# prepend /jenkins/mjansa/build-webos-master/oe-core/meta/recipes-devtools/opkg/opkg_0.4.0.bb:60
# "libopkg"
# pre-expansion value:
# "libopkg ${@bb.utils.contains('PTEST_ENABLED', '1', '${PN}-ptest', '', d)} ${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
PACKAGES="libopkg opkg-ptest opkg-src opkg-dbg opkg-staticdev opkg-dev opkg-doc opkg-locale opkg"
The easiest fix should be to reorder PACKAGES (the _prepends) so that ${PN}-ptest is prepended later -> ends before libopkg).
(From OE-Core rev: e329f1a9ad7e68575912345ec7c18c12f5971998)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than rely on systemd's default invocation of preset-all at
runtime, we pre-populate the symlink tree as part of of the image. This
is done late so any overrides of presets during rootfs construction
should already have happened.
Whilst we don't strictly need this for the read-write root case, it
avoids boot time churn; for read-only root we have to do it here.
(From OE-Core rev: a57678a076109c42fbdf7531e90ff4491b387d53)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rewrite systemctl-native in Python so that extending/testing it is
easier.
Now that the systemd class sets up service presets instead of actively
enabling services, the 'enable' and 'disable' subcommands for systemctl
are not actually used anywhere. As such, we can remove these to make
sure that nobody inadvertently introduces new uses of them.
This implementation covers `preset-all` and `mask` which are the only
options used in the current code, but should be readily extensible to
other commands.
We use `preset-all` at image construction time to populate the symlinks
used by systemd.
(From OE-Core rev: 86f5a2383692ac1ab01dce534c1a5c5f32ec4b35)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At first boot, systemd will create the /etc/systemd/system directory
from service preset files. As such, for a normal, writable /etc
(writable rootfs), there is no need to set up this directory at image
creation time.
This patch changes the systemd machinery to create preset files and to
rely on systemd to do the service enablement.
This breaks the read-only-rootfs case; there's a fix for this in a
follow-up patch.
(From OE-Core rev: 154abbc3296eded11d2bbe3e102470b6986d42cd)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The configuration files that systemd installs are just skeletons
detailing the available options and their default values. The
recommended means of changing the configuration is to provide snippets
in configuration directories. For example, journald.conf settings are
best set in /usr/lib/system.d/journald.conf.d/ and can be overridden by
the user by providing overriding snippets in
/etc/systemd/journald.conf.d/.
The systemd-conf package is just providing machine-specific overrides
for some systemd defaults.
This patch restores the installation of config files by systemd and
reduces systemd-conf to just providing the config snippets in
/usr/lib/systemd/*.conf.d. This simpilfies the systemd-conf recipe
considerably since it now just sets up a couple of text files and
doesn't even need access to the systemd source anymore.
License-Update: configuration snippets licensing is independent of
systemd licensing
(From OE-Core rev: 3150253898babce70333376d22090b56b4a70bfb)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There is no reason to have an emtpy machine-id as part of the systemd
package. Either:
i) the filesystem is writable and the file will be created
automatically; or
ii) the filesystem is read-only, in which case the empty machine-id file
should be created as part of the read-only-rootfs tweaks.
(From OE-Core rev: 76444b63e614baea33c044851a5859f6d1e69729)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The firstboot service prompts the user for information about the host at
first boot. Systemd determines whether or not a boot is a "first boot"
by the existence of the file /etc/machine-id. Since oe-core always
includes this file (it is part of the systemd package), the firstboot
service never runs so this service is being built but never run.
A follow-up patch to this one will remove the machine-id from the
systemd build and allow it to be created automatically by systemd at
"first boot". With that patch, we don't want the firstboot service to
suddenly start being invoked and presenting a prompt to the user.
With this patch, the firstboot service becomes a PACKAGECONFIG option
that the user must actively select.
(From OE-Core rev: 6f0072d34107f4d351c79b43ce71bf4489428a34)
Signed-off-by: Jonas Bonn <jonas@norrbonn.se>
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current sdk type is tar.xz, but for mingw sdk, since we
have symlink under the sdk folder, 7zip which used to
extract tar.xz cannot handle it, refer 7zip upstream bug:
https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/
so add option for usr can select the sdk type.
Add override SDK_ARCHIVE_TYPE, default type is tar.xz, and also
support type zip. user want to use zip type can set SDK_ARCHIVE_TYPE
to zip.
(From OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1. since one bug in run-ptest, testcase test-bus have never been
actually run (althrough it's result is PASS).
After commit 0828850, test-bus can actually run but it
did not install:
test-service, test-shell-service, test-segfault, and
dbus-daemon-launch-helper-test
Add the configure flag:
--enable-embedded-tests
to generate binary dbus-daemon-launch-helper-test, then install
them so that test-bus will now pass.
2. fix testcase test-dbus-daemon failed
we enable --enable-verbose-mode in recipe dbus-test, and don't
enable it in recipe dbus. This will make below test code get
unexpect result of have_verbose and assert.
disable --enable-verbose-mode for recipe dbus-test to fix it.
#ifdef DBUS_ENABLE_STATS
g_assert_true (have_stats);
#else
g_assert_false (have_stats);
#endif
[RP: Since the new test is slow dbus moves to the slow ptest list]
(From OE-Core rev: 2ea676072d7edd06ef9e886827c0d61d574ca377)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit upgrade QEMU to the latest 4.0.0 release.
- The COPYING.LIB file has changed SHA to:
"Synchronize the LGPL 2.1 with the version from gnu.org"
- SDL 1.2 has been removed, along with the --with-sdlabi command line
arg
- The backported patches have been removed
- Al the other patches have been refreshed and the numbering has been
updated
(From OE-Core rev: fed2a0f37a76732cd3de1b127d6902fb16dd4e05)
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Older versions of bitbake (prior to 1.42) don't expose the BB_UNIHASH
variable which is being used by sstate. For compatibility with these
older versions of bitbake, set BB_UNIHASH to BB_TASKHASH (which is the
value it should be for non-hash equivalent aware signature generators).
if bitbake hasn't already set it.
[YOCTO #13314]
(From OE-Core rev: de1782b23f8a98df3b42cb57bbcdff690bfa2343)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes to improve the way ptest runs:
a) Use the standalone test mode which allows the tests to be run in their
'installled' locations on target (but not any of the standalone build pieces)
b) We want to use the binaries from their installed locations so the run-subr
script needs tweaking to run them like that. The rpath conditional isn't
enough since we want the second entry in the case statement.
c) Add an oecheck make target which we can use to build the test binaries we need
d) Add missing -ptest package dependencies (needs coreutils, ${PN}, ${PN}-binutils, make)
e) Don't add RPATH to the test binaries, we don't need that
f) Add some extra parameters to the make command to ensure tests run correctly
Before:
-----------------------------------------------------
Recipe | Passed | Failed | Skipped | Time(s)
-----------------------------------------------------
elfutils | 31 | 4 | 168 | 6
-----------------------------------------------------
After:
-----------------------------------------------------
Recipe | Passed | Failed | Skipped | Time(s)
-----------------------------------------------------
elfutils | 173 | 25 | 5 | 15
-----------------------------------------------------
(From OE-Core rev: 7ff76b86299289a4a5741f910399d95232f64f32)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libsdl 1.2 is dead upstream, so change mpg123 to use libsdl2. Luckily the APIs
that mpg123 use haven't changed, so this is just a matter of changing the
pkg-config name.
(From OE-Core rev: 1aa947a60b0eb31c367b1e9818218ee74d388eea)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This brings us to the current version of vim. As part of this we need
to work-around a locale issue that upstream has exposed. We do not
support fully / correctly the certain locales. Attempting to use these
with msgfmt in order to update the ".desktop" files exposes this problem
and leads to the compile failing.
(From OE-Core rev: ffa4b0abcab2ed4e4f642b4b3140aa6095938422)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The vim recipe has all of the code inside the "src" subdirectory but
other things we rely on, such as the license file in a subdirectory
relative to the src. However, as there is a top-level "configure"
script that moves us down to the src directory, we can rework the recipe
to be overall more simple and regularly laid out if we use that.
(From OE-Core rev: 2eb66c1ff55a3fe9785967f45f1cb6a27df44f93)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This code really needs to be rewritten to not split potential
multibyte characters, for now work around it to avoid exceptions like:
File "/home/pokybuild/yocto-worker/qa-extras2/build/meta/lib/oeqa/core/target/ssh.py", line 211, in run
data = reader.read(1024, 4096)
File "/usr/lib64/python3.6/codecs.py", line 503, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
(From OE-Core rev: 17e87510378f2729208a8262695f28e1efe5eb4c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This breaks with rm_work so disable the warning until we find a better
solution (and change the test accordingly too).
(Bitbake rev: 93e94c06baf013e3d072465a55bddd1fe61c0772)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
WARNING: elfutils: dependent task do_rm_work does not exist
is much less useful than
WARNING: elfutils: dependent task do_rm_work for do_deploy does not exist
(Bitbake rev: e034c6f75e3d7730ff16a8d1bd0cba03beda0af8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CI systems like jenkins and buildbot will timeout applications which haven't had console output
in some period of time. Add 'keepalive' output to knotty which gives output every 5000s if not
other output was made and tasks are still running. This reduces some problems encountered
with our CI testing.
(Bitbake rev: aa4f31e5741dd98acec73f16f6028e52f4c22d6f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allows the qemux86 machine to be tuned all the way up to an i7 if
desired by overriding DEFAULTTUNE. The default if unspecified is left at
i586.
This can be useful for enabling advanced processor features like SSE if
desired or required by various packages.
(From OE-Core rev: 0be64e54a0e67472eaff9c794a33d76971c9b1a3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vte-native requires host compiler supporting c++17. Some distros we support
ship comilers not supporting c++17 currently.
* oe-self-test 'test_testimage_virgl_gtk' sets
PACKAGECONFIG_append_pn-qemu-system-native = " gtk+". With vte enabled by
'gtk+'-config, build fails on hosts with ancient compilers [1].
* Alexander Kanavin did some tests: Without vte in PACKAGECONFIG there is still
a working terminal available with reduced functionality [2].
* Users wanting 'full' terminal in system-qemu back should add
PACKAGECONFIG_append_pn-qemu-system-native = " vte"
in their local.conf.
The idea of this patch was coming from Ross Burton - thanks!
[1] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281637.html
[2] http://lists.openembedded.org/pipermail/openembedded-core/2019-April/281727.html
(From OE-Core rev: 78e160ac4b72bc3cfbdd89492c711a318585328b)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch over to meson build, as it does not attempt to install
headers into /usr/share and pkg-config files into /usr/share/$libdir.
(From OE-Core rev: 0e2858bd7d6f013bb31b64552a9ea5873c4f7ced)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A task's runtime is currently printed in seconds. Change it to
include minutes and hours for easier reading.
(Bitbake rev: c593ae5ec9fecd4bde823948024e4d56314a60ce)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the missing bbverbnote fifo cmd for logging from shell.
(Bitbake rev: cf11fdb30c405e1a4521a7299f84816c0e13a881)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following command is incorrect, but was ignored silently, that may suprise
users:
addtask task after task_not_existed
This patch can check and warn for it. It would be better to also check "before"
tasks, but there is no easier way to do it.
[YOCTO #13282]
(Bitbake rev: b1ad36169c2ad189d84c53c707b66c12d5ff812f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The following commands are not supported, but they were ignored silently, that
may suprise users:
* addtask task1 task2
task2 is ignored
* addtask task1 before task2 before task3
Should be: addtask task1 before task2 task3
* addtask task1 after task2 after task3
Should be: addtask task1 after task2 task3
* deltask task1 task2
task2 is ignore
This patch can check and warn for them.
[YOCTO #13282]
(Bitbake rev: 675689aa7cc7287efecf8ef775ca2059369167f1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the SRCREVs to drop our temporary workaround for TCP
timeout issues and switch to the mainline version:
tcp: add sanity tests in tcp_add_backlog()
Revert "tcp: fix issues relaed to implement coalescing on backlog queue"
(From OE-Core rev: 07db18609ce2b868d4ff5eb6cf2128bf6eb6d682)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When api-documentation is enabled the GNOME stack builds API documentation. As
${datadir} is in SYSROOT_DIRS this documentation is in the sysroot but is never
used, wasting time and space.
Add ${datadir}/gtk-doc/html to the blacklist so that the generated documentation
isn't in the sysroot. Note that we don't blacklist all of ${datadir}/gtk-doc
because gtk-doc itself installs files there which are needed to use gtk-doc.
(From OE-Core rev: 11c87952c9a71036119d509ce09f17e352e4c6d8)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rework dlopen-test.patch to fix below
dlopen-test failure:
# cd /usr/lib64/nettle/ptest
# ./run-ptest
dlopen failed: /usr/lib/libnettle.so: cannot open shared object file: No such file or directory
./run-ptest: line 8: 7607 Aborted "./$f"
FAIL: dlopen-test
As the test dlopen-test depends on libnettle.so
which belongs to nettle-dev package, so add it
to rdepends of nettle-ptest.
(From OE-Core rev: 524fcf34128045f9f5726a1f1b8715a12b12ae7c)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commit[8ac8fa8ee1 nettle: update to 3.4.1]
add CFLAGS_append = " -std=c99" to silence the
below error for native build:
| ../nettle-3.4.1/rsa-sign-tr.c: In function 'sec_equal':
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < limbs; i++)
^
| ../nettle-3.4.1/rsa-sign-tr.c:243:3: note: use option -std=c99 or -std=gnu99 to compile your code
| Makefile:263: recipe for target 'rsa-sign-tr.o' failed
But the above change will trigger below Segmentation
fault:
# echo -n passwd| nettle-pbkdf2 -i 1 -l 16 salt
[65534.886509] nettle-pbkdf2[708]: segfault at 1f594260 ip 00007f3332256998 sp 00007fff60d44410 error 4 in libnettle.so.6.5[7f3332244000+1d00]
[65534.887525] Code: e8 6d db fe ff 44 01 6d 68 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 dc e9 68 ff f
Segmentation fault
So update the logic to CFLAGS_append = " -std=gnu99"
to fix the issue.
(From OE-Core rev: 91359a91b8c89dc5e1f3a946137204156c47a3af)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* test PIGLIT_BUILD_GL_TESTS depend on glx library, so depend
on x11, so respect the DISTRO_FEATURES, only enable it when
x11 is enabled.
* mesa-demos depend on libGL.so which is provide by recipe
mesa, but when x11 is disabled, libGL.so is not generated.
so we can only rdepend on this when x11 is enabled
* add x11 PACKAGECONFIG to add correct config/depend/rdepend
[YOCTO #6077]
(From OE-Core rev: 2edf7a19598e10326603603dfa00ab91c9327e2d)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
respect DISTRO_FEATURES to make waffle support different platform,
gbm platform is supported by default.
[YOCTO #6077]
(From OE-Core rev: 37dc4ad4a87fb9042dc3e9bb389cedc8b5acadf7)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also backport a patch to fix issues introduced by fix for CVE-2019-6109.
(From OE-Core rev: 31b7485d8377c1c535d1878220bbc1d49dc5f13e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build will fail if repository has lfs contents in absense of git-lfs tool on host.
Build will pass if repository may or may not contains lfs content if host has git-lfs installed.
[YOCTO #13198]
(Bitbake rev: 3f2c2eb2f59707828bdcdd6414db837da8dc3b0e)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These new ptests run in under the ~30s criteria so add to the list
of 'fast' ptests.
(From OE-Core rev: ecba50f8713e969131c61424e8d9c4679ade18db)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the kernel TCP backlog queue coalescing bug fixed in the 5.0 kernels
we don't need this patch anymore and can run the tests.
(From OE-Core rev: 21bfbef23e1f4c90070017e19f70e488e6ff64be)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Allow users to change the default cgroup mode at build time
and use the unified hierarchy mode.
Disabled by default - hybrid is the default upstream value.
(From OE-Core rev: 25dc64b8de20021de34ce02ce3855ec9dbade4a4)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recipe was removed 3 years ago.
(From OE-Core rev: 090e3cbed407abb7dd74ded56da38e7b2ee9d9d5)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following fix:
[
tcp: fix issues relaed to implement coalescing on backlog queue
As was discussed on -netdev, there's an issue with TCP timeouts and
hangs due to new features introduced in the 5.0 kernel:
https://www.spinics.net/lists/netdev/msg562928.html
This is a temporary commit to widely test the proposed solution. It
will be dropped when an official patch makes mainline.
]
(From OE-Core rev: 72ce03c8ee39b6169f4adfa168a0442d4c94be35)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Porting the following three RAID config changes from master to
the 5.0 branch:
ffd8cf5baf8 intel-x86: add Intel VMD support
8edf951a15c cfg/efi.cfg: built-in CONFIG_EFIVAR_FS to support Intel VROC
041a6c04244 intel-x86: built-in nvme driver to support boot from nvme disk
(From OE-Core rev: 3e52941a5d66c4c9b035535728a1cb1a415c4c19)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker sent along the following fixup for 4.19-rt:
[
Author: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Mon Apr 15 12:01:31 2019 -0400
Revert "mm: handle lru_add_drain_all for UP properly"
This reverts commit e6e9d6e290028b0a6b83b563fad9fafa7f1d515e.
It was a 4.19.31 backport of commit 6ea183d60c46 ("mm: handle
lru_add_drain_all for UP properly"). In summary, what that did
was to fix a possible harmless WARN_ON on non-SMP, introduced at
commit 4d43d395fed1 ("workqueue: Try to catch flush_work() without
INIT_WORK().") by adding non-SMP variants of lru functions.
The combination of that, with the -rt commit 473f14a9f234 ("mm:
perform lru_add_drain_all() remotely") at the merge of the two
results in the following build failure:
mm/swap.c:736:2: error: #endif without #if
since the -rt change wants RT specific lru and the stable backport
wants non-SMP specific lru, and a chunk of the backport with
an #ifdef CONFIG_SMP is missing.
However, before we add a four way cluster of ifdeffery to handle all
cases, we note 4d43d395fed1 was added to the v5.1 release, and it
was not (currently) backported to any 4.19.x stable release - so it is
unclear to me why this commit was ever backported to 4.19.31 at all.
Further, we note this change was to mm/swap.c -- and by definition,
any preempt-rt deployment that uses swap for anything other than a
failure contingency mitigation is broken by design.
Given all that, I decided that the best path forward was to revert
the two of the three chunks of the backport that remain in the -rt
branch, and return us to the pre-4.19.31 merge behaviour for -rt.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
]
(From OE-Core rev: dfe57d439559cc7d1d662a64f0040cd176c1afa7)
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This provides git large file storage (lfs) extension.
Include git-lfs conditionally. If git-lfs is present on host and repo
has lfs pointers, then git-lfs will be used. If git-lfs is not present
on host, it will be ignored.
[YOCTO #13198]
(From OE-Core rev: 2968ad8514721ec06e67aaf3fd5ec7b247b3431d)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding back the python wrapper and adding a patch to use OEPYTHON3HOME
instead of PYTHONHOME if set, for python3.
If we add back the wrapper as is, we would see the following error that
we also see in Thud:
ImportError: No module named site
OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python
v3.
Please upgrade your python v2
This is because python3 would've set PYTHONHOME to use nativesdk
python3 libraries but when the oe-buildenv-internal script tries to call
python2 for the py_v27_check, there will be no python2 libraries in the
PYTHONHOME directory.
In other words, bitbake needs host python2 and the env variable set from
the wrapper contaminates the env and host python2 won't be able to find
its libraries
Creating another variable OEPYTHON3HOME and using this in the python3
wrapper to allow for a way to set a different paths for python3 and
python2
[YOCTO #13208]
(From OE-Core rev: 75d2a85e24ef9a2bf0e218521944523f0ff281e0)
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Output before this patch:
ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.: Traceback (most recent call last):
File "/media/build1/poky/meta/lib/oe/utils.py", line 272, in run
ret = self._target(*self._args, **self._kwargs)
File "/media/build1/poky/meta/classes/package_ipk.bbclass", line 230, in ipk_write_pkg
shell=True)
File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Note how stdout/stderr from the failing command isn't shown.
After this patch:
ERROR: bash-4.4.18-r0 do_package_write_ipk: Fatal errors occurred in subprocesses:
Command 'PATH="X" opkg-build -Z xz -a "--memlimit=50% --threads=88" Foobar /media/build1/poky/build/nodistro-glibc/work/core2-64-oe-linux/bash/4.4.18-r0/deploy-ipks/core2-64' returned non-zero exit status 1.
Subprocess output:Foobar
*** Error: Package name Foobar contains illegal characters, (other than [a-z0-9.+-])
opkg-build: Please fix the above errors and try again.
We suddenly get a much more usable error message. The traceback is supressed
as its distracting from the real problem in this case.
Ideally python itself would handle this but it doesn't so we have to
wrap the exception. We already do this in bitbake itself for the same reason.
(From OE-Core rev: 09276dc76a8bda237b0b0b6d117a1980ae9dbfcc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It bugged me for a while that xfce4-terminal sets (tab-)title to 'Untitled'.
This is caused by bash variable PROMPT_COMMAND not set. vte ships /etc/profile.d/vte.sh
adding PROMPT_COMMAND and a function to handle.
Since
* not all consumers of 'libvte' are interested in this feature
* executable shipped by package 'vte' is not necessary for PROMPT_COMMAND support
create a seperate package.
Once applied patches for xfce4-terminal and gnome-terminal will be send.
(From OE-Core rev: c0bed1aa9549568a966d34d5a9e5902190f980cb)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In case, kernel config enables compressed modules, support of
splitting via split_kernel_module_packages won't find any module.
So, first expand module pattern regex to recognize compressed
modules and then objcopy on temporary extacted to extract module
information.
(From OE-Core rev: fae400b225827400bf32380a7d599d3b2969db55)
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current manualexecution required user to exceute all test cases defined inside a "modulename.json" file in oeqa/manual
There are cases when all test cases all not required to run for a module on specific DUT.
Enable manualexecution to have the optional feature where it will use pre-defined json format test case configuration file
where user will be able to select test cases from the "modulename.json" instead of running all of them. This will help
in reducing testing time and reporting unneccesary skip or failures.
Example pre-defined json format test case configuration file (for build-applince):
{
"testcases" : [
"build-appliance.build-appliance.Create_core-image-sato-sdk_using_build_appliance",
"build-appliance.build-appliance.Build_a_image_without_error_(added_recipe)"
]
}
(From OE-Core rev: 3950c28a34f94b5907d37b579bdaee5a59794652)
Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newer version of webkitgtk has some compile failures with clang/libc++
combination.
(From OE-Core rev: f1741a8209e56cdf51223678239a680d8788f71f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit f7dfb4d43247d3c13a4e0a3853007d63b9512b83.
FAT16 volumes do not have a minimum size of 8250 blocks
(== slightly over 4MB). Exhibit A: floppy disks.
The original commit message suggests this was a workaround for a bug in
parted - in which case we should fix it there, or use the wic
`--fixed-size` option to pass down an enforced minimum from a more
context-aware point in the callstack.
(From OE-Core rev: e0a1ae3863bc229512d43e4a5248551bf25950e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license: COPYING was replaced by COPYING.LGPL2/COPYING.LGPL3/COPYING.GPL3
* prettify recipe a bit
(From OE-Core rev: 2cce886e322ac2220af369b75c075cfdb1ac36d3)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py
(From OE-Core rev: e0a51194c006f26b061367022d4b9f8a7cd66051)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also fix postinst intercept hook 'update_gio_module_cache' failed warnings
that are now flagged as errors after the recent chagnes at lib/oe/package_manager.py
(From OE-Core rev: 5ca48849ca2107d1c219914cb8614409ca88d435)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some CI pipelines might perform further processing of the test output
(for instance, to plot some metrics into a chart). However, Since `thud`
we switched away from the XML-based jUnit reporting, and at the same
time we lost the ability of collecting the stdout and stderr of the
various tests.
We now restore this functionality by adding `stdout` and `stderr` keys
to the JSON reports. This behavior is off by default; in order to enable
it, one must set the `TESTREPORT_FULLLOGS` variable in the bitbake
configuration.
(From OE-Core rev: fd0048630ece5b21efb3a79e97046be0ab2a1514)
Signed-off-by: Alberto Mardegan <amardegan@luxoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch from upstream to fix module cryptodev loading error.
(From OE-Core rev: 66c446f96a0f26f3895cc930c5e5ee2d033489ca)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It saves 23% space for me, and decompression time is also shorter.
Compression time and xz memory usage should be less of a worry
for the SDK.
(From OE-Core rev: 353d93ead899a479fc6bc3625edc87269a891d39)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix AttributeError: module 'urllib' has no attribute 'request' when
using remote http urls.
(From OE-Core rev: 9acc47236e2a9ac7f97f80040f5e508f23f01611)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done similarly to gobject-introspection work by Andreas Müller,
and allows dropping duplicate clutter from the recipes.
(From OE-Core rev: ff578f4451a0a199202e576b647840910b4d3f59)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* since this change:
commit d2fcaeb153fdc3f8d7143ea823139f1537055ff1
Author: Douglas Royds <douglas.royds@taitradio.com>
Date: Thu Dec 20 11:59:47 2018 +1300
icecc: Don't generate recipe-sysroot symlinks at recipe-parsing time
the set_icecc_env function depends on KERNEL_CC variable even for recipes
like linux-libc-headers
* KERNEL_CC variable depends on STAGING_KERNEL_DIR:
Variable KERNEL_CC value is ${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH} -fuse-ld=bfd ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}
List of dependencies for variable KERNEL_CC is {'STAGING_KERNEL_DIR', 'HOST_PREFIX', 'DEBUG_PREFIX_MAP', 'HOST_CC_KERNEL_ARCH', 'KERNEL_SRC_PATH'}
which depends on MACHINE:
Variable STAGING_KERNEL_DIR value is ${TMPDIR}/work-shared/${MACHINE}/kernel-source
List of dependencies for variable STAGING_KERNEL_DIR is {'MACHINE'}
* as detected with:
openembedded-core/scripts/sstate-diff-machines.sh --tmpdir=tmp-glibc --machines="qemux86 qemux86copy qemuarm" --targets=glibc --analyze
ERROR: linux-libc-headers different signature for task do_configure.sigdata between qemux86 and qemux86copy
NOTE: Starting bitbake server...
basehash changed from 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee to f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa
Variable MACHINE value changed from 'qemux86' to 'qemux86copy'
$ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1556122458/qemux86*/*/linux-libc-headers/*do_configure.sigdata*
NOTE: Starting bitbake server...
basehash changed from f1a5160e39912e61389b6f9fe68d61146a2be91716ac37e4a32ecf4c09b2b5fa to 3146f4ffeb002bd69fed7656a4b896365b2e2a00071c69e1afbb672889e754ee
Variable MACHINE value changed from 'qemux86copy' to 'qemux86'
(From OE-Core rev: 8becde63763027037d40ef82dd6678721e6d90d4)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously it was also called on filelists and possibly other items which
broke the parser.
(From OE-Core rev: 90bbe1bbc1667bf836d93df1e1ecca0c43315d06)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds a subcommand for dumping various logs from test results
(From OE-Core rev: 454b8d2cdc6f79a51e610dae92c22352850c3f7c)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds support for resulttool to load JSON files directly from a http://
or https:// URL
(From OE-Core rev: 235bcf0c504e7ea253ccfb28d600898117c64c1f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Do not use the latest pypi tarball, as it lacks several files (the LICENSE, for instance).
License-update: copyright years.
(From OE-Core rev: dd45da1c226bc87b4be5e9f065595aed316175a2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop yy_scan_string patch, this only affects builds with flex 2.6.2. We
currently have 2.6.0 and when we upgrade it will be to at least 2.6.3, which
fixes the regression.
Drop manipulate_fds_instead-of-FILE.patch, the original problem was fix upstream
in May 2015[1] so the 20170303 upgrade should have dropped this patch instead of
rebasing.
Call the upstream install target with variables set appropriately, instead of
hand-coding an install.
[1] ecb91f4c3a
(From OE-Core rev: 4e95571120c8748b2b5ef4b6a06914232b19d457)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This can make people easier to understand bitbake-diffsigs/dumpsig's output,
otherwise, it's hard to know it is a random uuid unless look into the code.
E.g.:
$ bitbake bc-native -ccleansstate -Snone
$ bitbake bc-native -ccleansstate -Snone
$ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.*
* Before:
Taint (by forced/invalidated task) changed from nostamp:fe79d162-c4a8-4174-8007-f6d4aa09abdc to nostamp:28192187-5021-40c1-9e21-45483b62c910
* Now:
Taint (by forced/invalidated task) changed from nostamp(uuid4):fe79d162-c4a8-4174-8007-f6d4aa09abdc to nostamp(uuid4):28192187-5021-40c1-9e21-45483b62c910
(Bitbake rev: 724b4a5cec8c611d53350f3e5a3988ec3222684b)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It used 2 spaces as indent which wasn't clear enough, and might cause
confusions, people might think it was in wrong format.
Fixed:
$ bitbake bc-native -ccleansstate -Snone
$ bitbake bc-native -ccleansstate -Snone
$ bitbake-diffsigs tmp/stamps/x86_64-linux/bc-native/1.07.1-r0.do_cleansstate.sigdata.*
* Before:
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
* Now
Hash for dependent task bc/bc_1.07.1.bb.do_clean:virtual:native changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
Taint (by forced/invalidated task) changed from [foo]
(Bitbake rev: 5127a8d8e6d53f5f43a6ada7fd09b6b0c24ae989)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The function do_install_basefilesissue is meant to deal with
/etc/issue* files and the following setting could actually be
overridden.
BASEFILESISSUEINSTALL ?= "do_install_basefilesissue"
So move the hostname operations out of this function.
(From OE-Core rev: f17bcc46341db5ee91bb26389ccaebc68c49b97e)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* import 2 fixes from LuneOS
* with l2tp PACKAGECONFIG enabled connman depends on MACHINE_ARCH xl2tpd:
=== Comparing signatures for task do_package_write_ipk.sigdata between hammerhead and mako ===
ERROR: connman different signature for task do_package_write_ipk.sigdata between hammerhead and mako
NOTE: Starting bitbake server...
Hash for dependent task xl2tpd/xl2tpd_git.bb.do_packagedata changed from 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 to c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142
Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-openembedded/meta-networking/recipes-protocols/xl2tpd/xl2tpd_git.bb.do_packagedata with hashes 6312d5711b5c2c1a85ee235d09bf37a8ec00f7ad9e7248c087bb83ef1d5bd078 or c0d3ef52b37bda945d8b2a015980ddb8fe7b4b3dca3d82d71a84176cc5125142
(From OE-Core rev: ba89fea0e443e1492000b7114f32edf15819a151)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sets the WAFLOCK environment variable. This controls the name of the
lock file that waf uses to pass the build configuration from 'configure'
to 'build' and 'install'. Using a uniquely generated name based on the
parameters passed to 'configure' ensures that the source directory can
be configured for multiple different builds without conflicting (since
the lock file is stored in ${S})
(From OE-Core rev: 29419141a42e6b6664f72d085288ba03c74f90a6)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following two failure of busybox ptest:
FAIL: dc read
FAIL: dc read string
These two test cases relies on the functionalities enabled by
CONFIG_FEATURE_DC_BIG.
(From OE-Core rev: 7880a7102dea7ab928790d3f571f293ea993af2d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Switch to meson build system.
Add a patch to disable tests.
Add "introspection" to unknown configure option whitelist, as
this recipe needs g-i unconditionally.
(From OE-Core rev: 890a460d2ad9bce8f6a1df055e040f334f958673)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The prefix should be correct in the first place, and substitution breaks
with our custom patched Python.
(From OE-Core rev: ad1d0187aed457e4b5bd1c0d11b39141786bc9fd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop an option no longer provided by upstream.
(From OE-Core rev: 80da63993d7e33be9ac77bc95873873706436fd8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-update: copyright years changed.
Drop upstreamed/backported patches.
Add a patch to fix big endian build failure.
(From OE-Core rev: 929d37831624fce84580466c4408217c766410f0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix the following error.
"setrlimit03.c:54: FAIL: call succeeded unexpectedly"
(From OE-Core rev: 6f1c0f9be9bb9de52268563f43f4bfc793284341)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SRC_URI moved.
Two local patches are now fixed upstream so remove them.
The glibc ptest results are essentially the same.
3.14 3.15
TOTAL: 579 589
PASSED: 297 301
FAILED: 251 254
SKIPPED: 31 34
DURATION: 1312 1171
(From OE-Core rev: dfbc1e03c1f98a5a987a94ea815ba44f61abf289)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In addition to toggling libsnappy support, this allows a qemu-native
build to explicitly disable snappy support. When building qemu-native,
the configure script will detect libsnappy on the build machine and
improperly enable snappy support. This can corrupt the sstate cache if
the cache is populated with a qemu-native build with snappy improperly
enabled, and the cached qemu-native gets used on another build machine
that does not have libsnappy.
(From OE-Core rev: ceda00d3f918834c2e20983f0231abedb778e65c)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CUPS 2.2.11 is a bug fix release that addresses issues in the scheduler,
IPP Everywhere support, CUPS library, and USB printer support.
(From OE-Core rev: 2904ffdffc829ee7a0f0228babe392535fb5e544)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License checksum from quota.c was removed since according to the
project, copyrighted code in question has been replaced with own
implementation (see @bcbc0d08e5cd).
Removed patches were upstreamed.
(From OE-Core rev: 4959abd0accffc1cd3dcbcf5efcd18d1e64b739a)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patch was upsteamed.
License checksums were changed due to modified copyright year and fixed
typo in LICENSE file (see @fef895aa28 and @8da8257d0b).
(From OE-Core rev: cfd21faa77fe81205ad0eb80c47fce37f5d1e2b1)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When DEBUG_BUILD = "1" added in local.conf, there
comes below build error when "bitbake gcc-sanitizers":
| ./../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c: In function 'elf_is_symlink':
| ../../../../../../../../../work-shared/gcc-8.3.0-r0/gcc-8.3.0/libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| return S_ISLNK (st.st_mode);
After commit[16643b0322 bitbake.conf: Use -Og in DEBUG_OPTIMIZATION]
introduced, "-Og" added to compiler when debug
build enabled.
Per https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00315.html,
the gcc upstream thinks the warning is a false
positive and suggests to use -O2 rather than -Og
or -O1 when compiling that file, so pass -Wno-error
to compiler when -Og is used to silence the error.
(From OE-Core rev: d8d657f082d4a86f93ce810e5d99eb5c93333d8a)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
current default locale is set to C.UTF-8, but glibc not support
locale C.UTF-8. so set to the default locale C.
[snip]
if not meson.is_cross_build()
choose_default_locale_sh = find_program('tools/choose-default-locale.sh')
default_locale = run_command(choose_default_locale_sh).stdout().strip()
else
default_locale = 'C.UTF-8'
endif
if default locale set to C.UTF-8, it will cause libpcre ptest fail:
re> //8+L
** Failed to set locale ""
(From OE-Core rev: 48f1521de8d16971e8021d7bf551f0b88f392f43)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we want to ultimately move this recipe to that name, add a PROVIDES
to allow things to work whilst we fix the bugs preventing the move. This
avoids having to keep changing the autobuilder.
(From OE-Core rev: 2b70ea6ca2c96fb233f42cfe5058cc89c9de5f82)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are recipes not included in core-image-sato-sdk which have ptests, include
these in our ptest test image using the new include file.
(From OE-Core rev: f685ec5740e1a8c3922f8f0631ddaed4b2a5d1f0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create a common include file which lists recipes that have ptests divided
into 'fast' and 'slow' groups. This allows us to include ptests which otherwise
may not get included in images and allows us to test the faster running things
more regularly.
The new image allows access to these faster executing tests. 'fast' is defined
as tests which execute in under 30s roughly speaking.
(From OE-Core rev: 2d8f8ab85d98929b0f1f699f256b40b1d9cddaec)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix below build failure with musl when ptest
enabled.
| In file included from ../../elfutils-0.176/tests/dwfl-proc-attach.c:33:
| ../../elfutils-0.176/lib/system.h:63:35: error: called object 'err' is not a function or function pointer
| #define error(status, errno, ...) err(status, __VA_ARGS__)
| ^~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:92:5: note: in expansion of macro 'error'
| error (-1, 0, "dwfl_linux_proc_attach pid %d: %s", pid,
| ^~~~~
| ../../elfutils-0.176/tests/dwfl-proc-attach.c:79:7: note: declared here
| int err;
| ^~~
The root cause is because the conflicts between
vairable and function name, so change the variable
name to workaround it.
(From OE-Core rev: 48dbb1bd980f7ed17a612fa7c1be298f14955c3f)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add testsuite-ignore-elflint.diff from debian
(http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz)
to fix below ptest failure:
| ./run-strip-strmerge.sh: line 33: testrun_on_self_skip: command not found
| FAIL: run-strip-strmerge.sh
Add check for gcc for two test cases such as
run-strip-nothing.sh and run-strip-g.sh which
depends on gcc at run time.
(From OE-Core rev: 240e6b8819aab3bf74cdde92934be337e766aa75)
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes [YOCTO #12548]
I created a new section titled "Modifying Variable Values" that
provides instruction on how to use the "bitbake -e" command to
be sure your configuration and variable values are as expected.
(Bitbake rev: 5a697957d7687fe2c730896e178f7e1e054fe724)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream appear to have regenerated the tarball, the new one is the same except the
directory name changed from libyaml to yaml. Adapt to this.
(From OE-Core rev: 9ab05b6ec860078df37c4ea68267ecffaa0ce38c)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop files/fix_shebang_f2py.patch as the code has been removed upstream.
License-update: copyright years, file paths.
(From OE-Core rev: 90e271e9f1c1ecdb205bca3c9b4976a1a16e83b1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backported patches
License-update: copyright years
(From OE-Core rev: 061dfcdf062d64e4e1e50e28edfacb14e41b7d74)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-Linker-rules-move-cross_args-in-front-of-output_args.patch
as the upstream code has been completely reworked; if the issues pops up
again, we need to re-write the fix.
Rebase:
0001-Make-CPU-family-warnings-fatal.patch
0001-environment.py-detect-windows-also-if-the-system-str.patch
0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
0002-Support-building-allarch-recipes-again.patch
Add 0001-mesonbuild-environment.py-check-environment-for-vari.patch
as particularly we set windows resource compiler through an
environment variable WINDRES. This has replaced the
0001-modules-windows-split-WINDRES-env-variable.patch as the code
has been refactored.
Add 0001-mesonbuild-environment.py-do-not-determine-whether-a.patch
for a more robust detection of cross builds.
Replace many-cross.patch with corresponding backports from upcoming 0.50.1:
0007-mesonbuild-allow-multiple-cross-file-options.patch
load-configs-generalise-search-path.patch
Drop cross-libdir.patch as it has been merged upstream.
(From OE-Core rev: 3f9a0f0c6c99364eb128ffc2db704e957f1c0bce)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove upstreamed 0001-include-missing-string-and-errno.h-headers.patch
Rebase the other patches.
(From OE-Core rev: b0c76d9b451ba10b97e9ecee7bbfc7158cab4152)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove valadoc-related patches, as upstream added an option to disable it;
adjust the recipe accordingly.
(From OE-Core rev: dc4555d3cb6109e57c2dcfcc6713f69e1ef99755)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove a patch as the problem was fixed upstream.
(From OE-Core rev: a5440d4288e09d3e429b48e1a5ee4a5f4631de6c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop bad_optional_access.patch, as the code it tweaks has
been removed upstream.
Rebase other patches.
Add an option for jpeg2000 support.
(From OE-Core rev: 628e1935431207cbb8ef3e44637f9ad462eea133)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop upstreamed patches:
0010-meson-add-option-gir-dir-prefix.patch
0002-g-ir-tools-respect-gir_dir_prefix.patch
0001-configure.ac-make-GIR_DIR-configurable.patch
Rebase the rest.
Upstream has renamed the gir_dir_prefix option, adjust the recipe.
Add a patch to disable tests in cross builds, as previously meson
build system didn't actually build them.
(From OE-Core rev: 98f4c3a64f8a2b03f57df4387d2ce1e3b3af4035)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases that comprise the following
commits:
4d552acf3370 Linux 4.19.34
d5813e77363c kprobes/x86: Blacklist non-attachable interrupt functions
e7d26616c92b bcache: fix potential div-zero error of writeback_rate_p_term_inverse
09abe130820b ACPI / video: Extend chassis-type detection with a "Lunch Box" check
d1d2ca98b78f net: stmmac: Avoid one more sometimes uninitialized Clang warning
972e31ba4bc2 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
986a2bb54a31 Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
6d2817e2ab8c dmaengine: tegra: avoid overflow of byte tracking
7386f095b709 clk: rockchip: fix frac settings of GPLL clock for rk3328
c8e4f8406842 clk: meson: clean-up clock registration
6251c1db04f2 drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
648b949b7870 x86/build: Mark per-CPU symbols as absolute explicitly for LLD
52cd9e0e43c7 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
05b23c66bb6e brcmfmac: Use firmware_request_nowarn for the clm_blob
e30e0b0915b6 selinux: do not override context on context mounts
d2053718e087 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
e0662d00c98a drm/nouveau: Stop using drm_crtc_force_disable
1d377200482b drm: Auto-set allow_fb_modifiers when given modifiers at plane init
27d6de370cdc pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
61174e34611f regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
bcdd4a5ee1c5 media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
9bfd4ab5e8e4 media: rcar-vin: Allow independent VIN link enablement
2e6bcc327b0b netfilter: physdev: relax br_netfilter dependency
24296fbc5445 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
c55f4a6e798d dmaengine: qcom_hidma: assign channel cookie correctly
afacaf85543b dmaengine: imx-dma: fix warning comparison of distinct pointer types
fba4c61e9888 cpu/hotplug: Mute hotplug lockdep during init
a6c671e23168 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
dbeca415575f f2fs: UBSAN: set boolean value iostat_enable correctly
16b06b15dd53 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
67c2be160519 soc/tegra: fuse: Fix illegal free of IO base address
a3aa9d93b9ab hwrng: virtio - Avoid repeated init of completion
7aaa76e8a6ab media: mt9m111: set initial frame size other than 0x0
fd400e96c599 perf script python: Add trace_context extension module to sys.modules
d90a375b786c perf script python: Use PyBytes for attr in trace-event-python
f94e369fe7a8 platform/x86: intel-hid: Missing power button release on some Dell models
1e55e3f6c735 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
2b20c29bcdf6 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
3abb3d0418e1 drm/amd/display: Enable vblank interrupt during CRC capture
06af7dda05b3 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
57f03bbd4236 tty: increase the default flip buffer limit to 2*640K
2142eba848a1 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
d0bc74c5632f cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
b52681e6e623 powerpc/64s: Clear on-stack exception marker upon exception return
118d38a3577f selftests/bpf: skip verifier tests for unsupported program types
ae92cf4760f8 bpf: fix missing prototype warnings
06666a19d5a5 block, bfq: fix in-service-queue check for queue merging
30d503bae967 ARM: avoid Cortex-A9 livelock on tight dmb loops
d8945878ded6 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
668713493a19 mt7601u: bump supported EEPROM version
a2479c401054 soc: qcom: gsbi: Fix error handling in gsbi_probe()
ce80ebf7a04e efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
240a9050a3d8 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
b5c1dc9d8fa4 drm/vkms: Bugfix extra vblank frame
e8e0bd4915ec sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
b12a060a0bd2 efi/memattr: Don't bail on zero VA if it equals the region's PA
f056c90f079a sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
442caac9fce9 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
b4410c7d731d iwlwifi: mvm: fix RFH config command with >=10 CPUs
080e00c8f6f9 staging: spi: mt7621: Add return code check on device_reset()
f0eb935c50b9 i2c: of: Try to find an I2C adapter matching the parent
7c114e8605a9 platform/x86: intel_pmc_core: Fix PCH IP sts reading
b9f257e27890 e1000e: Exclude device from suspend direct complete optimization
c23242c36bdd e1000e: fix cyclic resets at link up with active tx
efd85d83ac0f perf/aux: Make perf_event accessible to setup_aux()
355ffe6cc2a1 drm/amd/display: Disconnect mpcc when changing tg
6c68d1654c27 drm/amd/display: Don't re-program planes for DPMS changes
322a55a56a2a drm: rcar-du: add missing of_node_put
924af49998c2 cdrom: Fix race condition in cdrom_sysctl_register
6d293647f8d9 fbdev: fbmem: fix memory access if logo is bigger than the screen
2dd699432958 net: phy: consider latched link-down status in polling mode
5203cf8e29e5 iw_cxgb4: fix srqidx leak during connection abort
a78aae93ba9c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
1f3694865d56 genirq: Avoid summation loops for /proc/stat
98eddc19f9e9 bcache: improve sysfs_strtoul_clamp()
b468e0007435 bcache: fix potential div-zero error of writeback_rate_i_term_inverse
c7b687ebe0fb bcache: fix input overflow to sequential_cutoff
16975f04f2ca bcache: fix input overflow to cache set sysfs file io_error_halflife
845d4849b60c sched/topology: Fix percpu data types in struct sd_data & struct s_data
ad02fb6a6cc8 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
126f2f6af291 ath10k: fix shadow register implementation for WCN3990
ccce764322d8 ALSA: PCM: check if ops are defined before suspending PCM
d21a63fc1e53 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
d93fe5e6c9d9 ARM: 8833/1: Ensure that NEON code always compiles with Clang
3a1ce9793855 netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
d53b295f7805 kprobes: Prohibit probing on RCU debug routine
bc9d714395e2 kprobes: Prohibit probing on bsearch()
c63cc8d1487c selftests: skip seccomp get_metadata test if not real root
2df541d0a665 ACPI / video: Refactor and fix dmi_is_desktop()
d63105845ac5 iwlwifi: pcie: fix emergency path
5cdd025907b8 perf report: Add s390 diagnosic sampling descriptor size
5658279f50ea leds: lp55xx: fix null deref on firmware load failure
9154420173d5 jbd2: fix race when writing superblock
a74ebf047e4f cgroup, rstat: Don't flush subtree root unless necessary
b13eb5245f9f HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
c26d61ea90db vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
7273c2b1e79c xen/gntdev: Do not destroy context while dma-bufs are in use
e9cd7f543764 mt76: usb: do not run mt76u_queues_deinit twice
5cde7721dd05 media: mtk-jpeg: Correct return type for mem2mem buffer helpers
745cdc344f97 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
73a4cc59054e media: s5p-g2d: Correct return type for mem2mem buffer helpers
3c6cd079058e media: rockchip/rga: Correct return type for mem2mem buffer helpers
55919fc28419 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
a23fd268fdbb media: sh_veu: Correct return type for mem2mem buffer helpers
635fabdd8202 media: ov7740: fix runtime pm initialization
1d836ce73a10 SoC: imx-sgtl5000: add missing put_device()
d41687c82a70 perf report: Don't shadow inlined symbol with different addr range
801b8d8c7729 mwifiex: don't advertise IBSS features without FW support
d323e59f58bb perf test: Fix failure of 'evsel-tp-sched' test on s390
345c7757fd54 drm/amd/display: Clear stream->mode_changed after commit
1ef1b20f8711 scsi: fcoe: make use of fip_mode enum complete
8032fc9120c2 scsi: megaraid_sas: return error when create DMA pool failed
2c6e3ec8a906 s390/ism: ignore some errors during deregistration
d60f458e4c4d efi: cper: Fix possible out-of-bounds access
e57f4676b92f cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
eb70531a95c8 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
e6786f8686ef perf annotate: Fix getting source line failure
763a895aa49c clk: fractional-divider: check parent rate only if flag is set
d3ec442d609b IB/mlx4: Increase the timeout for CM cache
61584032c4d6 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
07a31820b241 platform/mellanox: mlxreg-hotplug: Fix KASAN warning
0bacfb4adc1b platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
a64ffbaf7056 mlxsw: spectrum: Avoid -Wformat-truncation warnings
49dd86f0f5ec e1000e: Fix -Wformat-truncation warnings
c6fb45d895e0 net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
194b888af85e mmc: omap: fix the maximum timeout setting
dcedd37957de btrfs: qgroup: Make qgroup async transaction commit more aggressive
6cf5f631bad0 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
fc96b44c05c2 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
d81bdb3c17f1 ARM: 8840/1: use a raw_spinlock_t in unwind
951307172652 serial: 8250_pxa: honor the port number from devicetree
2636ccec991e coresight: etm4x: Add support to enable ETMv4.2
c70214d519ed powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
638ecaf58369 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
5db107484403 scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
4acf797458ce powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
6030bcc04735 usb: chipidea: Grab the (legacy) USB PHY by phandle first
b142c7973338 crypto: cavium/zip - fix collision with generic cra_driver_name
d401d121113e crypto: crypto4xx - add missing of_node_put after of_device_is_available
241ebd2ea44b mt76: fix a leaked reference by adding a missing of_node_put
6115055b4efe wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
9546c3662dc5 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
224c996e48be tools lib traceevent: Fix buffer overflow in arg_eval
83c395332fdf fs: fix guard_bio_eod to check for real EOD errors
6a817a7aed1c jbd2: fix invalid descriptor block checksum
ca66f667189c netfilter: conntrack: tcp: only close if RST matches exact sequence
709aaa09b200 netfilter: nf_tables: check the result of dereferencing base_chain->stats
36a3219e617a cifs: Fix NULL pointer dereference of devname
d579b4eae836 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
4ab78f4d75c6 f2fs: fix to check inline_xattr_size boundary correctly
8c81fcd3d5c1 dm thin: add sanity checks to thin-pool and external snapshot creation
626d98bbdb30 cifs: use correct format characters
a6c56bf63e87 page_poison: play nicely with KASAN
d609ecd887f8 fs/file.c: initialize init_files.resize_wait
9b4f27667402 f2fs: do not use mutex lock in atomic context
20141feb9bde ocfs2: fix a panic problem caused by o2cb_ctl
f09c424cea9f mm/slab.c: kmemleak no scan alien caches
8a0fc62e331e mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
67abbb9c5422 mm, mempolicy: fix uninit memory access
9d785b92cf0d memcg: killed threads should not invoke memcg OOM killer
eed3ca0a66cf mm,oom: don't kill global init via memory.oom.group
ed3345a6607b mm, swap: bounds check swap_info array accesses to avoid NULL derefs
4c6d7dc741cb mm/page_ext.c: fix an imbalance with kmemleak
f555b008c576 mm/cma.c: cma_declare_contiguous: correct err handling
7b287c47e452 mm/sparse: fix a bad comparison
aea8c971b9c5 perf c2c: Fix c2c report for empty numa node
c3f28d59c1a5 x86/hyperv: Fix kernel panic when kexec on HyperV
3e8d62218aa4 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
e27cced35a4b scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
fce6aeaf913e scsi: hisi_sas: Set PHY linkrate when disconnected
e21f655c60fa libbpf: force fixdep compilation at the start of the build
6048330675cc enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
9ec4860de95a net: stmmac: Avoid sometimes uninitialized Clang warnings
b227f1571269 sysctl: handle overflow for file-max
d6ad08aa3467 include/linux/relay.h: fix percpu annotation in struct rchan
4c96500e3658 gpio: gpio-omap: fix level interrupt idling
8c50ab86e288 net/mlx5: Avoid panic when setting vport mac, getting vport config
3bddc6149f02 net/mlx5: Avoid panic when setting vport rate
b73c7d020452 tracing: kdb: Fix ftdump to not sleep
d7391962d723 f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
198c99857b30 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
56bb66c50296 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
2938651d36ca CIFS: fix POSIX lock leak and invalid ptr deref
442d5d171cd8 tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
b6b4bcb40be0 tty/serial: atmel: Add is_half_duplex helper
2dbc7c66d6da ext4: cleanup bh release code in ext4_ind_remove_space()
bd62f1fe736e arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
4b3a3ab00fa7 Linux 4.19.33
11008a9b0fc7 platform: x86: intel_cht_int33fe: Remove the old connections for the muxes
056cda45cfed usb: typec: class: Don't use port parent for getting mux handles
6875404a12f8 platform: x86: intel_cht_int33fe: Add connections for the USB Type-C port
681a9fc184b3 platform: x86: intel_cht_int33fe: Add connection for the DP alt mode
3bb446a3fe87 platform: x86: intel_cht_int33fe: Register all connections at once
e99d90ce7750 drivers: base: Helpers for adding device connection descriptions
f5959dec081a bpf: do not restore dst_reg when cur_state is freed
738dda85d181 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
83bbd66b3753 staging: erofs: fix error handling when failed to read compresssed data
3a18eabaa712 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
b9733a74350d KVM: x86: update %rip after emulating IO
7ceedcefc2d2 KVM: Reject device ioctls from processes other than the VM's creator
a0713e8103d1 x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
a56aa02e6f15 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
336f6b23b5b8 watchdog: Respect watchdog cpumask on CPU hotplug
c91d07ad34d7 powerpc/64: Fix memcmp reading past the end of src/dest
d7c00bbbfac4 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
0603e3a9281d objtool: Query pkg-config for libelf location
a436cf6479c0 perf intel-pt: Fix TSC slip
5f9366330950 perf pmu: Fix parser error for uncore event alias
f70ddae24bdf mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
5966777dd807 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
c9874d397807 iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
62d342d67060 mm: add support for kmem caches in DMA32 zone
2392ffab085a usb: cdc-acm: fix race during wakeup blocking TX traffic
82a5090aad84 xhci: Don't let USB3 ports stuck in polling state prevent suspend
20a09a2e8703 usb: xhci: dbc: Don't free all memory with spinlock held
c81b872281a1 xhci: Fix port resume done detection for SS ports with LPM enabled
093ccda1a041 usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
015e5c17617a usb: common: Consider only available nodes for dr_mode
ef4df134e77e USB: gadget: f_hid: fix deadlock in f_hidg_write()
614ac345bfec usb: mtu3: fix EXTCON dependency
66e44981de0e phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
6ebe03734361 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
b26f7e86d3cc gpio: exar: add a check for the return value of ida_simple_get fails
df74e70ffec6 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
75f9e994b9fd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
eb1e552524b4 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
07d0d2bd957a fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
c956914f1efa Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
1c992ea006ce USB: serial: option: add Olicard 600
19151c645d0c USB: serial: option: add support for Quectel EM12
002795b0d9b3 USB: serial: option: set driver_info for SIM5218 and compatibles
d7dfccfd3c4b USB: serial: mos7720: fix mos_parport refcount imbalance on error path
1f46db3cc133 USB: serial: ftdi_sio: add additional NovaTech products
2a63003545d0 USB: serial: cp210x: add new device id
59203f078cc6 serial: sh-sci: Fix setting SCSCR_TIE while transferring data
b1e660c6f802 serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
f34ec64b3f6c serial: max310x: Fix to avoid potential NULL pointer dereference
a090ed15420a staging: erofs: fix to handle error path of erofs_vmap()
3b6b76644ba5 staging: vt6655: Fix interrupt race condition on device start up.
b9ddff2a41cd staging: vt6655: Remove vif check from vnt_interrupt
86092f2d5ccb staging: speakup_soft: Fix alternate speech with other synths
d0360bf48143 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
668ba38d8950 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
b9bbd1edddf7 tty: atmel_serial: fix a potential NULL pointer dereference
124e42064c0d tty: mxs-auart: fix a potential NULL pointer dereference
7fb7414da97e drm/rockchip: vop: reset scale mode when win is disabled
a93cd9137fea scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
983a543de13a scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
a52eb223a6ee scsi: sd: Quiesce warning if device does not report optimal I/O size
d72658775c4b scsi: sd: Fix a race between closing an sd device and sd I/O
3b3fcc3d4ffd ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
72b790c417b9 fs/open.c: allow opening only regular files during execve()
aa7f29f87027 kbuild: modversions: Fix relative CRC byte order interpretation
4dfae837ceaf ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
6f3dbb71085c ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
633d5db40280 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
fd4000c77a5a ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
48e8e6a736b6 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
5fa5a8679b92 ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
5ec67684be9e ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
89ec6d400b5d ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
522f06c9c00d ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
5b93302bbc4e ALSA: pcm: Don't suspend stream in unrecoverable PCM state
7fc6064dc3b2 ALSA: pcm: Fix possible OOB access in PCM oss plugins
b425f45295dd ALSA: seq: oss: Fix Spectre v1 vulnerability
bd55e6727a33 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
a485919fe4cc net: dsa: qca8k: remove leftover phy accessors
64751542d3f3 NFSv4.1 don't free interrupted slot on open
da57cba4f3f1 NFS: fix mount/umount race in nlmclnt.
0f273f0c3064 vfio: ccw: only free cp on final interrupt
92d4ee2e8276 powerpc: bpf: Fix generation of load/store DW instructions
9397f0d9948c ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
fd1b25364fef Btrfs: fix assertion failure on fsync with NO_HOLES enabled
0ae3b84b3fa6 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
1cf4ab01eb5a btrfs: raid56: properly unmap parity page in finish_parity_scrub()
d952c337b25d btrfs: don't report readahead errors and don't update statistics
b57220cc9820 btrfs: remove WARN_ON in log_dir_items
22dcb30fb9d8 Btrfs: fix incorrect file size after shrinking truncate and fsync
a1df5db3a9f1 powerpc/security: Fix spectre_v2 reporting
986f0c656749 powerpc/fsl: Fix the flush of branch predictor.
b848d19c483a powerpc/fsl: Fixed warning: orphan section `__btb_flush_fixup'
632d839296bd powerpc/fsl: Update Spectre v2 reporting
43f40620d7a5 powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used
a46a50382639 powerpc/fsl: Flush branch predictor when entering KVM
3cb931c709d0 powerpc/fsl: Flush the branch predictor at each kernel entry (32 bit)
cf72dad924cb powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)
020e5f13805b powerpc/fsl: Add nospectre_v2 command line argument
4a6a2287e0e6 powerpc/fsl: Emulate SPRN_BUCSR register
4944f1d48d71 powerpc/fsl: Add macro to flush the branch predictor
d67ab3d9a1b7 powerpc/fsl: Add infrastructure to fixup branch predictor flush
e044d21c2999 tun: add a missing rcu_read_unlock() in error path
6bdb5fdc4787 thunderx: eliminate extra calls to put_page() for pages held for recycling
ac8411d75962 thunderx: enable page recycling for non-XDP case
a491de9041b4 net: sched: fix cleanup NULL pointer exception in act_mirr
7254ad094f4a ila: Fix rhashtable walker list corruption
979f8a675d3b vxlan: Don't call gro_cells_destroy() before device is unregistered
3b1386beeef4 vrf: prevent adding upper devices
8ea78da1aa3e tun: properly test for IFF_UP
52a7505c91a1 tipc: fix cancellation of topology subscriptions
1be6c0c737e4 tipc: change to check tipc_own_id to return in tipc_net_stop
24d1a6259706 tipc: allow service ranges to be connect()'ed on RDM/DGRAM
7115df614b09 tcp: do not use ipv6 header for ipv4 flow
cab576f1b00f sctp: use memdup_user instead of vmemdup_user
97265479d7ca sctp: get sctphdr by offset in sctp_compute_cksum
cf86f7a97561 rhashtable: Still do rehash when we get EEXIST
69cea7cf3170 packets: Always register packet sk in the same order
d9d215be3a3a net-sysfs: call dev_hold if kobject_init_and_add success
8dcf078d92ae net: stmmac: fix memory corruption with large MTUs
7eeb12edf637 net: rose: fix a possible stack overflow
a6f0168e6681 net: phy: meson-gxl: fix interrupt support
85ef72d829eb net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
88c64f9c7d3f net: datagram: fix unbounded loop in __skb_try_recv_datagram()
e4ff39e1ba80 net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
c408426292ee mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
e0f8c06f45c3 mac8390: Fix mmio access size probe
be09211384c2 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
53adaacbbadb gtp: change NET_UDP_TUNNEL dependency to select
9b8ef421b481 genetlink: Fix a memory leak on error path
321461f2497f dccp: do not use ipv6 header for ipv4 flow
6bba17f6bce3 ipmi_si: Fix crash when using hard-coded device
15d6538a0d6e Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
2318c0e4b87e Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
3a2156c839c7 Linux 4.19.32
33bd347fee01 power: supply: charger-manager: Fix incorrect return value
19184190b029 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
156ba57f4ba6 ALSA: hda - Record the current power state before suspend/resume calls
0e0f7b307212 locking/lockdep: Add debug_locks check in __lock_downgrade()
206a76a684a7 x86/unwind: Add hardcoded ORC entry for NULL
367ccafbcbfe x86/unwind: Handle NULL pointer calls better in frame unwinder
3254dd301f80 loop: access lo_backing_file only when the loop device is Lo_bound
35cdcdc5c49d netfilter: ebtables: remove BUGPRINT messages
1fd916e879a9 f2fs: fix to avoid deadlock of atomic file operations
9dd5053c8cd5 RDMA/cma: Rollback source IP address if failing to acquire device
015b828bd66d drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
e365b94086f9 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
f67202f78fe3 Bluetooth: hci_ldisc: Initialize hci_dev before open()
4b39051363a0 Bluetooth: Fix decrementing reference count twice in releasing socket
4e0ca4bfa2bc Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
6bef442eea18 media: v4l2-ctrls.c/uvc: zero v4l2_event
d12d86411c03 ext4: brelse all indirect buffer in ext4_ind_remove_space()
76c9ee6bd5d2 ext4: fix data corruption caused by unaligned direct AIO
558331d0205b ext4: fix NULL pointer dereference while journal is aborted
ff7a1f81c20e ALSA: ac97: Fix of-node refcount unbalance
c8e91d756703 ALSA: hda/ca0132 - make pci_iounmap() call conditional
4a767459389a ALSA: x86: Fix runtime PM for hdmi-lpe-audio
38bd575b9aef SMB3: Fix SMB3.1.1 guest mounts to Samba
aacf2cc814c2 irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
daaeeca918e7 objtool: Move objtool_file struct off the stack
37c6f8089806 perf probe: Fix getting the kernel map
14c52acaac86 cifs: allow guest mounts to work for smb3.11
36d52f5bcd57 futex: Ensure that futex address is aligned in handle_futex_death()
837becb30c3b scsi: ibmvscsi: Fix empty event pool access during host removal
04809b226e79 scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
b8ea151a7ab5 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
9d91069f48cc MIPS: Fix kernel crash for R6 in jump label branch function
6e74961bd67d MIPS: Ensure ELF appended dtb is relocated
56bcf3df2552 mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
c72e90d94a14 udf: Fix crash on IO error during truncate
9cae232a8706 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
869157135003 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
69e26237ed1e drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
ab483d1ca7ae drm/vmwgfx: Don't double-free the mode stored in par->set_mode
42f358b2d48c mmc: renesas_sdhi: limit block count to 16 bit for old revisions
65a5c93687b7 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
3b6870159e2e mmc: pxamci: fix enum type confusion
6339cc5181c0 ALSA: firewire-motu: use 'version' field of unit directory to identify model
023a1b28cf72 ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
a2cddfe2ce6e Linux 4.19.31
3053cb9701cd s390/setup: fix boot crash for machine without EDAT-1
e578f90d8a9c bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
5ffb710b03d5 KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
29b515c27c0a KVM: nVMX: Apply addr size mask to effective address for VMX instructions
9ce0ffeb68b6 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
c235af5a10f2 KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
656e9e5d5529 KVM: x86/mmu: Detect MMIO generation wrap in any address space
23ad135ae66f KVM: Call kvm_arch_memslots_updated() before updating memslots
585715ef18bf drm/amd/display: don't call dm_pp_ function from an fpu block
17982c6a649b drm/amd/powerplay: correct power reading on fiji
808b1c1e28e8 drm/radeon/evergreen_cs: fix missing break in switch statement
9bc6e5673949 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
87bfc7b695bd media: imx: csi: Stop upstream before disabling IDMA channel
54b941202391 media: imx: csi: Disable CSI immediately after last EOF
73236bf581e9 media: vimc: Add vimc-streamer for stream control
29e8c9ae99c7 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
77b4e7454bbd media: lgdt330x: fix lock status reporting
6039128dc6bf media: imx: prpencvf: Stop upstream before disabling IDMA channel
e97a32a5a3bc rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
bce45a547546 tpm: Unify the send callback behaviour
af0c1bd0c5e9 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
cc3b79d487e8 md: Fix failed allocation of md_register_thread
01088750f25e perf intel-pt: Fix divide by zero when TSC is not available
30cedf18d1e2 perf/x86/intel/uncore: Fix client IMC events return huge result
a46a8cdfea3c perf intel-pt: Fix overlap calculation for padding
fa592fc0bde5 perf auxtrace: Define auxtrace record alignment
d8f691f29d91 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
e25353a0ac44 perf intel-pt: Fix CYC timestamp calculation after OVF
3e5a054b0f70 x86/unwind/orc: Fix ORC unwind table alignment
b05581b8ba9c vt: perform safe console erase in the right order
2ca85aac1213 stable-kernel-rules.rst: add link to networking patch queue
622afe5c7449 bcache: never writeback a discard operation
cd73824636cb PM / wakeup: Rework wakeup source timer cancellation
43bceddcd7e2 svcrpc: fix UDP on servers with lots of threads
4af185feb9df NFSv4.1: Reinitialise sequence results before retransmitting a request
ecab6ab1c227 nfsd: fix wrong check in write_v4_end_grace()
8056912c1c75 nfsd: fix memory corruption caused by readdir
10a68cdf1035 nfsd: fix performance-limiting session calculation
2c648caf630d NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
63b0ee126f7e NFS: Fix an I/O request leakage in nfs_do_recoalesce
be74fddc976e NFS: Fix I/O request leakages
4ea4f347662c cpcap-charger: generate events for userspace
ce02d82c4e1a mfd: sm501: Fix potential NULL pointer dereference
5579d97e92f7 dm integrity: limit the rate of error messages
7668d6e45f3a dm: fix to_sector() for 32bit
a441fdaf8c30 ipmi_si: fix use-after-free of resource->name
3cbae9fa85ce arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
c113a7fb017b arm64: debug: Ensure debug handlers check triggering exception level
85c8ea220f89 arm64: Fix HCR.TGE status for NMI contexts
58691e6a93d8 ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
d6d004b3dd70 powerpc/traps: Fix the message printed when stack overflows
461a52a44893 powerpc/traps: fix recoverability of machine check handling on book3s/32
baed68a953ac powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
9d2e929c3bae powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
344996a835d4 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
3bf8ff7bc667 powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
f6f03d6078b1 powerpc/83xx: Also save/restore SPRG4-7 during suspend
b0934990125a powerpc/powernv: Make opal log only readable by root
9b5305504709 powerpc/wii: properly disable use of BATs when requested.
40b97853c200 powerpc/32: Clear on-stack exception marker upon exception return
c7dad095f35a security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
e4f6f82c9edc selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
584f390d1039 jbd2: fix compile warning when using JBUFFER_TRACE
dbe4bc993836 jbd2: clear dirty flag when revoking a buffer from an older transaction
3545324fba52 serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
8225bb965f29 serial: 8250_pci: Fix number of ports for ACCES serial cards
9d0b55bb2aec serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
a4b021ec4b5a serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
9920eb4003c5 bpf: only test gso type on gso packets
206fa92c9d52 drm/i915: Relax mmap VMA check
116a9e31237c can: flexcan: FLEXCAN_IFLAG_MB: add () around macro argument
6f29e4c2dbb1 gpio: pca953x: Fix dereference of irq data in shutdown
e86a57ecdfac media: i2c: ov5640: Fix post-reset delay
5f9614d0540b i2c: tegra: fix maximum transfer size
25970b517db1 parport_pc: fix find_superio io compare code, should use equal test.
57c29a08c4cf intel_th: Don't reference unassigned outputs
c835b4417c18 device property: Fix the length used in PROPERTY_ENTRY_STRING()
93c8a44a8297 kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
09417dd35e37 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
c1ddc7b785b4 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
234c0cc98221 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
c7fd1a968c5d dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
822e21853439 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
8415e718a06b usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
b1c1ef7b4d63 clk: ingenic: Fix doc of ingenic_cgu_div_info
4a04611fc266 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
33e7604ac8fd clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
4d1de1e6d266 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
9aba7a8fd163 clk: clk-twl6040: Fix imprecise external abort for pdmclk
6e02a5f5aba3 clk: uniphier: Fix update register for CPU-gear
62600af3a7cb ext2: Fix underflow in ext2_max_size()
c335b49379b5 cxl: Wrap iterations over afu slices inside 'afu_list_lock'
54674984d478 IB/hfi1: Close race condition on user context disable and close
09bc2f5a16a9 PCI: dwc: skip MSI init if MSIs have been explicitly disabled
13a9d14fbf1b PCI/DPC: Fix print AER status in DPC event handling
c733cf4abfba PCI/ASPM: Use LTR if already enabled by platform
8a4fdc649ca9 ext4: fix crash during online resizing
a0d876c77705 ext4: add mask of ext4 flags to swap
048bfb5bc05f ext4: update quota information while swapping boot loader inode
071f68163cc0 ext4: cleanup pagecache before swap i_data
cdf9941b7707 ext4: fix check of inode in swap_inode_boot_loader
ae228aca576d cpufreq: pxa2xx: remove incorrect __init annotation
f65b34d0f979 cpufreq: tegra124: add missing of_node_put()
33565a76a7b2 cpufreq: kryo: Release OPP tables on module removal
ee7d297fba24 x86/kprobes: Prohibit probing on optprobe template code
a477075ebab3 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
c8666ede18ec irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
b92fad6995c3 libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
02c55be588b1 soc: qcom: rpmh: Avoid accessing freed memory from batch API
898488e2988c Btrfs: fix corruption reading shared and compressed extents after hole punching
1a00f7fd0fbf btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
6e24f5a1ebb1 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
61f9209676e8 Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
fcbf12e23d99 m68k: Add -ffreestanding to CFLAGS
205f149f1a35 ovl: Do not lose security.capability xattr over metadata file copy-up
6f048ae2d25f ovl: During copy up, first copy up data and then xattrs
2af926fd52fc splice: don't merge into linked buffers
1c2123ff4312 fs/devpts: always delete dcache dentry-s in dput()
d8ae662b400f scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
f4a9fd5652d5 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
852a4ab292bb scsi: sd: Optimal I/O size should be a multiple of physical block size
e6e738e2b5ff scsi: aacraid: Fix performance issue on logical drives
bd8a0e656935 scsi: virtio_scsi: don't send sc payload with tmfs
1653307cf0e7 s390/virtio: handle find on invalid queue gracefully
b52bdf53130a s390/setup: fix early warning messages
e19ca3fe6cf2 clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
ef8062e20614 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
c1f45c10df2e clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
06607b1b6cc9 regulator: s2mpa01: Fix step values for some LDOs
c288e34df128 regulator: max77620: Initialize values for DT properties
462aee48a8a2 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
15ead7e2a11e spi: pxa2xx: Setup maximum supported DMA transfer length
e51c5ec99597 spi: ti-qspi: Fix mmap read when more than one CS in use
0d98ecb141a6 netfilter: ipt_CLUSTERIP: fix warning unused variable cn
6bd9959aa110 mmc:fix a bug when max_discard is 0
2946910ed837 mmc: sdhci-esdhc-imx: fix HS400 timing issue
c19b9673487e ACPI / device_sysfs: Avoid OF modalias creation for removed device
468ff43f6274 xen: fix dom0 boot on huge systems
24d5097655eb tracing/perf: Use strndup_user() instead of buggy open-coded version
f27077e5f5c5 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
ebca08d7e862 tracing: Use strncpy instead of memcpy for string keys in hist triggers
43eaa6cc1775 CIFS: Fix read after write for files with read caching
dc8e8ad962a8 CIFS: Do not skip SMB2 message IDs on send failures
3ed9f22e28dd CIFS: Do not reset lease state to NONE on lease break
41e2d1c43c87 crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
d5a5bded80a6 crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
66700c89f0ab crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
8a9fcf4a9f1f crypto: x86/aesni-gcm - fix crash on empty plaintext
5d2a5172caa4 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
574c19d97e6b crypto: testmgr - skip crc32c context test for ahash algorithms
e6c703f15872 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
bb1ae0aadbf1 crypto: pcbc - remove bogus memcpy()s with src == dest
c0bfdac6a471 crypto: morus - fix handling chunked inputs
dc410d2d8405 crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
76f21678d64f crypto: arm64/crct10dif - revert to C code for short inputs
4bca5a9a5dcd crypto: arm64/aes-neonbs - fix returning final keystream block
0beb34b865e3 crypto: arm/crct10dif - revert to C code for short inputs
4c152af938ce crypto: aegis - fix handling chunked inputs
736807d69157 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
7a8b048430c1 fix cgroup_do_mount() handling of failure exits
3b8da135a4cc libnvdimm: Fix altmap reservation size calculation
696c37524beb libnvdimm/pmem: Honor force_raw for legacy pmem regions
6a89ed7aa140 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
2b88d92ea9d2 libnvdimm/label: Clear 'updating' flag after label-set update
f4dfb94a0754 nfit/ars: Attempt short-ARS even in the no_init_ars case
e6defe76600b nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
f5878c4f084d acpi/nfit: Fix bus command validation
8df25eb903c5 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
eabd7d248e21 stm class: Prevent division by zero
b3139fbb3b00 tmpfs: fix uninitialized return value in shmem_link
d3f62d3eab0b selftests: fib_tests: sleep after changing carrier. again.
8cd89bf632b2 net: set static variable an initial value in atl2_probe()
29e4bfbc79b4 bnxt_en: Wait longer for the firmware message response to complete.
b4baeab7e084 bnxt_en: Fix typo in firmware message timeout logic.
a40fa9498707 nfp: bpf: fix ALU32 high bits clearance bug
7ca1faa52be7 nfp: bpf: fix code-gen bug on BPF_ALU | BPF_XOR | BPF_K
4523507c52b8 net: thunderx: add nicvf_send_msg_to_pf result check for set_rx_mode_task
17bc53e73d0c net: thunderx: make CFG_DONE message to run through generic send-ack sequence
02f8211b75c9 bpf, lpm: fix lookup bug in map_delete_elem
c5f37906ecb7 mac80211_hwsim: propagate genlmsg_reply return code
ee01ac61d1d4 phonet: fix building with clang
8b9187e7df64 ARCv2: don't assume core 0x54 has dual issue
3220aa9b0065 ARCv2: support manual regfile save on interrupts
74b4dcea6756 ARC: uacces: remove lp_start, lp_end from clobber list
2fc69e55f370 ARCv2: lib: memcpy: fix doing prefetchw outside of buffer
2c049f195787 ixgbe: fix older devices that do not support IXGBE_MRQC_L3L4TXSWEN
064a61d3e7b5 tmpfs: fix link accounting when a tmpfile is linked in
e6e9d6e29002 mm: handle lru_add_drain_all for UP properly
f3a9c9be0eb4 net: marvell: mvneta: fix DMA debug warning
e52578889c8e ARM: tegra: Restore DT ABI on Tegra124 Chromebooks
f715466a3f23 arm64: Relax GIC version check during early boot
2f97f7125237 ARM: dts: armada-xp: fix Armada XP boards NAND description
e4d14f616050 qed: Fix iWARP syn packet mac address validation.
821c67748623 qed: Fix iWARP buffer size provided for syn packet processing.
90fc2f95c418 ASoC: topology: free created components in tplg load error
edd7b6b9be97 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush timeout issue
6ac400b7c5e8 xfrm: Fix inbound traffic via XFRM interfaces across network namespaces
3a5321342361 net: mv643xx_eth: disable clk on error path in mv643xx_eth_shared_probe()
a139d6a318de qmi_wwan: apply SET_DTR quirk to Sierra WP7607
13cb60c3c915 pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
90a86d00af1a net: dsa: bcm_sf2: Do not assume DSA master supports WoL
d33f5a0febfa net: systemport: Fix reception of BPDUs
3491857f4292 scsi: libiscsi: Fix race between iscsi_xmit_task and iscsi_complete_task
726832821903 keys: Fix dependency loop between construction record and auth key
fac71ac37634 assoc_array: Fix shortcut creation
84657a1ba9bd ARM: 8835/1: dma-mapping: Clear DMA ops on teardown
978e0388c22b af_key: unconditionally clone on broadcast
c7c68a1b9a16 bpf: fix lockdep false positive in stackmap
413e39852082 bpf: only adjust gso_size on bytestream protocols
da3495301cda ARM: 8824/1: fix a migrating irq bug when hotplug cpu
b92eaed36c4b esp: Skip TX bytes accounting when sending from a request socket
2f3b4f968619 clk: sunxi: A31: Fix wrong AHB gate number
cacf3c0d8288 kallsyms: Handle too long symbols in kallsyms.c
980f44f8dd8a clk: sunxi-ng: v3s: Fix TCON reset de-assert bit
5050f03ff0b1 Input: st-keyscan - fix potential zalloc NULL dereference
bf26feccf99c auxdisplay: ht16k33: fix potential user-after-free on module unload
8e770d996ea4 i2c: bcm2835: Clear current buffer pointers and counts after a transfer
d9ce9aea3f63 i2c: cadence: Fix the hold bit setting
8f622a7d512c net: hns: Fix object reference leaks in hns_dsaf_roce_reset()
33e83ea302c0 mm: page_alloc: fix ref bias in page_frag_alloc() for 1-byte allocs
a9503ade1bf7 x86/CPU: Add Icelake model number
388f3adb2729 net: dsa: bcm_sf2: potential array overflow in bcm_sf2_sw_suspend()
8ab49fd5b072 scsi: qla2xxx: Fix panic from use after free in qla2x00_async_tm_cmd
53dcaeeff145 Revert "mm: use early_pfn_to_nid in page_ext_init"
8b1a7762e0da mm/gup: fix gup_pmd_range() for dax
6c023d86b364 NFS: Don't use page_file_mapping after removing the page
d84bc704b91e xprtrdma: Make sure Send CQ is allocated on an existing compvec
e01f2b0821ea floppy: check_events callback should not return a negative number
5ca2ef674d74 ipvs: fix dependency on nf_defrag_ipv6
29452f665c2f blk-mq: insert rq with DONTPREP to hctx dispatch list when requeue
e0e6b0d7e09c netfilter: compat: initialize all fields in xt_init
a5a244451145 mac80211: Fix Tx aggregation session tear down with ITXQs
bff33ba4f9ca mac80211: call drv_ibss_join() on restart
134891e124da Input: matrix_keypad - use flush_delayed_work()
e91dc2092f7f Input: ps2-gpio - flush TX work when closing port
4fe714b750cb Input: cap11xx - switch to using set_brightness_blocking()
f49f7007de59 ARM: OMAP2+: fix lack of timer interrupts on CPU1 after hotplug
8f07d76481d5 ASoC: samsung: Prevent clk_get_rate() calls in atomic context
459058f0e329 KVM: arm64: Forbid kprobing of the VHE world-switch code
04131dfcb910 KVM: arm/arm64: vgic: Always initialize the group of private IRQs
c831293622b2 arm/arm64: KVM: Don't panic on failure to properly reset system registers
b78379c33723 arm/arm64: KVM: Allow a VCPU to fully reset itself
dfe9b4d992ca KVM: arm/arm64: Reset the VCPU without preemption and vcpu state loaded
20604435e2f4 ASoC: rsnd: fixup rsnd_ssi_master_clk_start() user count check
e07aaaa7013e ASoC: dapm: fix out-of-bounds accesses to DAPM lookup tables
f3f7a8b6faf8 ARM: OMAP2+: Variable "reg" in function omap4_dsi_mux_pads() could be uninitialized
ad4507bd2bf1 ARM: dts: Configure clock parent for pwm vibra
bac70a89419a Input: pwm-vibra - stop regulator after disabling pwm, not before
0ed72d3f6f1d Input: pwm-vibra - prevent unbalanced regulator
98a137cd0484 s390/dasd: fix using offset into zero size array error
cdaf89ab8f77 arm64: dts: rockchip: fix graph_port warning on rk3399 bob kevin and excavator
5f4a64b040c9 KVM: arm/arm64: vgic: Make vgic_dist->lpi_list_lock a raw_spinlock
ac696b0176b4 clocksource: timer-ti-dm: Fix pwm dmtimer usage of fck reparenting
b2c642a1a618 ASoC: rt5682: Correct the setting while select ASRC clk for AD/DA filter
35ad2e6d7e46 gpu: ipu-v3: Fix CSI offsets for imx53
04c5c4c47c31 drm/imx: imx-ldb: add missing of_node_puts
1640b5288615 gpu: ipu-v3: Fix i.MX51 CSI control registers offset
a308622febe1 drm/imx: ignore plane updates on disabled crtcs
2e0e1f9a1e41 crypto: rockchip - update new iv to device in multiple operations
5aabf06712c2 crypto: rockchip - fix scatterlist nents error
3c5d7703bbd0 crypto: ahash - fix another early termination in hash walk
1a10e6b5bb34 crypto: cfb - remove bogus memcpy() with src == dest
0b1871d041d3 crypto: cfb - add missing 'chunksize' property
6ed42ccca59d crypto: ccree - don't copy zero size ciphertext
0bdd345a3848 crypto: ccree - unmap buffer before copying IV
009eeb9878b4 crypto: ccree - fix free of unallocated mlli buffer
6f4c11b09770 crypto: caam - fix DMA mapping of stack memory
74fd74e1fc8d crypto: caam - fixed handling of sg list
ce36d9fafb43 crypto: ccree - fix missing break in switch statement
32eeecf7ac87 crypto: caam - fix hash context DMA unmap size
dd6ce0316e70 stm class: Fix an endless loop in channel allocation
a253d1f3e490 mei: bus: move hw module get/put to probe/release
02c0c70fb36e mei: hbm: clean the feature flags on link reset
dbcb0a590ecb iio: adc: exynos-adc: Fix NULL pointer exception on unbind
3f44122e065c ASoC: codecs: pcm186x: Fix energysense SLEEP bit
7d9e07582a7f ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
098e0f89a341 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
85bdc9daff40 9p/net: fix memory leak in p9_client_create
e08ba890dc29 9p: use inode->i_lock to protect i_size_write() under 32-bit
573d423a9bd7 media: videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()
(From OE-Core rev: e27a34577c44cc9210ecc2e7b73329631757146a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable releases which comprise the following
commits:
8b298d3a0bd5 Linux 5.0.7
e73f145543fa kbuild: skip sub-make for in-tree build with GNU Make 4.x
d972d1c0d76d kbuild: add workaround for Debian make-kpkg
38d2286e52ea bcache: fix potential div-zero error of writeback_rate_p_term_inverse
ae050638bc97 ACPI / video: Extend chassis-type detection with a "Lunch Box" check
3e033b1b435a gpio: of: Restrict enable-gpio quirk to regulator-gpio
ae42fc868cd5 appletalk: Fix compile regression
a84b7c68966a net: stmmac: Avoid one more sometimes uninitialized Clang warning
36b39631cc85 drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
8826838f43fe drm: Reorder set_property_atomic to avoid returning with an active ww_ctx
0a2e1a5b583b ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id()
45040e92500c Input: soc_button_array - fix mapping of the 5th GPIO in a PNP0C40 device
1ad62489b25a staging: iio: adt7316: fix dac_bits assignment
2bece1d313aa dmaengine: tegra: avoid overflow of byte tracking
e84e0a8c3f22 clk: rockchip: fix frac settings of GPLL clock for rk3328
25fb6c323b55 ARM: shmobile: Fix R-Car Gen2 regulator quirk
9b0f430450cf clk: meson: clean-up clock registration
a644d2d28baf drm/fb-helper: fix leaks in error path of drm_fb_helper_fbdev_setup
c8a8dd1d85ca x86/build: Mark per-CPU symbols as absolute explicitly for LLD
38af5462fa51 wlcore: Fix memory leak in case wl12xx_fetch_firmware failure
ab79dc3ef024 brcmfmac: Use firmware_request_nowarn for the clm_blob
f836093a2eeb selinux: do not override context on context mounts
993f96415a72 x86/build: Specify elf_i386 linker emulation explicitly for i386 objects
16d4d75d8b6e drm/nouveau: Stop using drm_crtc_force_disable
bfb59eabe2c9 drm: Auto-set allow_fb_modifiers when given modifiers at plane init
778c82db727a pinctrl: meson: meson8b: add the eth_rxd2 and eth_rxd3 pins
1048bfd8bf67 regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting
e78d5e16f1d6 audit: hand taken context to audit_kill_trees for syscall logging
a43ea8ca1865 PCI: pciehp: Assign ctrl->slot_ctrl before writing it to hardware
e5d1f1c0148d media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
68ec6a13ef0d media: rcar-vin: Allow independent VIN link enablement
ebd0f3066c35 netfilter: physdev: relax br_netfilter dependency
d7e6e93b95f2 dmaengine: qcom_hidma: initialize tx flags in hidma_prep_dma_*
1bac8b82d95c dmaengine: qcom_hidma: assign channel cookie correctly
56d276b53614 dmaengine: imx-dma: fix warning comparison of distinct pointer types
964065d234c7 cpu/hotplug: Mute hotplug lockdep during init
8376acca6f18 pinctrl: sh-pfc: r8a77995: Fix MOD_SEL bit numbering
e848354f28b7 pinctrl: sh-pfc: r8a77990: Fix MOD_SEL bit numbering
9d7ff2ae8fd6 pinctrl: meson: fix G12A ao pull registers base address
e17a340f9598 hpet: Fix missing '=' character in the __setup() code of hpet_mmap_enable
283a29de66c3 f2fs: fix to initialize variable to avoid UBSAN/smatch warning
3d1a731bcec7 f2fs: UBSAN: set boolean value iostat_enable correctly
d9f59ff251b4 HID: intel-ish: ipc: handle PIMR before ish_wakeup also clear PISR busy_clear bit
931480457bb3 selftests/bpf: suppress readelf stderr when probing for BTF support
e01bc8baa867 soc/tegra: fuse: Fix illegal free of IO base address
bf381e06af42 hwrng: virtio - Avoid repeated init of completion
64ef5941a6f8 media: mt9m111: set initial frame size other than 0x0
9acd16abab23 perf script python: Add trace_context extension module to sys.modules
8febc5d31032 perf script python: Use PyBytes for attr in trace-event-python
8f4264f58eb8 perf trace: Fixup etcsnoop example
631e6859c9ac platform/x86: intel-hid: Missing power button release on some Dell models
3ea0a48aa080 usb: dwc3: gadget: Fix OTG events when gadget driver isn't loaded
bce56838a25d regulator: mcp16502: Include linux/gpio/consumer.h to fix build error
f8d78138dd55 ALSA: dice: add support for Solid State Logic Duende Classic/Mini
504dfdea9c39 drm/amd/display: Enable vblank interrupt during CRC capture
b32cff3dd086 powerpc/pseries: Perform full re-add of CPU for topology update post-migration
9ee0088f920b tty: increase the default flip buffer limit to 2*640K
d9c61474aa77 backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state
b8498a26ffdb cgroup/pids: turn cgroup_subsys->free() into cgroup_subsys->release() to fix the accounting
07232db69580 powerpc/64s: Clear on-stack exception marker upon exception return
cf651d7007c1 selftests/bpf: skip verifier tests for unsupported program types
08619450dbfe bpf: fix missing prototype warnings
8b3b22aa7c55 block, bfq: fix queue removal from weights tree
c581587af717 block, bfq: fix in-service-queue check for queue merging
721360c972a3 ARM: avoid Cortex-A9 livelock on tight dmb loops
34164dfc56a4 ARM: 8830/1: NOMMU: Toggle only bits in EXC_RETURN we are really care of
f7a2659378e7 mt7601u: bump supported EEPROM version
a1fc32156354 drm/msm/dpu: Convert to a chained irq chip
e0442dc492e5 soc: qcom: gsbi: Fix error handling in gsbi_probe()
65ae5c0808c7 efi/arm/arm64: Allow SetVirtualAddressMap() to be omitted
6416e05b8190 ARM: dts: lpc32xx: Remove leading 0x and 0s from bindings notation
897a3b9ef31d drm/vkms: Bugfix extra vblank frame
1c76c3cf3060 drm/vkms: Bugfix racing hrtimer vblank handle
5ca05ecd2954 sched/core: Use READ_ONCE()/WRITE_ONCE() in move_queued_task()/task_rq_lock()
4e634952fe74 efi/memattr: Don't bail on zero VA if it equals the region's PA
dd288d329d17 sched/debug: Initialize sd_sysctl_cpus if !CONFIG_CPUMASK_OFFSTACK
0da521452109 ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
8a838b44f70f iwlwifi: mvm: fix RFH config command with >=10 CPUs
9bd4debdd544 staging: spi: mt7621: Add return code check on device_reset()
3aa0518aacaa i2c: of: Try to find an I2C adapter matching the parent
c1ac30ee10cf platform/x86: intel_pmc_core: Fix PCH IP sts reading
b503ea08fe0d e1000e: Exclude device from suspend direct complete optimization
7f0a3a436e88 e1000e: fix cyclic resets at link up with active tx
4e4fba6d30f8 perf/aux: Make perf_event accessible to setup_aux()
81ee4eab3117 drm/amd/display: Disconnect mpcc when changing tg
c730d6c156c6 powerpc/ptrace: Mitigate potential Spectre v1
8e74000fd656 x86/kexec: Fill in acpi_rsdp_addr from the first kernel
90c93fbede11 bpf: test_maps: fix possible out of bound access warning
c60bf6e7594c drm/amd/display: Don't re-program planes for DPMS changes
ada81ebc5f35 drm: rcar-du: add missing of_node_put
7208136a41f9 cdrom: Fix race condition in cdrom_sysctl_register
e00ff3abfaaf fbdev: fbmem: fix memory access if logo is bigger than the screen
8e48664da19f net: phy: consider latched link-down status in polling mode
c230484a3767 iw_cxgb4: fix srqidx leak during connection abort
3e45ebf5a16c net: marvell: mvpp2: fix stuck in-band SGMII negotiation
c0ed04868506 genirq: Avoid summation loops for /proc/stat
c984b1e68b0c bcache: improve sysfs_strtoul_clamp()
5db086d7c05f bcache: fix potential div-zero error of writeback_rate_i_term_inverse
d4db0c5ee0b4 bcache: fix input overflow to sequential_cutoff
f48bb10d7615 bcache: fix input overflow to cache set sysfs file io_error_halflife
83a6f919bbb7 sched/topology: Fix percpu data types in struct sd_data & struct s_data
9738742e4e38 usb: f_fs: Avoid crash due to out-of-scope stack ptr access
db5177729062 ath10k: fix shadow register implementation for WCN3990
31f3d84c6d9f ALSA: PCM: check if ops are defined before suspending PCM
6c896df369d1 ARM: dts: meson8b: fix the Ethernet data line signals in eth_rgmii_pins
c716b08e06ca ARM: 8833/1: Ensure that NEON code always compiles with Clang
f74b0a4bf14c netfilter: conntrack: fix cloned unconfirmed skb->_nfct race in __nf_conntrack_confirm
c4ea4a79f8b2 kprobes: Prohibit probing on RCU debug routine
170d42947604 kprobes: Prohibit probing on bsearch()
34968a446c4e selftests: skip seccomp get_metadata test if not real root
7981a5b4df77 selftests: ir: fix warning: "%s" directive output may be truncated ’ directive output may be truncated
7b27cb19942e ACPI / video: Refactor and fix dmi_is_desktop()
4f9f04ca4f83 iwlwifi: pcie: fix emergency path
2392dcb54ad2 perf coresight: Do not test for libopencsd by default
528033f554c8 perf report: Add s390 diagnosic sampling descriptor size
59c09689808e perf trace: Check if the 'fd' is negative when mapping it to pathname
8b4fdbce8ca4 perf beauty waitid options: Fix up prefix showing logic
336eb093ba16 tools build: Add test-reallocarray.c to test-all.c to fix the build
17e987679232 tools build: Add -lrt to FEATURE_CHECK_LDFLAGS-libaio
1cbdd2401798 leds: lp55xx: fix null deref on firmware load failure
34cbc429c56d jbd2: fix race when writing superblock
9489ac42680c regulator: core: Take lock before applying system load
7440c206c38f drm/sched: Fix entities with 0 rqs.
aa6c9fcac011 efi: Fix build error due to enum collision between efi.h and ima.h
55d7152d37dc cgroup, rstat: Don't flush subtree root unless necessary
2fe8be270932 HID: intel-ish-hid: avoid binding wrong ishtp_cl_device
e6eef5240054 vfs: fix preadv64v2 and pwritev64v2 compat syscalls with offset == -1
a8254b01ca21 xen/gntdev: Do not destroy context while dma-bufs are in use
d6318df6b0cc gpio: of: Apply regulator-gpio quirk only to enable-gpios
7d361b8dbafe mt76: usb: do not run mt76u_queues_deinit twice
af1ef012b95f media: rockchip/vpu: Correct return type for mem2mem buffer helpers
d544b0856f3f media: mtk-jpeg: Correct return type for mem2mem buffer helpers
569ce17b4cd9 media: mx2_emmaprp: Correct return type for mem2mem buffer helpers
76499752191f media: s5p-g2d: Correct return type for mem2mem buffer helpers
8852dab94f04 media: rockchip/rga: Correct return type for mem2mem buffer helpers
9f31e32fd5a5 media: s5p-jpeg: Correct return type for mem2mem buffer helpers
21ad47c39835 media: sh_veu: Correct return type for mem2mem buffer helpers
a6d9661c5d16 media: ov7740: fix runtime pm initialization
ed83655ce8c2 SoC: imx-sgtl5000: add missing put_device()
a75ad663203b perf report: Don't shadow inlined symbol with different addr range
c3a8705881cc mwifiex: don't advertise IBSS features without FW support
aa8c73c8682f perf test: Fix failure of 'evsel-tp-sched' test on s390
16a94480fb03 drm/amd/display: Clear stream->mode_changed after commit
456736ab1b78 scsi: fcoe: make use of fip_mode enum complete
952613125def scsi: megaraid_sas: return error when create DMA pool failed
a3c1a668a014 s390/ism: ignore some errors during deregistration
5d1db4825e3c efi: cper: Fix possible out-of-bounds access
99bb2d19853a cpufreq: acpi-cpufreq: Report if CPU doesn't support boost technologies
4e7b5f9dc7a7 ASoC: qcom: Fix of-node refcount unbalance in qcom_snd_parse_of()
a332ad5f006f powerpc/44x: Force PCI on for CURRITUCK
4974ca47f15c perf annotate: Fix getting source line failure
1a4faefc4680 clk: fractional-divider: check parent rate only if flag is set
869a72e08b86 IB/mlx4: Increase the timeout for CM cache
55bbe8fa7bfd i2c: designware: Do not allow i2c_dw_xfer() calls while suspended
600c30ca6124 loop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part()
540f120998df platform/mellanox: mlxreg-hotplug: Fix KASAN warning
a21f5c44cb8e platform/x86: ideapad-laptop: Fix no_hw_rfkill_list for Lenovo RESCUER R720-15IKBN
e2427570b374 i2c: Allow recovery of the initial IRQ by an I2C client device.
6f93033d93d1 mlxsw: spectrum: Avoid -Wformat-truncation warnings
a782956c2a30 e1000e: Fix -Wformat-truncation warnings
cae3c93ad96b veth: Fix -Wformat-truncation
dd8ab7cdbcda net: hns3: fix setting of the hns reset_type for rdma hw errors
660b8b783aed net: dsa: mv88e6xxx: Add lockdep classes to fix false positive splat
f9cf94eca1be mmc: omap: fix the maximum timeout setting
895927dc1c6a btrfs: don't enospc all tickets on flush failure
8f6019b404c8 btrfs: qgroup: Make qgroup async transaction commit more aggressive
9a27e9ef2338 perf script: Handle missing fields with -F +..
565e4ecefeae ice: fix ice_remove_rule_internal vsi_list handling
b3425e19f614 net: dsa: mv88e6xxx: Default CMODE to 1000BaseX only on 6390X
13fe58e28c21 powerpc/hugetlb: Handle mmap_min_addr correctly in get_unmapped_area callback
957b2d2317e9 iommu/io-pgtable-arm-v7s: Only kmemleak_ignore L2 tables
af6366bb82e6 ARM: 8845/1: use unified assembler in c files
dbda5b6625bd ARM: 8840/1: use a raw_spinlock_t in unwind
8cada074059f serial: 8250_pxa: honor the port number from devicetree
1e084b9e2037 coresight: etm4x: Add support to enable ETMv4.2
8e28ed0b7b8d powerpc/xmon: Fix opcode being uninitialized in print_insn_powerpc
5e91baea2c1f ath10k: don't report unset rssi values to mac80211
33cb50fa0930 drm/amd/display: Fix reference counting for struct dc_sink.
29b55af8a429 btrfs: save drop_progress if we drop refs at all
e3e9d97396cd kbuild: make -r/-R effective in top Makefile for old Make versions
366a5ee958d0 kbuild: invoke syncconfig if include/config/auto.conf.cmd is missing
22efb9f2aeff scsi: core: replace GFP_ATOMIC with GFP_KERNEL in scsi_scan.c
b17b4bd79afc powerpc/powernv/ioda: Fix locked_vm counting for memory used by IOMMU tables
7fe45a018fb3 usb: chipidea: Grab the (legacy) USB PHY by phandle first
a133f9f7f96a tools/bpf: selftests: add map lookup to test_map_in_map bpf prog
547272b44afa crypto: cavium/zip - fix collision with generic cra_driver_name
1ee9d34d6861 crypto: crypto4xx - add missing of_node_put after of_device_is_available
2b52034346cd lockdep/lib/tests: Fix run_tests.sh
a73713e53323 ath10k: Fix the wrong updation of BW in tx_stats debugfs entry
e486c95f5d50 mt76: fix a leaked reference by adding a missing of_node_put
96e2fec0fd8c wil6210: check null pointer in _wil_cfg80211_merge_extra_ies
d8f775092499 PCI/PME: Fix hotplug/sysfs remove deadlock in pcie_pme_remove()
88f0ced0d75f mm/resource: Return real error codes from walk failures
6e33632946e4 tools lib traceevent: Fix buffer overflow in arg_eval
a1d9d2145c50 fs: fix guard_bio_eod to check for real EOD errors
dee200aba7dc ext4: fix bigalloc cluster freeing when hole punching under load
1d62e75a00bb jbd2: fix invalid descriptor block checksum
87f8ad583c79 iommu/vt-d: Disable ATS support on untrusted devices
b39898beee9d netfilter: conntrack: tcp: only close if RST matches exact sequence
8a0f1351bac1 PCI: mediatek: Fix memory mapped IO range size computation
fdb08cf7dbee netfilter: nf_tables: check the result of dereferencing base_chain->stats
dc8d8f83ea52 perf beauty msg_flags: Add missing %s lost when adding prefix suppression logic
d6dd80425f5d cifs: Fix NULL pointer dereference of devname
bcb99efab248 cifs: Accept validate negotiate if server return NT_STATUS_NOT_SUPPORTED
88596e78dae4 f2fs: fix to check inline_xattr_size boundary correctly
e3eea74f61a8 dm thin: add sanity checks to thin-pool and external snapshot creation
f2e34b4ff47e cifs: use correct format characters
64f336255228 kasan: fix kasan_check_read/write definitions
326ce03840eb page_poison: play nicely with KASAN
0326696a6769 fs/file.c: initialize init_files.resize_wait
902507dada43 f2fs: fix to data block override node segment by mistake
3667215198eb f2fs: do not use mutex lock in atomic context
e92a6db09700 ocfs2: fix a panic problem caused by o2cb_ctl
8783c35917b6 mm/slab.c: kmemleak no scan alien caches
f67cd526ce1d mm/vmalloc.c: fix kernel BUG at mm/vmalloc.c:512!
03bccbc025ed mm, mempolicy: fix uninit memory access
c59c60824a9a memcg: killed threads should not invoke memcg OOM killer
db5d8675b14a mm,oom: don't kill global init via memory.oom.group
66a4d4d03b7e docs/core-api/mm: fix user memory accessors formatting
34fa723765cf mm, swap: bounds check swap_info array accesses to avoid NULL derefs
57f5b77e9f46 mm/page_ext.c: fix an imbalance with kmemleak
93b7ebef7ee3 mm/cma.c: cma_declare_contiguous: correct err handling
90a70109697c mm/sparse: fix a bad comparison
60c86431ca4c perf c2c: Fix c2c report for empty numa node
11304c4b4ee4 x86/hyperv: Fix kernel panic when kexec on HyperV
34555ccacf94 iio: adc: fix warning in Qualcomm PM8xxx HK/XOADC driver
86aad65625cf scsi: hisi_sas: Fix a timeout race of driver internal and SMP IO
776de12b9f8f scsi: hisi_sas: Set PHY linkrate when disconnected
c5021aa17b05 libbpf: force fixdep compilation at the start of the build
267f65c94fb7 enic: fix build warning without CONFIG_CPUMASK_OFFSTACK
aaad69802e17 net: stmmac: Avoid sometimes uninitialized Clang warnings
4e4d49798d86 sysctl: handle overflow for file-max
fd9317a3e2a0 include/linux/relay.h: fix percpu annotation in struct rchan
c7c82cea6985 gpio: gpio-omap: fix level interrupt idling
90833d08ffa5 clk: ti: clkctrl: Fix clkdm_name regression for TI_CLK_CLKCTRL_COMPAT
b48475a66ef5 xsk: fix to reject invalid flags in xsk_bind
3cac5ce088c2 net/mlx5: Avoid panic when setting vport mac, getting vport config
a1126c2008a3 net/mlx5: Avoid panic when setting vport rate
d1e83bda0c30 net/mlx5e: Fix access to non-existing receive queue
043a440018e3 tracing: kdb: Fix ftdump to not sleep
4c6df358aa87 apparmor: fix double free when unpack of secmark rules fails
a98984da006b f2fs: fix to avoid deadlock in f2fs_read_inline_dir()
8d661a663048 f2fs: fix to adapt small inline xattr space in __find_inline_xattr()
e56d6fa7acf3 h8300: use cc-cross-prefix instead of hardcoding h8300-unknown-linux-
1eaf6713c5b3 nvme-loop: init nvmet_ctrl fatal_err_work when allocate
32b73dc525a1 nvme-fc: fix numa_node when dev is null
fae38f280334 CIFS: fix POSIX lock leak and invalid ptr deref
dc2b4d4ab0ae ext4: cleanup bh release code in ext4_ind_remove_space()
820c1fa51501 Linux 5.0.6
debaa517c16c mt76x02u: use usb_bulk_msg to upload firmware
046098f056e2 bpf: do not restore dst_reg when cur_state is freed
b54f0c4976e7 KVM: x86: update %rip after emulating IO
cc3f680dd076 KVM: x86: Emulate MSR_IA32_ARCH_CAPABILITIES on AMD hosts
d50d46e303d4 KVM: Reject device ioctls from processes other than the VM's creator
8c0823aa123b x86/smp: Enforce CONFIG_HOTPLUG_CPU when SMP=y
c3bcf0314665 cpu/hotplug: Prevent crash when CPU bringup fails on CONFIG_HOTPLUG_CPU=n
53464ca9130b watchdog: Respect watchdog cpumask on CPU hotplug
1a0ecfd4e633 powerpc/pseries/mce: Fix misleading print for TLB mutlihit
4a2b2d5dc8fa powerpc/64: Fix memcmp reading past the end of src/dest
e92932ef2862 powerpc/pseries/energy: Use OF accessor functions to read ibm,drc-indexes
8f84f7daabb2 objtool: Query pkg-config for libelf location
a0de19f1c307 perf intel-pt: Fix TSC slip
c9418d0addb0 perf pmu: Fix parser error for uncore event alias
8ad454a831e0 mm/migrate.c: add missing flush_dcache_page for non-mapped page migrate
8a86a416c948 mm/page_isolation.c: fix a wrong flag in set_migratetype_isolate()
77a5258a57e7 mm/memory_hotplug.c: fix notification in offline error path
2b57282beb60 mm/debug.c: fix __dump_page when mapping->host is not set
8b2f31de5d15 mm: mempolicy: make mbind() return -EIO when MPOL_MF_STRICT is specified
467c01f2deea iommu/io-pgtable-arm-v7s: request DMA32 memory, and improve debugging
ed3886c7d9f2 mm: add support for kmem caches in DMA32 zone
eef9dbbad03f mm/hotplug: fix offline undo_isolate_page_range()
d26254c4e7ca usb: typec: Fix unchecked return value
a3bed8b549ec usb: typec: tcpm: Try PD-2.0 if sink does not respond to 3.0 source-caps
402f57808b9a usb: cdc-acm: fix race during wakeup blocking TX traffic
c7a5ef0d64f4 xhci: Don't let USB3 ports stuck in polling state prevent suspend
448c39c360ef usb: xhci: dbc: Don't free all memory with spinlock held
c08a998dec55 xhci: Fix port resume done detection for SS ports with LPM enabled
8e70eae1816b usb: host: xhci-rcar: Add XHCI_TRUST_TX_LENGTH quirk
40b8282f9009 mm/memory.c: fix modifying of page protection by insert_pfn()
08213ad7465f usb: common: Consider only available nodes for dr_mode
80ff12631ba5 USB: gadget: f_hid: fix deadlock in f_hidg_write()
8f00b32d3991 usb: mtu3: fix EXTCON dependency
dbc206874d67 phy: sun4i-usb: Support set_mode to USB_HOST for non-OTG PHYs
494d26aa3915 gpio: adnp: Fix testing wrong value in adnp_gpio_direction_input
aa2250dec6ee gpio: exar: add a check for the return value of ida_simple_get fails
673bc99a6708 drm/i915/icl: Fix the TRANS_DDI_FUNC_CTL2 bitfield macro
25c939a9a594 drm/i915/gvt: Fix MI_FLUSH_DW parsing with correct index check
9241bd9b6401 drm/i915: Mark AML 0x87CA as ULX
0baddc2099dd drm/vkms: fix use-after-free when drm_gem_handle_create() fails
18e8f0f379a5 drm/vgem: fix use-after-free when drm_gem_handle_create() fails
5f0bf5cd357d cpufreq: scpi: Fix use after free
7466a2abe757 cpufreq: intel_pstate: Also use CPPC nominal_perf for base_frequency
0dcb45879a5f blk-mq: fix sbitmap ws_active for shared tags
50076360f4a0 drivers/block/zram/zram_drv.c: fix idle/writeback string compare
79d8bdf334d6 fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links
e44461a50380 Disable kgdboc failed by echo space to /sys/module/kgdboc/parameters/kgdboc
c6ed8bf0ad03 ACPI / CPPC: Fix guaranteed performance handling
72c1487ea0a4 USB: serial: option: add Olicard 600
623533deabb1 USB: serial: option: add support for Quectel EM12
b7a0e2163e0d USB: serial: option: set driver_info for SIM5218 and compatibles
4503b17ed496 USB: serial: mos7720: fix mos_parport refcount imbalance on error path
639f52d29012 USB: serial: ftdi_sio: add additional NovaTech products
7790bb1039fb USB: serial: cp210x: add new device id
4fc867dd92cb serial: sh-sci: Fix setting SCSCR_TIE while transferring data
e39ecf48678e serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference
763eafe0dbf5 serial: max310x: Fix to avoid potential NULL pointer dereference
198b7b7fb6b6 staging: erofs: keep corrupted fs from crashing kernel in erofs_readdir()
22a76cf6a5eb staging: erofs: fix error handling when failed to read compresssed data
a0fdd9036176 staging: erofs: fix to handle error path of erofs_vmap()
be3d49395af0 staging: vt6655: Fix interrupt race condition on device start up.
37fc532d4d58 staging: vt6655: Remove vif check from vnt_interrupt
7d9cd1961a50 staging: speakup_soft: Fix alternate speech with other synths
de6283bc5caf staging: olpc_dcon_xo_1: add missing 'const' qualifier
da418a0b0963 staging: comedi: ni_mio_common: Fix divide-by-zero for DIO cmdtest
5bff7cb2bc89 tty: serial: qcom_geni_serial: Initialize baud in qcom_geni_console_setup
36e47853d0e9 tty: atmel_serial: fix a potential NULL pointer dereference
ade797815046 tty: mxs-auart: fix a potential NULL pointer dereference
35070431105f tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped
70691073d296 tty/serial: atmel: Add is_half_duplex helper
d5845d77e9e1 drm/rockchip: vop: reset scale mode when win is disabled
631d09fd0856 scsi: zfcp: fix scsi_eh host reset with port_forced ERP for non-NPIV FCP devices
e188df764406 scsi: zfcp: fix rport unblock if deleted SCSI devices on Scsi_Host
143982417ad3 scsi: sd: Quiesce warning if device does not report optimal I/O size
98163d192bc5 scsi: sd: Fix a race between closing an sd device and sd I/O
310891a84396 ocfs2: fix inode bh swapping mixup in ocfs2_reflink_inodes_lock
f2391e6767a6 fs/open.c: allow opening only regular files during execve()
95d78fc93943 kbuild: modversions: Fix relative CRC byte order interpretation
a6c74dcb5909 ALSA: hda/realtek - Fix speakers on Acer Predator Helios 500 Ryzen laptops
f2b1bfbc173a ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256
c03c547b07d9 ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256
dd1774f3d0cd ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256
c672af11fbb0 ALSA: hda/realtek - Add support for Acer Aspire E5-523G/ES1-432 headset mic
12af8b3d94eb ALSA: hda/realtek: Enable headset MIC of Acer Aspire Z24-890 with ALC286
9635b3bf1a5f ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
b6de98dcc02e ALSA: hda/realtek - Add support headset mode for New DELL WYSE NB
8da540f343aa ALSA: hda/realtek - Add support headset mode for DELL WYSE AIO
545d1fe70648 ALSA: hda/realtek: merge alc_fixup_headset_jack to alc295_fixup_chromebook
c87a0bb99b83 ALSA: hda/realtek - Fixed Headset Mic JD not stable
56e3785b579b ALSA: pcm: Don't suspend stream in unrecoverable PCM state
94176d2a1d2b ALSA: pcm: Fix possible OOB access in PCM oss plugins
a30c0ff829c6 ALSA: seq: oss: Fix Spectre v1 vulnerability
abe5b0a76de9 ALSA: rawmidi: Fix potential Spectre v1 vulnerability
ce1ae80cacf7 net: dsa: qca8k: remove leftover phy accessors
0110524398bb NFSv4.1 don't free interrupted slot on open
e37c15d77d68 NFS: fix mount/umount race in nlmclnt.
7a4cdaf977c2 NFS: Fix nfs4_lock_state refcounting in nfs4_alloc_{lock,unlock}data()
bd01ab90e8a5 vfio: ccw: only free cp on final interrupt
73d6cb884532 powerpc: bpf: Fix generation of load/store DW instructions
a2216e2d0751 ARM: imx6q: cpuidle: fix bug that CPU might not wake up at expected time
8bf47766a9f9 tracing: initialize variable in create_dyn_event()
7bcb002431ba locks: wake any locks blocked on request before deadlock check
3ba84d2d7581 Btrfs: fix assertion failure on fsync with NO_HOLES enabled
84104398e6f3 btrfs: Avoid possible qgroup_rsv_size overflow in btrfs_calculate_inode_block_rsv_size
e3a605636a80 btrfs: Fix bound checking in qgroup_trace_new_subtree_blocks
4a0584a21542 btrfs: raid56: properly unmap parity page in finish_parity_scrub()
da2dea634c22 btrfs: don't report readahead errors and don't update statistics
70c88bf99441 btrfs: remove WARN_ON in log_dir_items
ab0600d45dd9 Btrfs: fix incorrect file size after shrinking truncate and fsync
0253563b8be5 powerpc/fsl: Fix the flush of branch predictor.
bb06073a9cad tun: add a missing rcu_read_unlock() in error path
d01bf3762e29 ila: Fix rhashtable walker list corruption
4951fc65d915 r8169: fix cable re-plugging issue
fc8f36de7711 net: phy: don't clear BMCR in genphy_soft_reset
aa3f1b029e4b net: mii: Fix PAUSE cap advertisement from linkmode_adv_to_lcl_adv_t() helper
d9c13ecbf7c5 net: dsa: mv88e6xxx: fix few issues in mv88e6390x_port_set_cmode
98bfc778c5d9 thunderx: eliminate extra calls to put_page() for pages held for recycling
10792c33d060 thunderx: enable page recycling for non-XDP case
0c421524c1f1 vxlan: Don't call gro_cells_destroy() before device is unregistered
1a44391e1d03 vrf: prevent adding upper devices
e269f5f55c06 tun: properly test for IFF_UP
9868ffd44b25 tipc: fix cancellation of topology subscriptions
e13fbdf6e872 tipc: change to check tipc_own_id to return in tipc_net_stop
30e2a9a38d0c tipc: allow service ranges to be connect()'ed on RDM/DGRAM
632f3ed848bc tcp: do not use ipv6 header for ipv4 flow
118ad2c7de1d sctp: use memdup_user instead of vmemdup_user
d2af0ce54b1c sctp: get sctphdr by offset in sctp_compute_cksum
5a336f69cfa0 rhashtable: Still do rehash when we get EEXIST
278c7d7e4ecb packets: Always register packet sk in the same order
970d4fb2a231 net: usb: aqc111: Extend HWID table by QNAP device
566e793d051f net-sysfs: call dev_hold if kobject_init_and_add success
1b925f484028 net: stmmac: fix memory corruption with large MTUs
8cf288b55da9 net: rose: fix a possible stack overflow
baa14468e57d net: phy: meson-gxl: fix interrupt support
3ca86ad4e57a net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec
475af63497f8 net: datagram: fix unbounded loop in __skb_try_recv_datagram()
017c90da5d8f net: aquantia: fix rx checksum offload for UDP/TCP over IPv6
3e5c1acf0637 mISDN: hfcpci: Test both vendor & device ID for Digium HFC4S
780e62a6a021 mac8390: Fix mmio access size probe
282c70c23454 ipv6: make ip6_create_rt_rcu return ip6_null_entry instead of NULL
8122233e877a gtp: change NET_UDP_TUNNEL dependency to select
bd60a788b10b genetlink: Fix a memory leak on error path
3b58f24bdfec dccp: do not use ipv6 header for ipv4 flow
400dded59397 netfilter: nf_tables: fix set double-free in abort path
a556547bae00 Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer
8dac9b8d27b5 Bluetooth: Check L2CAP option sizes returned from l2cap_get_conf_opt
(From OE-Core rev: ccf8683a604d05be16c8bad635ef8eb136c7df5d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the -r3 release, which has the following rt specific
fixes:
printk: An all-in-one commit to fix build failures
powerpc/stackprotector: work around stack-guard init from atomic
powerpc/pseries/iommu: Use a locallock instead local_irq_save()
powerpc: reshuffle TIF bits
tty/sysrq: Convert show_lock to raw_spinlock_t
(From OE-Core rev: be0ea6e6a3f5021f923fd57725ec204cf2f8f2c9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the latest korg -stable releases which comprise the
following commits:
1f6f316a537d Linux 5.0.5
a57af6d07512 ALSA: hda - Enforces runtime_resume after S3 and S4 for each codec
6c77789fb46e ALSA: hda - Record the current power state before suspend/resume calls
8bc3816d6566 locking/lockdep: Add debug_locks check in __lock_downgrade()
0830cf62f529 x86/unwind: Add hardcoded ORC entry for NULL
0312f3032e35 x86/unwind: Handle NULL pointer calls better in frame unwinder
1e641e63fe0c loop: access lo_backing_file only when the loop device is Lo_bound
da75d3775401 netfilter: ebtables: remove BUGPRINT messages
a179695eddd9 aio: simplify - and fix - fget/fput for io_submit()
1c0fc5e9cb40 f2fs: fix to avoid deadlock of atomic file operations
648562c0a958 RDMA/cma: Rollback source IP address if failing to acquire device
244594c5f5c8 drm/vkms: Fix flush_work() without INIT_WORK().
35228ce61a81 Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto()
c8d311117c3e Bluetooth: hci_ldisc: Initialize hci_dev before open()
4d18023ade55 Bluetooth: Fix decrementing reference count twice in releasing socket
572ae5c7646b Bluetooth: hci_uart: Check if socket buffer is ERR_PTR in h4_recv_buf()
c35a32eb2339 media: v4l2-ctrls.c/uvc: zero v4l2_event
c29313c07f2d ext4: brelse all indirect buffer in ext4_ind_remove_space()
f1902fd02d56 ext4: fix data corruption caused by unaligned direct AIO
635218fee409 ext4: fix NULL pointer dereference while journal is aborted
5b099547f29d ALSA: ac97: Fix of-node refcount unbalance
1fa1bfef5f4c ALSA: hda - Don't trigger jackpoll_work in azx_resume
2b1cf1a17a41 SMB3: Fix SMB3.1.1 guest mounts to Samba
809ecabb6d41 clocksource/drivers/riscv: Fix clocksource mask
70c1b15faf8b irqchip/gic-v3-its: Fix comparison logic in lpi_range_cmp
dfa011546d27 objtool: Move objtool_file struct off the stack
198092b82db3 perf probe: Fix getting the kernel map
3bff3aabd586 cifs: allow guest mounts to work for smb3.11
8dfb1e702caa futex: Ensure that futex address is aligned in handle_futex_death()
72b8c5492f48 scsi: ibmvscsi: Fix empty event pool access during host removal
bc1bf16d7def scsi: ibmvscsi: Protect ibmvscsi_head from concurrent modificaiton
e109bf21f4c6 scsi: qla2xxx: Fix FC-AL connection target discovery
abe481cfe983 scsi: core: Avoid that a kernel warning appears during system resume
e846d79bc1ba net/mlx5: Fix DCT creation bad flow
62362ccdd45c powerpc/security: Fix spectre_v2 reporting
7f5ffb4c7a71 powerpc/vdso64: Fix CLOCK_MONOTONIC inconsistencies across Y2038
9e063d979422 MIPS: Fix kernel crash for R6 in jump label branch function
de21552cc848 MIPS: Ensure ELF appended dtb is relocated
63703e8fd2af mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
e88f693e6e8d udf: Fix crash on IO error during truncate
48cce130d485 libceph: wait for latest osdmap in ceph_monc_blacklist_add()
027584c8ef01 iommu/iova: Fix tracking of recently failed iova address
98e2c51c1ac3 iommu/amd: fix sg->dma_address for sg->offset bigger than PAGE_SIZE
0c113ec08d71 drm/vmwgfx: Return 0 when gmrid::get_node runs out of ID's
5618b16763ce drm/vmwgfx: Don't double-free the mode stored in par->set_mode
109f5f9dff14 drm/amdgpu: fix invalid use of change_bit
cdb57f82a4bc mmc: renesas_sdhi: limit block count to 16 bit for old revisions
1494408bf863 mmc: mxcmmc: "Revert mmc: mxcmmc: handle highmem pages"
7e682a01b111 mmc: alcor: fix DMA reads
cc8cd197411b mmc: pxamci: fix enum type confusion
ae833c3eefaf ALSA: firewire-motu: use 'version' field of unit directory to identify model
3c09233b5dee ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist
239cc2c5a3c8 Linux 5.0.4
87e728e85559 SUNRPC: Respect RPC call timeouts when retrying transmission
f6716abfd12b SUNRPC: Fix up RPC back channel transmission
aed54941cf9e SUNRPC: Prevent thundering herd when the socket is not connected
1b2f5d715bbc s390/setup: fix boot crash for machine without EDAT-1
09bfb45ed842 net: dsa: lantiq_gswip: fix OF child-node lookups
8d244127d25f net: dsa: lantiq_gswip: fix use-after-free on failed probe
4e126cbd4f06 KVM: nVMX: Check a single byte for VMCS "launched" in nested early checks
5de7f6cd6aeb KVM: nVMX: Ignore limit checks on VMX instructions using flat segments
f88f29f81d59 KVM: nVMX: Apply addr size mask to effective address for VMX instructions
64d259a70642 KVM: nVMX: Sign extend displacements of VMX instr's mem operands
1e42327adb8d KVM: x86/mmu: Do not cache MMIO accesses while memslots are in flux
c173d5417a11 KVM: x86/mmu: Detect MMIO generation wrap in any address space
5221117cd414 KVM: VMX: Zero out *all* general purpose registers after VM-Exit
cf8d03a4fe59 KVM: VMX: Compare only a single byte for VMCS' "launched" in vCPU-run
e1bdcf061b48 KVM: Call kvm_arch_memslots_updated() before updating memslots
c61d88f39491 drm/amd/display: don't call dm_pp_ function from an fpu block
ea7da9ef23a0 drm/amd/powerplay: correct power reading on fiji
3bc65d729765 drm/radeon/evergreen_cs: fix missing break in switch statement
b78ee0965f86 drm/fb-helper: generic: Fix drm_fbdev_client_restore()
c7a35a9877b8 media: imx: csi: Stop upstream before disabling IDMA channel
145cab144d75 media: imx: csi: Disable CSI immediately after last EOF
e7a06193c52c media: imx-csi: Input connections to CSI should be optional
e7ae48ae4722 media: vimc: Add vimc-streamer for stream control
6932b9b4e677 media: uvcvideo: Avoid NULL pointer dereference at the end of streaming
202ed62dea70 media: sun6i: Fix CSI regmap's max_register
1d433d48516e media: lgdt330x: fix lock status reporting
f55d0cb10f5b media: imx: prpencvf: Stop upstream before disabling IDMA channel
9d032911a36c rcu: Do RCU GP kthread self-wakeup from softirq and interrupt
5d6f031fa782 tpm: Unify the send callback behaviour
65a2af7599c6 tpm/tpm_crb: Avoid unaligned reads in crb_recv()
f484e220df15 x86/ftrace: Fix warning and considate ftrace_jmp_replace() and ftrace_call_replace()
384dada74d37 x86/kvmclock: set offset for kvm unstable clock
9b236e3f79d9 md: Fix failed allocation of md_register_thread
99e5abb7b895 perf intel-pt: Fix divide by zero when TSC is not available
85c9f1fb8a81 perf/x86/intel/uncore: Fix client IMC events return huge result
6228a6e3516f perf intel-pt: Fix overlap calculation for padding
2354deae355b perf auxtrace: Define auxtrace record alignment
0f43fd4bdb74 perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols
99c7a8ec4387 perf intel-pt: Fix CYC timestamp calculation after OVF
a0203d4e717e x86/unwind/orc: Fix ORC unwind table alignment
194f1ecd4906 vt: perform safe console erase in the right order
c8d3a581742f stable-kernel-rules.rst: add link to networking patch queue
0b60b354b33a bcache: use (REQ_META|REQ_PRIO) to indicate bio for metadata
dddd539dc325 bcache: treat stale && dirty keys as bad keys
97cf758e172c bcache: never writeback a discard operation
a8ce88427a9b PM / OPP: Update performance state when freq == old_freq
c9c0e5f01245 PM / wakeup: Rework wakeup source timer cancellation
f03f5295caf0 svcrpc: fix UDP on servers with lots of threads
1363f37fbd24 NFSv4.1: Reinitialise sequence results before retransmitting a request
867ae74fb190 nfsd: fix wrong check in write_v4_end_grace()
f5bed084b482 nfsd: fix memory corruption caused by readdir
2ececa64d67a nfsd: fix performance-limiting session calculation
88f786a8e78a NFS: Don't recoalesce on error in nfs_pageio_complete_mirror()
4fe2a7fda78a NFS: Fix an I/O request leakage in nfs_do_recoalesce
e83b6ac7deed NFS: Fix I/O request leakages
b41991d86722 cpuidle: governor: Add new governors to cpuidle_governors again
6eea03f8c368 cpcap-charger: generate events for userspace
9cc42d068f57 mfd: sm501: Fix potential NULL pointer dereference
83df21c731e6 media: cx25840: mark pad sig_types to fix cx231xx init
b6246ffae5a0 dm integrity: limit the rate of error messages
dca22c59e47e dm: fix to_sector() for 32bit
a8964a63780c ipmi_si: fix use-after-free of resource->name
d3432e5d0831 ipmi_si: Fix crash when using hard-coded device
98ab3b877400 Revert "KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()"
bf5615991a91 arm64: KVM: Fix architecturally invalid reset value for FPEXC32_EL2
4b6d75b38664 arm64: debug: Ensure debug handlers check triggering exception level
4f771d8acc74 arm64: debug: Don't propagate UNKNOWN FAR into si_code for debug signals
9afab3b6b9c5 arm64: Fix HCR.TGE status for NMI contexts
8f67dd8570ac ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify
6a4c3ab2d53e powerpc/traps: Fix the message printed when stack overflows
24bf608e7438 powerpc/traps: fix recoverability of machine check handling on book3s/32
71bb4d024416 powerpc/smp: Fix NMI IPI xmon timeout
850a95bf2a46 powerpc/smp: Fix NMI IPI timeout
fcf1ca937f59 powerpc/hugetlb: Don't do runtime allocation of 16G pages in LPAR configuration
4ca936a49360 powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning
55b852a06fe1 powerpc: Fix 32-bit KVM-PR lockup and host crash with MacOS guest
651db1461793 powerpc/64s/hash: Fix assert_slb_presence() use of the slbfee. instruction
702c1ab420ab powerpc/powernv: Don't reprogram SLW image on every KVM guest entry/exit
f7d68a102ad4 powerpc/kvm: Save and restore host AMR/IAMR/UAMOR
3b218d244482 powerpc/83xx: Also save/restore SPRG4-7 during suspend
16ee62368aaa powerpc/powernv: Make opal log only readable by root
8d2cc8c1c4fe powerpc/wii: properly disable use of BATs when requested.
d0d33e87d143 powerpc/32: Clear on-stack exception marker upon exception return
232aa30f16b9 security/selinux: fix SECURITY_LSM_NATIVE_LABELS on reused superblock
7e30471146d2 selinux: add the missing walk_size + len check in selinux_sctp_bind_connect
f9897a30deb7 jbd2: fix compile warning when using JBUFFER_TRACE
8c343062c8fa jbd2: clear dirty flag when revoking a buffer from an older transaction
bb47633ab15e serial: 8250_pci: Have ACCES cards that use the four port Pericom PI7C9X7954 chip use the pci_pericom_setup()
7271438208b6 serial: 8250_pci: Fix number of ports for ACCES serial cards
c7388ba10902 serial: 8250_of: assume reg-shift of 2 for mrvl,mmp-uart
fa4d0361304f serial: uartps: Fix stuck ISR if RX disabled with non-empty FIFO
37fe1d56aa2c dmaengine: usb-dmac: Make DMAC system sleep callbacks explicit
39367147f046 usb: typec: tps6598x: handle block writes separately with plain-I2C adapters
07e326fd07d7 usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
f11fa22a7a5f clk: ingenic: Fix doc of ingenic_cgu_div_info
7d4966247a99 clk: ingenic: Fix round_rate misbehaving with non-integer dividers
1a29715073a1 clk: samsung: exynos5: Fix kfree() of const memory on setting driver_override
7da58ad824b1 clk: samsung: exynos5: Fix possible NULL pointer exception on platform_device_alloc() failure
d9d7760c1e45 clk: clk-twl6040: Fix imprecise external abort for pdmclk
a712a38100b5 clk: uniphier: Fix update register for CPU-gear
e1ac00773456 ext2: Fix underflow in ext2_max_size()
96728f35572e cxl: Wrap iterations over afu slices inside 'afu_list_lock'
25636de95557 IB/rdmavt: Fix concurrency panics in QP post_send and modify to error
ada60723d7cd IB/rdmavt: Fix loopback send with invalidate ordering
c8a23dfeb2d6 IB/hfi1: Close race condition on user context disable and close
2b9ef0bedaac PCI: pci-bridge-emul: Extend pci_bridge_emul_init() with flags
d011c7871d16 PCI: pci-bridge-emul: Create per-bridge copy of register behavior
ee0bf8d6e7fc PCI: pciehp: Disable Data Link Layer State Changed event on suspend
0d5bc50f524a PCI: dwc: skip MSI init if MSIs have been explicitly disabled
63a9e7ce6624 PCI: qcom: Don't deassert reset GPIO during probe
eafa704de27b PCI/DPC: Fix print AER status in DPC event handling
bae1cf68370d PCI/ASPM: Use LTR if already enabled by platform
4e9f8e86d6c7 swiotlb: Add is_swiotlb_active() function
a4eeaa9cc9da swiotlb: Introduce swiotlb_max_mapping_size()
38c3a86a8226 dma: Introduce dma_max_mapping_size()
db8913b46d74 ext4: fix crash during online resizing
edc0bf6532ba ext4: add mask of ext4 flags to swap
7c2cfdf99ae9 ext4: update quota information while swapping boot loader inode
ef2dfe6f8c82 gpio: pca953x: Fix dereference of irq data in shutdown
13cef9edc45b media: i2c: ov5640: Fix post-reset delay
8b82d499df87 i2c: tegra: update maximum transfer size
986d964baaaa i2c: tegra: fix maximum transfer size
775bd984147e parport_pc: fix find_superio io compare code, should use equal test.
d91315e99c55 intel_th: Don't reference unassigned outputs
1a1d6860c539 device property: Fix the length used in PROPERTY_ENTRY_STRING()
9a638bb82ff5 nvmem: core: don't check the return value of notifier chain call
d09e7041330b kernel/sysctl.c: add missing range check in do_proc_dointvec_minmax_conv
9a842b43e4b8 mm/memory.c: do_fault: avoid usage of stale vm_area_struct
8df6ab770e20 mm/vmalloc: fix size check for remap_vmalloc_range_partial()
84fe80428739 mm: hwpoison: fix thp split handing in soft_offline_in_use_page()
7a34997043f1 ext4: cleanup pagecache before swap i_data
a0f6f657ac44 ext4: fix check of inode in swap_inode_boot_loader
f9308e46e02b cpufreq: pxa2xx: remove incorrect __init annotation
272b28097c30 cpufreq: tegra124: add missing of_node_put()
144c3557b1e1 cpufreq: kryo: Release OPP tables on module removal
737f4ead9606 x86/kprobes: Prohibit probing on optprobe template code
dbbb26db8938 irqchip/brcmstb-l2: Use _irqsave locking variants in non-interrupt code
830d66c95e02 irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
bd05a30753eb libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer
028cbca07ab5 soc: qcom: rpmh: Avoid accessing freed memory from batch API
1098803b8cb7 Btrfs: fix deadlock between clone/dedupe and rename
3486142a68e3 Btrfs: fix corruption reading shared and compressed extents after hole punching
ebbb48419e8a btrfs: init csum_list before possible free
88e610ae4c3a btrfs: ensure that a DUP or RAID1 block group has exactly two stripes
9c58f2ada4fa btrfs: drop the lock on error in btrfs_dev_replace_cancel
fb9c36acfab1 btrfs: scrub: fix circular locking dependency warning
9d7b327affb8 Btrfs: setup a nofs context for memory allocation at __btrfs_set_acl
80dcd07c27df Btrfs: setup a nofs context for memory allocation at btrfs_create_tree()
98bb142aaff2 m68k: Add -ffreestanding to CFLAGS
3381b362f74c ovl: Do not lose security.capability xattr over metadata file copy-up
0fa6688a2882 ovl: During copy up, first copy up data and then xattrs
ef02f9fe5148 splice: don't merge into linked buffers
61d06e123502 fs/devpts: always delete dcache dentry-s in dput()
a15cf4d9a622 scsi: qla2xxx: Use complete switch scan for RSCN events
f54e2394acf7 scsi: qla2xxx: Avoid PCI IRQ affinity mapping when multiqueue is not supported
54e834ee7a6e scsi: qla2xxx: Fix LUN discovery if loop id is not assigned yet by firmware
7d6d14a119c8 scsi: target/iscsi: Avoid iscsit_release_commands_from_conn() deadlock
6c922faf889a scsi: sd: Optimal I/O size should be a multiple of physical block size
1ba35e5a3c5c scsi: aacraid: Fix performance issue on logical drives
bd1558978695 scsi: virtio_scsi: don't send sc payload with tmfs
ffd4a428a54e s390/virtio: handle find on invalid queue gracefully
39fdc16138b7 s390/setup: fix early warning messages
2aa8ab08c82c s390: vfio_ap: link the vfio_ap devices to the vfio_ap bus subsystem
4b280a0bfc6d clocksource/drivers/arch_timer: Workaround for Allwinner A64 timer instability
773b445425d6 clocksource/drivers/exynos_mct: Clear timer interrupt when shutdown
de90b88a20de clocksource/drivers/exynos_mct: Move one-shot check from tick clear to ISR
9d67c5e995da mt76: fix corrupted software generated tx CCMP PN
6b65a01d2dcc regulator: s2mpa01: Fix step values for some LDOs
60cb8b444fbf regulator: max77620: Initialize values for DT properties
4527a24a8f51 regulator: s2mps11: Fix steps for buck7, buck8 and LDO35
a34758ac6ad4 spi: spi-gpio: fix SPI_CS_HIGH capability
618491014846 spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
7406a055c507 spi: pxa2xx: Setup maximum supported DMA transfer length
5d919139baf9 spi: ti-qspi: Fix mmap read when more than one CS in use
4a9932c94626 mmc:fix a bug when max_discard is 0
aaf1e755f8f9 mmc: renesas_sdhi: Fix card initialization failure in high speed mode
351062f08fc1 mmc: sdhci-esdhc-imx: fix HS400 timing issue
cb1c7a9d2897 ACPI / device_sysfs: Avoid OF modalias creation for removed device
050b87cb66c6 xen: fix dom0 boot on huge systems
c0b8e1d95cbf vmw_balloon: release lock on error in vmballoon_reset()
020c90c694dc tracing/perf: Use strndup_user() instead of buggy open-coded version
aca126f4a451 tracing: Do not free iter->trace in fail path of tracing_open_pipe()
e5cde571ee5f tracing: Use strncpy instead of memcpy for string keys in hist triggers
c892f4ee3db2 smb3: make default i/o size for smb3 mounts larger
3eb2412dd9da CIFS: Fix read after write for files with read caching
c73a769b63fb CIFS: Do not skip SMB2 message IDs on send failures
a992916a9c89 CIFS: Do not reset lease state to NONE on lease break
75bbb83e80c7 CIFS: Fix leaking locked VFS cache pages in writeback retry
afaf9d664b0f crypto: arm64/aes-ccm - fix bugs in non-NEON fallback routine
741ae3caa62f crypto: arm64/aes-ccm - fix logical bug in AAD MAC handling
d78c34dfc288 crypto: x86/morus - fix handling chunked inputs and MAY_SLEEP
814ec1461901 crypto: x86/aesni-gcm - fix crash on empty plaintext
2e0e52c3d618 crypto: x86/aegis - fix handling chunked inputs and MAY_SLEEP
c9e34c3c34b9 crypto: testmgr - skip crc32c context test for ahash algorithms
c58580801420 crypto: skcipher - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
0173f7ca0e22 crypto: pcbc - remove bogus memcpy()s with src == dest
9cbfb0a8d1af crypto: morus - fix handling chunked inputs
c850ff289c4e crypto: hash - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
7007b2645f6e crypto: arm64/crct10dif - revert to C code for short inputs
d78abd635e6c crypto: arm64/aes-neonbs - fix returning final keystream block
844351fc03b0 crypto: arm/crct10dif - revert to C code for short inputs
e414d9bc86a7 crypto: aegis - fix handling chunked inputs
650b7246d460 crypto: aead - set CRYPTO_TFM_NEED_KEY if ->setkey() fails
781bcac5b199 fix cgroup_do_mount() handling of failure exits
2ac714d69197 libnvdimm: Fix altmap reservation size calculation
fefd9f16efc3 libnvdimm/pmem: Honor force_raw for legacy pmem regions
4b9d1f8b61e8 libnvdimm, pfn: Fix over-trim in trim_pfn_device()
dd40489f6751 libnvdimm/label: Clear 'updating' flag after label-set update
5fa9cb709adc nfit/ars: Attempt short-ARS even in the no_init_ars case
b3971c932d0d nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot
0c7979447489 acpi/nfit: Fix bus command validation
a2690301c976 nfit: acpi_nfit_ctl(): Check out_obj->type in the right place
59a0e57f0cd3 nfit: Fix nfit_intel_shutdown_status() command submission
9cd805133b84 dax: Flush partial PMDs correctly
c2ca8161971a crypto: rockchip - update new iv to device in multiple operations
e400988e1dae crypto: rockchip - fix scatterlist nents error
20af3634022b crypto: ahash - fix another early termination in hash walk
b03aa2833d56 crypto: ofb - fix handling partial blocks and make thread-safe
5d894501d423 crypto: cfb - remove bogus memcpy() with src == dest
64ae3c3d0c16 crypto: cfb - add missing 'chunksize' property
ded8d6308ffd crypto: ccree - don't copy zero size ciphertext
4fc9f0e1c9ff crypto: ccree - unmap buffer before copying IV
37ff06fd9cb5 crypto: ccree - fix free of unallocated mlli buffer
6e905e258c50 crypto: caam - fix DMA mapping of stack memory
e86dc780320e crypto: caam - fixed handling of sg list
4a18213573b8 crypto: ccree - fix missing break in switch statement
fce3d391401a crypto: caam - fix hash context DMA unmap size
9b2fdbdce1fb stm class: Fix an endless loop in channel allocation
2adb36ff325d stm class: Prevent division by zero
1cfec5613090 mei: bus: move hw module get/put to probe/release
55ced4559dbf mei: hbm: clean the feature flags on link reset
f644d56fe1d7 iio: adc: exynos-adc: Use proper number of channels for Exynos4x12
a52251155bab iio: adc: exynos-adc: Fix NULL pointer exception on unbind
61328520e0b6 ASoC: codecs: pcm186x: Fix energysense SLEEP bit
5bd4f972e594 ASoC: codecs: pcm186x: fix wrong usage of DECLARE_TLV_DB_SCALE()
a7abca8506b5 ASoC: fsl_esai: fix register setting issue in RIGHT_J mode
5ababa4e34db 9p/net: fix memory leak in p9_client_create
3cccba9a38d5 9p: use inode->i_lock to protect i_size_write() under 32-bit
(From OE-Core rev: 0e08b8dc419703e0b468ceb19ad5fa02cdad7584)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Java support was removed in upstream gcc 7.
(From OE-Core rev: 81551871b183f802ce3c1d0c8fb16479d9671a04)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is consistent with other compressors also using their
best compression.
xz is currently the option that offers best compression,
using settings even lower than the default is surprising
and makes it harder to choose the best available compression.
For anyone who cares about compression time using a different
option like gzip or bzip2 is the logical choice.
For decompression, better compressed is actually faster
to decompress.
(From OE-Core rev: 9718c2d3fbb3281274af4556b34b7bac21fc7774)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Having a native version of grub-editenv around can be useful for
setting the targets grub environment.
(From OE-Core rev: 25ead29f96eee47f565225bd2f0b4d0198405ccc)
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable security flash, get the build error. To fix this,
0003-extensions-format-security-fixes-in-libipt_icmp.patch is required.
(From OE-Core rev: 2e135cea41c1276566a7390320468d1925481558)
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This also fixes a dhcp breakage noticed by Enrico Scholz.
(From OE-Core rev: 64047300da42b2cf29026c0b570f91b58bab5e6a)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is done by concatenating the DTB with the kernels public key
to all built u-boot binaries. Furthermore the installation of all
the binaries is required.
(From OE-Core rev: bacb59079eb6ba7e43507a6d3a357341fb367f83)
Signed-off-by: Andreas Obergschwandtner <andreas.obergschwandtner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a new upstream release from the same stable branch
bringing new features and bugfixes (including CVE fixes).
COPYING changed http -> https.
configure no longer has a --without-libunistring-prefix option.
(From OE-Core rev: 64d1a8be539c003d920b33fd1ae1846da5bd99f9)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These have never been used in the BB manual and were an
artifact from copy-and-pasting the poky.ent file from
the main yocto-docs repo to this bb repo when the BB
manual was origially created. They are useless. I have
removed them.
(Bitbake rev: 3aaf8d6569beeee35ef9dc5021c4b1c2b6db7266)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 83faaf7b2a5f4fc4ae504b300134409e90389770.
This should never have merged as the change was rejected upstream and adding a library
to the ptest package resulted in it providing that SONAME which led to being
included in images like core-image-sato.
This in turn led to a ton of ptest failures in the 2.7 r1 QA report.
(From OE-Core rev: 303ac64b898e222904e6cbb88a59cd393b259c49)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patches were upstreammed.
License position in fccache.c was changed since code segment was moved
in the file.
Package requires uuid, therefore dependency on util-linux was added.
inherit gettext was added to fix:
...%s required but not in DEPENDS for file %s. Missing inherit gettext?
(From OE-Core rev: a03936d1bfd01afa320e289e3ba6e7a24979f196)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh patches.
Note:
6.0.0 is the last one to support autotools (needs explicit configure option),
newer versions will only support meson.
(From OE-Core rev: fe8349dcda28e35b24b5646301c381e7d8a9ec81)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Removed patch has been upstreamed.
Changelog:
- Fix issue with handling invalid gateway addresses.
- Fix issue with handling updates of default gateway.
- Fix issue with DHCP servers that require broadcast flag.
- Add support for option to use gateways as time servers.
- Add support for option to select default technology.
- Add support for Address Conflict Detection (ACD).
- Add support for IPv6 iptables management.
(From OE-Core rev: f3c5958268a6fb8146300e4c33512b9f9d3b3c1c)
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-Upgrade from libtirpc_1.0.3.bb to libtirpc_1.1.4.bb.
-Delete libtirpc/libtirpc-1.0.4-rc1.patch beacuse this patch has been
adopted in the high version.
(From OE-Core rev: c66ad450d7991c17221baae396044b7c50a71412)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@@ -28,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.")
$('#outdated-warning').html('Version '+release+' of the project is now considered obsolete, please select and use a more recent version');
$('#outdated-warning').css('padding','.5em');
}elseif(release!="dev"){
$.each(all_versions,function(version,title){
varseries=version.substr(0,3);
if(series==current_series&&version!=release){
$('#outdated-warning').html('This document is for outdated version '+release+', you should select the latest release version in this series, '+version+'.');
msg=msg+'\nIf this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:\nSRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"\nOtherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.\n'%(ud.md5_name,md5data,ud.sha256_name,sha256data)
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.