Adds LGPLv2.0+ license variation to match LGPLv2+.
(From OE-Core rev: d8c2b005fce3b335a81356961f9d12db98c16493)
Signed-off-by: Colin McAllister <colin.mcallister@garmin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Integrating the following commit(s) to linux-yocto/.:
1/2 [
Author: Bruce Ashfield
Email: bruce.ashfield@gmail.com
Subject: net/cfg: remove CONFIG_NET_SCH_CBQ
Date: Thu, 6 Jul 2023 12:39:20 -0400
commit 051d442098421c28c7 [net/sched: Retire CBQ qdisc] removes
CONFIG_NET_SCH_CBQ from the tree, so we drop it from our fragments.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
2/2 [
Author: Bruce Ashfield
Email: bruce.ashfield@gmail.com
Subject: cfg/net: remove CONFIG_NET_SCH_DSMARK
Date: Thu, 6 Jul 2023 12:42:07 -0400
commit bbe77c14ee6185a61b [net/sched: Retire dsmark qdisc] upstream
has removed CONFIG_NET_SCH_DSMARK so we drop it from our fragments
as well.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: ef686e3ee6e68c11eebe3a42465225bfa6d08e0b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
24489321d0cd Linux 5.4.273
b37f030486d5 regmap: Add missing map->bus check
55f8ea6731aa spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
59426454b812 bpf: report RCU QS in cpumap kthread
3ffe591b27fc rcu: add a helper to report consolidated flavor QS
2531f907d3e4 netfilter: nf_tables: do not compare internal table flags on updates
71002d9eb1ca ARM: dts: sun8i-h2-plus-bananapi-m2-zero: add regulator nodes vcc-dram and vcc1v2
94cb17e5cf3a octeontx2-af: Use separate handlers for interrupts
4f37d3a7e004 net/bnx2x: Prevent access to a freed page in page_pool
69f9f55891ef hsr: Handle failures in module init
f781fb5177cd rds: introduce acquire/release ordering in acquire/release_in_xmit()
84c510411e32 packet: annotate data-races around ignore_outgoing
889ed056eae7 hsr: Fix uninit-value access in hsr_get_node()
48cef94b6910 s390/vtime: fix average steal time calculation
305c31b9707d octeontx2-af: Use matching wake_up API variant in CGX command interface
b63362b317a8 usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin
254b27c4ae2d staging: greybus: fix get_channel_from_mode() failure path
f6bf49e76f05 serial: 8250_exar: Don't remove GPIO device on suspend
8dd52ab78fd3 rtc: mt6397: select IRQ_DOMAIN instead of depending on it
ca6279d1a1ee kconfig: fix infinite loop when expanding a macro at the end of file
a8cc354a8155 tty: serial: samsung: fix tx_empty() to return TIOCSER_TEMT
f1c9a0c33814 serial: max310x: fix syntax error in IRQ error message
bd2f4df25945 tty: vt: fix 20 vs 0x20 typo in EScsiignore
854ebf45a4dd afs: Revert "afs: Hide silly-rename files from userspace"
afcbba70bf55 NFS: Fix an off by one in root_nfs_cat()
bcc3ec2bdbda watchdog: stm32_iwdg: initialize default timeout
e95eeb7f7d8c net: sunrpc: Fix an off by one in rpc_sockaddr2uaddr()
3b8415daaad2 scsi: bfa: Fix function pointer type mismatch for hcb_qe->cbfn
2b38dbd7facd RDMA/device: Fix a race between mad_client and cm_client init
39b1af7bc99d scsi: csiostor: Avoid function pointer casts
6d5dc96b154b ALSA: usb-audio: Stop parsing channels bits when all channels are found.
d7ae7d126568 clk: Fix clk_core_get NULL dereference
a1129b09228f sparc32: Fix section mismatch in leon_pci_grpci
c8c038beb40c backlight: lp8788: Fully initialize backlight_properties during probe
8c351a9ef5f5 backlight: lm3639: Fully initialize backlight_properties during probe
12a0153f78c7 backlight: da9052: Fully initialize backlight_properties during probe
1c8d8c6b4e70 backlight: lm3630a: Don't set bl->props.brightness in get_brightness
40a89f1bc42d backlight: lm3630a: Initialize backlight_properties on init
bb9981f915b9 powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc.
a6e96cc26560 drm/msm/dpu: add division of drm_display_mode's hskew parameter
41eec45c7126 powerpc/hv-gpci: Fix the H_GET_PERF_COUNTER_INFO hcall return value checks
dfde84cc6c58 drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip
af37aed04997 media: ttpci: fix two memleaks in budget_av_attach
353f980a5d7a media: media/pci: rename VFL_TYPE_GRABBER to _VIDEO
fa83fca55cbe media: rename VFL_TYPE_GRABBER to _VIDEO
25f576552133 media: v4l2-core: correctly validate video and metadata ioctls
291cda0b805f media: go7007: fix a memleak in go7007_load_encoder
fa8b472952ef media: dvb-frontends: avoid stack overflow warnings with clang
d29ed08964ce media: pvrusb2: fix uaf in pvr2_context_set_notify
86c10c56f253 drm/amdgpu: Fix missing break in ATOM_ARG_IMM Case of atom_get_src_int()
23d57b99ca3f ASoC: meson: axg-tdm-interface: fix mclk setup without mclk-fs
8df143c608fc mtd: rawnand: lpc32xx_mlc: fix irq handler prototype
d9d4d1363bb1 mtd: maps: physmap-core: fix flash size larger than 32-bit
a8c73f0439f3 crypto: arm/sha - fix function cast warnings
4b6569e14226 mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref
ac1170674d54 mfd: syscon: Call of_node_put() only when of_parse_phandle() takes a ref
3472fa83d97e drm/tegra: put drm_gem_object ref on error in tegra_fb_create
f27aaaecf747 clk: hisilicon: hi3519: Release the correct number of gates in hi3519_clk_unregister()
44163c73b0dd PCI: Mark 3ware-9650SE Root Port Extended Tags as broken
9b074f2ed117 drm/mediatek: dsi: Fix DSI RGB666 formats and definitions
2e1120e48062 clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times
d2f3c762bad0 media: pvrusb2: fix pvr2_stream_callback casts
e9d391cc70d3 media: pvrusb2: remove redundant NULL check
013fb5051821 media: go7007: add check of return value of go7007_read_addr()
8c2e4efe1278 media: imx: csc/scaler: fix v4l2_ctrl_handler memory leak
cf9580863292 perf stat: Avoid metric-only segv
9e411c40bd1b ALSA: seq: fix function cast warnings
a0ae3335b365 drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode()
9df9108a9144 perf thread_map: Free strlist on normal path in thread_map__new_by_tid_str()
79ab81939318 PCI: switchtec: Fix an error handling path in switchtec_pci_probe()
00b07b4962fd quota: Fix rcu annotations of inode dquot pointers
49669f8e7eb0 quota: Fix potential NULL pointer dereference
ff29b5f9f019 quota: simplify drop_dquot_ref()
68435ffc1c1a clk: qcom: reset: Ensure write completion on reset de/assertion
026d3984a169 clk: qcom: reset: Commonize the de/assert functions
48846ddc715c clk: qcom: reset: support resetting multiple bits
7f82802d47b0 clk: qcom: reset: Allow specifying custom reset delay
f20c3270f3ed media: edia: dvbdev: fix a use-after-free
0175f2d34c85 media: v4l2-mem2mem: fix a memleak in v4l2_m2m_register_entity
8269ab16415f media: v4l2-tpg: fix some memleaks in tpg_alloc
2e6892b2be82 media: em28xx: annotate unchecked call to media_device_register()
639155da9bd1 perf evsel: Fix duplicate initialization of data->id in evsel__parse_sample()
e019d87e02f1 drm/amd/display: Fix potential NULL pointer dereferences in 'dcn10_set_output_transfer_func()'
1d4d67417353 perf record: Fix possible incorrect free in record__switch_output()
adc8a9167660 PCI/DPC: Print all TLP Prefixes, not just the first
daf21394f989 media: tc358743: register v4l2 async device only after successful setup
ba34d8a5aa85 dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
cc31a90eb79f drm/rockchip: lvds: do not overwrite error code
f1dfd026cdb5 drm: Don't treat 0 as -1 in drm_fixp2int_ceil
b061b28b66c6 drm/rockchip: inno_hdmi: Fix video timing
91dc47cd72f2 drm/tegra: output: Fix missing i2c_put_adapter() in the error handling paths of tegra_output_probe()
030d46f85971 drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe()
b4cb57ec2c2b drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()
e04e773fb868 drm/tegra: dsi: Make use of the helper function dev_err_probe()
85f28e98c5e8 gpu: host1x: mipi: Update tegra_mipi_request() to be node based
f05631a8525c drm/tegra: dsi: Add missing check for of_find_device_by_node
da7ece219710 dm: call the resume method on internal suspend
6070692ea3e6 dm raid: fix false positive for requeue needed during reshape
3b1e8a617eb0 nfp: flower: handle acti_netdevs allocation failure
e06f0d3f66e5 net/x25: fix incorrect parameter validation in the x25_getsockopt() function
26843eefcfdd net: kcm: fix incorrect parameter validation in the kcm_getsockopt) function
b9979cae626f udp: fix incorrect parameter validation in the udp_lib_getsockopt() function
1bd08e531473 l2tp: fix incorrect parameter validation in the pppol2tp_getsockopt() function
2e7f3cabc698 tcp: fix incorrect parameter validation in the do_tcp_getsockopt() function
fb6639c7489b net: hns3: fix port duplex configure error in IMP reset
ec6bb01e02cb net: ip_tunnel: make sure to pull inner header in ip_tunnel_rcv()
a9f5faf28e30 ipv6: fib6_rules: flush route cache when rule is changed
21e5fa4688e1 bpf: Fix stackmap overflow check on 32-bit arches
92c81fbb3ed2 bpf: Fix hashtab overflow check on 32-bit arches
8a8b6a24684b sr9800: Add check for usbnet_get_endpoints
54a03e4ac1a4 Bluetooth: hci_core: Fix possible buffer overflow
f6177a17236f Bluetooth: Remove superfluous call to hci_conn_check_pending()
03df15b579fc igb: Fix missing time sync events
141897c5b0d4 igb: move PEROUT and EXTTS isr logic to separate functions
8081d80a9255 mmc: wmt-sdmmc: remove an incorrect release_mem_region() call in the .remove function
bfa9d86d39a0 SUNRPC: fix some memleaks in gssx_dec_option_array
52018aa146e3 x86, relocs: Ignore relocations in .notes section
450ac90ed453 ACPI: scan: Fix device check notification handling
33b498a123af ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node
0655698da80a ARM: dts: imx6dl-yapp4: Fix typo in the QCA switch register address
8deafa61fbdc ARM: dts: imx6dl-yapp4: Move phy reset into switch node
174e3c8ee7de ARM: dts: arm: realview: Fix development chip ROM compatible value
de8abc894bbe net: ena: Remove ena_select_queue
f434eacad6bd net: ena: cosmetic: fix line break issues
a4fc14a6623d wifi: brcmsmac: avoid function pointer casts
6234e09e692e iommu/amd: Mark interrupt as managed
073b5bbb1361 bus: tegra-aconnect: Update dependency to ARCH_TEGRA
ea96bf3f8062 ACPI: processor_idle: Fix memory leak in acpi_processor_power_exit()
2eb2a5d6f5ed arm64: dts: qcom: msm8996: Pad addresses
a8f365065671 arm64: dts: qcom: msm8996: Move regulator consumers to db820c
1f685fa06c5e arm64: dts: qcom: msm8996: Use node references in db820c
adcf4eeb34de arm64: dts: qcom: db820c: Move non-soc entries out of /soc
6bbbd2fd086a bpf: Mark bpf_spin_{lock,unlock}() helpers with notrace correctly
6f51d61a4383 bpf: Factor out bpf_spin_lock into helpers.
cf0d888ea7a1 bpf: Add typecast to bpf helpers to help BTF generation
e1f7fef6e224 arm64: dts: mediatek: mt7622: add missing "device_type" to memory nodes
bea9573c795a wifi: libertas: fix some memleaks in lbs_allocate_cmd_buffer()
6fd90614971b net: blackhole_dev: fix build warning for ethh set but not used
ef036a0598fa af_unix: Annotate data-race of gc_in_progress in wait_for_unix_gc().
4bdfc38a983d sock_diag: annotate data-races around sock_diag_handlers[family]
76ac9c141e10 wifi: mwifiex: debugfs: Drop unnecessary error check for debugfs_create_dir()
e556006de4ea wifi: wilc1000: fix RCU usage in connect path
1bda3ff1fdb7 wifi: wilc1000: fix declarations ordering
8c6210d175eb wifi: b43: Disable QoS for bcm4331
12062b149f29 wifi: b43: Stop correct queue in DMA worker when QoS is disabled
c668f0f8255d b43: main: Fix use true/false for bool type
47ec637b118f wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled
31aaf17200c3 wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled
801be44049f8 b43: dma: Fix use true/false for bool type variable
88a9dffaec77 wifi: ath10k: fix NULL pointer dereference in ath10k_wmi_tlv_op_pull_mgmt_tx_compl_ev()
be269709808c timekeeping: Fix cross-timestamp interpolation for non-x86
fee4e84c4ea2 timekeeping: Fix cross-timestamp interpolation corner case decision
7cec7d83882c timekeeping: Fix cross-timestamp interpolation on counter wrap
1a54aa506b3b aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
72dacc72b25c fs/select: rework stack allocation hack for clang
44214d744be3 nbd: null check for nla_nest_start
772a7def9868 do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak
3f6186cc654c ASoC: wm8962: Fix up incorrect error message in wm8962_set_fll
9f27f4d5d1f4 ASoC: wm8962: Enable both SPKOUTR_ENA and SPKOUTL_ENA in mono mode
f1d3be9eb980 ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC
5f3c13930bda Input: gpio_keys_polled - suppress deferred probe error for gpio
fa14a1537362 ASoC: Intel: bytcr_rt5640: Add an extra entry for the Chuwi Vi8 tablet
da17f556ad18 firewire: core: use long bus reset on gap count error
5f369efd9d96 Bluetooth: rfcomm: Fix null-ptr-deref in rfcomm_check_security
6e9c11399240 scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
2daa2a8e895e btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve
890a1b31fa2b dm-verity, dm-crypt: align "struct bvec_iter" correctly
5d8afc25c771 block: sed-opal: handle empty atoms when parsing response
745718d00f13 parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check
b43b1a706233 net/iucv: fix the allocation size of iucv_path_table array
c411a3c828de RDMA/mlx5: Relax DEVX access upon modify commands
69dd0a99daff HID: multitouch: Add required quirk for Synaptics 0xcddc device
7d7fa0bea3bf MIPS: Clear Cause.BD in instruction_pointer_set
025a8a96c7ef x86/xen: Add some null pointer checking to smp.c
4c00abb52a24 ASoC: rt5645: Make LattePanda board DMI match more precise
ef5de5d5057f selftests: tls: use exact comparison in recv_partial
cfb24022bb2c io_uring: drop any code related to SCM_RIGHTS
2692b8a01667 io_uring/unix: drop usage of io_uring socket
84075826304f Linux 5.4.272
345ced405207 arm64: dts: qcom: sdm845: fix USB DP/DM HS PHY interrupts
1b3d8cbd1cae arm64: dts: qcom: add PDC interrupt controller for SDM845
59b3583da128 serial: max310x: fix IO data corruption in batched operations
f5c252aaa1be serial: max310x: implement I2C support
112094efd6fb serial: max310x: make accessing revision id interface-agnostic
b96b01791911 regmap: Add bulk read/write callbacks into regmap_config
758c6799da46 regmap: allow to define reg_update_bits for no bus configuration
9a7bbea2666c serial: max310x: Unprepare and disable clock in error path
664a6a904afe getrusage: use sig->stats_lock rather than lock_task_sighand()
2b34f6038350 getrusage: use __for_each_thread()
c50a0594312c getrusage: move thread_group_cputime_adjusted() outside of lock_task_sighand()
ef8a8b36a16b getrusage: add the "signal_struct *sig" local variable
f184f2197832 y2038: rusage: use __kernel_old_timeval
c7441c77c91e hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
f2ab3eaa6470 hv_netvsc: use netif_is_bond_master() instead of open code
9b5ef7a52896 hv_netvsc: Make netvsc/VF binding check both MAC and serial number
5402ec577f9d Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
bf6bb3612e5d serial: max310x: prevent infinite while() loop in port startup
7e30e5c1439b serial: max310x: use a separate regmap for each port
3fb7c9bcd0c1 serial: max310x: use regmap methods for SPI batch operations
2c9c830d74a7 serial: max310x: Make use of device properties
b765176ae1b9 serial: max310x: fail probe if clock crystal is unstable
816700131e8b serial: max310x: Try to get crystal clock rate from property
c76dcad53ba1 serial: max310x: Use devm_clk_get_optional() to get the input clock
b569d91e5180 um: allow not setting extra rpaths in the linux binary
47c68edecca2 selftests: mm: fix map_hugetlb failure on 64K page size systems
f9055fa2b293 netrom: Fix data-races around sysctl_net_busy_read
07bbccd1adb5 netrom: Fix a data-race around sysctl_netrom_link_fails_count
c4309e5f8e80 netrom: Fix a data-race around sysctl_netrom_routing_control
cbba77abb4a5 netrom: Fix a data-race around sysctl_netrom_transport_no_activity_timeout
89aa78a34340 netrom: Fix a data-race around sysctl_netrom_transport_requested_window_size
1f60795dcafc netrom: Fix a data-race around sysctl_netrom_transport_busy_delay
80578681ea27 netrom: Fix a data-race around sysctl_netrom_transport_acknowledge_delay
f716a6823424 netrom: Fix a data-race around sysctl_netrom_transport_maximum_tries
eadec8da4451 netrom: Fix a data-race around sysctl_netrom_transport_timeout
eda02a0bed55 netrom: Fix data-races around sysctl_netrom_network_ttl_initialiser
1e84b108f2a7 netrom: Fix a data-race around sysctl_netrom_obsolescence_count_initialiser
7f615232556f netrom: Fix a data-race around sysctl_netrom_default_path_quality
4bafcc43baf7 netfilter: nf_conntrack_h323: Add protection for bmp length out of range
6ec303202229 netfilter: nft_ct: fix l3num expectations with inet pseudo family
997efea2bf3a net/rds: fix WARNING in rds_conn_connect_if_down
664f9c647260 net/ipv6: avoid possible UAF in ip6_route_mpath_notify()
d9fefc511331 net: ice: Fix potential NULL pointer dereference in ice_bridge_setlink()
59d2a4076983 geneve: make sure to pull inner header in geneve_rx()
a248b1f58a70 ixgbe: {dis, en}able irqs in ixgbe_txrx_ring_{dis, en}able
7f087784692d net: lan78xx: fix runtime PM count underflow on link stop
81934a2ab51d lan78xx: Fix race conditions in suspend/resume handling
57b9c48cd534 lan78xx: Fix partial packet errors on suspend/resume
e68b46e9aa0e lan78xx: Add missing return code checks
b1cc23ffe1a2 lan78xx: Fix white space and style issues
3fec063b052e Linux 5.4.271
9162730a83ed gpio: 74x164: Enable output pins after registers are reset
1dde8ef4b7a7 fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super
037d5a949b04 cachefiles: fix memory leak in cachefiles_add_cache()
ace0fdf796bf x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers
9d660e5adf28 mmc: core: Fix eMMC initialization with 1-bit bus connection
3cc5fb824c21 dmaengine: fsl-qdma: init irq after reg initialization
518d78b4fac6 dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read
c6652e20d7d7 btrfs: dev-replace: properly validate device names
0cfbb26ee5e7 wifi: nl80211: reject iftype change with mesh ID change
ec92aa2cab6f gtp: fix use-after-free and null-ptr-deref in gtp_newlink()
5c78be006ed9 afs: Fix endless loop in directory parsing
26dda65b096c ALSA: Drop leftover snd-rtctimer stuff from Makefile
7394abc8926a power: supply: bq27xxx-i2c: Do not free non existing IRQ
950d4d74d311 efi/capsule-loader: fix incorrect allocation size
b9fbc44159df rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back
260410c589e2 netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()
20f6f150e126 Bluetooth: Enforce validation on max value of connection interval
79820a7e1e05 Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST
98fb98fd37e4 Bluetooth: Avoid potential use-after-free in hci_error_reset
6e0000a43293 net: usb: dm9601: fix wrong return value in dm9601_mdio_read
69624e28d640 lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected
9d4ffb5b9d87 ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
f5f11f7e2872 tun: Fix xdp_rxq_info's queue_index when detaching
f81e94d2dcd2 net: ip_tunnel: prevent perpetual headroom growth
9ae51361da43 netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter
e133c1ee6d72 Linux 5.4.270
7a54338219f0 scripts/bpf: Fix xdp_md forward declaration typo
b4eea7a05ee0 fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
c28fc1aa6f82 drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is set
29db9725f276 drm/syncobj: make lockdep complain on WAIT_FOR_SUBMIT v3
ae4360cbd385 netfilter: nf_tables: set dormant flag on hook register failure
f310143961e2 tls: stop recv() if initial process_rx_list gave us non-DATA
a26742ada7ee tls: rx: drop pointless else after goto
c1287c1d6b55 tls: rx: jump to a more appropriate label
06de2302549f s390: use the correct count for __iowrite64_copy()
7eee00feb60d packet: move from strlcpy with unused retval to strscpy
82831e3ff76e ipv6: sr: fix possible use-after-free and null-ptr-deref
5c27d85a69fa afs: Increase buffer size in afs_update_volume_status()
799a4afaa54c ipv6: properly combine dev_base_seq and ipv6.dev_addr_genid
5888f3424907 ipv4: properly combine dev_base_seq and ipv4.dev_addr_genid
a50cb1d6f350 nouveau: fix function cast warnings
fe031dfcea8d scsi: jazz_esp: Only build if SCSI core is builtin
dd90af71fa7a bpf, scripts: Correct GPL license name
1f18b5bb4511 scripts/bpf: teach bpf_helpers_doc.py to dump BPF helper definitions
48ebca0a117b RDMA/srpt: fix function pointer cast warnings
310763377471 RDMA/srpt: Make debug output more detailed
6e461952df6e RDMA/bnxt_re: Return error for SRQ resize
cecfb90cf71d IB/hfi1: Fix a memleak in init_credit_return
bbcf72333b13 usb: roles: don't get/set_role() when usb_role_switch is unregistered
a31cf46d108d usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs
aad6132ae6e4 usb: cdns3: fix memory double free when handle zero packet
cfa9abb5570c usb: cdns3: fixed memory use after free at cdns3_gadget_ep_disable()
999a8bb70da2 ARM: ep93xx: Add terminator to gpiod_lookup_table
c1d3a84a67db l2tp: pass correct message length to ip6_append_data
caf4a67c0131 PCI/MSI: Prevent MSI hardware interrupt number truncation
f8cbd1791900 gtp: fix use-after-free and null-ptr-deref in gtp_genl_dump_pdp()
0dccbb93538f dm-crypt: don't modify the data when using authenticated encryption
5833024a9856 IB/hfi1: Fix sdma.h tx->num_descs off-by-one error
6ede985c6b56 PCI: tegra: Fix OF node reference leak
e04a2afd081f PCI: tegra: Fix reporting GPIO error value
e3fc08091148 arm64: dts: qcom: msm8916: Fix typo in pronto remoteproc node
efd63c23a4bb drm/amdgpu: Fix type of second parameter in trans_msg() callback
f691ab24cf19 iomap: Set all uptodate bits for an Uptodate page
45227ae32f23 dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
3770c38cd6a6 x86/alternatives: Disable KASAN in apply_alternatives()
f45dc10a3c87 drm/amdgpu: Check for valid number of registers to read
90aa9135a472 Revert "drm/sun4i: dsi: Change the start delay calculation"
7000efb6d8bc ALSA: hda/realtek - Enable micmute LED on and HP system
82c53047fe8c selftests/bpf: Avoid running unprivileged tests with alignment requirements
81e03f638dd4 net: bridge: clear bridge's private skb space on xmit
82174d6bd79f spi: mt7621: Fix an error message in mt7621_spi_probe()
954a7a0011d9 pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
759756e2cfaf pinctrl: pinctrl-rockchip: Fix a bunch of kerneldoc misdemeanours
99dc56854559 tcp: add annotations around sk->sk_shutdown accesses
41ca93861627 tcp: return EPOLLOUT from tcp_poll only when notsent_bytes is half the limit
5a9dc14df2ef tcp: factor out __tcp_close() helper
d42867642006 pmdomain: renesas: r8a77980-sysc: CR7 must be always on
3bc35da66722 s390/qeth: Fix potential loss of L3-IP@ in case of network issues
b7bfaea8f5ec virtio-blk: Ensure no requests in virtqueues before deleting vqs.
d124ab01fc5c firewire: core: send bus reset promptly on gap count error
b5854f923d41 scsi: lpfc: Use unsigned type for num_sge
60635f8a0542 hwmon: (coretemp) Enlarge per package core count limit
6d338fb1a1f6 nvmet-fc: abort command when there is no binding
ac524b7b3f4e netfilter: conntrack: check SCTP_CID_SHUTDOWN_ACK for vtag setting in sctp_new
6f5015ce25e6 ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616
c3a25d4fdd9a nvmet-tcp: fix nvme tcp ida memory leak
5068cb91ed0c regulator: pwm-regulator: Add validity checks in continuous .get_voltage
6b92b1bc16d6 ext4: avoid allocating blocks from corrupted group in ext4_mb_find_by_goal()
260fc96283c0 ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
bccb418eba5e ahci: add 43-bit DMA address quirk for ASMedia ASM1061 controllers
e896bf487871 ahci: asm1166: correct count of reported ports
6db07619d173 fbdev: sis: Error out if pixclock equals zero
84dce0f6a4cc fbdev: savage: Error out if pixclock equals zero
85720b69aef1 wifi: mac80211: fix race condition on enabling fast-xmit
d3032de2c830 wifi: cfg80211: fix missing interfaces when dumping
bb3813a6a755 dmaengine: fsl-qdma: increase size of 'irq_name'
a7229c75c357 dmaengine: shdma: increase size of 'dev_id'
11f3fe5001ed scsi: target: core: Add TMF to tmr_list handling
d2fc4134aa06 sched/rt: Disallow writing invalid values to sched_rt_period_us
b69677bfd77d sched/rt: Fix sysctl_sched_rr_timeslice intial value
429aaf144b07 userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
b0911b8d37cd nilfs2: replace WARN_ONs for invalid DAT metadata block requests
febd74320015 memcg: add refcnt for pcpu stock to avoid UAF problem in drain_all_stock()
d7b5bdb52d60 sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
010dc505eab3 net/sched: Retire dsmark qdisc
40e8abb86d96 net/sched: Retire ATM qdisc
493685f3dddd net/sched: Retire CBQ qdisc
9d17e7350403 KVM: arm64: vgic-its: Test for valid IRQ in MOVALL handler
68799371c9c1 KVM: arm64: vgic-its: Test for valid IRQ in its_sync_lpi_pending_table()
6e1f54a4985b Linux 5.4.269
e9aa8e5a72bd of: gpio unittest kfree() wrong object
6ac8965955fa of: unittest: fix EXPECT text for gpio hog errors
7dd275ce3b9a net: bcmgenet: Fix EEE implementation
10c586da9f17 Revert "Revert "mtd: rawnand: gpmi: Fix setting busy timeout setting""
25b42be4e067 netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()
3dd76bebcd59 lsm: new security_file_ioctl_compat() hook
efdf644062db drm/msm/dsi: Enable runtime PM
fef59ee6c057 PM: runtime: Have devm_pm_runtime_enable() handle pm_runtime_dont_use_autosuspend()
835ed5effb60 PM: runtime: add devm_pm_runtime_enable helper
d31c8721e816 nilfs2: fix potential bug in end_buffer_async_write
2441a64070b8 sched/membarrier: reduce the ability to hammer on sys_membarrier
cd1022eaf87b net: prevent mss overflow in skb_segment()
6587af96effb netfilter: ipset: Missing gc cancellations fixed
c7f2733e5011 netfilter: ipset: fix performance regression in swap operation
d04acadb6490 KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
4705a9fc50f3 mips: Fix max_mapnr being uninitialized on early stages
5e0854b60a96 arch, mm: remove stale mentions of DISCONIGMEM
c324e2716de3 bus: moxtet: Add spi device table
7f71d9817cea Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
60e092289c49 tracing: Inform kmemleak of saved_cmdlines allocation
fbe86124b7d6 pmdomain: core: Move the unused cleanup to a _sync initcall
08de58abedf6 can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)
a257ffde374a irqchip/irq-brcmstb-l2: Add write memory barrier before exit
91a7c002351d nfp: flower: prevent re-adding mac index for bonded port
b22c9a37c75a nfp: use correct macro for LengthSelect in BAR config
862ee4422c38 nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()
a6efe6dbaaf5 nilfs2: fix data corruption in dsync block recovery for small block sizes
6ce7d5e6d246 ALSA: hda/conexant: Add quirk for SWS JS201D
6b8bdc509eee mmc: slot-gpio: Allow non-sleeping GPIO ro
4f2fde50517d x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
4c7b1d08ad56 x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6
ed14ab2611be serial: max310x: improve crystal stable clock detection
5814a9045c61 serial: max310x: set default value when reading clock ready bit
ef60665ea981 ring-buffer: Clean ring_buffer_poll_wait() error return
7200170e88e3 iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
720d0112b39b staging: iio: ad5933: fix type mismatch regression
77e7a316cd8d tracing: Fix wasted memory in saved_cmdlines logic
afbcad9ae7d6 ext4: fix double-free of blocks due to wrong extents moved_len
15238f4b21a0 misc: fastrpc: Mark all sessions as invalid in cb_remove
42beab162dce binder: signal epoll threads of self-work
93a52449fe9d ALSA: hda/realtek: Enable headset mic on Vaio VJFE-ADL
9086b27eac64 xen-netback: properly sync TX responses
71349abe3aba nfc: nci: free rx_data_reassembly skb on NCI device cleanup
4ae191effbc1 kbuild: Fix changing ELF file type for output of gen_btf for big endian
750a4e599930 firewire: core: correct documentation of fw_csr_string() kernel API
2209fc6e3d77 scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"
d074d5ff5ae7 i2c: i801: Fix block process call transactions
4de1489d8092 i2c: i801: Remove i801_set_block_buffer_mode
df112ccb9b12 usb: f_mass_storage: forbid async queue when shutdown happen
addaa8627fcd USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT
dbaca8fa9ec2 HID: wacom: Do not register input devices until after hid_hw_start
e13bed5cfe02 HID: wacom: generic: Avoid reporting a serial of '0' to userspace
1f12e4b3284d mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again
8ffd5590f4d6 tracing/trigger: Fix to return error if failed to alloc snapshot
a67f1f83f315 i40e: Fix waiting for queues of all VSIs to be disabled
9a3a82affa1c MIPS: Add 'memory' clobber to csum_ipv6_magic() inline assembler
422d5243b9f7 ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
91b48c633969 spi: ppc4xx: Drop write-only variable
61da1f41d0b5 of: unittest: Fix compile in the non-dynamic case
f6997a2416b0 of: unittest: add overlay gpio test to catch gpio hog problem
89485251f687 btrfs: send: return EOPNOTSUPP on unknown flags
863837df8a94 btrfs: forbid deleting live subvol qgroup
d25031ba2a40 btrfs: forbid creating subvol qgroups
10e9cb393136 netfilter: nft_set_rbtree: skip end interval element from gc
7fde2acc6d4b net: stmmac: xgmac: fix a typo of register name in DPP safety handling
b9ff931f0019 net: stmmac: xgmac: use #define for string constants
88c7e1e7a6b8 vhost: use kzalloc() instead of kmalloc() followed by memset()
09e77c7d671d Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID
a012efe0df04 hrtimer: Report offline hrtimer enqueue
4a589de93cfc USB: serial: cp210x: add ID for IMST iM871A-USB
cd0ab7f2a824 USB: serial: option: add Fibocom FM101-GL variant
896695af51a5 USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
11ca9624cca8 net/af_iucv: clean up a try_then_request_module()
1c7488156e9a netfilter: nft_ct: reject direction for ct id
8e2a84c6daaf netfilter: nft_compat: restrict match/target protocol to u16
f139a4c6d209 netfilter: nft_compat: reject unused compat flag
56fae81633cc ppp_async: limit MRU to 64K
6f70f0b41245 tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
ef1f56f2cd9f rxrpc: Fix response to PING RESPONSE ACKs to a dead call
5993f121fbc0 inet: read sk->sk_family once in inet_recv_error()
7c96975c24cf hwmon: (coretemp) Fix bogus core_id to attr name mapping
1eb74c00c9c3 hwmon: (coretemp) Fix out-of-bounds memory access
51d76b723021 hwmon: (aspeed-pwm-tacho) mutex for tach reading
df0965935aa7 atm: idt77252: fix a memleak in open_card_ubr0
a0ac20fd5329 selftests: net: avoid just another constant wait
e9837c83befb net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
8398d8d735ee phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
0cb90f27a347 dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
6ff482731530 phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
1c75fe450b52 dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
c26360941643 dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
817bedcd7f32 bonding: remove print in bond_verify_device_path
e95120698b51 HID: apple: Add 2021 magic keyboard FN key mapping
5991ab8940c1 HID: apple: Swap the Fn and Left Control keys on Apple keyboards
6d4771ab2d9e HID: apple: Add support for the 2021 Magic Keyboard
67f56ef9e114 net: sysfs: Fix /sys/class/net/<iface> path
b169ffde733c af_unix: fix lockdep positive in sk_diag_dump_icons()
b3dace37f116 net: ipv4: fix a memleak in ip_setup_cork
f549f340c91f netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
06608603faed netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
64babb17e815 llc: call sock_orphan() at release time
2a09d1784c47 ipv6: Ensure natural alignment of const ipv6 loopback and router addresses
7f1a24914b6d ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
a10e95d6cf40 ixgbe: Refactor overtemp event handling
2d533ddca21d ixgbe: Refactor returning internal error codes
980c806f673c ixgbe: Remove non-inclusive language
7c03b7486597 net: remove unneeded break
b81f679ac561 scsi: isci: Fix an error code problem in isci_io_request_build()
12f58dce48cf wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
ad2bd6cd17c3 perf: Fix the nr_addr_filters fix
34da3b9fa508 drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
6ab4fd508fad ceph: fix deadlock or deadcode of misusing dget()
ecd7744a1446 blk-mq: fix IO hang from sbitmap wakeup race
977105472f81 virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings
884b746209ed libsubcmd: Fix memory leak in uniq()
3e06e9b906bc PCI/AER: Decode Requester ID when no error info found
133bf750d75e fs/kernfs/dir: obey S_ISGID
17c252f19270 usb: hub: Replace hardcoded quirk value with BIT() macro
d8c293549946 PCI: switchtec: Fix stdev_release() crash after surprise hot remove
a32a24da0e1b PCI: Only override AMD USB controller if required
e2048eb3cbdd mfd: ti_am335x_tscadc: Fix TI SoC dependencies
838cbe01db12 i3c: master: cdns: Update maximum prescaler value for i2c clock
a6946682ddcb um: net: Fix return type of uml_net_start_xmit()
c8115f2bd8ef um: Don't use vfprintf() for os_info()
735a29ce08ab um: Fix naming clash between UML and scheduler
ddd1f258f0d3 leds: trigger: panic: Don't register panic notifier if creating the trigger failed
9052b3e0e789 drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
548f9a37d777 drm/amdgpu: Let KFD sync with VM fences
15d674571af0 clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
105444e207d4 clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()
8a96f1caf1f4 drm/msm/dpu: Ratelimit framedone timeout msgs
4d181fe96646 media: ddbridge: fix an error code problem in ddb_probe
615e3adc2042 IB/ipoib: Fix mcast list locking
fb703d31fde5 drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time
c1b2e5e83772 ALSA: hda: Intel: add HDA_ARL PCI ID support
c91bda92fbb1 PCI: add INTEL_HDA_ARL to pci_ids.h
fbbee078cfb6 media: rockchip: rga: fix swizzling for RGB formats
acb1bffe5fac media: stk1160: Fixed high volume of stk1160_dbg messages
67997250d321 drm/mipi-dsi: Fix detach call without attach
d778e10dde4f drm/framebuffer: Fix use of uninitialized variable
da980f8db04e drm/drm_file: fix use of uninitialized variable
00a5feb0603f RDMA/IPoIB: Fix error code return in ipoib_mcast_join
b0f907a4efeb fast_dput(): handle underflows gracefully
12ba5b9cf87c ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument
9fceaf8182d4 f2fs: fix to check return value of f2fs_reserve_new_block()
52240224e74a wifi: cfg80211: free beacon_ies when overridden from hidden BSS
18c2989c30b1 wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()
8ec36f2d0cb6 wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
f3b7a31bf115 arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property
c3f22192a2b3 arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property
351b37b88ed0 md: Whenassemble the array, consult the superblock of the freshest device
6f2cd02ff5b2 block: prevent an integer overflow in bvec_try_merge_hw_page
fb9c25ea0a5f ARM: dts: imx23/28: Fix the DMA controller node name
c48e75a7ee24 ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
83b1cceca9b0 ARM: dts: imx27-apf27dev: Fix LED name
06c3f5920fe9 ARM: dts: imx25/27: Pass timing0
826e8fa48e0f ARM: dts: imx1: Fix sram node
05f309a3fae0 ARM: dts: imx27: Fix sram node
1e35a4cf5a64 ARM: dts: imx: Use flash@0,0 pattern
30cfab1c8c7e ARM: dts: imx25/27-eukrea: Fix RTC node name
ca14da9a1eca ARM: dts: rockchip: fix rk3036 hdmi ports node
e9ac3e3398a5 scsi: libfc: Fix up timeout error in fc_fcp_rec_error()
f5a875051e48 scsi: libfc: Don't schedule abort twice
eb6f68ec92ab bpf: Add map and need_defer parameters to .map_fd_put_ptr()
f11f0fd1ad6c wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
53dd674b3238 ARM: dts: imx7s: Fix nand-controller #size-cells
a86ce3671d4a ARM: dts: imx7s: Fix lcdif compatible
183edc0ad297 ARM: dts: imx7d: Fix coresight funnel ports
6c50e561ce97 bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk
4d981d9224df PCI: Add no PM reset quirk for NVIDIA Spectrum devices
0e8c8aa8e3ce scsi: lpfc: Fix possible file string name overflow when updating firmware
cbd0b6268a77 selftests/bpf: Fix pyperf180 compilation failure with clang18
982bdaa0fcbd selftests/bpf: satisfy compiler by having explicit return in btf test
e1f113b57ddd wifi: rt2x00: restart beacon queue when hardware reset
b183fe8702e7 ext4: avoid online resizing failures due to oversized flex bg
92c3c5cfed57 ext4: remove unnecessary check from alloc_flex_gd()
7cb19e13362b ext4: unify the type of flexbg_size to unsigned int
360c28a2fd31 ext4: fix inconsistent between segment fstrim and full fstrim
ec1075549613 ecryptfs: Reject casefold directory inodes
7a96d85bf196 SUNRPC: Fix a suspicious RCU usage warning
5e63c9ae8055 KVM: s390: fix setting of fpc register
6d0822f2cc9b s390/ptrace: handle setting of fpc register correctly
de6a91aed1e0 jfs: fix array-index-out-of-bounds in diNewExt
592d29eb6bd9 rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
f4a0b57632fa afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()
3f4cba4cf82d crypto: stm32/crc32 - fix parsing list of devices
e9f6ac508901 pstore/ram: Fix crash when setting number of cpus to an odd number
93df0a2a0b3c jfs: fix uaf in jfs_evict_inode
3f8217c323fd jfs: fix array-index-out-of-bounds in dbAdjTree
1b9d6828589d jfs: fix slab-out-of-bounds Read in dtSearch
fd3486a89377 UBSAN: array-index-out-of-bounds in dtSplitRoot
98f9537fe61b FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
d2049af7ddbc ACPI: extlog: fix NULL pointer dereference check
0d2adafba97a PNP: ACPI: fix fortify warning
b0b96859abe7 ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
20277842d911 audit: Send netlink ACK before setting connection in auditd_set
27756ae36645 regulator: core: Only increment use_count when enable_count changes
aed181fbc2e2 perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
980d5fe989e0 x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel
0580f4403ad3 powerpc/lib: Validate size for vector operations
7cd81d23586e powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE
9bf6c6f0974b powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()
171468044b6d powerpc: Fix build error due to is_valid_bugaddr()
f6781add1c31 powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
3cdbfac1068f x86/entry/ia32: Ensure s32 is sign extended to s64
aa8bd0d9b2c9 tick/sched: Preserve number of idle sleeps across CPU hotplug events
200d17b226a1 mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan
b2b0d40775cc spi: bcm-qspi: fix SFDP BFPT read by usig mspi read
344e8f33927a gpio: eic-sprd: Clear interrupt after set the interrupt type
f81d67832cf5 drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume
83d86b4a77d0 drm/exynos: fix accidental on-stack copy of exynos_drm_plane
3e835d6e6564 drm/bridge: nxp-ptn3460: simplify some error checking
021e214947d5 drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking
9dd334a82450 drm: Don't unref the same fb many times by mistake due to deadlock handling
5624d628a1e4 gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04
4e66422f1b56 netfilter: nf_tables: reject QUEUE/DROP verdict parameters
bd517df3bdad rbd: don't move requests to the running list on errors
69a087625203 btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args
d0bf04c9654c btrfs: don't warn if discard range is not aligned to sector
927d1a3d3278 btrfs: tree-checker: fix inline ref size in error messages
5c9e576bfda9 btrfs: ref-verify: free ref cache before clearing mount opt
d3d6162eb1e5 net: fec: fix the unhandled context fault from smmu
3422bfda9203 fjes: fix memleaks in fjes_hw_setup
07bcc3cd3d91 netfilter: nf_tables: validate NFPROTO_* family
b55e492f06f5 netfilter: nf_tables: restrict anonymous set and map names to 16 bytes
2501afe6c4c9 net/mlx5e: fix a double-free in arfs_create_groups
bca555e8a240 net/mlx5: Use kfree(ft->g) in arfs_create_groups()
0917d771f6e5 net/mlx5: DR, Use the right GVMI number for drop action
4f4dc7098bdf netlink: fix potential sleeping issue in mqueue_flush_file
da70948068bc tcp: Add memory barrier to tcp_push()
01d15b68f041 afs: Hide silly-rename files from userspace
dad9b28f675e tracing: Ensure visibility when inserting an element into tracing_map
a37ae111db5e net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv
b8e8838f82f3 llc: Drop support for ETH_P_TR_802_2.
b643d0defcba llc: make llc_ui_sendmsg() more robust against bonding changes
06f30fdbc4cf vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING
1fea9969b81c net/smc: fix illegal rmb_desc access in SMC-D connection dump
5c6183f3c748 x86/CPU/AMD: Fix disabling XSAVES on AMD family 0x17 due to erratum
7e180b702aab powerpc: Use always instead of always-y in for crtsavres.o
457ef4fe541c fs: move S_ISGID stripping into the vfs_*() helpers
0cb0093fd6a2 fs: add mode_strip_sgid() helper
635a0039e87e mtd: spinand: macronix: Fix MX35LFxGE4AD page size
3f4e660144ed block: Remove special-casing of compound pages
0785e298996c rename(): fix the locking of subdirectories
f0824ca28317 ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
a1e80a33bf75 nouveau/vmm: don't set addr on the fail path to avoid warning
f49f9e802785 mmc: core: Use mrq.sbc in close-ended ffu
e15b1553d032 arm64: dts: qcom: sdm845: fix USB wakeup interrupt types
830c99794b44 parisc/firmware: Fix F-extend for PDC addresses
dd50fe18c234 rpmsg: virtio: Free driver_override when rpmsg_remove()
5030d4c79886 hwrng: core - Fix page fault dead lock on mmap-ed hwrng
5bc17b4fc2aa PM: hibernate: Enforce ordering during image compression/decompression
cf6889bb8b56 crypto: api - Disallow identical driver names
a7edaf40fcca ext4: allow for the last group to be marked as trimmed
e2ecfd556542 serial: sc16is7xx: add check for unsupported SPI modes during probe
120b65f80b8f spi: introduce SPI_MODE_X_MASK macro
2b708e6b28f8 serial: sc16is7xx: set safe default SPI clock frequency
e53321b341ab units: add the HZ macros
34d74cf3c799 units: change from 'L' to 'UL'
7478445a4547 units: Add Watt units
b6179745482e include/linux/units.h: add helpers for kelvin to/from Celsius conversion
2ed05a8cc9b0 PCI: mediatek: Clear interrupt status before dispatching handler
dbf9e2bf8e76 Revert "rt: drop -stable migrate_disable"
d7ed2aabdf71 rt: drop -stable migrate_disable
9ae0a737b97c NFS: fix general protection fault in nfs_mount
dafbace6032e x86/alternatives: Acquire pte lock with interrupts enabled
31708c13e464 x86/entry: Emit a symbol for register restoring thunk
9ad5defd9059 clear_warn_once: add a clear_warn_once= boot parameter
fbda05a6df01 clear_warn_once: bind a timer to written reset value
2365198f516a clear_warn_once: expand debugfs to include read support
356914747645 perf: Alias SYS_futex with SYS_futex_time64 on 32-bit arches with 64bit time_t
178189d65780 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
706efec4c1e2 perf cs-etm: Move definition of 'traceid_list' global variable from header file
48ab6faa417e defconfigs: drop obselete options
1fe4ee7f680c libtraceevent: Fix build with binutils 2.35
953da1f7e728 arm64: dts: ti: k3-am65-main: add sd wp-invert into k3-am65 dtb
8c083fb78a3f Fix compiling warnings of file arm64/kernel/perf_callchain.c
85f0a97f3aac eventfd: Enlarge recursion limit to allow vhost to work
4a6bacba3689 perf: Fix the warning of perf_regs.c
4b69a5a32098 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
c5dcdef27c57 arm64/perf: fix backtrace for AAPCS with FP enabled
05f4afe8b669 Revert "uptime: allow the optional limiting of kernel runtime"
157af3a61d56 tools/power turbostat: Support Tiger Lake
008b46517c94 arm64: dts: ti: k3-am65-mcu:Update the power domain cells
b658676c81a0 fixup! yaffs: Fix build warning by handling inode i_version with proper atomic API
03142acba06e ARM: 8918/2: only build return_address() if needed
9065d188f874 KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
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"
45760a7e1301 Revert "platform/x86: wmi: Destroy on cleanup rather than unregister"
e64f1a1d9447 yaffs2: fix memory leak when /proc/yaffs is read
896b38b46db9 x86/mce: Add compat_ioctl assignment to make it compatible with 32-bit system
06356153574a cpufreq: Fix policy initialization for internal governor drivers
eb30339a5892 arm64: dts: k3-am6: Add FSS and OSPI nodes
f03b2ab37a42 arm64: dts: ti: k3-am654-base-board: Add OSPI entry
762a03109411 arm64: dts: ti: k3-am65-main: Enable support for sdhci1
d8075838fe56 arm64: dts: ti: k3-am654-base-board: Add Support for SD card
fc2d760470d1 arm64: dts: r8a7795-h3ulcb: Add reserved memory regions
baab8b4b5235 arm64: dts: r8a7795: Add CPUIdle support for all CPU core
f11171f18a03 pci: pcie-rcar: add regulators support
638d6d5f6dd3 driver: net: can: disable clock when it is in enable status
e5a7b62d0517 arch: arm64: dts: Set gpio5-pin9 as input by default
f4d7dbafb103 perf: Make perf able to build with latest libbfd
239eea7ef5dd mips: vdso: fix 'jalr $t9' crash in vdso code
f7fe06ec7a59 linux-yocto linux-yocto-dev: Fix /bin/awk issues
ced1c6effc4f yaffs: add strict check when call yaffs_internal_read_super
9daa7e790501 yaffs: repair yaffs_get_mtd_device
1fffb37acca0 yaffs: Fix build failure by handling inode i_version with proper atomic API
0007c563276d yaffs2: fix memory leak in mount/umount
e68cc08a6841 yaffs: Avoid setting any ACL releated xattr
bcf077d933b8 Yaffs:check oob size before auto selecting Yaffs1
19df313c0952 fs: yaffs2: replace CURRENT_TIME by other appropriate apis
c769a7da8c69 yaffs2: adjust to proper location of MS_RDONLY
0f1751fff1a7 mips: Kconfig: add QEMUMIPS64 option
86f59bbc023c aufs5: core
d1e47364cab1 aufs5: standalone
74a8e4bf3f2b aufs5: mmap
7e05613a5d85 aufs5: base
aa75a790b542 aufs5: kbuild
8c6f9b2baa40 yaffs2: import git revision b4ce1bb (jan, 2020)
0381cd8f4359 perf: x86-32: explicitly include <errno.h>
ad78324feafb perf: mips64: Convert __u64 to unsigned long long
34cefcf34034 perf: fix bench numa compilation
fdad3e366e6e perf annotate: replace 'expand' with equivalent sed expression
a771eec901c6 perf: add SLANG_INC for slang.h
e0614357c8a3 perf: add sgidefs.h to for mips builds
ac92fa579b2b perf: change --root to --prefix for python install
6388df0def8f perf: add 'libperl not found' warning
a0fb87034f0f perf: force include of <stdbool.h>
32f3ab82932c uptime: allow the optional limiting of kernel runtime
9486b2eba979 fat: don't use obsolete random32 call in namei_vfat
5a3398afe097 FAT: Added FAT_NO_83NAME
079c6f61933c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
2431b8dd05f7 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
5338ecdddce2 initramfs: allow an optional wrapper script around initramfs generation
6c31503ceca3 x86/boot/compressed/64: Define __force_order only when CONFIG_RANDOMIZE_BASE is unset
3d683756dce2 modpost: srcversion sometimes incorrect
89931013d209 linux-yocto: Handle /bin/awk issues
75fa99f9e576 uvesafb: provide option to specify timeout for task completion
bf98aa12f36b uvesafb: print error message when task timeout occurs
1938b8143850 compiler.h: Undef before redefining __attribute_const__
752c3dd6b4b6 vmware: include jiffies.h
b23cbd0f7b66 Resolve jiffies wrapping about arp
1830d18ce4d7 nfs: Allow default io size to be configured.
2a7b6aaaa59c check console device file on fs when booting
72808adae4fe mount_root: clarify error messages for when no rootfs found
6b31420bcb71 NFS: allow nfs root mount to use alternate rpc ports
d078e29aa31a menuconfig,mconf-cfg: Allow specification of ncurses location
26e26affd3ae modpost: mask trivial warnings
71e89f4b4d59 kbuild: exclude meta directory from distclean processing
478d180563a8 powerpc: serialize image targets
ae15d16d2f89 arm: serialize build targets
e4ce2ac7cb8f arch/x86/boot: use prefix map to avoid embedded paths
0c64b73184d9 crtsavres: fixups for 5.4+
043ffbbcdb8f powerpc/ptrace: Disable array-bounds warning with gcc8
f45a7cd151d0 powerpc: Disable attribute-alias warnings from gcc8
d58c4db9597a powerpc: add crtsavres.o to archprepare for kbuild
fc4ace07b7d2 powerpc: kexec fix for powerpc64
403ce2291e1b powerpc: Add unwind information for SPE registers of E500 core
6fb1edc69050 staging: octeon: Add a workaround for the issue of GCC8
88e319c5c225 4kc cache tlb hazard: tlbp cache coherency
f946365e8139 malta uhci quirks: make allowance for slow 4k(e)c
2281cb8cc437 arm/Makefile: Fix systemtap
7942a16ee46c vexpress: Pass LOADADDR to Makefile
9c74389f3c8a arm: ARM EABI socketcall
65b684cc2da1 ARM: LPAE: Invalidate the TLB for module addresses during translation fault
(From OE-Core rev: dd36d66e23cb0f9d182b25f564f355202b71c7e7)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Testing of an SPDX patch corrupted sstate, so bump PR to work around the issue
(From OE-Core rev: 47ce772102b45db14dc21112367534ea1c37e33c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Testing of an SPDX patch corrupted sstate, so bump PR to work around the issue
(From OE-Core rev: cbce426763592e82e6e0ed20f18cedfa4d01f61e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
PKCS12 structures contain PKCS7 ContentInfo fields. These fields are
optional and can be NULL even if the "type" is a valid value. OpenSSL
was not properly accounting for this and a NULL dereference can occur
causing a crash.
(From OE-Core rev: 18eb56925878a67ca1d7ce3eb9092f611023bc23)
Signed-off-by: virendra thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changelog:
==========
wireless-regdb: update regulatory database based on preceding changes
wireless-regdb: Update regulatory rules for Australia (AU) for June 2023
wireless-regdb: Update regulatory info for Türkiye (TR)
wireless-regdb: Update regulatory rules for Egypt (EG) from March 2022 guidel...
wireless-regdb: Update regulatory rules for Philippines (PH)
(From OE-Core rev: 947433332468a9662cedacada1e5d19d9a664ac2)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f5edb6904bf16a9c52a9b124aeb5297487cd716)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When a CVE is updated to be rejected, matching database entries must be
removed. Otherwise:
* an incremental update is not equivalent the to an initial download.
* rejected CVEs might still appear as Unpatched in cve-check.
(From OE-Core rev: 4eb0074be76c9bd3d6d25cae4f1b9f398ff89bf5)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f276a980b8930b98e6c8f0e1a865d77dfcfe5085)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When a CVE is created, it often has no precise version information and
this is stored as "-" (matching any version). After an update, version
information is added. The previous "-" must be removed, otherwise, the
CVE is still "Unpatched" for cve-check.
(From OE-Core rev: 80946fbe8c95169b871d816f2b71ee001a2a3d75)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 641ae3f36e09af9932dc33043a0a5fbfce62122e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a URL to the doc of the API used in the function.
... and fix a small typo dabase -> database
(From OE-Core rev: 9ba959475d84b2e87e14ceba11787b10afca45ba)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0157b3b81333a24abd31dbb23a6abebca3e7ba7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
CVE_CHECK_DB_FILE is already defined in cve-check.bbclass which is
always inherited in cve-update-nvd2-native (There is a check line 40).
Remove it to avoid confusion. Otherwise, this should not change
anything.
(From OE-Core rev: 4268128167386298c8a7777ce3d3b5e7517bb366)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f3f223885c17b7007c310273fc7c80b90a4105)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a new variable "CVE_DB_INCR_UPDATE_AGE_THRES", which can be used to
specify the maximum age of the database for doing an incremental update
For older databases, a full re-download is done.
With a value of "0", this forces a full-redownload.
(From OE-Core rev: c9a3e5a4ca297249f8fd7380a824dce0c407280b)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74c1765111b6610348eae4b7e41d7045ce58ef86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The package task references WORKDIR at it's top level and we can't
easily make the timestamp for that determnistic due to writes to files
there and in other subdirs. We could try and force it to a specific value
but it is easier to just remove it from the package task, we don't need
it there or care about it in this case.
(From OE-Core rev: 90694a6299c94dddab6873191f1e3123c6c4377b)
Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
(cherry picked from commit 9cceeb906527f90d8dd3aad75aa3a8805e2a1df5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
f0602893f43a Linux 5.4.268
5ff9836ab0f6 arm64: dts: armada-3720-turris-mox: set irq type for RTC
300a55a3a6d4 perf top: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set
ea5587946a15 i2c: s3c24xx: fix transferring more than one message in polling mode
90734f1cdee8 i2c: s3c24xx: fix read transfers in polling mode
05b6d0234a37 mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
d5661f46c11d kdb: Fix a potential buffer overflow in kdb_local()
cf6260a34d28 kdb: Censor attempts to set PROMPT without ENABLE_MEM_READ
36b6db699c03 ipvs: avoid stat macros calls from preemptible context
4c8a827d68ba netfilter: nf_tables: skip dead set elements in netlink dump
db9fda526c8d net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
8efe3e8a6c4c net: ravb: Fix dma_addr_t truncation in error case
f7a153e3ac41 net: phy: micrel: populate .soft_reset for KSZ9131
02467ab8b404 net: qualcomm: rmnet: fix global oob in rmnet_policy
5b58cfcd4ce1 s390/pci: fix max size calculation in zpci_memcpy_toio()
14a7e3a0d099 PCI: keystone: Fix race condition when initializing PHYs
40d171ef2389 nvmet-tcp: Fix the H2C expected PDU len calculation
258dccd67ba0 serial: imx: Correct clock error message in function probe()
1d8e62b5569c apparmor: avoid crash when parsed profile name is empty
4cd5db4fc46c perf env: Avoid recursively taking env->bpf_progs.lock
f19a1cb1f9f4 perf bpf: Decouple creating the evlist from adding the SB event
739b800279d0 perf top: Move sb_evlist to 'struct perf_top'
2d59b6ed998d perf record: Move sb_evlist to 'struct record'
14a9769a769e perf env: Add perf_env__numa_node()
9638beb4e10a nvmet-tcp: fix a crash in nvmet_req_complete()
ee5e7632e981 nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
887ab0a444f0 perf genelf: Set ELF program header addresses properly
ed903eeb4e2e software node: Let args be NULL in software_node_get_reference_args
dbb71ba53146 acpi: property: Let args be NULL in __acpi_node_get_property_reference
b502fb43f7fb serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
d8003fdcc66c MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
93a7b8d4338b MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
fa873e90301c mips: Fix incorrect max_low_pfn adjustment
b419fe1180f7 HID: wacom: Correct behavior when processing some confidence == false touches
f7a92bec8eea x86/kvm: Do not try to disable kvmclock if it was not enabled
1d6d95aaa692 wifi: mwifiex: configure BSSID consistently when starting AP
249b78dbb154 wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
c22b4f159b27 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code
b33a30358826 rootfs: Fix support for rootfstype= when root= is given
02bd78673b65 fbdev: flush deferred work in fb_deferred_io_fsync()
7cfc97d1ec3f ALSA: oxygen: Fix right channel of capture volume mixer
85f6a6590dcf usb: mon: Fix atomicity violation in mon_bin_vma_fault
14e60d584a42 usb: typec: class: fix typec_altmode_put_partner to put plugs
94f2aa8145f4 Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"
a05ebd577979 usb: chipidea: wait controller resume finished for wakeup irq
d9c8275c5960 Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
548a00780d34 Revert "usb: dwc3: Soft reset phy on probe for host"
c145217af8bf usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
5d5d9827016a usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
29032c8e3e31 tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
5c3d4930c7b7 binder: fix unused alloc->free_async_space
252a2a5569eb binder: fix race between mmput() and do_exit()
4404c2b832cf xen-netback: don't produce zero-size SKB frags
ee4e9c5ffff9 Revert "ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek"
01fe1b7bb0aa Input: atkbd - use ab83 as id when skipping the getid command
a53e15e592b4 binder: fix use-after-free in shinker's callback
fc1119a3c65d binder: fix async space check for 0-sized buffers
1b7c039260ce of: unittest: Fix of_count_phandle_with_args() expected value message
a0a061151a62 of: Fix double free in of_parse_phandle_with_args_map
a9de8a4f52ff mmc: sdhci_omap: Fix TI SoC dependencies
b8bbe3354419 clk: si5341: fix an error code problem in si5341_output_clk_set_rate
4810cce02967 watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
11a64041d921 watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
0d5685c13d55 watchdog: set cdev owner before adding
777aa44f63fa drivers: clk: zynqmp: calculate closest mux rate
5a572eb32fd3 gpu/drm/radeon: fix two memleaks in radeon_vm_init
8b55b06e737f drivers/amd/pm: fix a use-after-free in kv_parse_power_table
06d95c99d5a4 drm/amd/pm: fix a double-free in si_dpm_init
8ee1fb4c5168 drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
68ec0a0211c4 media: dvbdev: drop refcount on error path in dvb_device_open()
06a9263ac925 media: cx231xx: fix a memleak in cx231xx_init_isoc
6a421928f7b2 drm/bridge: tc358767: Fix return value on error case
d46fe2e93e53 drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
c0769f091ff9 drm/radeon/dpm: fix a memleak in sumo_parse_power_table
5d12c5d75f7c drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
09d59f73f46a drm/drv: propagate errors from drm_modeset_register_all()
31b169a8bed7 drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
9170aa07cb20 drm/msm/mdp4: flush vblank event on disable
136f919816cc ASoC: cs35l34: Fix GPIO name and drop legacy include
86af5d7acf4c ASoC: cs35l33: Fix GPIO name and drop legacy include
94aa82723abb drm/radeon: check return value of radeon_ring_lock()
bf48d891234b drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()
8e5bcb781f87 drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
5624a3c1b1eb f2fs: fix to avoid dirent corruption
b083ec00f39e drm/bridge: Fix typo in post_disable() description
47aa8fcd5e8b media: pvrusb2: fix use after free on context disconnection
f6a35c21cde3 RDMA/usnic: Silence uninitialized symbol smatch warnings
9bb977521768 ARM: davinci: always select CONFIG_CPU_ARM926T
3f15ba3dc14e ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
dcc9cd5ddb94 Bluetooth: btmtkuart: fix recv_buf() return value
efcfcd5f2b5e Bluetooth: Fix bogus check for re-auth no supported with non-ssp
598c902649ea netfilter: nf_tables: mark newset as dead on transaction abort
8dbaaf71ffc2 wifi: rtlwifi: rtl8192se: using calculate_bit_shift()
8fa54f7532c8 wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()
4838d1666660 wifi: rtlwifi: rtl8192de: using calculate_bit_shift()
e15fcb194542 rtlwifi: rtl8192de: make arrays static const, makes object smaller
ae1df4cc0adb wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()
a3a25b5d019c wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()
6f84a338ed61 wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
ee0a81cf7e7b wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()
7cbcf5fe01d0 wifi: rtlwifi: add calculate_bit_shift()
4985e507e0b9 dma-mapping: clear dev->dma_mem to NULL after freeing it
48614d528b42 virtio/vsock: fix logic which reduces credit update messages
332cd73a9298 selftests/net: fix grep checking for fib_nexthop_multiprefix
12b91f36369b scsi: hisi_sas: Replace with standard error code return value
14470da02dfc arm64: dts: qcom: sdm845-db845c: correct LED panic indicator
c23c4984ce0b scsi: fnic: Return error if vmalloc() failed
16d21bfcb371 wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior
4a20fa7322e2 rtlwifi: Use ffs in <foo>_phy_calculate_bit_shift
0226926ba326 firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()
ef75f3c56bf3 net/ncsi: Fix netlink major/minor version numbers
7276fac0a668 ncsi: internal.h: Fix a spello
f6154d498365 ARM: dts: qcom: apq8064: correct XOADC register address
bd1bf5e8056a wifi: libertas: stop selecting wext
dc843ed97ddb bpf, lpm: Fix check prefixlen before walking trie
93c71706a1f0 wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
aebe7e47c201 NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT
db55dbbba5e5 blocklayoutdriver: Fix reference leak of pnfs_device_node
e0e3f4a18784 crypto: scomp - fix req->dst buffer overflow
77d2b1833631 crypto: sahara - do not resize req->src when doing hash operations
53ba86f765d4 crypto: sahara - fix processing hash requests with req->nbytes < sg->length
ba1ef4276e10 crypto: sahara - improve error handling in sahara_sha_process()
0274697075e1 crypto: sahara - fix wait_for_completion_timeout() error handling
b588ed190b9a crypto: sahara - fix ahash reqsize
aea92cca4375 crypto: virtio - Wait for tasklet to complete on device remove
efc8ef87ab91 gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
d1fe1aede684 pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
6e907574ef9b crypto: sahara - fix error handling in sahara_hw_descriptor_create()
e82d07d5c709 crypto: sahara - fix processing requests with cryptlen < sg->length
da43c26203d9 crypto: sahara - fix ahash selftest failure
beb815a0001e crypto: sahara - remove FLAGS_NEW_KEY logic
4c10928e31c7 crypto: af_alg - Disallow multiple in-flight AIO requests
ca3484d5cadc crypto: ccp - fix memleak in ccp_init_dm_workarea
9fffae6cc42b virtio_crypto: Introduce VIRTIO_CRYPTO_NOSPC
01081d76cc3e crypto: virtio - don't use 'default m'
830a4f073f7e crypto: virtio - Handle dataq logic with tasklet
86a7c9ba839e selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket
1bf4fe14e97c mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
6b84cb9e383d spi: sh-msiof: Enforce fixed DTDL for R-Car H3
36e19f84634a calipso: fix memory leak in netlbl_calipso_add_pass()
0396c1e211bb netlabel: remove unused parameter in netlbl_netlink_auditinfo()
7b99eafea070 net: netlabel: Fix kerneldoc warnings
6c38e791bde0 ACPI: LPIT: Avoid u32 multiplication overflow
1e3a2b9b4039 ACPI: video: check for error while searching for backlight device parent
f5ea2cf3bbb1 mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response
1e80aa25d186 powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
9da4a56dd377 powerpc/powernv: Add a null pointer check in opal_powercap_init()
e93d7cf4c1dd powerpc/powernv: Add a null pointer check in opal_event_init()
f84c1446daa5 powerpc/powernv: Add a null pointer check to scom_debug_init_one()
b0200560b69e selftests/powerpc: Fix error handling in FPU/VMX preemption tests
9b5f03500bc5 powerpc/pseries/memhp: Fix access beyond end of drmem array
69c0b92f78a2 powerpc/pseries/memhotplug: Quieten some DLPAR operations
5401b689ad44 powerpc/44x: select I2C for CURRITUCK
245da9eebba0 powerpc: add crtsavres.o to always-y instead of extra-y
5da3b6e7196f EDAC/thunderx: Fix possible out-of-bounds string access
555a2f09a69d x86/lib: Fix overflow when counting digits
6ee48d71021e coresight: etm4x: Fix width of CCITMIN field
b00d5f7152ab parport: parport_serial: Add Brainboxes device IDs and geometry
760a5ab4d880 parport: parport_serial: Add Brainboxes BAR details
e93da893d52d uio: Fix use-after-free in uio_open
da488e1aad20 binder: fix comment on binder_alloc_new_buf() return value
a92b2797ca72 binder: fix trivial typo of binder_free_buf_locked()
9774dabad707 binder: use EPOLLERR from eventpoll.h
5e1eb0dfc95b ACPI: resource: Add another DMI match for the TongFang GMxXGxx
c5b051750011 drm/crtc: fix uninitialized variable use
cfc6afe930c6 ARM: sun9i: smp: fix return code check of of_property_match_string
ef7152f8705f ida: Fix crash in ida_free when the bitmap is empty
c97996451f94 Input: xpad - add Razer Wolverine V2 support
510a7bc3682d ARC: fix spare error
0fe6431622b7 s390/scm: fix virtual vs physical address confusion
8fb5795bcf81 Input: i8042 - add nomux quirk for Acer P459-G2-M
2c70bf99783b Input: atkbd - skip ATKBD_CMD_GETID in translated mode
3d9a9c0881f4 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
4f7512e779ae ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
e405c22ee576 tracing: Add size check when printing trace_marker output
f787481af4a8 tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
d4408ffeb848 neighbour: Don't let neigh_forced_gc() disable preemption for long
9cc9683aec42 drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
2f601e869611 jbd2: correct the printing of write_flags in jbd2_write_superblock()
1c187cb210c1 clk: rockchip: rk3128: Fix HCLK_OTG gate register
3f50a73fd929 drm/exynos: fix a wrong error checking
8bc21ac17da8 drm/exynos: fix a potential error pointer dereference
6eb975932853 nvme: introduce helper function to get ctrl state
971c0b10c94d ASoC: da7219: Support low DC impedance headset
ec76b9e057de net/tg3: fix race condition in tg3_reset_task()
ef9fefca3fec nouveau/tu102: flush all pdbs on vmm flush
b67005b284dd ASoC: rt5650: add mutex to avoid the jack detection failure
4fece6617b57 ASoC: cs43130: Fix incorrect frame delay configuration
1bf33a67a944 ASoC: cs43130: Fix the position of const qualifier
61c1e46fb84e ASoC: Intel: Skylake: mem leak in skl register function
81610106fd5b ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
ad5a06e16365 ASoC: Intel: Skylake: Fix mem leak in few functions
57a95d06da3e ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
ebc3c8e090a0 pinctrl: lochnagar: Don't build on MIPS
12cf91e23b12 f2fs: explicitly null-terminate the xattr list
(From OE-Core rev: 4fcc89e90ed1399cdf761a0d2f7363d86fa23f23)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
9153fc966495 Linux 5.4.267
69ef165176a3 ASoC: meson: codec-glue: fix pcm format cast warning
584756c3d75a ipv6: remove max_size check inline with ipv4
66b3025202b4 ipv6: make ip6_rt_gc_expire an atomic_t
ae424c848db6 net/dst: use a smaller percpu_counter batch for dst entries accounting
7b3a9c2bf315 PCI: Disable ATS for specific Intel IPU E2000 devices
c6141c49bc80 PCI: Extract ATS disabling to a helper function
8711fa0c06d4 netfilter: nf_tables: Reject tables of unsupported family
c67bf30baf26 net: tls, update curr on splice as well
c2d9b438554e ath10k: Get rid of "per_ce_irq" hw param
d15f869cb3b3 ath10k: Keep track of which interrupts fired, don't poll them
696b992edc7e ath10k: Add interrupt summary based CE processing
366df9ecbcb8 ath10k: Wait until copy complete is actually done before completing
c4541e39808e mmc: sdhci-sprd: Fix eMMC init failure after hw reset
a9c9ffcd217b mmc: core: Cancel delayed work before releasing host
bfc3720ca8d0 mmc: rpmb: fixes pause retune on all RPMB partitions.
77359c497305 mm: fix unmap_mapping_range high bits shift bug
5af5e946c4dd i2c: core: Fix atomic xfer check for non-preempt config
d8ec24d79db1 firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
85015a96bc24 mm/memory-failure: check the mapcount of the precise page
3d8fab93ca98 net: Implement missing SO_TIMESTAMPING_NEW cmsg support
f7084217d945 bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
acfeb9039b17 asix: Add check for usbnet_get_endpoints
6c00721ad7aa net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
a4ea54c52828 net/qla3xxx: switch from 'pci_' to 'dma_' API
863ca421b4a7 i40e: Restore VF MSI-X state during PCI reset
01c2d73ae2dd ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
bdc00b8c3afe ASoC: meson: g12a-tohdmitx: Validate written enum values
fe2d1dda1db4 ASoC: meson: g12a: extract codec-to-codec utils
93d80aadc02e i40e: fix use-after-free in i40e_aqc_add_filters()
b40828a2ab57 net: Save and restore msg_namelen in sock_sendmsg
68c8fdb9f9c8 net: bcmgenet: Fix FCS generation for fragmented skbuffs
4c0fa624a693 ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
c1556217ff6f net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
2cdb65084824 can: raw: add support for SO_MARK
96a6d1bb28ed can: raw: add support for SO_TXTIME/SCM_TXTIME
b1719cbb733e net: sched: em_text: fix possible memory leak in em_text_destroy()
ef4fd7518c6e i40e: Fix filter input checks to prevent config with invalid values
65c6ef02ff26 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
(From OE-Core rev: a3de4e1c5b41cdbdc9942b666212aa63921399a9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4410df70110f Linux 5.4.266
7d0f1fd80ad6 block: Don't invalidate pagecache for invalid falloc modes
a0678f504758 ring-buffer: Fix wake ups when buffer_percent is set to 100
508e2fdd978e smb: client: fix OOB in smbCalcSize()
644b956c946a usb: fotg210-hcd: delete an incorrect bounds test
a56a19e44b17 x86/alternatives: Sync core before enabling interrupts
4111986fb90e net: rfkill: gpio: set GPIO direction
5c375a83d1f9 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
4e7f3899fb81 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
a83debb52310 USB: serial: option: add Quectel RM500Q R13 firmware support
c82ba4cb44d1 USB: serial: option: add Foxconn T99W265 with new baseline
1f87ba56c43d USB: serial: option: add Quectel EG912Y module support
a59cb26bc188 USB: serial: ftdi_sio: update Actisense PIDs constant names
a70b1933fa54 wifi: cfg80211: fix certs build to not depend on file order
e8fb00205144 wifi: cfg80211: Add my certificate
8717fd6d0c30 iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
45af72f149a8 iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
4257c16c149d scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
e1b31edfe7d3 Input: ipaq-micro-keys - add error handling for devm_kmemdup
a85d6aa2b555 iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
388c90c577d7 interconnect: Treat xlate() returning NULL node as an error
04c22233447d btrfs: do not allow non subvolume root targets for snapshot
3230a69e663b smb: client: fix NULL deref in asn1_ber_decoder()
0ccb39511a7f ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
6bcf819198d9 ALSA: hda/hdmi: Add quirk to force pin connectivity on NUC10
34e6c4c6a985 pinctrl: at91-pio4: use dedicated lock class for IRQ
624659563e26 i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
47ae5242292d afs: Fix overwriting of result of DNS query
c04b7b28c9f0 net: check dev->gso_max_size in gso_features_check()
761ee09e9f5d net: warn if gso_type isn't set for a GSO SKB
eec7ef60d297 afs: Fix dynamic root lookup DNS check
82d64cbe487c afs: Fix the dynamic root's d_delete to always delete unused dentries
2b4600fb6967 net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
b10265532df7 net/rose: fix races in rose_kill_by_device()
ed4cb8a42ce9 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
3f82a6a6d7ee net: sched: ife: fix potential use-after-free
f48e3337ab0b net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
d07ef3a87064 net/mlx5: Fix fw tracer first block check
a46bb28fdbdf net/mlx5: improve some comments
333fd1095584 Revert "net/mlx5e: fix double free of encap_header"
7bd305f5f262 wifi: mac80211: mesh_plink: fix matches_local logic
76366b399a02 s390/vx: fix save/restore of fpu kernel context
f40d484e1614 reset: Fix crash when freeing non-existent optional resets
14d915ca5ae3 ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
62ef5887dd45 ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
35e12efde04d ALSA: hda/realtek: Enable headset on Lenovo M90 Gen5
(From OE-Core rev: e0e46163ca061f71db3469bef90d0f44e16df77a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
16e6e107a688 Linux 5.4.264
06bcac5c5151 devcoredump: Send uevent once devcd is ready
c6a1282e530d devcoredump : Serialize devcd_del work
d99376b70247 smb: client: fix potential NULL deref in parse_dfs_referrals()
ab5813bb2071 cifs: Fix non-availability of dedup breaking generic/304
bdee8b2805b8 Revert "btrfs: add dmesg output for first mount and last unmount of a filesystem"
dd9e851944aa tools headers UAPI: Sync linux/perf_event.h with the kernel sources
4a341627a109 drop_monitor: Require 'CAP_SYS_ADMIN' when joining "events" group
fe8402511ed8 psample: Require 'CAP_NET_ADMIN' when joining "packets" group
263bffd2b6aa genetlink: add CAP_NET_ADMIN test for multicast bind
a149fbadb9be netlink: don't call ->netlink_bind with table lock held
18824f592aad io_uring/af_unix: disable sending io_uring over sockets
32f4536c108f nilfs2: fix missing error check for sb_set_blocksize call
77a353924d8f KVM: s390/mm: Properly reset no-dat
1aee33d43d6c x86/CPU/AMD: Check vendor in the AMD microcode callback
3371eac21119 serial: 8250_omap: Add earlycon support for the AM654 UART controller
ce79cf407c64 serial: sc16is7xx: address RX timeout interrupt errata
d896c47f8cfc ARM: PL011: Fix DMA support
880b035bc64e usb: typec: class: fix typec_altmode_put_partner to put plugs
a9022cbdd0ae parport: Add support for Brainboxes IX/UC/PX parallel cards
fefc0559c58e usb: gadget: f_hid: fix report descriptor allocation
1796ae6a7a8c mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled
a1f29e995fd7 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
05918dec9a1e gpiolib: sysfs: Fix error handling on failed export
152f51d159f3 perf: Fix perf_event_validate_size()
84ca356ec859 perf/core: Add a new read format to get a number of lost samples
07bdb1bd2476 arm64: dts: mediatek: mt8173-evb: Fix regulator-fixed node names
6109859f6982 arm64: dts: mediatek: mt7622: fix memory node warning check
148d8f0707fa packet: Move reference count in packet_sock to atomic_long_t
965cbc6b623a tracing: Fix a possible race when disabling buffered events
6f2e50961fe3 tracing: Fix incomplete locking when disabling buffered events
84302391d130 tracing: Always update snapshot buffer size
cb74e8fd6b2d nilfs2: prevent WARNING in nilfs_sufile_set_segment_usage()
610ebc289582 ALSA: pcm: fix out-of-bounds in snd_pcm_state_names
439166b1b2ee ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt
4fe36f83f8d8 ARM: dts: imx: make gpt node name generic
69b669cc6389 ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init
59348f148235 scsi: be2iscsi: Fix a memleak in beiscsi_init_wrb_handle()
8244ea916bfe tracing: Fix a warning when allocating buffered events fails
4713be844546 ASoC: wm_adsp: fix memleak in wm_adsp_buffer_populate
febb7bbe290d hwmon: (acpi_power_meter) Fix 4.29 MW bug
ad4cf776678b RDMA/bnxt_re: Correct module description string
b4b89b7b2d4b bpf: sockmap, updating the sg structure should also update curr
7ffff0cc929f tcp: do not accept ACK of bytes we never sent
69431f609bf3 netfilter: xt_owner: Fix for unsafe access of sk->sk_socket
c61c61d7e7de net: hns: fix fake link up on xge port
1ec21fde58da ipv4: ip_gre: Avoid skb_pull() failure in ipgre_xmit()
e38cd53421ed arcnet: restoring support for multiple Sohard Arcnet cards
f26546731933 net: arcnet: com20020 fix error handling
d124c18267b1 net: arcnet: Fix RESET flag handling
9f5a25aa1bcc hv_netvsc: rndis_filter needs to select NLS
be1ab8bf0510 ipv6: fix potential NULL deref in fib6_add()
5cd05bbaaef4 of: dynamic: Fix of_reconfig_get_state_change() return value documentation
5cadae629e44 of: Add missing 'Return' section in kerneldoc comments
b31cb14cac85 of: Fix kerneldoc output formatting
36ce931a803b of: base: Fix some formatting issues and provide missing descriptions
8c4fcbe27a7a of/irq: Make of_msi_map_rid() PCI bus agnostic
ae374c57afeb of/irq: make of_msi_map_get_device_domain() bus agnostic
e5cfaab66295 of/iommu: Make of_map_rid() PCI agnostic
f7a85520087a ACPI/IORT: Make iort_msi_map_rid() PCI agnostic
da36a3ef32b4 ACPI/IORT: Make iort_get_device_domain IRQ domain agnostic
d786067be2eb of: base: Add of_get_cpu_state_node() to get idle states for a CPU node
13f27a05377d drm/amdgpu: correct chunk_ptr to a pointer to chunk.
d162a5e6a51d kconfig: fix memory leak from range properties
d34644153050 tg3: Increment tx_dropped in tg3_tso_bug()
cd49b8e07d01 tg3: Move the [rt]x_dropped counters to tg3_napi
427deb5ba566 netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test
54d0d83a5350 hrtimers: Push pending hrtimers away from outgoing CPU earlier
34244ed6219a Linux 5.4.263
afa7b11ea8aa mmc: block: Retry commands in CQE error recovery
c8008304db1f mmc: core: convert comma to semicolon
33cc97d2493f mmc: cqhci: Fix task clearing in CQE error recovery
3e78540d98ce mmc: cqhci: Warn of halt or task clear failure
5b87f355462a mmc: cqhci: Increase recovery halt timeout
1a051c6d15aa cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily
d497e1b2f5e5 cpufreq: imx6q: don't warn for disabling a non-existing frequency
b1a66a050f96 scsi: qla2xxx: Fix system crash due to bad pointer access
c1f97cc21eac scsi: qla2xxx: Use scsi_cmd_to_rq() instead of scsi_cmnd.request
df0110425f42 scsi: core: Introduce the scsi_cmd_to_rq() function
66cd60553045 scsi: qla2xxx: Simplify the code for aborting SCSI commands
30511f37c997 ima: detect changes to the backing overlay file
8c85e455f7c9 ovl: skip overlayfs superblocks at global sync
157c8056abb5 ima: annotate iint mutex to avoid lockdep false positive warnings
a8038ae58145 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset
939012ee31d8 mtd: cfi_cmdset_0001: Byte swap OTP info
416dad018edd mtd: cfi_cmdset_0001: Support the absence of protection registers
21ad8c1c4fca s390/cmma: fix detection of DAT pages
c11027d333fd s390/mm: fix phys vs virt confusion in mark_kernel_pXd() functions family
f1db39b1541f smb3: fix touch -h of symlink
97d54b8005c0 net: ravb: Start TX queues after HW initialization succeeded
7023a293e981 net: ravb: Use pm_runtime_resume_and_get()
05aa8f3e3b77 ravb: Fix races between ravb_tx_timeout_work() and net related ops
d37609b52977 net: stmmac: xgmac: Disable FPE MMC interrupts
7ccf772a8bad ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
f8b5b5d23605 Input: xpad - add HyperX Clutch Gladiate Support
6536698eea91 btrfs: make error messages more clear when getting a chunk map
4c6274cfd603 btrfs: send: ensure send_fd is writable
79ffc04aba7a btrfs: fix off-by-one when checking chunk map includes logical address
dd94ffab1b6d btrfs: add dmesg output for first mount and last unmount of a filesystem
30b807d73654 powerpc: Don't clobber f0/vs0 during fp|altivec register save
bb55decee202 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
729da56e01c9 dm verity: don't perform FEC for failed readahead IO
b515ed628447 dm-verity: align struct dm_verity_fec_io properly
d377e593d11e ALSA: hda/realtek: Add supported ALC257 for ChromeOS
47dd3917c48a ALSA: hda/realtek: Headset Mic VREF to 100%
88ce27f0a3f0 ALSA: hda: Disable power-save on KONTRON SinglePC
4a2d1399f848 mmc: block: Do not lose cache flush during CQE error recovery
4d7d14c69667 firewire: core: fix possible memory leak in create_units()
1eaa188f7fec pinctrl: avoid reload of p state in list iteration
40532b29138e io_uring: fix off-by one bvec index
9e7f410f6a43 USB: dwc3: qcom: fix wakeup after probe deferral
db62d193e69b USB: dwc3: qcom: fix resource leaks on probe deferral
ca44455362e3 usb: dwc3: set the dma max_seg_size
7a0b6fc6c3c2 USB: dwc2: write HCINT with INTMASK applied
d1c866356ddb USB: serial: option: don't claim interface 4 for ZTE MF290
38233a62d360 USB: serial: option: fix FM101R-GL defines
83be9405b33e USB: serial: option: add Fibocom L7xx modules
406fae6c799b bcache: prevent potential division by zero error
c00163256ac4 bcache: check return value from btree_node_alloc_replacement()
a658ee793011 dm-delay: fix a race between delay_presuspend and delay_bio
ef918a1ba40c hv_netvsc: Mark VF as slave before exposing it to user-mode
997d895fa495 hv_netvsc: Fix race of register_netdevice_notifier and VF register
f2a0c988d724 USB: serial: option: add Luat Air72*U series products
f1ac7789406e s390/dasd: protect device queue against concurrent access
300e96e171a9 bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in btree_gc_coalesce()
76f791b78da2 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
78c1e3aa693b KVM: arm64: limit PMU version to PMUv3 for ARMv8.1
5d4f6d809efa arm64: cpufeature: Extract capped perfmon fields
32cfd5c3b843 ext4: make sure allocate pending entry not fail
70edeedd795a ext4: fix slab-use-after-free in ext4_es_insert_extent()
15a84cf4c785 ext4: using nofail preallocation in ext4_es_insert_extent()
80c8dcb09feb ext4: using nofail preallocation in ext4_es_insert_delayed_block()
be4684ee83f3 ext4: using nofail preallocation in ext4_es_remove_extent()
d809d1d2edc3 ext4: use pre-allocated es in __es_remove_extent()
059722ec6464 ext4: use pre-allocated es in __es_insert_extent()
53df96011a2f ext4: factor out __es_alloc_extent() and __es_free_extent()
c48b5fdd465e ext4: add a new helper to check if es must be kept
b9cd5c3afc37 MIPS: KVM: Fix a build warning about variable set but not used
afbedd6136cb nvmet: nul-terminate the NQNs passed in the connect command
84ac94bed02a nvmet: remove unnecessary ctrl parameter
07009245d3ba afs: Fix file locking on R/O volumes to operate in local mode
54ffe881d716 afs: Return ENOENT if no cell DNS record can be found
3680d10b4181 net: axienet: Fix check for partial TX checksum
a7e7b928049f amd-xgbe: propagate the correct speed and duplex status
c3a77c754e7f amd-xgbe: handle the corner-case during tx completion
895f1903ea09 amd-xgbe: handle corner-case during sfp hotplug
7fabd97a05fc arm/xen: fix xen_vcpu_info allocation alignment
9beba93f8ca7 net: usb: ax88179_178a: fix failed operations during ax88179_reset
fc23517c8797 ipv4: Correct/silence an endian warning in __ip_do_redirect
6fd145351d48 HID: fix HID device resource race between HID core and debugging support
2c8f79610431 HID: core: store the unique system identifier in hid_device
90b3df8b5b7d drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full
bfdda8c9c58d ata: pata_isapnp: Add missing error check for devm_ioport_map()
9d980808f967 drm/panel: simple: Fix Innolux G101ICE-L01 timings
cc543bad78d5 drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
c2eadc1586e7 afs: Make error on cell lookup failure consistent with OpenAFS
7369371bb875 PCI: keystone: Drop __init from ks_pcie_add_pcie_{ep,port}()
518b7f7d87aa RDMA/irdma: Prevent zero-length STAG registration
d359886a7a80 driver core: Release all resources during unbind before updating device links
(From OE-Core rev: 46e99ac57dc1ae498eb54dbe36797d23439263d4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Concept of gcc-source prevents cve-check to detect existing
CVE patch file.
So whitelist this CVE in all recipes using gcc-source via this
include file.
(From OE-Core rev: 04511734c6dc8c7dda3a943b385cd273d012d8c7)
(From OE-Core rev: 037f640b9272ba055ee41eeb1e6e9b002faefe36)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit d803ca6531)
Signed-off-by: Dnyandev Padalkar <padalkards17082001@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add the hint to the test setup that runqemu-gen-tapdevs will need the
iptables package installed.
(From yocto-docs rev: f703ac90d4fe6f004997e963c0cfc98c223bc146)
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
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_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,
fatal error: stdlib.h: No such file or directory
| 75 | #include_next <stdlib.h>
| | ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.
(From OE-Core rev: 7ab6087536bc67c63094f08f863dcd3d5e35b8e7)
Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fixes [YOCTO #15383]
This bug was introduced into upstream when fixing CVE-2022-29154. It was
later discovered and fixed upstream but this fix didn't make it into
poky yet.
The added patch is taken from upstreams git repository:
fabef23bea
(From OE-Core rev: fb448f87c0b3906b91d453451083dc003ac94ebe)
Signed-off-by: Matthias Schmitz <matthias.schmitz@port4949.net>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
memory corruption when processing malformed terminfo data entries
loaded by setuid/setgid programs
CVE-2023-29491.patch change the --disable-root-environ configure option
behavior.
set --disable-root-environ in configuration options.
--disable-root-environ option with a few additional changes
to the code allows us to mitigate CVE-2023-29491 and avoid
other issues that involve the possibility of malicious use of
environment variables through setuid applications, and, therefore,
it was the fix chosen in order to resolve this vulnerability.
Reference:
https://ubuntu.com/security/CVE-2023-29491https://launchpad.net/ubuntu/+source/ncurses/6.2-0ubuntu2.1
(From OE-Core rev: 041433f0767ae9112f6a74a7d7c93ce9b411792c)
Signed-off-by: virendra thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The original CVE-2023-29406.patch is not complete, causing docker
failures at runtime, backport a complementary fix from golang upstream.
(From OE-Core rev: bff621d5399e5ff2930d21f403bb2f274febd2e4)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This CVE reports that apple had to upgrade curl because of other
already reported CVEs:
* CVE-2023-38039: not affected, introduced in 7.84.0
* CVE-2023-38545: patch already backported
* CVE-2023-38546: patch already backported
* CVE-2023-42915: reference to itself
(From OE-Core rev: 067740c834a98cd8f5cfff7f73418d18b8e1249a)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
In the case of a zero length string being returned by fgets(), the condition
checking for a trailing new line would perform a bad memory access outside
of `buf`. This might happen when line with a leading null byte is read.
Avoid this case by checking that the string has a length of at least one
byte.
Link: 8b45a3c4ca
(From OE-Core rev: 32e3618891295cec1ee5d4195998aa97f93b2207)
Signed-off-by: virendra thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
CVE-2024-0553
A vulnerability was found in GnuTLS. The response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from response times of ciphertexts with correct PKCS#1 v1.5 padding. This issue may allow a remote attacker to perform a timing side-channel attack in the RSA-PSK key exchange, potentially leading to the leakage of sensitive data. CVE-2024-0553 is designated as an incomplete resolution for CVE-2023-5981.
Upstream-Status: Backport [40dbbd8de4]
(From OE-Core rev: a07cc0b6fa4a485f318fd2957e434b63f5907d7e)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Running 'bitbake-layers layerindex-show-depends meta-filesystems' fails with:
```
Traceback (most recent call last):
File "<...>/poky/bitbake/bin/bitbake-layers", line 93, in <module>
ret = main()
File "<...>/poky/bitbake/bin/bitbake-layers", line 86, in main
return args.func(args)
File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 209, in do_layerindex_show_depends
self.do_layerindex_fetch(args)
File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 182, in do_layerindex_fetch
args.shallow)
AttributeError: 'Namespace' object has no attribute 'shallow'
```
Initialize the shallow attribute to fix it.
(Bitbake rev: 146cd25252ef065d09df0980b7dc670cb7e7b109)
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The yocto website has changed its structure. Update the section for
Accessing the Downloads page to match the new structure.
(From yocto-docs rev: f9a3b59c130d498c02dfdc016958c92ac74737a7)
Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This CVE is for iCPE cloudflare:zlib.
Alternative to ignoring would be to limit CVE_PRODUCT, but
historic CVEs already have two - gnu:zlib and zlib:zlib.
So limiting it could miss future CVEs.
(From OE-Core rev: 5dc87309639e78195eb1283afc193f6eac63b044)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backport patch for gitlab issue mentioned in NVD CVE report.
* https://gitlab.gnome.org/GNOME/libxml2/-/issues/583
Backport also one of 14 patches for older issue with similar errors
to have clean cherry-pick without patch fuzz.
* https://gitlab.gnome.org/GNOME/libxml2/-/issues/344
The CVE is disputed because the maintainer does not think that
errors after memory allocation failures are not critical enough
to warrant a CVE ID.
This patch will formally fix reported error case, trying to backport
another 13 patches and resolve conflicts would be probably overkill
due to disputed state.
This CVE was ignored on master branch (as diputed).
(From OE-Core rev: 03b766e42beb42a2085285308acbcf941f346b06)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Sometimes NVD servers are unstable and return too many errors.
There is an option to have higher fetch attempts to increase the chances
of successfully fetching the CVE data.
Additionally, it also makes sense to progressively increase the delay
after a failed request to an already unstable or busy server.
The increase in delay is reset after every successful request and
the maximum delay is limited to 30 seconds.
Also, the logs are improved to give more clarity.
(From OE-Core rev: 9e03b7a9879fd16e32f4eccb78b438f6fa9db74d)
Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7101d654635b707e56b0dbae8c2146b312d211ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
As per NVD, the public rate limit is 5 requests in 30s (6s delay).
Using an API key increases the limit to 50 requests in 30s (0.6s delay).
However, NVD still recommends sleeping for several seconds so that the
other legitimate requests are serviced without denial or interruption.
Keeping the default sleep at 6 seconds and 2 seconds with an API key.
For failures, the wait time is unchanged (6 seconds).
Reference: https://nvd.nist.gov/developers/start-here#RateLimits
(From OE-Core rev: eb5ab00be33a503205401541e88c32ba9da1d75c)
Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5c32e2941d1dc3d04a799a1b7cbd275c1ccc9e79)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Sometimes NVD servers are unstable and return too many errors.
Last time we increased number of attempts from 3 to 5, but
further increasing is not reasonable as in normal case
too many retries is just abusive.
Keep retries low as default and allow to increase as needed.
(From OE-Core rev: ee2a6ade703317d09f7df60ef7ce300d8f868f54)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b6fd8043d83b99000054ab6ad2c745d07c6bcc1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This variable is not referenced in oe-core anymore.
(From OE-Core rev: 70676801f1f8fe498ff34fc1db72b6a3bf438d4a)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 905b45a814cb33327503b793741c19b44c8550b3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
A bug in QEMU could cause a guest I/O operation otherwise
addressed to an arbitrary disk offset to be targeted to
offset 0 instead (potentially overwriting the VM's boot code).
This change is to fix CVE-2023-5088.
Link: 7d7512019f
(From OE-Core rev: df9e2d40c52b752940de61388997e485da56de0c)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
A malicious HTTP sender can use chunk extensions to cause a receiver
reading from a request or response body to read many more bytes from
the network than are in the body. A malicious HTTP client can further
exploit this to cause a server to automatically read a large amount
of data (up to about 1GiB) when a handler fails to read the entire
body of a request. Chunk extensions are a little-used HTTP feature
which permit including additional metadata in a request or response
body sent using the chunked encoding. The net/http chunked encoding
reader discards this metadata. A sender can exploit this by inserting
a large metadata segment with each byte transferred. The chunk reader
now produces an error if the ratio of real body to encoded bytes grows
too small.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-39326https://security-tracker.debian.org/tracker/CVE-2023-39326
(From OE-Core rev: 5b55648f3142762c9563289c1b19aa3b7de27164)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
A recipe variable handles its dependencies even on the "contains"
variables within the "inline Python expressions" like bb.utils.filter().
And it also handles those in the append operator correctly, but the
problem is that it does not so in the remove operator.
Fix it by adding the missing dependencies every time the remove
operator has been handled.
Also add a test case to check if the override operators handle
dependencies correctly.
(Bitbake rev: 48799c68b69b7921c809e0fc970303866643eb2a)
Signed-off-by: Insu Park <insu0.park@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cherry-picked from master: b90520eedb1dbc7f6a3928d089fe74fafb864eb5
- Conflicts in data.py are resolved as the master branch moved
handle_contains() and handle_remove() out of the try block
and added the 3rd argument, "exclusions", to handle_contains().
- The test code in codeparser.py are modified as the master branch
added three more arguments to the build_dependencies().
Signed-off-by: Insu Park <insu0.park@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.
It isn't possible to cherry-pick "testimage: Drop target_dumper and most of monitor_dumper"
from master, so just make target_dumper and host_dumper empty functions.
For further details see:
https://lists.openembedded.org/g/openembedded-architecture/message/1888
(From OE-Core rev: 94e9019d2f170a26206c2774381a1d183313ecaa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
wtmp is filled with binary data which the run_serial command can't cope with.
Catting this results in confusion of the serial interface and potentially large
backlogs of data in the buffers which can hang qemu.
Exclude the problematic files from the command.
(From OE-Core rev: 05d9f9c6b27c0216fa4e349109ef42cf91bb4084)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 599ac08a6f6fb3f6a89a897c8e06367c63c2f979)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Verify that an existing layer path was given when adding a new
layer.
Manually using the shell for globbing is unnecessary, use the glob
function instead for cleaner code.
(Bitbake rev: 48d1d18c23b3f514dc7a1ee12cc35cf5993af88d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Integrating the following commit(s) to linux-yocto/5.4:
1/1 [
Author: Bruce Ashfield
Email: bruce.ashfield@gmail.com
Subject: rt: drop -stable migrate_disable
Date: Mon, 11 Dec 2023 08:50:52 -0500
The -rt branches already have a migrate disable mechanism, we
drop the -stable version to fix build issues.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: f29aff4a2a907f70c5397f9f1f7b5c1f8beb8647)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We try to write sstate with group-write permissions so that sstate-cache
can be shared between multiple users. However the siginfo files are
created in various tasks which may set their own umask (such as
do_populate_sysroot, 0022). This results in no group write permission
on the intermediate directories, which is fatal when sharing a cache.
Fix this by wrapping the siginfo mkdir in a umask change to 0002.
(Bitbake rev: c0d60794a32e3f8bbfbbd6800d87ef2782aacf2c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a umask context manager which can be used to temporarily change the
umask in a 'with' block.
(Bitbake rev: 6ca998054e422da72c7906d3ec4f204d88c32ee0)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
8e221b47173d Linux 5.4.262
b053223b7cf4 netfilter: nf_tables: bogus EBUSY when deleting flowtable after flush (for 5.4)
c35df8b8c572 netfilter: nf_tables: disable toggling dormant table state more than once
e10f661adc55 netfilter: nf_tables: fix table flag updates
46c2947fcd71 netfilter: nftables: update table flags from the commit phase
b09e6ccf0d12 netfilter: nf_tables: double hook unregistration in netns path
b05a24cc453e netfilter: nf_tables: unregister flowtable hooks on netns exit
a995a68e8a3b netfilter: nf_tables: fix memleak when more than 255 elements expired
b95d7af657a8 netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
61a7b3de20e2 netfilter: nft_set_rbtree: use read spinlock to avoid datapath contention
03caf75da105 netfilter: nft_set_rbtree: skip sync GC for new elements in this transaction
021d734c7eaa netfilter: nf_tables: defer gc run if previous batch is still pending
38ed6a5f836f netfilter: nf_tables: use correct lock to protect gc_list
4b6346dc1edf netfilter: nf_tables: GC transaction race with abort path
b76dcf466223 netfilter: nf_tables: GC transaction race with netns dismantle
29ff9b8efb84 netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path
1398a0eee290 netfilter: nf_tables: remove busy mark and gc batch API
85520a1f1d87 netfilter: nft_set_hash: mark set element as dead when deleting from packet path
c357648929c8 netfilter: nf_tables: adapt set backend to use GC transaction API
bbdb3b65aa91 netfilter: nf_tables: GC transaction API to avoid race with control plane
1da4874d05da netfilter: nf_tables: don't skip expired elements during walk
acaee227cf79 netfilter: nft_set_rbtree: fix overlap expiration walk
899aa5638568 netfilter: nft_set_rbtree: fix null deref on element insertion
181859bdfb97 netfilter: nft_set_rbtree: Switch to node list walk for overlap detection
3c7ec098e3b5 netfilter: nf_tables: drop map element references from preparation phase
6b880f3b2c04 netfilter: nftables: rename set element data activation/deactivation functions
e1eed9e0b5e8 netfilter: nf_tables: pass context to nft_set_destroy()
961c4511c757 tracing: Have trace_event_file have ref counters
7676a41d90c5 drm/amdgpu: fix error handling in amdgpu_bo_list_get()
36383005f1db ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks
e95f74653dff ext4: correct the start block of counting reserved clusters
1fbfdcc3d65e ext4: correct return value of ext4_convert_meta_bg
dfdfd3f21830 ext4: correct offset of gdb backup in non meta_bg group to update_backups
85c12e80c474 ext4: apply umask if ACL support is disabled
d2aed8814f02 Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E"
b9e5f633b35d nfsd: fix file memleak on client_opens_release
339d7d40d3dc media: venus: hfi: add checks to handle capabilities from firmware
cab97cdd409a media: venus: hfi: fix the check to handle session buffer requirement
5d39d0c1f43f media: venus: hfi_parser: Add check to keep the number of codecs within range
497b12d47cc6 media: sharp: fix sharp encoding
92d8a0478fb3 media: lirc: drop trailing space from scancode transmit
cac054d10324 i2c: i801: fix potential race in i801_block_transaction_byte_by_byte
b132e462363f net: dsa: lan9303: consequently nested-lock physical MDIO
229738d71702 Revert ncsi: Propagate carrier gain/loss events to the NCSI controller
4074957ec6bb Bluetooth: btusb: Add 0bda:b85b for Fn-Link RTL8852BE
356a2ee5fc36 Bluetooth: btusb: Add RTW8852BE device 13d3:3570 to device tables
afe92b66a5d8 bluetooth: Add device 13d3:3571 to device tables
dc073a2626d3 bluetooth: Add device 0bda:887b to device tables
75d26f7f6118 Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0cb8:0xc559
323710a6b4c6 Bluetooth: btusb: add Realtek 8822CE to usb_device_id table
981ee23b8d48 Bluetooth: btusb: Add flag to define wideband speech capability
0fe69c99cc13 tty: serial: meson: fix hard LOCKUP on crtscts mode
8f40bbf7dc01 serial: meson: Use platform_get_irq() to get the interrupt
a1113f2c9b2c tty: serial: meson: retrieve port FIFO size from DT
13391526d817 serial: meson: remove redundant initialization of variable id
6245d0d70fe8 ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC
4ef452297de4 ALSA: info: Fix potential deadlock at disconnection
c7df9523fed2 parisc/pgtable: Do not drop upper 5 address bits of physical address
c32dfec86714 parisc: Prevent booting 64-bit kernels on PA1.x machines
d570d139cb38 i3c: master: cdns: Fix reading status register
ad6941b192ca mm/cma: use nth_page() in place of direct struct page manipulation
36512866607e dmaengine: stm32-mdma: correct desc prep when channel running
4a5c267d5700 mcb: fix error handling for different scenarios when parsing
25eb381a736e i2c: core: Run atomic i2c xfer when !preemptible
975b5ff33f9a kernel/reboot: emergency_restart: Set correct system_state
421f9ccc75c5 quota: explicitly forbid quota files from being encrypted
7d0c36cd2e65 jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev
665c2f186b8c btrfs: don't arbitrarily slow down delalloc if we're committing
b5a8382cf829 PM: hibernate: Clean up sync_read handling in snapshot_write_next()
2b3cfdaa8833 PM: hibernate: Use __get_safe_page() rather than touching the list
612c17a90fce mmc: vub300: fix an error code
398940412e8d clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks
0b2b22b706ec parisc/pdc: Add width field to struct pdc_model
012dba0ab814 PCI: keystone: Don't discard .probe() callback
9988c9dc3c8b PCI: keystone: Don't discard .remove() callback
a438322e0078 genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware
683c562c434d mmc: meson-gx: Remove setting of CMD_CFG_ERROR
d894f9288cff ACPI: resource: Do IRQ override on TongFang GMxXGxx
7b15bc9b753f PCI/sysfs: Protect driver's D3cold preference from user space
78d3487b5b87 hvc/xen: fix error path in xen_hvc_init() to always register frontend driver
6b21ae025b82 audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare()
c0d01f03aaac audit: don't take task_lock() in audit_exe_compare() code path
4d0a828775f0 KVM: x86: Ignore MSR_AMD64_TW_CFG access
5066faedd2f7 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space
268d17ab637a x86/cpu/hygon: Fix the CPU topology evaluation for real
acbc12b0b348 scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers
bae690510316 bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END
6933bc9a5f77 randstruct: Fix gcc-plugin performance mode to stay in group
c94d05ac6937 media: venus: hfi: add checks to perform sanity on queue pointers
6d028ade9db7 cifs: spnego: add ';' in HOST_KEY_LEN
26415e35f669 tools/power/turbostat: Fix a knl bug
a49786297b83 macvlan: Don't propagate promisc change to lower dev in passthru
04cb9ab8ebc5 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors
c740f4716a44 net/mlx5_core: Clean driver version and name
e4bdbcce8e02 net/mlx5e: fix double free of encap_header
5cc1f24f7333 net: stmmac: fix rx budget limit check
c4b712d1a814 net: stmmac: Rework stmmac_rx()
b2762d13dfae netfilter: nf_conntrack_bridge: initialize err to 0
fd51e7541ff6 net: ethernet: cortina: Fix MTU max setting
823bffdaac39 net: ethernet: cortina: Handle large frames
f5055d7345d6 net: ethernet: cortina: Fix max RX frame define
b4f0e605a508 bonding: stop the device in bond_setup_by_slave()
7ea0a719e578 ptp: annotate data-race around q->head and q->tail
89af55e0fa13 xen/events: fix delayed eoi list handling
db957a2f5481 ppp: limit MRU to 64K
f3b250d91993 tipc: Fix kernel-infoleak due to uninitialized TLV value
77236275d4cd net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
14c6cd41c851 tty: Fix uninit-value access in ppp_sync_receive()
4d2d30f0792b ipvlan: add ipvlan_route_v6_outbound() helper
ed53c1518811 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO
fe449f8b9727 wifi: iwlwifi: Use FW rate for non-data frames
eca19db60f99 pwm: Fix double shift bug
d996530ba92c ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings
6d703922bc9e kgdb: Flush console before entering kgdb on panic
eac3e4760aa1 drm/amd/display: Avoid NULL dereference of timing generator
514565ff7fce media: cobalt: Use FIELD_GET() to extract Link Width
2bb42a27a92f gfs2: ignore negated quota changes
a251e20a2cbe media: vivid: avoid integer overflow
8f83c85ee882 media: gspca: cpia1: shift-out-of-bounds in set_flicker
a8f829886d47 i2c: sun6i-p2wi: Prevent potential division by zero
80876a07ca3b usb: gadget: f_ncm: Always set current gadget in ncm_bind()
460284dfb10b tty: vcc: Add check for kstrdup() in vcc_probe()
35b9435123ef HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W
b549acf99982 scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup()
33906b36b15d atm: iphase: Do PCI error checks on own line
54f4dde8fa0c PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
2527775616f3 ALSA: hda: Fix possible null-ptr-deref when assigning a stream
953ed26a77c6 ARM: 9320/1: fix stack depot IRQ stack filter
7467ca10a5ff jfs: fix array-index-out-of-bounds in diAlloc
ecfb47f13b08 jfs: fix array-index-out-of-bounds in dbFindLeaf
32bd8f1cbcf8 fs/jfs: Add validity check for db_maxag and db_agpref
a81a56b4cbe3 fs/jfs: Add check for negative db_l2nbperpage
e18d266fb3f1 RDMA/hfi1: Use FIELD_GET() to extract Link Width
c9c133469730 crypto: pcrypt - Fix hungtask for PADATA_RESET
ddd6e5266343 selftests/efivarfs: create-read: fix a resource leak
437e0fa907ba drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL
d50a56749e5a drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga
c847379a5d00 drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7
1f24c286f4a4 drm/komeda: drop all currently held locks if deadlock happens
5305ae0d4ad8 platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
3c4236f1b2a7 Bluetooth: Fix double free in hci_conn_cleanup
3cf391e4174a wifi: ath10k: Don't touch the CE interrupt registers after power up
252bde6b17b8 net: annotate data-races around sk->sk_dst_pending_confirm
73909810ac27 net: annotate data-races around sk->sk_tx_queue_mapping
bd653b07095a wifi: ath10k: fix clang-specific fortify warning
32cc96dc5f4e wifi: ath9k: fix clang-specific fortify warnings
efeae5f4972f wifi: mac80211: don't return unset power in ieee80211_get_tx_power()
770da15be321 wifi: mac80211_hwsim: fix clang-specific fortify warning
cfe13e1486d4 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size
91f7467ac96a clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware
da667a3f8e23 clocksource/drivers/timer-imx-gpt: Fix potential memory leak
788c0b3442ea perf/core: Bail out early if the request AUX area is out of bound
dcd85e3c9293 locking/ww_mutex/test: Fix potential workqueue corruption
ef379773e2e7 Linux 5.4.261
3542ef5c3748 btrfs: use u64 for buffer sizes in the tree search ioctls
7868e6151a6d Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
7be3aca8d73d fbdev: fsl-diu-fb: mark wr_reg_wa() static
6c66d737b272 fbdev: imsttfb: fix a resource leak in probe
b90c8dfd715f fbdev: imsttfb: Fix error path of imsttfb_probe()
4a6a3f1b3840 spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
157333513d14 drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
21858a75dc78 netfilter: nat: fix ipv6 nat redirect with mapped and scoped addresses
ae99c5e16a83 netfilter: nft_redir: use `struct nf_nat_range2` throughout and deduplicate eval call-backs
11380557c236 netfilter: xt_recent: fix (increase) ipv6 literal buffer length
cce1d4668191 r8169: respect userspace disabling IFF_MULTICAST
e820e23338d1 tg3: power down device only on SYSTEM_POWER_OFF
f8065cde49b2 net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
592f934b7a22 net: stmmac: xgmac: Enable support for multiple Flexible PPS outputs
85513df59a3e Fix termination state for idr_for_each_entry_ul()
56cddb5e657f net: r8169: Disable multicast filter for RTL8168H and RTL8107E
e5a664ef4928 dccp/tcp: Call security_inet_conn_request() after setting IPv6 addresses.
3af0af2f98f3 dccp: Call security_inet_conn_request() after setting IPv4 addresses.
afa49774d812 inet: shrink struct flowi_common
2199260c42e6 tipc: Change nla_policy for bearer-related names to NLA_NUL_STRING
cbdcdf42d15d llc: verify mac len before reading mac header
50d122536661 Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
e3677bfcbbcb pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
6e9b5295892e pwm: sti: Reduce number of allocations and drop usage of chip_data
19e45307f71f pwm: sti: Avoid conditional gotos
c4d5179e42b4 regmap: prevent noinc writes from clobbering cache
d62d868b30b8 media: dvb-usb-v2: af9035: fix missing unlock
7843a9bfbe13 media: s3c-camif: Avoid inappropriate kfree()
b35fdade92c5 media: bttv: fix use after free error due to btv->timeout timer
0bc0e36fccc2 pcmcia: ds: fix possible name leak in error path in pcmcia_device_add()
1502edd4a014 pcmcia: ds: fix refcount leak in pcmcia_device_add()
58d6fb6a933c pcmcia: cs: fix possible hung task and memory leak pccardd()
37212eede637 rtc: pcf85363: fix wrong mask/val parameters in regmap_update_bits call
204beeb509d3 i3c: Fix potential refcount leak in i3c_master_register_new_i3c_devs
247ed618f534 powerpc/pseries: fix potential memory leak in init_cpu_associativity()
cee681d4b22b powerpc/imc-pmu: Use the correct spinlock initializer.
dc5804b47b66 powerpc/xive: Fix endian conversion size
b6cffe8dd7cd modpost: fix tee MODULE_DEVICE_TABLE built on big-endian host
90ab33735e2e f2fs: fix to initialize map.m_pblk in f2fs_precache_extents()
9f20b06214dc dmaengine: pxa_dma: Remove an erroneous BUG_ON() in pxad_free_desc()
688326e2cf9e USB: usbip: fix stub_dev hub disconnect
b003b7a7d42e tools: iio: iio_generic_buffer ensure alignment
7a64d15db7aa tools: iio: iio_generic_buffer: Fix some integer type and calculation
db6d5b9ff6e8 tools: iio: privatize globals and functions in iio_generic_buffer.c file
55b90e4c406a misc: st_core: Do not call kfree_skb() under spin_lock_irqsave()
ed9b2ad3b9ca dmaengine: ti: edma: handle irq_of_parse_and_map() errors
64c47749fc75 usb: dwc2: fix possible NULL pointer dereference caused by driver concurrency
4050f13f71f2 tty: tty_jobctrl: fix pid memleak in disassociate_ctty()
ba46faaa49c5 leds: trigger: ledtrig-cpu:: Fix 'output may be truncated' issue for 'cpu'
abfd682fc5f0 ledtrig-cpu: Limit to 8 CPUs
f6c3b7a4ce51 leds: pwm: Don't disable the PWM when the LED should be off
cd6f50115fab leds: pwm: convert to atomic PWM API
9686f771c096 leds: pwm: simplify if condition
87b1ee831ddf mfd: dln2: Fix double put in dln2_probe
b843d2cd134b ASoC: ams-delta.c: use component after check
4634c9cc726d ASoC: Intel: Skylake: Fix mem leak when parsing UUIDs fails
66888e6953f8 sh: bios: Revive earlyprintk support
fdcbe9ce7bf3 RDMA/hfi1: Workaround truncation compilation error
01698922f5d3 scsi: ufs: core: Leave space for '\0' in utf8 desc string
3c61391a31a6 ext4: move 'ix' sanity check to corrent position
454e6493bbda ARM: 9321/1: memset: cast the constant byte to unsigned char
727203e6e7e7 hid: cp2112: Fix duplicate workqueue initialization
48bb2931f24c HID: cp2112: Use irqchip template
7b62cf90d0ea crypto: caam/jr - fix Chacha20 + Poly1305 self test failure
090e89c71620 crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
40ba3fa21250 nd_btt: Make BTT lanes preemptible
68655462f8be sched/rt: Provide migrate_disable/enable() inlines
d14a373fe559 libnvdimm/of_pmem: Use devm_kstrdup instead of kstrdup and check its return value
f5d95a39683e hwrng: geode - fix accessing registers
e4e4d4abb82b clk: scmi: Free scmi_clk allocated when the clocks with invalid info are skipped
ce11e445d0ae firmware: ti_sci: Mark driver as non removable
5d97cc0b491e firmware: ti_sci: Replace HTTP links with HTTPS ones
cc1a1dcb411f soc: qcom: llcc: Handle a second device without data corruption
813fdddde20f soc: qcom: Rename llcc-slice to llcc-qcom
077010717b52 soc: qcom: llcc cleanup to get rid of sdm845 specific driver file
3da50ee512e2 ARM: dts: qcom: mdm9615: populate vsdcc fixed regulator
6b464d9414e3 arm64: dts: qcom: sdm845-mtp: fix WiFi configuration
64d990086065 drm/rockchip: cdn-dp: Fix some error handling paths in cdn_dp_probe()
ddc42881f170 drm/radeon: possible buffer overflow
4a29f0f7a1b7 drm/rockchip: vop: Fix call to crtc reset helper
824f0f4f93c6 drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs
eaf62ea6504f hwmon: (coretemp) Fix potentially truncated sysfs attribute name
9fb0eed09e14 platform/x86: wmi: Fix opening of char device
22117b77eecb platform/x86: wmi: remove unnecessary initializations
1607ea8a8161 platform/x86: wmi: Fix probe failure when failing to register WMI devices
d1461f0c9ca0 clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data
e8ae4b49dd9c clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data
cfa68e0ac5dc clk: mediatek: clk-mt7629-eth: Add check for mtk_alloc_clk_data
2705c5b97f50 clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data
fbe466f06d4e clk: mediatek: clk-mt6779: Add check for mtk_alloc_clk_data
8ae911637b0b clk: npcm7xx: Fix incorrect kfree
cbcf67b0bc5d clk: keystone: pll: fix a couple NULL vs IS_ERR() checks
3d38bc4bab88 clk: imx: Select MXC_CLK for CLK_IMX8QXP
ae98b5ef991a clk: qcom: gcc-sm8150: Fix gcc_sdcc2_apps_clk_src
15f335494bb3 clk: qcom: gcc-sm8150: use ARRAY_SIZE instead of specifying num_parents
141ccc127230 clk: qcom: clk-rcg2: Fix clock rate overflow for high parent frequencies
dbf13624b2de regmap: debugfs: Fix a erroneous check after snprintf()
af50165c1218 ipvlan: properly track tx_errors
76304c749e05 net: add DEV_STATS_READ() helper
4482b250c895 ipv6: avoid atomic fragment on GSO packets
19d527337870 ACPI: sysfs: Fix create_pnp_modalias() and create_of_modalias()
5105d46146f2 tcp: fix cookie_init_timestamp() overflows
e4e819bdc8f3 tcp: Remove one extra ktime_get_ns() from cookie_init_timestamp
7ab8aa73002c chtls: fix tp->rcv_tstamp initialization
75bbf6e93462 r8169: fix rare issue with broken rx after link-down on RTL8125
282342bc47c6 r8169: use tp_to_dev instead of open code
3091ab943dfc thermal: core: prevent potential string overflow
35854733ae67 can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on()
b53be254d30f can: dev: can_restart(): don't crash kernel if carrier is OK
a29f012a27cf wifi: rtlwifi: fix EDCA limit set by BT coexistence
bed72a332f02 tcp_metrics: do not create an entry from tcp_init_metrics()
f3902c0e6f08 tcp_metrics: properly set tp->snd_ssthresh in tcp_init_metrics()
b78f2b7774a0 tcp_metrics: add missing barriers on delete
af0fe2c2ff4d wifi: mt76: mt7603: rework/fix rx pse hang check
a2e99dbdc127 wifi: rtw88: debug: Fix the NULL vs IS_ERR() bug for debugfs_create_file()
c9b929f7932b tcp: call tcp_try_undo_recovery when an RTOd TFO SYNACK is ACKed
25eaef1d0d0e i40e: fix potential memory leaks in i40e_remove()
09ce728c9e27 genirq/matrix: Exclude managed interrupts in irq_matrix_allocated()
3718a48ef495 vfs: fix readahead(2) on block devices
(From OE-Core rev: a1e332f095eec1cb7a386a14c9ff4ce59594901a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
87e8e7a7aa1f Linux 5.4.260
8b0ecf2167a0 tty: 8250: Add support for Intashield IS-100
6dd5561b2385 tty: 8250: Add support for Brainboxes UP cards
03145e0ff8ab tty: 8250: Add support for additional Brainboxes UC cards
5a6471372f9b tty: 8250: Remove UC-257 and UC-431
72f236b57f1c usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility
792a91fcd20d PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device
4b865e0d78a0 Revert "ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver"
4e53bab11f01 nvmet-tcp: Fix a possible UAF in queue intialization setup
2c9415ec8ea9 nvmet-tcp: move send/recv error handling in the send/recv methods instead of call-sites
784ef618b2cc remove the sx8 block driver
a31f8222a74c ata: ahci: fix enum constants for gcc-13
cc1afa62e231 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
7e429d1f3994 platform/mellanox: mlxbf-tmfifo: Fix a warning message
5f4f58eac361 platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 0x20 to 0x2e
88d1aa03eb16 scsi: mpt3sas: Fix in error path
b1f62e3ef90c fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit()
fb02de64791c ASoC: rt5650: fix the wrong result of key button
b6c09ff5eada netfilter: nfnetlink_log: silence bogus compiler warning
6c23b6d308af spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
788b308340ef fbdev: atyfb: only use ioremap_uc() on i386 and ia64
848b9c688865 Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
a0bf183db438 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe
39ae053abbad irqchip/stm32-exti: add missing DT IRQ flag translation
fbcd05a0dbda Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
cda248f16924 x86: Fix .brk attribute in linker script
01e6885b75e2 rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
cff56d7a9274 rpmsg: glink: Release driver_override
3d1478598057 rpmsg: Fix calling device_lock() on non-initialized device
e70898ae1a42 rpmsg: Fix kfree() of static memory on setting driver_override
0df5d801359e rpmsg: Constify local variable in field store macro
063444d66f90 driver: platform: Add helper for safer setting of driver_override
83ecffd40c65 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
66cfd4cf6ac8 ext4: avoid overlapping preallocations due to overflow
1e0a5dec2638 ext4: add two helper functions extent_logical_end() and pa_logical_end()
c2102ac1033f x86/mm: Fix RESERVE_BRK() for older binutils
ced79d864bfd x86/mm: Simplify RESERVE_BRK()
5fc242c11804 nfsd: lock_rename() needs both directories to live on the same fs
e9a988cd4c8b f2fs: fix to do sanity check on inode type during garbage collection
750de03de7e1 smbdirect: missing rc checks while waiting for rdma events
5776aeee2a60 kobject: Fix slab-out-of-bounds in fill_kobj_path()
0a45e0e5dd8d arm64: fix a concurrency issue in emulation_proc_handler()
6ba2ffe3cb1c drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
9d29933f36e1 x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility
1ed21b207ece i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
f48670c3b089 clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name
511f3e9bbb0a perf/core: Fix potential NULL deref
8de78231cba9 nvmem: imx: correct nregs for i.MX6UL
0b2c3a8601cc nvmem: imx: correct nregs for i.MX6SLL
6063678df7fa nvmem: imx: correct nregs for i.MX6ULL
12337d3e8819 i2c: aspeed: Fix i2c bus hang in slave read
e3d8ef87a9b1 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
5764f6e546a9 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
a3b9bcedd7ad i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
07ec3d952a4a i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
519ff2d9fecf iio: exynos-adc: request second interupt only when touchscreen mode is used
2bf9fbd13635 gtp: fix fragmentation needed check with gso
2ab1b7ad5046 gtp: uapi: fix GTPA_MAX
54ba3b8267b0 tcp: fix wrong RTO timeout when received SACK reneging
29cb3f81bc71 r8152: Cancel hw_phy_work if we have an error in probe
6124d0b100bf r8152: Run the unload routine if we have errors during probe
1d3cb4aa9388 r8152: Increase USB control msg timeout to 5000ms as per spec
2f8da9511607 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show()
ec885679fa9a igc: Fix ambiguity in the ethtool advertising
3b098edafefa neighbour: fix various data-races
418ca6e63e06 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
00ef4a7de62c treewide: Spelling fix in comment
e44e78ff44e5 r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1
b9ba50fc18d7 r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1
a27c6bfc5287 virtio-mmio: fix memory leak of vm_dev
8d394fcb0398 virtio_balloon: Fix endless deflation and inflation on arm64
be84e96426ed mcb-lpc: Reallocate memory region to avoid memory overlapping
3235094d55de mcb: Return actual parsed size when reading chameleon table
fbe17a8be10a selftests/ftrace: Add new test case which checks non unique symbol
4d057ca86eaa mtd: rawnand: marvell: Ensure program page operations are successful
86ea40e6ad22 Linux 5.4.259
c01ac092d97c xfrm6: fix inet6_dev refcount underflow problem
b849a38e187d Bluetooth: hci_sock: Correctly bounds check and pad HCI_MON_NEW_INDEX name
4d161e18b1c4 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
a0f0e43128f3 phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
d1618b922347 phy: mapphone-mdm6600: Fix runtime PM for remove
4db06513a0ee phy: mapphone-mdm6600: Fix runtime disable on probe
083ff5b50cf8 ASoC: pxa: fix a memory leak in probe()
27a17a259005 gpio: vf610: set value before the direction to avoid a glitch
664aad86e5e8 s390/pci: fix iommu bitmap allocation
7252c8b98185 perf: Disallow mis-matched inherited group reads
32279bbbd811 USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
1ff2a7fa0cc0 USB: serial: option: add entry for Sierra EM9191 with new firmware
eb8f5e40cbe6 USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
b43a412aa1ef ACPI: irq: Fix incorrect return value in acpi_register_gsi()
3189d2d58728 Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
690eb3772f97 mmc: core: Capture correct oemid-bits for eMMC cards
894b678d865b mmc: core: sdio: hold retuning if sdio in 1-bit mode
37ae7c493a07 mtd: physmap-core: Restore map_rom fallback
de28fa53318e mtd: spinand: micron: correct bitmask for ecc status
bd68f5068401 mtd: rawnand: qcom: Unmap the right resource upon probe failure
a787e07755b6 Bluetooth: hci_event: Fix using memcmp when comparing keys
897d6aee8fb4 HID: multitouch: Add required quirk for Synaptics 0xcd7e device
9cae05233b44 btrfs: fix some -Wmaybe-uninitialized warnings in ioctl.c
693ecef54334 drm: panel-orientation-quirks: Add quirk for One Mix 2S
4030effab831 sky2: Make sure there is at least one frag_addr available
340bb4b71661 regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()"
d7604e819aa6 wifi: cfg80211: avoid leaking stack data into trace
139234011fde wifi: mac80211: allow transmitting EAPOL frames with tainted key
b48595f5b1c6 Bluetooth: hci_core: Fix build warnings
16e36cde2738 Bluetooth: Avoid redundant authentication
fa83d852e987 HID: holtek: fix slab-out-of-bounds Write in holtek_kbd_input_event
981dfec995a6 tracing: relax trace_event_eval_update() execution with cond_resched()
b5d9f34f38ba ata: libata-eh: Fix compilation warning in ata_eh_link_report()
392f597eadd7 gpio: timberdale: Fix potential deadlock on &tgpio->lock
91ae08dc3033 overlayfs: set ctime when setting mtime and atime
01a4e9bc63b7 i2c: mux: Avoid potential false error message in i2c_mux_add_adapter
97cb55f41e2a btrfs: initialize start_slot in btrfs_log_prealloc_extents
a055d9d4dd78 btrfs: return -EUCLEAN for delayed tree ref with a ref count not equals to 1
d65dbb2aa4f3 ARM: dts: ti: omap: Fix noisy serial with overrun-throttle-ms for mapphone
611c991b9e5f ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
b2d0649c8edf ACPI: resource: Skip IRQ override on ASUS ExpertBook B1502CBA
8c0982fc4b72 ACPI: resource: Skip IRQ override on Asus Expertbook B2402CBA
0818716a9012 ACPI: resource: Add Asus ExpertBook B2502 to Asus quirks
c6f7b3358640 ACPI: resource: Skip IRQ override on Asus Vivobook S5602ZA
b1f5f4720f52 ACPI: resource: Add ASUS model S5402ZA to quirks
fdcd669371da ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA
cd202a9f88f1 ACPI: resources: Add DMI-based legacy IRQ override quirk
26b2bc9bdcde ACPI: Drop acpi_dev_irqresource_disabled()
583913b1a667 resource: Add irqresource_disabled()
d6878d39b675 net: pktgen: Fix interface flags printing
cee9ea14c8c7 netfilter: nft_set_rbtree: .deactivate fails if element has expired
863acae0b83a neighbor: tracing: Move pin6 inside CONFIG_IPV6=y section
f34916502d91 net/sched: sch_hfsc: upgrade 'rt' to 'sc' when it becomes a inner curve
b1ad377bbaf7 i40e: prevent crash on probe if hw registers have invalid values
c813d17660f8 net: usb: smsc95xx: Fix an error code in smsc95xx_reset()
47419f2aefb3 ipv4: fib: annotate races around nh->nh_saddr_genid and nh->nh_saddr
00a251ea4507 tun: prevent negative ifindex
8710dbe09e46 tcp: tsq: relax tcp_small_queue_check() when rtx queue contains a single skb
1ae2c7d44e7e tcp: fix excessive TLP and RACK timeouts from HZ rounding
eb1a33195a30 net: rfkill: gpio: prevent value glitch during probe
cd44e14573c4 net: ipv6: fix return value check in esp_remove_trailer
03b88b7d2a13 net: ipv4: fix return value check in esp_remove_trailer
0cb7b894e47b xfrm: interface: use DEV_STATS_INC()
bcacdf4debe5 xfrm: fix a data-race in xfrm_gen_index()
639e979a7d15 qed: fix LL2 RX buffer allocation
1cb76fec3ed6 netfilter: nft_payload: fix wrong mac header matching
6b2875b52746 KVM: x86: Mask LVTPC when handling a PMI
1d434d83136e regmap: fix NULL deref on lookup
76050b0cc5a7 nfc: nci: fix possible NULL pointer dereference in send_acknowledge()
80ce32ab9bee ice: fix over-shifted variable
ec8f0d0fe6a7 Bluetooth: avoid memcmp() out of bounds warning
1a00e3544b28 Bluetooth: hci_event: Fix coding style
84598a339bf9 Bluetooth: vhci: Fix race when opening vhci device
1769ac55dbf3 Bluetooth: Fix a refcnt underflow problem for hci_conn
97ce8eca07c9 Bluetooth: Reject connection with the device which has same BD_ADDR
6ce347833612 Bluetooth: hci_event: Ignore NULL link key
6ad3e9fd3632 usb: hub: Guard against accesses to uninitialized BOS descriptors
57e83c2445cd Documentation: sysctl: align cells in second content column
947cd2fba15e dev_forward_skb: do not scrub skb mark within the same name space
65d34cfd4e34 ravb: Fix use-after-free issue in ravb_tx_timeout_work()
de6e271338c1 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
85ae11da8504 powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
077fdae908e2 dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
6ea15d9f7ac2 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
e7ca00f35d8a usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
1e4414c3870e usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
2a433d325563 pinctrl: avoid unsafe code pattern in find_pinctrl()
d5b11bd89377 cgroup: Remove duplicates in cgroup v1 tasks file
1e59ebed9cf3 Input: xpad - add PXN V900 support
8664fa7fbbbf Input: psmouse - fix fast_reconnect function for PS/2 mode
5aa514100aaf Input: powermate - fix use-after-free in powermate_config_complete
3cdce751b026 ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
92cd1635c685 libceph: use kernel_connect()
5704225cdd87 mcb: remove is_added flag from mcb_device struct
2bf6c93e17c4 iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
84af249e48c5 iio: pressure: dps310: Adjust Timeout Settings
00cd9d9c12f4 iio: pressure: bmp280: Fix NULL pointer exception
f4c11b2ea0f9 usb: musb: Modify the "HWVers" register address
fc1ecea726ec usb: musb: Get the musb_qh poniter after musb_giveback
c0fb0419c1ad usb: dwc3: Soft reset phy on probe for host
7efac5b4c209 net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
57942b0763cf usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
e39710084664 dmaengine: stm32-mdma: abort resume if no ongoing transfer
3345799c4f2e workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
95733ea130e3 nfc: nci: assert requested protocol is valid
7adcf014bda1 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
22ca282ea00b ixgbe: fix crash with empty VF macvlan list
0cc6c070d926 drm/vmwgfx: fix typo of sizeof argument
80a3c0068471 xen-netback: use default TX queue size for vifs
332587dc7fed mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
85c2857ef900 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
daff72af3ff1 ravb: Fix up dma_free_coherent() call in ravb_remove()
d3d2aecc1ffe drm/msm/dsi: skip the wait for video mode done if not applicable
a0c24f802da7 drm: etvnaviv: fix bad backport leading to warning
907a380eb3a1 net: prevent address rewrite in kernel_bind()
061a18239ced quota: Fix slow quotaoff
cd0e2bf7fb22 HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
8e39b5fb834f pwm: hibvt: Explicitly set .polarity in .get_state()
c4eff809d622 lib/test_meminit: fix off-by-one error in test_pages()
ffdd8f56a46b RDMA/cxgb4: Check skb value for failure to allocate
(From OE-Core rev: c25c484eb696b8859c7183f1b26a30a1172d56ac)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
02f78c59a0ed Linux 5.4.258
f70c285cf02c xen/events: replace evtchn_rwlock with RCU
e2614ab16a7e ima: rework CONFIG_IMA dependency block
b5c3bc4b8104 NFS: Fix a race in __nfs_list_for_each_server()
f0ea421fa2f7 parisc: Restore __ldcw_align for PA-RISC 2.0 processors
14e5d94d5c86 RDMA/mlx5: Fix NULL string error
6e26812e289b RDMA/siw: Fix connection failure handling
8ab1fb16dce0 RDMA/uverbs: Fix typo of sizeof argument
26d48f7090b8 RDMA/cma: Fix truncation compilation warning in make_cma_ports
f102dd8a1795 gpio: pxa: disable pinctrl calls for MMP_GPIO
e38aceeadb4b gpio: aspeed: fix the GPIO number passed to pinctrl_gpio_set_config()
8584ee20a56c IB/mlx4: Fix the size of a buffer in add_port_entries()
35b689ee4b57 RDMA/core: Require admin capabilities to set system parameters
1047ca5bae20 cpupower: add Makefile dependencies for install targets
3c2f536c3d32 sctp: update hb timer immediately after users change hb_interval
caf0c61f14e7 sctp: update transport state when processing a dupcook packet
14fc22c92937 tcp: fix delayed ACKs for MSS boundary condition
2791d64e6607 tcp: fix quick-ack counting to count actual ACKs of new data
7fbce1e46b41 net: stmmac: dwmac-stm32: fix resume on STM32 MCU
f110aa377ddc netfilter: handle the connecting collision properly in nf_conntrack_proto_sctp
191d87a19cf1 net: nfc: llcp: Add lock when modifying device list
310f1c92f65a net: usb: smsc75xx: Fix uninit-value access in __smsc75xx_read_reg
899205521005 net: dsa: mv88e6xxx: Avoid EEPROM timeout when EEPROM is absent
1fc793d68d50 ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
95eabb075a59 net: fix possible store tearing in neigh_periodic_work()
10a301c83a3d modpost: add missing else to the "of" check
5e1c1bf53e5f NFSv4: Fix a nfs4_state_manager() race
f90821f66727 NFS: Add a helper nfs_client_for_each_server()
e2d4fc53e9f7 NFS4: Trace state recovery operation
c87f66c43c1b scsi: target: core: Fix deadlock due to recursive locking
8a1fa738b491 ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig
442e50393a29 regmap: rbtree: Fix wrong register marked as in-cache when creating new node
52008a5e22ac wifi: mt76: mt76x02: fix MT76x0 external LNA gain handling
31b27776905a drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()
b8e260654a29 wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet
1b67be400a96 wifi: iwlwifi: dbg_ini: fix structure packing
c6d358387632 ubi: Refuse attaching if mtd's erasesize is 0
b4ec10b962f7 net: prevent rewrite of msg_name in sock_sendmsg()
53b700b41a06 net: replace calls to sock->ops->connect() with kernel_connect()
3c4bfa7a56c8 wifi: mwifiex: Fix tlv_buf_left calculation
2e608cede0ae qed/red_ll2: Fix undefined behavior bug in struct qed_ll2_info
810248a12999 scsi: zfcp: Fix a double put in zfcp_port_enqueue()
e60272ab021c Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"
6e37de4a1407 rbd: take header_rwsem in rbd_dev_refresh() only when updating
bc2a3044015f rbd: decouple parent info read-in from updating rbd_dev
2e0114edeb47 rbd: decouple header read-in from updating rbd_dev->header
32a59639c551 rbd: move rbd_dev_refresh() definition
ff10b1fad581 fs: binfmt_elf_efpic: fix personality for ELF-FDPIC
43e5dc1ee2ea ata: libata-sata: increase PMP SRST timeout to 10s
ac1aebd4e3b8 ata: libata-core: Do not register PM operations for SAS ports
9313aab5f649 ata: libata-core: Fix port and device removal
9207666f166c ata: libata-core: Fix ata_port_request_pm() locking
d9483f5aecf4 net: thunderbolt: Fix TCPv6 GSO checksum calculation
47062af85961 btrfs: properly report 0 avail for very full file systems
cf221a7880ea ring-buffer: Update "shortest_full" in polling
ec7b2e7b365c i2c: i801: unregister tco_pdev in i801_probe() error path
a4ecd8562c0e ata: libata-scsi: ignore reserved bits for REPORT SUPPORTED OPERATION CODES
ec1df5d37d59 ALSA: hda: Disable power save for solving pop issue on Lenovo ThinkCentre M70q
193b5a1c6c67 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
bf3c728e3692 serial: 8250_port: Check IRQ data before use
76ffbd900b6a Smack:- Use overlay inode label in smack_inode_copy_up()
957a9916db5b smack: Retrieve transmuting information in smack_inode_getsecurity()
c9ce9bab2301 smack: Record transmuting in smk_transmuted
d037d8964fb8 i40e: fix return of uninitialized aq_ret in i40e_set_vsi_promisc
2d78e2d3e31f i40e: always propagate error value in i40e_set_vsi_promisc()
8ed4b5d710b0 i40e: improve locking of mac_filter_hash
30055e020ab2 watchdog: iTCO_wdt: Set NO_REBOOT if the watchdog is not already running
c54a392fc79e watchdog: iTCO_wdt: No need to stop the timer in probe
d68c61092c3d nvme-pci: do not set the NUMA node of device if it has none
283f24df8303 fbdev/sh7760fb: Depend on FB=y
ee1f5c63e919 ncsi: Propagate carrier gain/loss events to the NCSI controller
b42eac146247 powerpc/watchpoints: Annotate atomic context in more places
723904ce853e bpf: Clarify error expectations from bpf_clone_redirect
db4afbc6c1a1 spi: nxp-fspi: reset the FLSHxCR1 registers
3502dd803138 ata: libata-eh: do not clear ATA_PFLAG_EH_PENDING in ata_eh_reset()
05264d6551e1 ring-buffer: Avoid softlockup in ring_buffer_resize()
1d28224d49f3 selftests/ftrace: Correctly enable event in instance-event.tc
ded3551163fc parisc: irq: Make irq_stack_union static to avoid sparse warning
a721e5788aca parisc: drivers: Fix sparse warning
2569e0ceff8a parisc: iosapic.c: Fix sparse warnings
f1a0dd9243f0 parisc: sba: Fix compile warning wrt list of SBA devices
6db9cdfdc3c5 gpio: pmic-eic-sprd: Add can_sleep flag for PMIC EIC chip
4a62d23eba66 xtensa: boot/lib: fix function prototypes
e11fa78a3722 xtensa: boot: don't add include-dirs
5ed83a0a3953 xtensa: iss/network: make functions static
b821e6a8b2f5 xtensa: add default definition for XCHAL_HAVE_DIV32
49dc6fcd4b6a bus: ti-sysc: Fix SYSC_QUIRK_SWSUP_SIDLE_ACT handling for uart wake-up
841733189b2e ARM: dts: ti: omap: motorola-mapphone: Fix abe_clkctrl warning on boot
3468fa39d898 clk: tegra: fix error return case for recalc_rate
6938a6cbe651 MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled
5b0d13e2d9f6 ata: libata: disallow dev-initiated LPM transitions to unsupported states
617a89ff55e3 drm/amd/display: prevent potential division by zero errors
07b63a3dcfef drm/amd/display: Fix LFC multiplier changing erratically
11e3f781f6e3 drm/amd/display: Reinstate LFC optimization
a4628a5b98e4 scsi: qla2xxx: Fix deletion race condition
0a51c838c58f scsi: qla2xxx: Fix update_fcport for current_topology
ecdf4c658b6e Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN
0926a2b7cb60 i2c: mux: demux-pinctrl: check the return value of devm_kstrdup()
e09db461f258 gpio: tb10x: Fix an error handling path in tb10x_gpio_probe()
02a233986c9e netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
812da2a08dc5 net: rds: Fix possible NULL-pointer dereference
c5f6478686bb team: fix null-ptr-deref when team device type is changed
ad8d39c7b437 net: bridge: use DEV_STATS_INC()
121a7c474ce0 net: hns3: add 5ms delay before clear firmware reset irq source
a6f4d582e25d dccp: fix dccp_v4_err()/dccp_v6_err() again
16b88d7a1436 powerpc/perf/hv-24x7: Update domain value check
810fd23d9715 ipv4: fix null-deref in ipv4_link_failure
8f228c326d68 i40e: Fix VF VLAN offloading when port VLAN is configured
8b835db2793a i40e: Fix warning message and call stack during rmmod i40e driver
9cbec71a5721 i40e: Remove scheduling while atomic possibility
0988fc499f67 i40e: Fix for persistent lldp support
09475d647670 ASoC: imx-audmix: Fix return error with devm_clk_get()
ca1d4e3c4dba selftests: tls: swap the TX and RX sockets in some tests
b9eb384fd4fd selftests/tls: Add {} to avoid static checker warning
40e34ea01748 bpf: Avoid deadlock when using queue and stack maps from NMI
eec981349b03 netfilter: nf_tables: disallow element removal on anonymous sets
d2a6844be5bd ASoC: meson: spdifin: start hw on dai probe
0c908e159588 ext4: do not let fstrim block system suspend
4db34feaf297 ext4: move setting of trimmed bit into ext4_try_to_trim_range()
767a50bef2aa ext4: replace the traditional ternary conditional operator with with max()/min()
2fd502f53bf4 ext4: mark group as trimmed only if it was fully scanned
635901bdbd7e ext4: change s_last_trim_minblks type to unsigned long
2d874151584d ext4: scope ret locally in ext4_try_to_trim_range()
c71cb46affe9 ext4: add new helper interface ext4_try_to_trim_range()
b0dcbd4bb957 ext4: remove the 'group' parameter of ext4_trim_extent
bf0660756510 ata: libahci: clear pending interrupt status
e6807c873d87 tracing: Increase trace array ref count on enable and filter files
7d3f6612e90b SUNRPC: Mark the cred for revalidation if the server rejects it
321c75b01cc8 NFS/pNFS: Report EINVAL errors from connect() to the server
(From OE-Core rev: 013883aef0e9bfc6817ae1e5c5d1f1abafdf4cd0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ignore RHEL specific CVE-2021-20295 CVE-2023-2680.
(From OE-Core rev: 2c0822d9e7b8e7d013ef89c7e82e19fff39228a9)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(From OE-Core rev: 507b9de9df375721cd307163fe06c3ee567385e8)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
A previous commit attempted to fix reproducibility errors by forcing
regeneration of .po files. Unfortunately this triggered a different
type of reproducibility issue.
Work around this by adjusting the timestamps of the troublesome .po
files so they are not regenerated and we use the shipped upstream
versions of the files.
The shipped version of ru.cp1251.po doesn't seem to have been created
with the vim tooling and specifies CP1251 instead of cp1251, fix that.
(From OE-Core rev: 0764da7e3f1d71eb390e5eb8a9aa1323c24d1c19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
vim 8.3 has been out for a long time, so this comment is obsolete.
However we still need UPSTREAM_VERSION_UNKNOWN, since we ignore
the last digit of the upstream version number.
Test result:
$ devtool check-upgrade-status vim
...
INFO: vim 9.0.1592 UNKNOWN Tom Rini <trini@konsulko.com> c0370529c027abc5b1698d53fcfb8c02a0c515da
(From OE-Core rev: 65f5de85c3f488136d1ec2b1f7fe8d8426d6c5b3)
(From OE-Core rev: be68cf4c3e4218cc360ce7a645c92b631224ce94)
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 868a19357841470eb55fb7f1c4ab1af09dea99ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When making checkouts from git, the timestamps can vary and occasionally two files
can end up with the same stamp. This triggers make to regenerate ru.cp1251.po from
ru.po for example. If it isn't regenerated, the output isn't quite the same leading
to reproducibility issues (CP1251 vs cp1251).
Since we added all locales to buildtools tarball now, we can drop the locale
restrictions too. We need to generate a native binary for the sjis conversion
tool so also tweak that.
(From OE-Core rev: 14982eabcdb96c2f7ef9e28d6c0daedb53aa96c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
import patch from ubuntu curl_7.68.0-1ubuntu2.20.
minor change to CVE-2023-28321.patch tests/data/test1397 part
so the patch can be apply.
(From OE-Core rev: 5cc1f487928df04c58709dd88ef6c17c171da7a5)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The fix of CVE-2023-29383.patch contains a bug that it rejects all
characters that are not control ones, so backup another patch named
"0001-Overhaul-valid_field.patch" from upstream to fix it.
(From OE-Core rev: ab48ab23de6f6bb1f05689c97724140d4bef8faa)
Upstream-Status: Backport
[e5905c4b84
&
2eaea70111]
(From OE-Core rev: a53d446c289f07854e286479cd7e4843ddd0ee8c)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
import patch from ubuntu setuptools_45.2.0-1ubuntu0.1 .
(From OE-Core rev: a939696d7c70c42e404ec30a9d75e5ea4f742c78)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
take CVE-2021-3782.patch from OE-core rev 09b8ff8d2361b2db001bc963f481db294ccf2170.
(From OE-Core rev: 9c3f494bf54c4d4b7ec776ab18d900bf9fbd042a)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: ff7dbcc0206203e2ece68ca91a37050a4bc822a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
There are cached reproducibility issues on the autobuilder due to CFLAGS
issues, flush the bad data out the system by bumping the versions.
(From OE-Core rev: f398c84405913bd8038c007f43f991f54d136571)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Currently lz4 uses it's own defaults which include O3 optimization.
Switch from O3 to bitbake default O2 reduces binary package size
from 467056 to 331888 bytes. Enables also building with Os if needed.
(From OE-Core rev: af571c0841265dfa4bd87546080e499336a37fcc)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit abaaf8c6bcd368728d298937a9406eb2aebc7a7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Branch 'master' renamed to 'unstable', which causing following failure.
Error:
Fetcher failure: Unable to find revision cb19bbfbe7e52174332f68bf2f295b39d119fad3 in branch master even from upstream
Switch to 'unstanble' branch.
(From OE-Core rev: d4b96dc1e457b4e68c5bad685ffcfd2f250162e7)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Branch 'assimp_5.0_release' is not present in repo.
Error:
assimp-5.0.1-r0 do_fetch: Fetcher failure: Unable to find revision 8f0c6b04b2257a520aaab38421b2e090204b69df in branch assimp_5.0_release even from upstream
Set nobranch=1, to fetch from v5.0.1 tag.
(From OE-Core rev: 4bd92b9621909b8b528b648529baaaa48bc1c424)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We don't make do_cve_check depend on do_unpack because that would be a
waste of time 99% of the time. The compromise here is that we can't
scan remote patches for issues, but this isn't a problem so downgrade
the warning to a note.
Also move the check for CVEs in the filename before the local file check
so that even with remote patches, we still check for CVE references in
the name.
(From OE-Core rev: 32a19dfbaac38cd4864281a1131ac65e1216318f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0251cad677579f5b4dcc25fa2f8552c6040ac2cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Occasionally the cve-check tool will warn that it is adding the same
package twice. Knowing what this package is might be the first step
towards understanding where this message comes from.
(From OE-Core rev: e3574760ee59c1ca7d2698f09ddd37ee568f04f3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1179faec8583a8b7df192cf1cbf221f0e3001fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The JSON report generated by the cve-check class is basically a huge
list of packages. This list of packages is, however, unsorted.
To make things easier for people comparing the JSON, or more
specifically for git when archiving the JSON over time in a git
repository, we can sort the list by package name.
(From OE-Core rev: 5a509bc6f26247cc7561189d582c91816042fd91)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9861be0e5020830c2ecc24fd091f4f5b05da036)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This reverts commit 45ce9885351a2344737170e6e810dc67ab3e7ea9.
Unfortunately this backport results in qemuarmv5 failing to boot with
a qemu lsi hw error.
[YOCTO #15274]
See discussion: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15274
(From OE-Core rev: 14aa11aecf503cef08e43c90cf0bd574721ca965)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This vulnerability was introduced in 2.36, so 2.31 is not vulnerable.
(From OE-Core rev: 3471922461627c0f0487feb09cfdc4cfeeb3f3ca)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(From OE-Core rev: d34567be6e87afdec55973f8f75be8d44b4acd1b)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Error occured while running bitbake on cephfs:
WARNING: The free inode of path is running low (-0.001K left)
ERROR: Immediately halt since the disk space monitor action is "HALT"!
(Bitbake rev: 3c7b210e9599058a48d0c38ce8034b94e2d0f781)
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The pipe library is deprecated in Python 3.11 and will be removed in
Python 3.13. pipe.quote is just an import of shlex.quote anyway.
Clean up imports while we're at it.
(From OE-Core rev: a6ef13bdad40826d76a3331cd0878bb22510f375)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 5f33c7b99a991c380d1813da8248ba5470ca4d4e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Avoid a divide by zero traceback if unfortunate test counts are encountered.
(From OE-Core rev: 33d3374a7149ad1afe86d86c0dc2a948f70e26bd)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5aeea53dfacb53dedb8445cb3523dc3a8cb6dca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This includes CVE fix for CVE-2023-5535.
(From OE-Core rev: 35fc341402f38619922dcfc4dc9e58b00be26259)
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.
(From meta-yocto rev: d8b84cfded9137a74ab0052ff2d7710887f29f10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a SECURITY.md file with hints for security researchers and other
parties who might report potential security vulnerabilities.
(Bitbake rev: dd826595414c5dc1a649f45a9dd2430bf6d4699b)
Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Widely accepted certificates for IP addresses are expensive and only
affordable for larger organizations. Therefore if the user provides
the hostname in the DNS= option, we should use it instead of the IP
address.
This fixes https://nvd.nist.gov/vuln/detail/CVE-2018-21029 per
suggestion https://github.com/systemd/systemd-stable/issues/72 .
CVE: CVE-2018-21029
(From OE-Core rev: 6b4a583169ae40a8d51e7ffa33785409b5111a81)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it. Simple fix is to add the
-f (force) flag to the call.
(From OE-Core rev: 2e669bf797b15d803e7d6a700e449bdc467a4bcc)
(From OE-Core rev: 844faa7c51ae8ec0966e9c5c3f70a1dbf2222c21)
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backported from kirkstone commit 7e177848f97e.
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
- This upgrade includes multiple security fixes.
CVE-2022-4883
CVE-2022-44617
CVE-2022-46285
CVE-2022-44617
CVE-2023-43788
CVE-2023-43789
- Removed CVE-2022-46285 as it is already fixed by this upgrade.
- License-update: additional copyright holders
f0857c0 man pages: Correct Copyright/License notices
Due to this commit LIC_FILES_CHKSUM is changed
- Disable reading compressed files as that requires compress/uncompress executables.
Following the approach in oe-core/master:
7de4084634 libxpm: upgrade 3.5.14 -> 3.5.15
- Add XORG_EXT to specify tar.xz as upstream has switched from bz2 to xz compression.
(From OE-Core rev: 47e270a4fd2e086b5ee9f38891f326ce505f2319)
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Upstream has switched some new releases from bz2 to xz compression. Add
an XORG_EXT variable so recipes can set the file name extension needed
for the compression type.
Following the approach in oe-core/master: 6a8068e036b4b2a40b38896275b936916b4db76e
xorg-lib-common: Add variable to set tarball type use a variable for the tarball suffix/compression format.
(From OE-Core rev: ff386fb5632c26ceb12d2381e9128b0546aef795)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This includes CVE fix for CVE-2023-5441.
(From OE-Core rev: 624081236d5554dbc7c044396caabc3464b1b3ac)
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
CVE's Fixed:
CVE-2023-29499: glib: GVariant offset table entry size is not checked in is_normal()
CVE-2023-32611: glib: g_variant_byteswap() can take a long time with some non-normal inputs
CVE-2023-32636: glib: Timeout in fuzz_variant_text
CVE-2023-32643: glib: Heap-buffer-overflow in g_variant_serialised_get_child
CVE-2023-32665: glib: GVariant deserialisation does not match spec for non-normal data
(From OE-Core rev: b576beba80d44e67762d46bf3bc2f14c05bc0f6b)
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Take patch from Debian 7.64.0-4+deb10u7.
(From OE-Core rev: 364a9e46f167c2501785cd55a71cf9a614e64710)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
CVE: CVE-2023-38546
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backporting this change required tweaking the error value since the
two-level CURLE_PROXY error reporting was introduced after curl
7.69.1. The test required some tweaks to not rely on more-recent
improvements to the test infrastructure too.
(From OE-Core rev: ccec26b1437f1ece4cb4f27581b0df904297358f)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
CVE: CVE-2023-38545
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add fix for tiffcrop tool CVE-2023-1916 [1].
A flaw was found in tiffcrop, a program distributed by the libtiff
package. A specially crafted tiff file can lead to an out-of-bounds
read in the extractImageSection function in tools/tiffcrop.c, resulting
in a denial of service and limited information disclosure. This issue
affects libtiff versions 4.x.
The tool is no longer part of newer libtiff distributions, hence the
fix is rejected by upstream in [2]. The backport is still applicable
to older versions of libtiff, pick the CVE fix from ubuntu 20.04 [3].
[1] https://nvd.nist.gov/vuln/detail/CVE-2023-1916
[2] https://gitlab.com/libtiff/libtiff/-/merge_requests/535
[3] https://packages.ubuntu.com/source/focal-updates/tiff
(From OE-Core rev: 28ad0fdd30f490612aca6cc96ee503e5f92360a8)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Replace the original "Wrong CRC with ASCII CRC for large files"
patch with upstream backport, and add additional fix on top of
the same problem which upstream detected and fixed.
(From OE-Core rev: 0e167ef0eb7ac62ddb991ce80c27882863d8ee7c)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
There is a stack overflow vulnerability in ash.c:6030 in busybox before
1.35. In the environment of Internet of Vehicles, this vulnerability can
be executed from command to arbitrary code execution.
https://nvd.nist.gov/vuln/detail/CVE-2022-48174
CVE: CVE-2022-48174
(From OE-Core rev: 634daf953e4bd8c6df3ee341b5e93cc81e1a620d)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
In Artifex Ghostscript through 10.01.2, gdevijs.c in GhostPDL can lead to remote
code execution via crafted PostScript documents because they can switch to the
IJS device, or change the IjsServer parameter, after SAFER has been activated.
NOTE: it is a documented risk that the IJS server can be specified on a gs
command line (the IJS device inherently must execute a command to start the IJS server).
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-43115
Upstream commit:
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=e59216049cac290fb437a04c4f41ea46826cfba5
(From OE-Core rev: a43f7277061ee6c30c42c9318e3e9dd076563f5d)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The current dunfell CVE scans report 0 CVEs for our dbus version. This
is not correct, though, as we use the wrong product name to query it.
Fix this to get a proper CVE list.
(From OE-Core rev: 922872c85d417a5a319aa4beef57ffa4d05faf27)
Signed-off-by: Julian Haller <julian.haller@philips.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Take the patch from the source for Debian's glibc 2.31-13+deb11u7
package, the changelog for which starts with:
glibc (2.31-13+deb11u7) bullseye-security; urgency=medium
* debian/patches/any/local-CVE-2023-4911.patch: Fix a buffer overflow in the
dynamic loader's processing of the GLIBC_TUNABLES environment variable
(CVE-2023-4911).
This addresses the "Looney Tunables" vulnerability described at
https://www.qualys.com/2023/10/03/cve-2023-4911/looney-tunables-local-privilege-escalation-glibc-ld-so.txt
(From OE-Core rev: 9a800a2e2c2b14eab8c1f83cb4ac3b94a70dd23c)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
a140610d8aff Linux 5.4.257
42900fd140c8 net/sched: Retire rsvp classifier
b3637835ac99 drm/amdgpu: fix amdgpu_cs_p1_user_fence
650ebbba5c15 mtd: rawnand: brcmnand: Fix ECC level field setting for v7.2 controller
b1ef1f2f3737 ext4: fix rec_len verify error
e4efb0aaf288 scsi: megaraid_sas: Fix deadlock on firmware crashdump
44654114fb6f i2c: aspeed: Reset the i2c controller when timeout occurs
ce47fe53f78b tracefs: Add missing lockdown check to tracefs_create_dir()
b6c042d4ac6a nfsd: fix change_info in NFSv4 RENAME replies
952e477f9080 tracing: Have option files inc the trace array ref count
ff8cf370d359 tracing: Have current_trace inc the trace array ref count
a70c6e57316b btrfs: fix lockdep splat and potential deadlock after failure running delayed items
8e8dcc0f1518 attr: block mode changes of symlinks
a8403f9fd402 md/raid1: fix error: ISO C90 forbids mixed declarations
349640248b5e selftests: tracing: Fix to unmount tracefs for recovering environment
5b50c95cf842 btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_super
b61aad18b38a btrfs: add a helper to read the superblock metadata_uuid
bd0fe5489102 btrfs: move btrfs_pinned_by_swapfile prototype into volumes.h
a04cce3e79c6 perf tools: Add an option to build without libbfd
f3701ef61fd7 perf jevents: Make build dependency on test JSONs
a12e9ba7f346 tools features: Add feature test to check if libbfd has buildid support
964e025ceefd kobject: Add sanity check for kset->kobj.ktype in kset_register()
545d1070ed7c media: pci: ipu3-cio2: Initialise timing struct to avoid a compiler warning
44d72e9edd1b serial: cpm_uart: Avoid suspicious locking
2cbe6a88fbdd scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show()
9cd6b3802d7c usb: gadget: fsl_qe_udc: validate endpoint index for ch9 udc
abe0cd279aee media: pci: cx23885: replace BUG with error return
641e60223971 media: tuners: qt1010: replace BUG_ON with a regular error
991c77fe18c6 media: az6007: Fix null-ptr-deref in az6007_i2c_xfer()
8dc5b370254a media: anysee: fix null-ptr-deref in anysee_master_xfer
0c02eb70b1dd media: af9005: Fix null-ptr-deref in af9005_i2c_xfer
beb9550494e7 media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
b49c6e5dd236 media: dvb-usb-v2: af9035: Fix null-ptr-deref in af9035_i2c_master_xfer
7ffe14fce742 powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
5873df019512 jfs: fix invalid free of JFS_IP(ipimap)->i_imap in diUnmount
b12ccbfdf653 fs/jfs: prevent double-free in dbUnmount() after failed jfs_remount()
a7fde3d46ac6 ext2: fix datatype of block number in ext2_xattr_set2()
25a68f2286be md: raid1: fix potential OOB in raid1_remove_disk()
77918680ab07 bus: ti-sysc: Configure uart quirks for k3 SoC
279e32b79d03 drm/exynos: fix a possible null-pointer dereference due to data race in exynos_drm_crtc_atomic_disable()
3beb97bed860 wifi: mac80211_hwsim: drop short frames
6773ea9982dc alx: fix OOB-read compiler warning
fd1a177d2ccb mmc: sdhci-esdhc-imx: improve ESDHC_FLAG_ERR010450
ff75c853b7db tpm_tis: Resend command to recover from data transfer errors
61f5453e9706 crypto: lib/mpi - avoid null pointer deref in mpi_cmp_ui()
d1473fc030d3 wifi: mwifiex: fix fortify warning
38eb4ef67f60 wifi: ath9k: fix printk specifier
93f4a0b74413 devlink: remove reload failed checks in params get/set callbacks
aadb178c5123 hw_breakpoint: fix single-stepping when using bpf_overflow_handler
cb37e7fa2339 perf/smmuv3: Enable HiSilicon Erratum 162001900 quirk for HIP08/09
4de282f49135 ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470
d0a13c395e22 kernel/fork: beware of __put_task_struct() calling context
3bf4463e40a1 ACPICA: Add AML_NO_OPERAND_RESOLVE flag to Timer
117fb80cd1e6 locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
7afbfde45d66 btrfs: output extra debug info if we failed to find an inline backref
6079dc77c6f3 autofs: fix memory leak of waitqueues in autofs_catatonic_mode
8c027a5798f1 parisc: Drop loops_per_jiffy from per_cpu struct
4316b8294503 drm/amd/display: Fix a bug when searching for insert_above_mpcc
1ce8362b4ac6 kcm: Fix error handling for SOCK_DGRAM in kcm_sendmsg().
b5fc6fd660ab ixgbe: fix timestamp configuration code
f9f3ce7719eb net/tls: do not free tls_rec on async operation in bpf_exec_tx_verdict()
08d36f317c40 platform/mellanox: mlxbf-tmfifo: Drop jumbo frames
0507815ae94b mlxbf-tmfifo: sparse tags for config access
7efc9e97f6e2 platform/mellanox: mlxbf-tmfifo: Drop the Rx packet if no more descriptors
479c71cda14b kcm: Fix memory leak in error path of kcm_sendmsg()
c565533407cd r8152: check budget for r8152_poll()
653fbddbdfc6 net: ethernet: mtk_eth_soc: fix possible NULL pointer dereference in mtk_hwlro_get_fdir_all()
ba6673824efa net: ethernet: mvpp2_main: fix possible OOB write in mvpp2_ethtool_get_rxnfc()
5624f26a3574 net: ipv4: fix one memleak in __inet_del_ifa()
e757ca9c1ca1 clk: imx8mm: Move 1443X/1416X PLL clock structure to common place
75e0bd976154 ARM: dts: BCM5301X: Extend RAM to full 256MB for Linksys EA6500 V2
5f71716772b8 usb: typec: bus: verify partner exists in typec_altmode_attention
14fe0f8627f8 usb: typec: tcpm: Refactor tcpm_handle_vdm_request
979f8743f373 usb: typec: tcpm: Refactor tcpm_handle_vdm_request payload handling
6ca8e31480b5 perf tools: Handle old data in PERF_RECORD_ATTR
dffa46d0ca52 perf hists browser: Fix hierarchy mode header
6095dd28217e mtd: rawnand: brcmnand: Fix potential false time out warning
aae45746f4ae mtd: rawnand: brcmnand: Fix potential out-of-bounds access in oob write
09417fbf12f8 mtd: rawnand: brcmnand: Fix crash during the panic_write
aa64f6f0ce7e btrfs: use the correct superblock to compare fsid in btrfs_validate_super
6eb1fc314ce4 btrfs: don't start transaction when joining with TRANS_JOIN_NOSTART
b0d236e3afac fuse: nlookup missing decrement in fuse_direntplus_link
0e918d7c00da ata: pata_ftide010: Add missing MODULE_DESCRIPTION
e03ac1773414 ata: sata_gemini: Add missing MODULE_DESCRIPTION
118db787bab3 sh: boards: Fix CEU buffer size passed to dma_declare_coherent_memory()
89099d73b2dd net: hns3: fix the port information display when sfp is absent
a44602888bbe netfilter: nfnetlink_osf: avoid OOB read
62c363e6041c ip_tunnels: use DEV_STATS_INC()
a5dffc12038f idr: fix param name in idr_alloc_cyclic() doc
6b0cb9c05584 s390/zcrypt: don't leak memory if dev_set_name() fails
c149b61301fe igb: Change IGB_MIN to allow set rx/tx value between 64 and 80
4a5defbfe88b igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80
c805b8741476 igc: Change IGC_MIN to allow set rx/tx value between 64 and 80
8047a4898498 kcm: Destroy mutex in kcm_exit_net()
a6d11571b91d net: sched: sch_qfq: Fix UAF in qfq_dequeue()
f1ba9a03b166 af_unix: Fix data race around sk->sk_err.
1ffed3ea8750 af_unix: Fix data-races around sk->sk_shutdown.
5d91b7891f4a af_unix: Fix data-race around unix_tot_inflight.
adcf4e069358 af_unix: Fix data-races around user->unix_inflight.
e13db62db9ef net: ipv6/addrconf: avoid integer underflow in ipv6_create_tempaddr
23b4b1a069e9 veth: Fixing transmit return status for dropped packets
0133bc289720 igb: disable virtualization features on 82580
41f10a4d78fe net: read sk->sk_family once in sk_mc_loop()
cd12efc54ff8 ipv4: annotate data-races around fi->fib_dead
01585fa32650 sctp: annotate data-races around sk->sk_wmem_queued
04301da4d870 pwm: lpc32xx: Remove handling of PWM channels
565f7bb0b3fe watchdog: intel-mid_wdt: add MODULE_ALIAS() to allow auto-load
7a0e41223e98 perf top: Don't pass an ERR_PTR() directly to perf_session__delete()
c5be10f1bf61 x86/virt: Drop unnecessary check on extended CPUID level in cpu_has_svm()
1d0cc1a9c4bd perf annotate bpf: Don't enclose non-debug code with an assert()
c7cc4dc2473c kconfig: fix possible buffer overflow
0158dab8e8b8 NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
64c5e916fabe soc: qcom: qmi_encdec: Restrict string length in decode
5c7608d976ab clk: qcom: gcc-mdm9615: use proper parent for pll0_vote clock
b88626c47217 parisc: led: Reduce CPU overhead for disk & lan LED computation
536f30922556 parisc: led: Fix LAN receive and transmit LEDs
cbfffe51221b lib/test_meminit: allocate pages up to order MAX_ORDER
9b7f6e500969 drm/ast: Fix DRAM init on AST2200
8ffa40ff64aa fbdev/ep93xx-fb: Do not assign to struct fb_info.dev
6d5eb57a02a5 scsi: qla2xxx: Remove unsupported ql2xenabledif option
e24bc58113d1 scsi: qla2xxx: Turn off noisy message log
05935f9106f1 scsi: qla2xxx: Fix erroneous link up failure
61641000ad33 scsi: qla2xxx: fix inconsistent TMF timeout
f966dc8c2d18 net/ipv6: SKB symmetric hash should incorporate transport ports
d31331e2df6e drm: fix double free for gbo in drm_gem_vram_init and drm_gem_vram_create
34eb4bd9152c udf: initialize newblock to 0
206d2b7bafc0 usb: typec: tcpci: clear the fault status bit
824421868102 serial: sc16is7xx: fix broken port 0 uart init
159bc8c6b5db sc16is7xx: Set iobase to device index
355ac795843f cpufreq: brcmstb-avs-cpufreq: Fix -Warray-bounds bug
5e7d0acc69b5 crypto: stm32 - fix loop iterating through scatterlist for DMA
306e356d583d s390/ipl: add missing secure/has_secure file to ipl type 'unknown'
e972231db29b pstore/ram: Check start of empty przs during init
b6c9d040191f fsverity: skip PKCS#7 parser when keyring is empty
712491c9abf2 net: handle ARPHRD_PPP in dev_is_mac_header_xmit()
15b3727108c7 X.509: if signature is unsupported skip validation
7a7dd70cb954 dccp: Fix out of bounds access in DCCP error handler
1c675c937cb2 dlm: fix plock lookup when using multiple lockspaces
8cd1c5cec6c9 parisc: Fix /proc/cpuinfo output for lscpu
0337bb53cb7d procfs: block chmod on /proc/thread-self/comm
2e1f12ce0da7 Revert "PCI: Mark NVIDIA T4 GPUs to avoid bus reset"
eb1fa4819d9c ntb: Fix calculation ntb_transport_tx_free_entry()
b2a6a169c222 ntb: Clean up tx tail index on link down
94491412a2af ntb: Drop packets when qp link is down
ff3bb51e2136 media: dvb: symbol fixup for dvb_attach()
b047ac1528a1 xtensa: PMU: fix base address for the newer hardware
2791a2a69a2c backlight/lv5207lp: Compare against struct fb_info.device
bc86f29e1281 backlight/bd6107: Compare against struct fb_info.device
3dd8ff569596 backlight/gpio_backlight: Compare against struct fb_info.device
c2e1ce4fa498 ARM: OMAP2+: Fix -Warray-bounds warning in _pwrdm_state_switch()
f53ab5a2bf20 ipmi_si: fix a memleak in try_smi_init()
e7f97980f735 ALSA: pcm: Fix missing fixup call in compat hw_refine ioctl
29811f4b8255 PM / devfreq: Fix leak in devfreq_dev_release()
c2ad60ed38b8 igb: set max size RX buffer when store bad packet is enabled
d44403ec0676 skbuff: skb_segment, Call zero copy functions before using skbuff frags
64831fb6a204 netfilter: xt_sctp: validate the flag_info count
28ce8495b559 netfilter: xt_u32: validate user space input
109e830585e8 netfilter: ipset: add the missing IP_SET_HASH_WITH_NET0 macro for ip_set_hash_netportnet.c
3d54e9949930 igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
ec6ad9d99ef4 virtio_ring: fix avail_wrap_counter in virtqueue_add_packed
12fcca2ee445 cpufreq: Fix the race condition while updating the transition_task of policy
fe5dd3950178 dmaengine: ste_dma40: Add missing IRQ check in d40_probe
e0f2d85ea3d0 um: Fix hostaudio build errors
88d508faf3dd mtd: rawnand: fsmc: handle clk prepare error in fsmc_nand_resume()
efa7f31669f0 rpmsg: glink: Add check for kstrdup
d2473df751d2 phy/rockchip: inno-hdmi: do not power on rk3328 post pll on reg write
f36a06988c19 phy/rockchip: inno-hdmi: round fractal pixclock in rk3328 recalc_rate
b0d5d77b14b4 phy/rockchip: inno-hdmi: use correct vco_div_5 macro on rk3328
90e037cabc2c tracing: Fix race issue between cpu buffer write and swap
ac78921ec246 x86/speculation: Mark all Skylake CPUs as vulnerable to GDS
df7ca43fe090 HID: multitouch: Correct devm device reference for hidinput input_dev name
cf48a7ba5c09 HID: logitech-dj: Fix error handling in logi_dj_recv_switch_to_dj_mode()
011daffb53ce RDMA/siw: Correct wrong debug message
35a78898cdfd RDMA/siw: Balance the reference of cep->kref in the error path
9b6296861a5a Revert "IB/isert: Fix incorrect release of isert connection"
03db4fe7917b amba: bus: fix refcount leak
93a4aefa5745 serial: tegra: handle clk prepare error in tegra_uart_hw_init()
d2bf25674cea scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock
b1e3199bade0 scsi: core: Use 32-bit hostnum in scsi_host_lookup()
103b41e97275 media: ov2680: Fix regulators being left enabled on ov2680_power_on() errors
009b1202a099 media: ov2680: Fix vflip / hflip set functions
560624cf1d3a media: ov2680: Fix ov2680_bayer_order()
218b60bc06bc media: ov2680: Remove auto-gain and auto-exposure controls
768d4d230c02 media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
c04ae531eea6 media: ov5640: Enable MIPI interface in ov5640_set_power_mipi()
916219c523e0 media: i2c: ov5640: Configure HVP lines in s_power callback
93c518d28600 USB: gadget: f_mass_storage: Fix unused variable warning
0d8c6770983e media: go7007: Remove redundant if statement
38269b9ec843 iommu/vt-d: Fix to flush cache of PASID directory table
a94aaffe9290 IB/uverbs: Fix an potential error pointer dereference
c3a679853826 driver core: test_async: fix an error code
27a218419c86 dma-buf/sync_file: Fix docs syntax
c9e6c1fefcd5 coresight: tmc: Explicit type conversions to prevent integer overflow
463934ca5d98 scsi: qedf: Do not touch __user pointer in qedf_dbg_fp_int_cmd_read() directly
668ce8d508a3 scsi: qedf: Do not touch __user pointer in qedf_dbg_debug_cmd_read() directly
06a2dde58f40 scsi: qedf: Do not touch __user pointer in qedf_dbg_stop_io_on_error_cmd_read() directly
e26d52128691 x86/APM: drop the duplicate APM_MINOR_DEV macro
c65be6ad55e5 serial: sprd: Fix DMA buffer leak issue
730d1b7ec94c serial: sprd: Assign sprd_port after initialized to avoid wrong access
dff8066579c0 serial: sprd: remove redundant sprd_port cleanup
a7d80271a150 serial: sprd: getting port index via serial aliases only
47f3be62eab5 scsi: qla4xxx: Add length check when parsing nlattrs
bc66e701ca8f scsi: be2iscsi: Add length check when parsing nlattrs
161d4509dde4 scsi: iscsi: Add strlen() check in iscsi_if_set{_host}_param()
bc4fbf2dab31 usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()
de4345fe4312 media: mediatek: vcodec: Return NULL if no vdec_fb is found
02c0ea731f31 media: cx24120: Add retval check for cx24120_message_send()
75d6ef197c48 media: dvb-usb: m920x: Fix a potential memory leak in m920x_i2c_xfer()
74697b417624 media: dib7000p: Fix potential division by zero
afd90d353f80 drivers: usb: smsusb: fix error handling code in smsusb_init_device
4bc5ffaf8ac4 media: v4l2-core: Fix a potential resource leak in v4l2_fwnode_parse_link()
008b334af84a media: v4l2-fwnode: simplify v4l2_fwnode_parse_link
064e156e9f66 media: v4l2-fwnode: fix v4l2_fwnode_parse_link handling
7a9619e38c2b NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
16282aeca44b NFSD: da_addr_body field missing in some GETDEVICEINFO replies
93a14ab67582 fs: lockd: avoid possible wrong NULL parameter
d3351799be41 jfs: validate max amount of blocks before allocation.
65bf8a196ba2 powerpc/iommu: Fix notifiers being shared by PCI and VIO buses
650803f93dd8 nfs/blocklayout: Use the passed in gfp flags
68ba08ab40c5 wifi: ath10k: Use RMW accessors for changing LNKCTL
ab28c56192f5 drm/radeon: Use RMW accessors for changing LNKCTL
d835a13232c0 drm/radeon: Prefer pcie_capability_read_word()
06c0c15ab03c drm/radeon: Replace numbers with PCI_EXP_LNKCTL2 definitions
30e633dbcd4c drm/radeon: Correct Transmit Margin masks
108ce391d6da drm/amdgpu: Use RMW accessors for changing LNKCTL
7085f1aab194 drm/amdgpu: Prefer pcie_capability_read_word()
62a1c1bd45d8 drm/amdgpu: Replace numbers with PCI_EXP_LNKCTL2 definitions
adf810206cca drm/amdgpu: Correct Transmit Margin masks
7f9129b66c87 PCI: Add #defines for Enter Compliance, Transmit Margin
81d1de3b9793 powerpc/fadump: reset dump area size if fadump memory reserve fails
7159a27b1ac1 clk: imx: composite-8m: fix clock pauses when set_rate would be a no-op
044ff5356a3b PCI/ASPM: Use RMW accessors for changing LNKCTL
73d73556ed1d PCI: pciehp: Use RMW accessors for changing LNKCTL
e7e3268ae9b7 PCI: Mark NVIDIA T4 GPUs to avoid bus reset
a611e38d5b94 clk: sunxi-ng: Modify mismatched function name
9ad9cca12b10 drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
de677f4379fa ipmi:ssif: Fix a memory leak when scanning for an adapter
ef0d286989b1 ipmi:ssif: Add check for kstrdup
90fddb87892e ALSA: ac97: Fix possible error value of *rac97
0b1e48e4dccb of: unittest: Fix overlay type in apply/revert check
0a6f39488c38 drm/mediatek: Fix potential memory leak if vmap() fail
f6364fa751d7 audit: fix possible soft lockup in __audit_inode_child()
43f0c2bb16af smackfs: Prevent underflow in smk_set_cipso()
b8a61df6f404 drm/msm/mdp5: Don't leak some plane state
1f3d0e65d111 ima: Remove deprecated IMA_TRUSTED_KEYRING Kconfig
dbdc828991ae drm/panel: simple: Add missing connector type and pixel format for AUO T215HVN01
4db0a85cf865 drm/armada: Fix off-by-one error in armada_overlay_get_property()
dadf0d0dfcc8 of: unittest: fix null pointer dereferencing in of_unittest_find_node_by_name()
def1fd88ae97 drm/tegra: dpaux: Fix incorrect return value of platform_get_irq
c1ff601e1aa5 drm/tegra: Remove superfluous error messages around platform_get_irq()
1603f086200a md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
630be0110e6a md/bitmap: don't set max_write_behind if there is no write mostly device
a8f8c4e7281c drm/amdgpu: Update min() to min_t() in 'amdgpu_info_ioctl'
c6b423ab655c arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC
69d9fb39480c ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
e6fc20a5425b drm: adv7511: Fix low refresh rate register for ADV7533/5
88d32b9ad274 ARM: dts: samsung: s5pv210-smdkv210: correct ethernet reg addresses (split)
dfe36c23abf9 ARM: dts: s5pv210: add dummy 5V regulator for backlight on SMDKv210
febead00308f ARM: dts: s5pv210: correct ethernet unit address in SMDKV210
00b3f8004bdc ARM: dts: s5pv210: use defines for IRQ flags in SMDKV210
9dff1deb2507 ARM: dts: s5pv210: add RTC 32 KHz clock in SMDKV210
df9929c61c9d ARM: dts: samsung: s3c6410-mini6410: correct ethernet reg addresses (split)
c20456c2cd29 ARM: dts: s3c64xx: align pinctrl with dtschema
a355d140eb49 ARM: dts: s3c6410: align node SROM bus node name with dtschema in Mini6410
e5deee40fa04 ARM: dts: s3c6410: move fixed clocks under root node in Mini6410
d38b67da1572 drm/etnaviv: fix dumping of active MMU context
5b8c8527a2c3 ARM: dts: BCM53573: Use updated "spi-gpio" binding properties
5680c01363ea ARM: dts: BCM53573: Add cells sizes to PCIe node
17a5848bdca0 ARM: dts: BCM53573: Drop nonexistent "default-off" LED trigger
c01cbe6c0345 drm/amdgpu: avoid integer overflow warning in amdgpu_device_resize_fb_bar()
d40c192e1198 quota: fix dqput() to follow the guarantees dquot_srcu should provide
dd918952b1ed quota: add new helper dquot_active()
88c0cdfe10fb quota: rename dquot_active() to inode_quota_active()
29d7249bb61c quota: factor out dquot_write_dquot()
f2f64c2951a3 quota: avoid increasing DQST_LOOKUPS when iterating over dirty/inuse list
1e4f7ce32a1d drm/bridge: tc358764: Fix debug print parameter order
835f0a848a8b netrom: Deny concurrent connect().
da13749d5ff7 net/sched: sch_hfsc: Ensure inner classes have fsc curve
83382eafc745 mlxsw: i2c: Limit single transaction buffer size
b2d7f0f313b8 mlxsw: i2c: Fix chunk size setting in output mailbox buffer
400ef5f79c90 net: arcnet: Do not call kfree_skb() under local_irq_disable()
f306bbdce631 wifi: ath9k: use IS_ERR() with debugfs_create_dir()
231086e6a363 wifi: mwifiex: avoid possible NULL skb pointer dereference
5f6f00bcf947 wifi: ath9k: protect WMI command response buffer replacement with a lock
ff703b5f3f3c wifi: ath9k: fix races between ath9k_wmi_cmd and ath9k_wmi_ctrl_rx
df1753eae74b wifi: mwifiex: Fix missed return in oob checks failed path
8f717752f94e wifi: mwifiex: fix memory leak in mwifiex_histogram_read()
ab4810042cdd fs: ocfs2: namei: check return value of ocfs2_add_entry()
dbe64279ae34 lwt: Check LWTUNNEL_XMIT_CONTINUE strictly
67f8f2bae8e7 lwt: Fix return values of BPF xmit ops
12bf7d9cc6af hwrng: iproc-rng200 - Implement suspend and resume calls
4f1ca8e39732 hwrng: iproc-rng200 - use semicolons rather than commas to separate statements
6c015ebce180 crypto: caam - fix unchecked return value error
ec348676c7d0 Bluetooth: nokia: fix value check in nokia_bluetooth_serdev_probe()
0ce06035ea67 crypto: stm32 - Properly handle pm_runtime_get failing
34de9f1d6359 wifi: mwifiex: fix error recovery in PCIE buffer descriptor management
87f8c5442373 mwifiex: switch from 'pci_' to 'dma_' API
29eca8b7863d wifi: mwifiex: Fix OOB and integer underflow when rx packets
042aeb45e484 can: gs_usb: gs_usb_receive_bulk_callback(): count RX overflow errors also in case of OOM
516f21f21068 spi: tegra20-sflash: fix to check return value of platform_get_irq() in tegra_sflash_probe()
4fb6fcc04a99 regmap: rbtree: Use alloc_flags for memory allocations
57935355dc67 tcp: tcp_enter_quickack_mode() should be static
75b8b5b52985 bpf: Clear the probe_addr for uprobe
a0fa690894c1 cpufreq: powernow-k8: Use related_cpus instead of cpus in driver.exit()
991b7c260476 perf/imx_ddr: don't enable counter0 if none of 4 counters are used
07415be140d0 x86/decompressor: Don't rely on upper 32 bits of GPRs being preserved
6dbac48ea344 x86/boot: Annotate local functions
c418814fae86 x86/asm: Make more symbols local
3eb241e47d05 OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
5d3975e36c64 tmpfs: verify {g,u}id mount options correctly
48c54877ce33 fs: Fix error checking for d_hash_and_lookup()
0c8c20538115 new helper: lookup_positive_unlocked()
0a2b1eb8a9ce eventfd: prevent underflow for eventfd semaphores
3e9617d63edf eventfd: Export eventfd_ctx_do_read()
f59ff666989c reiserfs: Check the return value from __getblk()
e74903b5fbc9 Revert "net: macsec: preserve ingress frame ordering"
b36c4a731aae udf: Handle error when adding extent to a file
7648ea9896b3 udf: Check consistency of Space Bitmap Descriptor
3e2265cda14e powerpc/32s: Fix assembler warning about r0
aea73dde7180 net: Avoid address overwrite in kernel_connect
d7d42f114252 platform/mellanox: Fix mlxbf-tmfifo not handling all virtio CONSOLE notifications
6614af25e142 ALSA: seq: oss: Fix racy open/close of MIDI devices
601dc776a09a scsi: storvsc: Always set no_report_opcodes
107f5cad230b cifs: add a warning when the in-flight count goes negative
f31618e4fc00 sctp: handle invalid error codes without calling BUG()
8d7395d0ea5e bnx2x: fix page fault following EEH recovery
c1ce2f09573e netlabel: fix shift wrapping bug in netlbl_catmap_setlong()
499eb477f76b scsi: qedi: Fix potential deadlock on &qedi_percpu->p_work_lock
d0189e40c2d1 idmaengine: make FSL_EDMA and INTEL_IDMA64 depends on HAS_IOMEM
617d1d0e1730 net: usb: qmi_wwan: add Quectel EM05GV2
5d2481bc924e clk: fixed-mmio: make COMMON_CLK_FIXED_MMIO depend on HAS_IOMEM
3899c1d158c5 security: keys: perform capable check only on privileged operations
97ed1be29bf0 platform/x86: huawei-wmi: Silence ambient light sensor
762c352dfc41 platform/x86: intel: hid: Always call BTNL ACPI method
0e3f0e55974c ASoC: atmel: Fix the 8K sample parameter in I2SC master
0b718d1d5780 ASoc: codecs: ES8316: Fix DMIC config
b796adfc9869 fs/nls: make load_nls() take a const parameter
35a9b057bfd4 s390/dasd: fix hanging device after request requeue
d7768b33d0fd s390/dasd: use correct number of retries for ERP requests
a21ff228f0e1 m68k: Fix invalid .section syntax
4dfc0d1edad3 vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
d65c5ef975d1 ethernet: atheros: fix return value check in atl1c_tso_csum()
ea95a0111494 ASoC: da7219: Check for failure reading AAD IRQ events
216953c3de60 ASoC: da7219: Flush pending AAD IRQ when suspending
b6f827c3f8db 9p: virtio: make sure 'offs' is initialized in zc_request
b6fefef07dca pinctrl: amd: Don't show `Invalid config param` errors
99a73016a5e1 nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse
724474dfaa98 nilfs2: fix general protection fault in nilfs_lookup_dirty_data_buffers()
efe8244ba960 fsi: master-ast-cf: Add MODULE_FIRMWARE macro
6b701dab1993 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
bee7f3a49469 serial: sc16is7xx: fix bug when first setting GPIO direction
a6650d27ab2c Bluetooth: btsdio: fix use after free bug in btsdio_remove due to race condition
5876cae6d6ef staging: rtl8712: fix race condition
a17c6efa1413 HID: wacom: remove the battery when the EKR is off
e4f5ad7b539a USB: serial: option: add FOXCONN T99W368/T99W373 product
837f6647b2bf USB: serial: option: add Quectel EM05G variant (0x030e)
1d2432804815 modules: only allow symbol_get of EXPORT_SYMBOL_GPL modules
6938ef59e3ff rtc: ds1685: use EXPORT_SYMBOL_GPL for ds1685_rtc_poweroff
0e0914f9a899 net: enetc: use EXPORT_SYMBOL_GPL for enetc_phc_index
6b39bd898bb0 mmc: au1xmmc: force non-modular build and remove symbol_get usage
7a67c5d93292 ARM: pxa: remove use of symbol_get()
e83f5d13cb73 erofs: ensure that the post-EOF tails are all zeroed
(From OE-Core rev: 0111b5b152c1bcff0ab26cf8632ca9002237f070)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
0c2544add9fc Linux 5.4.256
1ba96e65ef4c Revert "MIPS: Alchemy: fix dbdma2"
94aef0fe5a82 powerpc/pmac/smp: Drop unnecessary volatile qualifier
b29a10fd0734 powerpc/pmac/smp: Avoid unused-variable warnings
5eb967dd50a5 Linux 5.4.255
e171795856a6 dma-buf/sw_sync: Avoid recursive lock during fence signal
f49cac7634da pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function}
197c546a598a clk: Fix undefined reference to `clk_rate_exclusive_{get,put}'
7fd9cded5646 scsi: core: raid_class: Remove raid_component_add()
56428d89a0da scsi: snic: Fix double free in snic_tgt_create()
b6db4ef5ea41 irqchip/mips-gic: Don't touch vl_map if a local interrupt is not routable
61b5d77169e1 Documentation/sysctl: document page_lock_unfairness
b2421a196cb0 ALSA: pcm: Check for null pointer of pointer substream before dereferencing it
e8bf830efa8a interconnect: Do not skip aggregation for disabled paths
456a7a73404c Revert "ALSA: pcm: Use SG-buffer only when direct DMA is available"
52a7c86e63d2 ALSA: pcm: Fix build error on m68k and others
a1ef12540ebd rtnetlink: Reject negative ifindexes in RTM_NEWLINK
c404e1e19780 mm: allow a controlled amount of unfairness in the page lock
97640d8e2cee x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4
b156ce3b3b61 drm/display/dp: Fix the DP DSC Receiver cap size
9e5fe282f9e2 PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus
ac0e0df5180c media: vcodec: Fix potential array out-of-bounds in encoder queue_setup
79a05ca73637 radix tree: remove unused variable
32639f13441b lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels
c5f261825ff6 batman-adv: Hold rtnl lock during MTU update via netlink
61b71562beb3 batman-adv: Fix batadv_v_ogm_aggr_send memory leak
5fb1a2133707 batman-adv: Fix TT global entry leak when client roamed back
e6e9d7808179 batman-adv: Do not get eth header before batadv_check_management_packet
c97442e09884 batman-adv: Don't increase MTU when set by user
22288ea6beba batman-adv: Trigger events for auto adjusted MTU
3b83759fd46c nfsd: Fix race to FREE_STATEID and cl_revoked
c0284760f470 clk: Fix slab-out-of-bounds error in devm_clk_release()
a0bc5cf2e7f4 NFSv4: Fix dropped lock for racing OPEN and delegation return
815fb2531a48 ibmveth: Use dcbf rather than dcbfl
35e31aff6160 bonding: fix macvlan over alb bond support
faf3f988cc63 net: remove bond_slave_has_mac_rcu()
eebd074af272 net/sched: fix a qdisc modification with ambiguous command request
62383d9fa1af igb: Avoid starting unnecessary workqueues
adef04cc4819 net: validate veth and vxcan peer ifindexes
52ddda8d218b net: bcmgenet: Fix return value check for fixed_phy_register()
189ad377d1ca net: bgmac: Fix return value check for fixed_phy_register()
dcbfcb54a28f ipvlan: Fix a reference count leak warning in ipvlan_ns_exit()
8e6433fecb2b dccp: annotate data-races in dccp_poll()
7d6cc6919952 sock: annotate data-races around prot->memory_pressure
d28ea7acfae7 octeontx2-af: SDP: fix receive link config
05319d707732 tracing: Fix memleak due to race between current_tracer and trace
c8920972d086 drm/amd/display: check TG is non-null before checking if enabled
7d4174a99b1d drm/amd/display: do not wait for mpc idle if tg is disabled
94239d1830a1 ASoC: fsl_sai: Disable bit clock with transmitter
ef9cae4a6c8d ASoC: fsl_sai: Add new added registers and new bit definition
1b3d75104542 ASoC: fsl_sai: Refine enable/disable TE/RE sequence in trigger()
f9afb326b7ba regmap: Account for register length in SMBus I/O limits
7e1d1456c8db ALSA: pcm: Fix potential data race at PCM memory allocation helpers
140797d0a46e ALSA: pcm: Use SG-buffer only when direct DMA is available
95b30a431254 ALSA: pcm: Set per-card upper limit of PCM buffer allocations
d0ef103e192c dm integrity: reduce vmalloc space footprint on 32-bit architectures
072d247d7a62 dm integrity: increase RECALC_SECTORS to improve recalculate speed
4e96ee117500 fbdev: fix potential OOB read in fast_imageblit()
ebf84320a587 fbdev: Fix sys_imageblit() for arbitrary image widths
96f8e80656ec fbdev: Improve performance of sys_imageblit()
7e5b7360df81 MIPS: cpu-features: Use boot_cpu_type for CPU type based features
302a8fbf8cab MIPS: cpu-features: Enable octeon_cache by cpu_type
7b57fc3f4c49 fs: dlm: fix mismatch of plock results from userspace
721d5b514dfc fs: dlm: use dlm_plock_info for do_unlock_close
da794f6dd549 fs: dlm: change plock interrupted message to debug again
f03726ef19e1 fs: dlm: add pid to debug log
8b73497e50ef dlm: replace usage of found with dedicated list iterator variable
526cc04d718b dlm: improve plock logging if interrupted
7abd6dce29f6 PCI: acpiphp: Reassign resources on bridge if necessary
fce081555293 net: phy: broadcom: stub c45 read/write for 54810
e91d5ace7051 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove
a0e20e267aec net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure
f0c10a4497af net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled
b1be2cfcf6cf virtio-net: set queues after driver_ok
4821df2ffe38 af_unix: Fix null-ptr-deref in unix_stream_sendpage().
0afc186aba1e netfilter: set default timeout to 3 secs for sctp shutdown send and recv state
6875690b0eea mmc: block: Fix in_flight[issue_type] value error
54deee3fab1b mmc: wbsd: fix double mmc_free_host() in wbsd_init()
4259dd534245 cifs: Release folio lock on fscache read hit.
03373410247b ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces.
b653289ca646 serial: 8250: Fix oops for port->pm on uart_change_pm()
7b4e6bff03e2 ASoC: meson: axg-tdm-formatter: fix channel slot allocation
29d862ee5fef ASoC: rt5665: add missed regulator_bulk_disable
f21fa1892d42 ARM: dts: imx: Set default tuning step for imx6sx usdhc
aadee0ae0a5f ARM: dts: imx: Set default tuning step for imx7d usdhc
a23e10dafd77 ARM: dts: imx: Adjust dma-apbh node name
536c1bbedd5d ARM: dts: imx7s: Drop dma-apb interrupt-names
37cfbf847c2d bus: ti-sysc: Flush posted write on enable before reset
4637b2fa6541 bus: ti-sysc: Improve reset to work with modules with no sysconfig
210ff31342ad net: do not allow gso_size to be set to GSO_BY_FRAGS
1c7db7abd4ba sock: Fix misuse of sk_under_memory_pressure()
aa670bdefc0c net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset
702c58a05eb5 i40e: fix misleading debug logs
ac16de2d02eb team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
81da9e2c4255 netfilter: nft_dynset: disallow object maps
bdd7c2ff4143 ipvs: fix racy memcpy in proc_do_sync_threshold
38e5c37bfab1 selftests: mirror_gre_changes: Tighten up the TTL test match
8046beb890eb xfrm: add NULL check in xfrm_update_ae_params
d34c30442d5e ip_vti: fix potential slab-use-after-free in decode_session6
eb47e612e59c ip6_vti: fix slab-use-after-free in decode_session6
db0e50741f03 xfrm: fix slab-use-after-free in decode_session6
64c6df80d35a xfrm: interface: rename xfrm_interface.c to xfrm_interface_core.c
32cc777c0a53 net: af_key: fix sadb_x_filter validation
373848d51fde net: xfrm: Fix xfrm_address_filter OOB read
a0a462a0f209 btrfs: fix BUG_ON condition in btrfs_cancel_balance
cc423a972cfd tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms
1d29e21ed09f powerpc/rtas_flash: allow user copy to flash block cache objects
97ddf1c2105a fbdev: mmp: fix value check in mmphw_probe()
3259e2d8781f i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue
b788ad3b2468 virtio-mmio: don't break lifecycle of vm_dev
e22a4b77b69d virtio-mmio: Use to_virtio_mmio_device() to simply code
432429d1b25f virtio-mmio: convert to devm_platform_ioremap_resource
12c4c227891e nfsd: Remove incorrect check in nfsd4_validate_stateid
a4e3c4cd02f5 nfsd4: kill warnings on testing stateids with mismatched clientids
ff652b0150a4 net/ncsi: Fix gma flag setting after response
b66a1defb205 tracing/probes: Fix to update dynamic data counter if fetcharg uses it
bdc309d89b32 tracing/probes: Have process_fetch_insn() take a void * instead of pt_regs
cc93a372e03e leds: trigger: netdev: Recheck NETDEV_LED_MODE_LINKUP on dev rename
939b8b312adc mmc: sunxi: fix deferred probing
c6d1a281ae83 mmc: bcm2835: fix deferred probing
b48b4b1885f7 USB: dwc3: qcom: fix NULL-deref on suspend
6da1f9fd9c8e usb: dwc3: qcom: Add helper functions to enable,disable wake irqs
5335bb0cefde interconnect: Add helpers for enabling/disabling a path
e062fb979410 interconnect: Move internal structs into a separate file
abc25a18a64c irqchip/mips-gic: Use raw spinlock for gic_lock
05de6069b52c irqchip/mips-gic: Get rid of the reliance on irq_cpu_online()
1224e5a9787c ALSA: hda: Fix unhandled register update during auto-suspend period
a55d55a30781 PM: runtime: Add pm_runtime_get_if_active()
e5d98d42bca5 PM-runtime: add tracepoints for usage_count changes
59aba9d5cd36 iommu/amd: Fix "Guest Virtual APIC Table Root Pointer" configuration in IRTE
8f302378c704 iio: addac: stx104: Fix race condition when converting analog-to-digital
7251b2915d33 iio: addac: stx104: Fix race condition for stx104_write_raw()
70d135e7de08 iio: stx104: Move to addac subdirectory
8ba99f7fc7eb iio: adc: stx104: Implement and utilize register structures
4edf338adee7 iio: adc: stx104: Utilize iomap interface
e13b26d0dd10 iio: add addac subdirectory
e6f66a0ad755 IMA: allow/fix UML builds
635278e97a94 powerpc/kasan: Disable KCOV in KASAN code
109f0aaa0b88 ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()
97ed58437705 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760
c6059af6bf5e drm/amdgpu: Fix potential fence use-after-free v2
fe49aa73cca6 Bluetooth: L2CAP: Fix use-after-free
22100df1d57f pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db()
b4a7ab57effb gfs2: Fix possible data races in gfs2_show_options()
c4d5c945b69a usb: chipidea: imx: don't request QoS for imx8ulp
c1c5826223ae media: platform: mediatek: vpu: fix NULL ptr dereference
ef009fe2010e media: v4l2-mem2mem: add lock to protect parameter num_rdy
2a8807f9f511 FS: JFS: Check for read-only mounted filesystem in txBegin
a7d17d6bd7cd FS: JFS: Fix null-ptr-deref Read in txBegin
2225000d62c1 MIPS: dec: prom: Address -Warray-bounds warning
6e7d9d76e565 fs: jfs: Fix UBSAN: array-index-out-of-bounds in dbAllocDmapLev
3f1368af47ac udf: Fix uninitialized array access for some pathnames
8f203dd401e8 ovl: check type and offset of struct vfsmount in ovl_entry
8abed186aabd HID: add quirk for 03f0:464a HP Elite Presenter Mouse
3f378783c47b quota: fix warning in dqgrab()
c3a1f5ba11c5 quota: Properly disable quotas when add_dquot_ref() fails
dd445ebbee88 ALSA: emu10k1: roll up loops in DSP setup code for Audigy
b8fab6aebdf2 drm/radeon: Fix integer overflow in radeon_cs_parser_init
3a3bb438dae3 macsec: use DEV_STATS_INC()
b5e20a3ddea4 macsec: Fix traffic counters/statistics
4b854879f82d selftests: forwarding: tc_flower: Relax success criterion
e5883ffdd0a8 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
e7bd70c3bc62 mmc: sdhci_f_sdh30: convert to devm_platform_ioremap_resource
(From OE-Core rev: 5ab843389d08da0f04636c8dc02998865c6f5c4c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
fd2a1d1f32ea Linux 5.4.254
e7711f15ed6b sch_netem: fix issues in netem_change() vs get_dist_table()
3c3ffd6a3cf7 alpha: remove __init annotation from exported page_is_ram()
e12fac07f61c scsi: core: Fix possible memory leak if device_add() fails
cea09922f5f7 scsi: snic: Fix possible memory leak if device_add() fails
12162414a7c1 scsi: 53c700: Check that command slot is not NULL
048ebc9a28fb scsi: storvsc: Fix handling of virtual Fibre Channel timeouts
ecb1fbe2879f scsi: core: Fix legacy /proc parsing buffer overflow
979822844209 netfilter: nf_tables: report use refcount overflow
137e25f0906e nvme-rdma: fix potential unbalanced freeze & unfreeze
ab32fbe3fe70 nvme-tcp: fix potential unbalanced freeze & unfreeze
756c024698f4 btrfs: set cache_block_group_error if we find an error
fa7bc2684a05 btrfs: don't stop integrity writeback too early
0a3b5893c6b1 ibmvnic: Handle DMA unmapping of login buffs in release functions
d66a27113ebb net/mlx5: Allow 0 for total host VFs
d7b2df974299 dmaengine: mcf-edma: Fix a potential un-allocated memory access
e913d89445e3 wifi: cfg80211: fix sband iftype data lookup for AP_VLAN
c2145b18740c IB/hfi1: Fix possible panic during hotplug remove
9d469552c9d2 drivers: net: prevent tun_build_skb() to exceed the packet size limit
67eebc7a9217 dccp: fix data-race around dp->dccps_mss_cache
ef8810965f0c bonding: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves
9c7deea5afcc net/packet: annotate data-races around tp->status
60d9662f39f5 mISDN: Update parameter type of dsp_cmx_send()
dd72849bce27 selftests/rseq: Fix build with undefined __weak
302d848188d6 drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
ed8dcd9543b8 x86: Move gds_ucode_mitigated() declaration to header
6b342b1f3b01 x86/mm: Fix VDSO and VVAR placement on 5-level paging machines
91a5e755e11f x86/cpu/amd: Enable Zenbleed fix for AMD Custom APU 0405
14254212b431 usb: common: usb-conn-gpio: Prevent bailing out if initial role is none
25038d3f16b9 usb: dwc3: Properly handle processing of pending events
044f4446e06b usb-storage: alauda: Fix uninit-value in alauda_check_media()
b97dad01c121 binder: fix memory leak in binder_init()
182f0e71ff34 iio: cros_ec: Fix the allocation size for cros_ec_command
d2c539c216cc nilfs2: fix use-after-free of nilfs_root in dirtying inodes via iput
655716938d14 x86/pkeys: Revert a5eff7259790 ("x86/pkeys: Add PKRU value to init_fpstate")
ea1b4c31161f radix tree test suite: fix incorrect allocation size for pthreads
aa0bfe169d29 drm/nouveau/gr: enable memory loads on helper invocation on all channels
8a489b0bc87c dmaengine: pl330: Return DMA_PAUSED when transaction is paused
7c62508d6b91 ipv6: adjust ndisc_is_useropt() to also return true for PIO
0a67c1262162 mmc: moxart: read scr register without changing byte order
4b4223f7d26d Linux 5.4.253
9e5374875f96 Revert "driver core: Annotate dev_err_probe() with __must_check"
ca33c0704151 drivers: core: fix kernel-doc markup for dev_err_probe()
04ece65d9bad driver code: print symbolic error code
f2c1b4f9c157 driver core: Annotate dev_err_probe() with __must_check
2e8fc2ddffee ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node
a1ba8725577b ARM: dts: imx6sll: fixup of operating points
6c71d73945d2 ARM: dts: imx: add usb alias
66579ee141a5 ARM: dts: imx: Align L2 cache-controller nodename with dtschema
3b454fb938e1 ARM: dts: imx6sll: Make ssi node name same as other platforms
03b119d900fd arm64: dts: stratix10: fix incorrect I2C property for SCL signal
72c946246e21 ceph: defer stopping mdsc delayed_work
f82fe11a30ae ceph: use kill_anon_super helper
82edffead586 ceph: show tasks waiting on caps in debugfs caps file
632023a2b3ac PM: sleep: wakeirq: fix wake irq arming
d7f34e2cdd12 PM / wakeirq: support enabling wake-up irq after runtime_suspend called
9cbffa33749a selftests/rseq: Play nice with binaries statically linked against glibc 2.35+
13553469bdbd selftests/rseq: check if libc rseq support is registered
a65e7b4b31ca powerpc/mm/altmap: Fix altmap boundary check
f8cf0f83cf04 mtd: rawnand: omap_elm: Fix incorrect type in assignment
2af8ed119722 test_firmware: return ENOMEM instead of ENOSPC on failed memory allocation
0f68b0f8eb5a test_firmware: prevent race conditions by a correct implementation of locking
040cdadf9fdc ext2: Drop fragment support
0336b42456e4 fs: Protect reconfiguration of sb read-write from racing writes
a05ac5d00eb7 net: usbnet: Fix WARNING in usbnet_start_xmit/usb_submit_urb
a2da00d1ea1a Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_ready_cb
0a44ceba77c3 fs/sysv: Null check to prevent null-ptr-deref bug
1202deb153d6 net: tap_open(): set sk_uid from current_fsuid()
1d53ea776760 net: tun_chr_open(): set sk_uid from current_fsuid()
ae9cf40873d3 mtd: rawnand: meson: fix OOB available bytes for ECC
8deaaf4be175 mtd: spinand: toshiba: Fix ecc_get_status
eacb19bd7cd2 USB: zaurus: Add ID for A-300/B-500/C-700
5107f9e8db60 libceph: fix potential hang in ceph_osdc_notify()
6f14228e82fe scsi: zfcp: Defer fc_rport blocking until after ADISC response
a490c2e8927e tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
6d49ed957d77 tcp_metrics: annotate data-races around tm->tcpm_net
fc566cf344d8 tcp_metrics: annotate data-races around tm->tcpm_vals[]
76b47daba7cd tcp_metrics: annotate data-races around tm->tcpm_lock
38661fe6d001 tcp_metrics: annotate data-races around tm->tcpm_stamp
96f14d689dc5 tcp_metrics: fix addr_same() helper
0438e60a00d4 ip6mr: Fix skb_under_panic in ip6mr_cache_report()
5b3dbedb8d4a net: dcb: choose correct policy to parse DCB_ATTR_BCN
363c56f97122 net: ll_temac: fix error checking of irq_of_parse_and_map()
7928f81443f6 net: ll_temac: Switch to use dev_err_probe() helper
97d8a0bbda6b driver core: add device probe log helper
227b8ce59cd3 bpf: sockmap: Remove preempt_disable in sock_map_sk_acquire
1c8262f31fd2 net/sched: cls_route: No longer copy tcf_result on update to avoid use-after-free
83e3d4b0ae37 net/sched: cls_fw: No longer copy tcf_result on update to avoid use-after-free
be785808db32 net/sched: cls_u32: No longer copy tcf_result on update to avoid use-after-free
b705759a1a25 net: add missing data-race annotation for sk_ll_usec
95dd65f29070 net: add missing data-race annotations around sk->sk_peek_off
8a6dddcb47a6 net: add missing READ_ONCE(sk->sk_rcvbuf) annotation
ec4b7532d70b net: add missing READ_ONCE(sk->sk_sndbuf) annotation
9cd3adc26e53 net: add missing READ_ONCE(sk->sk_rcvlowat) annotation
481186cad78f net: annotate data-races around sk->sk_max_pacing_rate
1774250a20d7 mISDN: hfcpci: Fix potential deadlock on &hc->lock
42b28808070e net: sched: cls_u32: Fix match key mis-addressing
1b047dc9108e perf test uprobe_from_different_cu: Skip if there is no gcc
ad46d4861ed3 rtnetlink: let rtnl_bridge_setlink checks IFLA_BRIDGE_MODE length
80381ecf2933 net/mlx5e: fix return value check in mlx5e_ipsec_remove_trailer()
800d8c96bf99 net/mlx5: DR, fix memory leak in mlx5dr_cmd_create_reformat_ctx
4730c0a1131c KVM: s390: fix sthyi error handling
d2fb0969262c word-at-a-time: use the same return type for has_zero regardless of endianness
be4d2b456206 loop: Select I/O scheduler 'none' from inside add_disk()
11e929c38029 perf: Fix function pointer case
1db90f97d719 arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro
f41cab7a4653 arm64: Add AMPERE1 to the Spectre-BHB affected list
6e4aa8c89034 ASoC: cs42l51: fix driver to properly autoload with automatic module loading
cf8ecd6ea680 net/sched: sch_qfq: account for stab overhead in qfq_enqueue
0e0f324c259d btrfs: fix race between quota disable and quota assign ioctls
4f8f86bc5d33 btrfs: qgroup: return ENOTCONN instead of EINVAL when quotas are not enabled
8c1d1f3a33e5 btrfs: qgroup: remove one-time use variables for quota_root checks
c8b1499e420e cpufreq: intel_pstate: Drop ACPI _PSS states table patching
f331413e1cf1 ACPI: processor: perflib: Avoid updating frequency QoS unnecessarily
511851c87031 ACPI: processor: perflib: Use the "no limit" frequency QoS
81cd6ceee7ce dm cache policy smq: ensure IO doesn't prevent cleaner policy progress
e3efc4767a46 ASoC: wm8904: Fill the cache for WM8904_ADC_TEST_0 register
00748bc586a4 s390/dasd: fix hanging device after quiesce/resume
73e872466ddc virtio-net: fix race between set queues and probe
6db2a3c5c201 btrfs: check if the transaction was aborted at btrfs_wait_for_commit()
5adbd7ccd430 irq-bcm6345-l1: Do not assume a fixed block to cpu mapping
a0019e13a9e9 tpm_tis: Explicitly check for error code
d1c6e68003d3 btrfs: check for commit error at btrfs_attach_transaction_barrier()
ee2eed8306b3 hwmon: (nct7802) Fix for temp6 (PECI1) processed even if PECI1 disabled
5373a1aa91b2 staging: ks7010: potential buffer overflow in ks_wlan_set_encode_ext()
352e0cae4cce Documentation: security-bugs.rst: clarify CVE handling
e331a88ea56b Documentation: security-bugs.rst: update preferences when dealing with the linux-distros group
fd21197af575 Revert "usb: xhci: tegra: Fix error check"
e0c92c329131 usb: xhci-mtk: set the dma max_seg_size
3f39d58a0c1a USB: quirks: add quirk for Focusrite Scarlett
8f86b1b3b539 usb: ohci-at91: Fix the unhandle interrupt when resume
640cb5f5e4b4 usb: dwc3: don't reset device side if dwc3 was configured as host-only
a7d080cf4fab usb: dwc3: pci: skip BYT GPIO lookup table for hardwired phy
5fc6ace75ceb Revert "usb: dwc3: core: Enable AutoRetry feature in the controller"
80d40a3d6d45 can: gs_usb: gs_can_close(): add missing set of CAN state to CAN_STATE_STOPPED
58f0affb3c47 USB: serial: simple: sort driver entries
43ee3cf0c783 USB: serial: simple: add Kaufmann RKS+CAN VCP
bcf1fc781ea1 USB: serial: option: add Quectel EC200A module support
3ec7c5ef6021 USB: serial: option: support Quectel EM060K_128
da7ebd86cd2e serial: sifive: Fix sifive_serial_console_setup() section
d674cb90a9ef serial: 8250_dw: Preserve original value of DLF register
cdcc35e64541 tracing: Fix warning in trace_buffered_event_disable()
d7b20279244f ring-buffer: Fix wrong stat of cpu_buffer->read
f6e1e569ac97 ata: pata_ns87415: mark ns87560_tf_read static
53c06e0d15ee dm raid: fix missing reconfig_mutex unlock in raid_ctr() error paths
9ebcca93bd41 block: Fix a source code comment in include/uapi/linux/blkzoned.h
c0aad2fe1b9f ASoC: fsl_spdif: Silence output on stop
3bd1b4793b01 drm/msm: Fix IS_ERR_OR_NULL() vs NULL check in a5xx_submit_in_rb()
4970f72f810c drm/msm/adreno: Fix snapshot BINDLESS_DATA size
5200bd7e6096 drm/msm/dpu: drop enum dpu_core_perf_data_bus_id
4990f529b745 RDMA/mlx4: Make check for invalid flags stricter
74843851d418 benet: fix return value check in be_lancer_xmit_workarounds()
07d9723cef28 net/sched: mqprio: Add length check for TCA_MQPRIO_{MAX/MIN}_RATE64
2eb617529458 net/sched: mqprio: add extack to mqprio_parse_nlattr()
29c5eb0ffac7 net/sched: mqprio: refactor nlattr parsing to a separate function
17afc24d20c9 platform/x86: msi-laptop: Fix rfkill out-of-sync on MSI Wind U100
504177c84f04 team: reset team's flags when down link is P2P device
a3bb02598db9 bonding: reset bond's flags when down link is P2P device
d87d67c8bdd1 tcp: Reduce chance of collisions in inet6_hashfn().
458294ee1537 ipv6 addrconf: fix bug where deleting a mngtmpaddr can create a new temporary address
a249705862d7 ethernet: atheros: fix return value check in atl1e_tso_csum()
195e806b2afb phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe()
27b63e8b8552 vxlan: calculate correct header length for GPE
5e98318c632d i40e: Fix an NULL vs IS_ERR() bug for debugfs_create_dir()
6b1ee62ecbf1 ext4: fix to check return value of freeze_bdev() in ext4_shutdown()
65bd66a794bf keys: Fix linking a duplicate key to a keyring's assoc_array
c1df96689fe1 uapi: General notification queue definitions
ea64c727f201 scsi: qla2xxx: Array index may go out of bound
5e387df414f9 scsi: qla2xxx: Fix inconsistent format argument type in qla_os.c
629628738078 pwm: meson: fix handling of period/duty if greater than UINT_MAX
7ae4671a868e pwm: meson: Simplify duplicated per-channel tracking
8abacc57af7b pwm: meson: Remove redundant assignment to variable fin_freq
680e1455b828 ftrace: Fix possible warning on checking all pages used in ftrace_process_locs()
05ff1d355e0b ftrace: Store the order of pages allocated in ftrace_page
e3098e52bf5a ftrace: Check if pages were allocated before calling free_pages()
aad84a978841 ftrace: Add information on number of page groups allocated
bd020c7763d6 fs: dlm: interrupt posix locks only when process is killed
f61d5752aed0 dlm: rearrange async condition return
ed092c495e29 dlm: cleanup plock_op vs plock_xop
a50ad9f8c06c PCI/ASPM: Avoid link retraining race
e50434e33de9 PCI/ASPM: Factor out pcie_wait_for_retrain()
7411202a0fee PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()
8eb15ff216c1 ext4: Fix reusing stale buffer heads from last failed mounting
0204319de8ea ext4: rename journal_dev to s_journal_dev inside ext4_sb_info
356056cbe667 btrfs: fix extent buffer leak after tree mod log failure at split_node()
63008dab58ad btrfs: fix race between quota disable and relocation
0a55f346e0e5 btrfs: qgroup: catch reserved space leaks at unmount time
b070f29a6143 bcache: Fix __bch_btree_node_alloc to make the failure behavior consistent
38a6dd2b68f9 bcache: remove 'int n' from parameter list of bch_bucket_alloc_set()
edb81d6e1e50 gpio: tps68470: Make tps68470_gpio_output() always set the initial value
34e71f7d3a03 jbd2: Fix wrongly judgement for buffer head removing while doing checkpoint
937cb20746c8 jbd2: recheck chechpointing non-dirty buffer
acc9a81f7cb2 jbd2: remove redundant buffer io error checks
05d440d0f5da jbd2: fix kernel-doc markups
b41fa1ed91de jbd2: fix incorrect code style
(From OE-Core rev: d6d1a9c20536d9f8abc60419eec93fec66496964)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
21732fd22497 Linux 5.4.252
9399ea1ce481 x86: fix backwards merge of GDS/SRSO bit
bc7b9a6c2ca4 xen/netback: Fix buffer overrun triggered by unusual packet
43ed6f79b3e7 x86/cpu, kvm: Add support for CPUID_80000021_EAX
1f0618bb2456 x86/bugs: Increase the x86 bugs vector size to two u32s
08ba48152a8a tools headers cpufeatures: Sync with the kernel sources
694b40dcfb41 x86/cpufeatures: Assign dedicated feature word for CPUID_0x8000001F[EAX]
4fa849d4af68 x86/cpu: Add VM page flush MSR availablility as a CPUID feature
998eec066607 x86/cpufeatures: Add SEV-ES CPU feature
3e21d8b0f3a9 Documentation/x86: Fix backwards on/off logic about YMM support
ad7670dd65cb x86/mm: Initialize text poking earlier
979366f5c2aa mm: Move mm_cachep initialization to mm_init()
3d1b8cfdd0c9 x86/mm: Use mm_alloc() in poking_init()
ddcf05fe8850 x86/mm: fix poking_init() for Xen PV guests
3f8968f1f0ad x86/xen: Fix secondary processors' FPU initialization
e56c1e0f9134 KVM: Add GDS_NO support to KVM
ed56430ab253 x86/speculation: Add Kconfig option for GDS
e35c65794365 x86/speculation: Add force option to GDS mitigation
f68f9f2df68e x86/speculation: Add Gather Data Sampling mitigation
6e6044366897 x86/fpu: Move FPU initialization into arch_cpu_finalize_init()
2ee37a46aa13 x86/fpu: Mark init functions __init
77fe8150579c x86/fpu: Remove cpuinfo argument from init functions
95356fff6fee init, x86: Move mem_encrypt_init() into arch_cpu_finalize_init()
7aa2cec22e28 init: Invoke arch_cpu_finalize_init() earlier
944d5c3ffa4b init: Remove check_bugs() leftovers
a03ef708788e um/cpu: Switch to arch_cpu_finalize_init()
98c3955e145f sparc/cpu: Switch to arch_cpu_finalize_init()
568d68fc1dd4 sh/cpu: Switch to arch_cpu_finalize_init()
18cd611a3eaa mips/cpu: Switch to arch_cpu_finalize_init()
2febb4a73004 m68k/cpu: Switch to arch_cpu_finalize_init()
1f4494ea77e8 ia64/cpu: Switch to arch_cpu_finalize_init()
73719e89e32b ARM: cpu: Switch to arch_cpu_finalize_init()
1743bc756b6b x86/cpu: Switch to arch_cpu_finalize_init()
afe787cf253b init: Provide arch_cpu_finalize_init()
(From OE-Core rev: 9255ec4beb9eaa6f5d4b8a51a6b2ac4e511309fc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Use autotools-brokensep as new version needs that.
upgrade include fix for CVE-2020-21686 and CVE-2022-29654
(cherry picked from commit c9c724ffa36757b56e70bc8d7b880c0c5777b153)
(From OE-Core rev: ed262f94b81cbf78e6a335912875bee8a65ca7c6)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
https://docs.python.org/release/3.8.18/whatsnew/changelog.html#changelog
Release date: 2023-08-24
Security
gh-108310: Fixed an issue where instances of ssl.SSLSocket were
vulnerable to a bypass of the TLS handshake and included protections
(like certificate verification) and treating sent unencrypted data as if
it were post-handshake TLS encrypted data. Security issue reported as
CVE-2023-40217 by Aapo Oksman. Patch by Gregory P. Smith.
Library
gh-107845: tarfile.data_filter() now takes the location of symlinks into
account when determining their target, so it will no longer reject some
valid tarballs with LinkOutsideDestinationError.
Tools/Demos
gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL
1.1.1v, 3.0.10, and 3.1.2.
(From OE-Core rev: 9205496344bede4a16372ca7a02c2819a976640b)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(From OE-Core rev: 93efa56fb87217035275dcb04c4a19b79b95ccaf)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(From OE-Core rev: bd594af20fce07908f8e0fb1765b0e0ccc641e86)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add patch from libwebp 1.1.0 to fix CVE-2023-5129.
(From OE-Core rev: 2ab6568d35e3d68f77a73bf56eb2d38aa6ada236)
Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This includes multiple CVE fixes.
The license change is due to changes in maintainership, the license
itself is unchanged.
(From OE-Core rev: a9d194f21a3bdebca8aaff204804a5fdc67c76d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91e66b93a0c0928f0c2cfe78e22898a6c9800f34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Buffer Overflow vulnerability in function bitwriter_grow_ in flac before
1.4.0 allows remote attackers to run arbitrary code via crafted input to
the encoder.
(From OE-Core rev: 87d92cb3d20c2686caddaa29cd17e18850ad9484)
Signed-off-by: Meenali Gupta <meenali.gupta@windriver.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The time and timeout tests are sensitive to system load, and as we run
these on build machines they fail randomly.
[ YOCTO #14371 ]
(From OE-Core rev: d2b62913a5771169265171129fe972c8e252fe04)
(From OE-Core rev: 309f1c6166f8535fa61fd1d01924df3c7fe9fbba)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a84b8d683b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
- Update according to changes in SANITY_TESTED_DISTROS
(meta-poky/conf/distro/poky.conf)
- No longer declare as "Supported" the distributions versions
which are End of Life for their vendors, as some of them
(Ubuntu for example) ship updates to subscribers only,
which the Yocto Project has no access to.
- List distribution versions which were previously tested
for the branch of the Yocto Project being considered.
(From yocto-docs rev: ed345f43ed1e5fcceeff5ab77aaa43763f08f598)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
On our slower arm server, the tests currently timeout leading to inconsistent test
results. Increase the timeout to avoid this and aim to make the test results
consistent.
(From OE-Core rev: 76b065b3e802fc7dfa9a370e273b8a4187072623)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a8b49208f3c99e184eab426360b137bc773aa31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We have a suspicion that the read() call may return EAGAIN on the non-blocking
fd and this may truncate test output leading to some of our intermittent failures.
Tweak the code to avoid this potential issue.
(From OE-Core rev: 605d832e86f249100adaf3761b4e1701401d0b76)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8920c105725431e989cceb616bd04eaa52127ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This provides a more reliable test execution when running tests that
write a large buffer/file and significantly reduces the localedata test
failures.
(From OE-Core rev: 1f35336edf13496432fb68e7e048a5c137fc3e47)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 97a7612e3959bc9c75116a4e696f47cc31aea75d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Allows setting up NFS over TCP as well.
(From OE-Core rev: 148e009374dcbd2101223cf33f2ff69c75895b71)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1ff9b9a3b7f7924aea67d2024581bea2e916036)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Some of the tests trigger OOM and fail. Increase the amount of memory
available so we dont run into these issues.
(From OE-Core rev: 50b07b4c0c814f2832816cf83863687155429b21)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d22dba482cb19ffcff5abee73f24526ea9d1c2a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Dont fill up the test log with ssh warning about having added the host
to list of known hosts.
Also helps fix a test case failure where stderr log was being compared
to a known value.
(From OE-Core rev: 781c52bb8f9ffe6aeb456fb0c0d628917641fb22)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63b31ff7e54a171c4c02fca2e6b07aec64a410af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Due to an oversight in the do_symlink_kernsrc function, the path
comparison between "S" and "STAGING_KERNEL_DIR" is broken. The code
obtains both variables, but modifies the local copy of "S" before
comparing them, causing the comparison to always return false.
This can cause the build to fail when the EXTERNALSRC flag is enabled,
since the code will try to create a symlink even if one already exists.
This patch resolves the issue by comparing the variables before they are
modified.
(From OE-Core rev: 27a982807caa7ffbdf2d4ef02bc0b037150b1b3b)
Signed-off-by: Staffan Rydén <staffan.ryden@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit afd2038ef8a66a5e6433be31a14e1eb0d9f9a1d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
non-release indexes will continue to generate when test output is
corrupted.
(From OE-Core rev: 31b996c01c72749fc62821a3c9d1da70540bfad6)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a9157684a6bff8406c9bb470cb2e16ee006bbe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add in stable updates to glibc 2.38 to fix malloc bugs
(From OE-Core rev: 2850119bce7aa9788ab8b163311d42ea273ca1df)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39f987fcb20ad7c0e45425b9f508d463c50ce0c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
remove the traling blanks before the ;-delimiter, so one could use
"_remove" to avoid running tasks like 'rootfs_update_timestamp',
which are currently hardcoded and not bound to any
configurable feature flag
(From OE-Core rev: 18246f0bfedb5c729a0fc5b515f25a1ed0cde191)
Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
A DMA-MMIO reentrancy problem may lead to memory corruption bugs
like stack overflow or use-after-free.
Summary of the problem from Peter Maydell:
https://lore.kernel.org/qemu-devel/CAFEAcA_23vc7hE3iaM-JVA6W38LK4hJoWae5KcknhPRD5fPBZA@mail.gmail.com
Reference:
https://gitlab.com/qemu-project/qemu/-/issues/556
qemu.git$ git log --no-merges --oneline --grep CVE-2023-0330
b987718bbb hw/scsi/lsi53c895a: Fix reentrancy issues in the LSI controller (CVE-2023-0330)
a2e1753b80 memory: prevent dma-reentracy issues
Included second commit as well as commit log of a2e1753b80 says it
resolves CVE-2023-0330
(From OE-Core rev: 45ce9885351a2344737170e6e810dc67ab3e7ea9)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Run generate-cve-exclusions.py to generate the ignore lists. This file
is maintained separately from the existing manual whitelist entries.
(From OE-Core rev: b63743410e758ba116adb74a483b7c2d2aedf3b3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Instead of manually looking up new CVEs and determining what point
releases the fixes are incorporated into, add a script to generate the
CVE_CHECK_WHITELIST data automatically.
First, note that this is very much an interim solution until the
cve-check class fetches data from www.linuxkernelcves.com directly.
The script should be passed the path to a local clone of the
linuxkernelcves repository[1] and the kernel version number. It will
then write to standard output the CVE_STATUS entries for every known
kernel CVE.
The script should be periodically reran as CVEs are backported and
kernels upgraded frequently.
[1] https://github.com/nluedtke/linux_kernel_cves
Note: for the Dunfell backport this is not a cherry-pick of the commit
in master as the variable names are different. This incorporates the
following commits:
linux/generate-cve-exclusions: add version check warning
linux/generate-cve-exclusions.py: fix comparison
linux-yocto: add script to generate kernel CVE_STATUS entries
(From OE-Core rev: 496c0b8fab5dd87102c3a63656debdb3aa214ae7)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
str.format() doesn't use % notation, update the formatting to work.
assertTrue() is a member of self not a global, and assertTrue(True) will
always pass. Change this to just self.fail() as this is the failure case.
(From OE-Core rev: 2be0f2c62fb893f093091cbb30967f32f9d3165b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 017f3a0b1265c1a3b69c20bdb56bbf446111977e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
native and nativesdk classes are special and must be inherited last :
put them at the end of the gathered classes to inherit.
(From OE-Core rev: cdc671271327ca61e5321b8890921d08ecd8799d)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6614fd800cbe791264aeb102d379ba79bd145c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This version includes fixes to patchelf.
(From OE-Core rev: 600ef23e30c27b4ec0f54c9b03d6386bccd5390f)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c5c8ff97ba0a7f9adc592d702b865b3d166a24b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
For newest Qualcomm platforms the firmware for the Adreno GPU consists
of two parts: platform-independent SQE/GMU/GPMU/PFP/PM4 and
platform-specific ZAP shader, which is used during the boot process. As
the platform-independent parts can be shared between different
platforms, split the platform-specific part to the separate package.
(From OE-Core rev: 3ae53403b019b699f59c3ab9ba7b822041773dc7)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf00a042d2fa2eb4b20d8c5982926758821bf990)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
RTL8822 is a serie of wireless modules that need firmwares to function correctly.
The linux firmware recipe does not have a package of these firmwares, and this commit add them.
(From OE-Core rev: f1a4db02831e70782a896b699cc2fa427cbd8e62)
Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6459959beeb91c0b694f5f17b6587a12c6dcb087)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Latest linux-firmware archive inclues firmware for the Dragonboard 410c
device (Qualcomm apq8016 SBC). Follow the rest of linux-firmware-qcom-*
packages as a template and create packages for the new firmware files.
(From OE-Core rev: 0f4582034a41f4abc746bffe5892a8d393a5a8f7)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 380216e8d3b63d563ebfb10445fc6eb5e77eb9f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
WHENCE checksum changed because of updated version lists and removal of
information for the RTL8188EU driver.
(From OE-Core rev: ecfb64079c7426606263780e04799b811c51fe91)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 986f8ca9d4c2c22d368f69e65b2ab76d661edca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When including an initramfs bundle inside a FIT image, the fitImage is created
after the install task by do_assemble_fitimage_initramfs.
This happens after the generation of the initramfs bundle
(done by do_bundle_initramfs).
So, at the level of the install task we should not try to install the fitImage.
The fitImage is still not generated yet.
After the generation of the fitImage, the deploy task copies the fitImage from
the build directory to the deploy folder.
Change-Id: I3eaa6bba1412f388f710fa0f389f66631c1c4826
(From OE-Core rev: b70a8333a7467162b9d148b99f5970c0af2a531f)
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b67fd9ac74935fa41e960478c54e45422339138)
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
If the instance name indicated by %i begins with a number, the meaning of the
replacement string "\\1{}".format(instance) is ambiguous.
To indicate group number 1 regardless of the instance name, use "\g<1>".
(From OE-Core rev: d18b939fb08b37380ce95934da38e6522392621c)
(From OE-Core rev: 682e094e6af67e67873f7f08dd8d52b40fcdbded)
Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The following linux-firmware commit moved the mt7601u firmware blob
into a mediatek/ subdirectory, update the path accordingly.
8451c2b1 ("mt76xx: Move the old Mediatek WiFi firmware to mediatek")
(From OE-Core rev: 6fa5c4967a7e70192e9233c92534f27ec3e394c8)
Fixes: 64603f602d ("linux-firmware: upgrade 20230404 -> 20230515")
(From OE-Core rev: 2d56adfd53b0ea3b938c60bf57fd40f3d48b5c68)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
https://www.openssl.org/news/openssl-1.1.1-notes.html
Major changes between OpenSSL 1.1.1u and OpenSSL 1.1.1v [1 Aug 2023]
* Fix excessive time spent checking DH q parameter value (CVE-2023-3817)
* Fix DH_check() excessive time with over sized modulus (CVE-2023-3446)
Major changes between OpenSSL 1.1.1t and OpenSSL 1.1.1u [30 May 2023]
* Mitigate for very slow `OBJ_obj2txt()` performance with gigantic OBJECT IDENTIFIER sub-identities. (CVE-2023-2650)
* Fixed documentation of X509_VERIFY_PARAM_add0_policy() (CVE-2023-0466)
* Fixed handling of invalid certificate policies in leaf certificates (CVE-2023-0465)
* Limited the number of nodes created in a policy tree ([CVE-2023-0464])
All CVEs for upgrade to 1.1.1u were already patched, so effectively
this will apply patches for CVE-2023-3446 and CVE-2023-3817 plus
several non-CVE fixes.
Because of mips build changes were backported to openssl 1.1.1 branch,
backport of a patch from kirkstone is necessary.
(From OE-Core rev: be5d49d86553769deaf4754969d2cf6931d6ac34)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
887433e4bc93 Linux 5.4.251
1e02fbe4f0ed tracing/histograms: Return an error if we fail to add histogram to hist_vars list
b1062596556e tcp: annotate data-races around fastopenq.max_qlen
21c325d01ecc tcp: annotate data-races around tp->notsent_lowat
7175277b4d0b tcp: annotate data-races around rskq_defer_accept
3121d649e4c6 tcp: annotate data-races around tp->linger2
b1cd5655fc13 net: Replace the limit of TCP_LINGER2 with TCP_FIN_TIMEOUT_MAX
8ce44cf35ef6 tcp: annotate data-races around tp->tcp_tx_delay
c822536b3e41 netfilter: nf_tables: can't schedule in nft_chain_validate
caa228792fb5 netfilter: nf_tables: fix spurious set element insertion failure
b8944e53ee70 llc: Don't drop packet from non-root netns.
b07e31824df6 fbdev: au1200fb: Fix missing IRQ check in au1200fb_drv_probe
6d39e9fc5934 Revert "tcp: avoid the lookup process failing to get sk in ehash table"
0c0bd9789a8d net:ipv6: check return value of pskb_trim()
17046107ca15 iavf: Fix use-after-free in free_netdev
765e1eaf42de net: ethernet: ti: cpsw_ale: Fix cpsw_ale_get_field()/cpsw_ale_set_field()
3b6f56021af6 pinctrl: amd: Use amd_pinconf_set() for all config options
951f4e9730f1 fbdev: imxfb: warn about invalid left/right margin
3e03319ab97d spi: bcm63xx: fix max prepend length
c9f56f3c7bc9 igb: Fix igb_down hung on surprise removal
7d80e834625c wifi: iwlwifi: mvm: avoid baid size integer overflow
41d149376078 wifi: wext-core: Fix -Wstringop-overflow warning in ioctl_standard_iw_point()
970c7035f4b0 devlink: report devlink_port_type_warn source device
e09a285ea1e8 bpf: Address KCSAN report on bpf_lru_list
cec1857b1ea5 sched/fair: Don't balance task to its current running CPU
9d8d3df71516 arm64: mm: fix VA-range sanity check
8ad6679a5bb9 posix-timers: Ensure timer ID search-loop limit is valid
d0345f7c7dbc md/raid10: prevent soft lockup while flush writes
09539f9e2076 md: fix data corruption for raid456 when reshape restart while grow up
4181c30a2c55 nbd: Add the maximum limit of allocated index in nbd_dev_add
d4f1cd9b9d66 debugobjects: Recheck debug_objects_enabled before reporting
0afcebcec057 ext4: correct inline offset when handling xattrs in inode body
5d580017bdb9 drm/client: Fix memory leak in drm_client_modeset_probe
52daf6ba2e0d drm/client: Fix memory leak in drm_client_target_cloned
9533dbfac0ff can: bcm: Fix UAF in bcm_proc_show()
5dd838be69e4 selftests: tc: set timeout to 15 minutes
7f83199862c2 fuse: revalidate: don't invalidate if interrupted
ae91ab710d8e btrfs: fix warning when putting transaction with qgroups enabled after abort
e217a3d19e10 perf probe: Add test for regression introduced by switch to die_get_decl_file()
380c7ceabdde drm/atomic: Fix potential use-after-free in nonblocking commits
b7084ebf4f54 scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
3f22f9ddbb29 scsi: qla2xxx: Pointer may be dereferenced
a1c5149a82de scsi: qla2xxx: Correct the index of array
1b7e5bdf2be2 scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport()
4f90a8b04816 scsi: qla2xxx: Fix potential NULL pointer dereference
d25fded78d88 scsi: qla2xxx: Wait for io return on terminate rport
056fd1820724 tracing/probes: Fix not to count error code to total length
93114cbc7cb1 tracing: Fix null pointer dereference in tracing_err_log_open()
597eb52583d4 xtensa: ISS: fix call to split_if_spec
e84829522fc7 ring-buffer: Fix deadloop issue on reading trace_pipe
481535905608 tracing/histograms: Add histograms to hist_vars if they have referenced variables
46574e5a0a2a tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
30962268fa1a tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() in case of error
0697a1a592c7 Revert "8250: add support for ASIX devices with a FIFO bug"
45e55e9cac13 meson saradc: fix clock divider mask length
2cdced57bc00 ceph: don't let check_caps skip sending responses for revoke msgs
1883a484c87e hwrng: imx-rngc - fix the timeout for init and self check
e3373e6b6c79 firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool()
826c7bfe5c49 serial: atmel: don't enable IRQs prematurely
15d4bd0f0a6b drm/rockchip: vop: Leave vblank enabled in self-refresh
6bc6ec8b0a0b drm/atomic: Allow vblank-enabled + self-refresh "disable"
f86942709b0e fs: dlm: return positive pid value for F_GETLK
ecfd1f82c4f5 md/raid0: add discard support for the 'original' layout
dac4afa3efae misc: pci_endpoint_test: Re-init completion for every test
dd2210379205 misc: pci_endpoint_test: Free IRQs before removing the device
9cfa4ef25de5 PCI: rockchip: Set address alignment for endpoint mode
35aec6bc0c04 PCI: rockchip: Use u32 variable to access 32-bit registers
13b93891308c PCI: rockchip: Fix legacy IRQ generation for RK3399 PCIe endpoint core
c049b20655f6 PCI: rockchip: Add poll and timeout to wait for PHY PLLs to be locked
a1f311d430f2 PCI: rockchip: Write PCI Device ID to correct register
592795119f2b PCI: rockchip: Assert PCI Configuration Enable bit after probe
35c95eda7b6d PCI: qcom: Disable write access to read only registers for IP v2.3.3
b0aac7792525 PCI: Add function 1 DMA alias quirk for Marvell 88SE9235
f450388d8b6d PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3cold
a4855aeb13e4 jfs: jfs_dmap: Validate db_l2nbperpage while mounting
ee2fd448608e ext4: only update i_reserved_data_blocks on successful block allocation
02543d1ddd77 ext4: fix wrong unit use in ext4_mb_clear_bb
96a85becb811 erofs: fix compact 4B support for 16k block size
42725e5c1b18 SUNRPC: Fix UAF in svc_tcp_listen_data_ready()
29a560437f67 misc: fastrpc: Create fastrpc scalar with correct buffer count
b157987242bd powerpc: Fail build if using recordmcount with binutils v2.37
2b59740ebc86 net: bcmgenet: Ensure MDIO unregistration has clocks enabled
1fe96568e78b mtd: rawnand: meson: fix unaligned DMA buffers handling
86b9820395f2 tpm: tpm_vtpm_proxy: fix a race condition in /dev/vtpmx creation
96a16069a81d pinctrl: amd: Only use special debounce behavior for GPIO 0
6dcb493fc478 pinctrl: amd: Detect internal GPIO0 debounce handling
a1a443651569 pinctrl: amd: Fix mistake in handling clearing pins at startup
cf57a0853ba5 net/sched: make psched_mtu() RTNL-less safe
96391959a99e net/sched: flower: Ensure both minimum and maximum ports are specified
166fa538e0dd cls_flower: Add extack support for src and dst port range options
aadca5f08aef wifi: airo: avoid uninitialized warning in airo_get_rate()
cc2c06ca7fbf erofs: avoid infinite loop in z_erofs_do_read_page() when reading beyond EOF
b55c38fe2441 platform/x86: wmi: Break possible infinite loop when parsing GUID
cb8a256202b9 platform/x86: wmi: move variables
669c488cb25a platform/x86: wmi: use guid_t and guid_equal()
fd8049d6553f platform/x86: wmi: remove unnecessary argument
4c8e26fc3302 platform/x86: wmi: Fix indentation in some cases
8717326e4362 platform/x86: wmi: Replace UUID redefinitions by their originals
c7eeba470585 ipv6/addrconf: fix a potential refcount underflow for idev
7a06554214fe NTB: ntb_tool: Add check for devm_kcalloc
88e243618e4c NTB: ntb_transport: fix possible memory leak while device_register() fails
b5b9e041eb04 ntb: intel: Fix error handling in intel_ntb_pci_driver_init()
0ae4fac8fe33 NTB: amd: Fix error handling in amd_ntb_pci_driver_init()
bb17520c0383 ntb: idt: Fix error handling in idt_pci_driver_init()
4e64ef41c6cf udp6: fix udp6_ehashfn() typo
61b4c4659746 icmp6: Fix null-ptr-deref of ip6_null_entry->rt6i_idev in icmp6_dev().
4c7276a6daf7 ionic: remove WARN_ON to prevent panic_on_warn
3e77647acdcf ionic: ionic_intr_free parameter change
f0dc38bdef52 ionic: move irq request to qcq alloc
7cf21fba1bf8 ionic: clean irq affinity on queue deinit
ef7fc26b6a19 ionic: improve irq numa locality
808211a8d427 net/sched: cls_fw: Fix improper refcount update leads to use-after-free
d98ac5bce2d5 net: mvneta: fix txq_map in case of txq_number==1
58cd168825b4 scsi: qla2xxx: Fix error code in qla2x00_start_sp()
b49b55a7d578 igc: set TP bit in 'supported' and 'advertising' fields of ethtool_link_ksettings
a45afb07121c igc: Remove delay during TX ring configuration
59c190082a01 drm/panel: simple: Add connector_type for innolux_at043tn24
64b76abfe32d drm/panel: Add and fill drm_panel type field
362940f8e40f drm/panel: Initialise panel dev and funcs through drm_panel_init()
6d5172a3ab8f workqueue: clean up WORK_* constant types, clarify masking
003d33924911 net: lan743x: Don't sleep in atomic context
373b9475ea8c block/partition: fix signedness issue for Amiga partitions
22df19fee7b9 tty: serial: fsl_lpuart: add earlycon for imx8ulp platform
b7d636c924eb netfilter: nf_tables: prevent OOB access in nft_byteorder_eval
61c7a5256543 netfilter: conntrack: Avoid nf_ct_helper_hash uses after free
565bdccdded3 netfilter: nf_tables: fix scheduling-while-atomic splat
7c4610ac3b41 netfilter: nf_tables: unbind non-anonymous set if rule construction fails
90d54ee329d2 netfilter: nf_tables: reject unbound anonymous set before commit phase
1df28fde1270 netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
1adb5c272b20 netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
077ef851f0a3 netfilter: nf_tables: add rescheduling points during loop detection walks
11352851944c netfilter: nf_tables: use net_generic infra for transaction data
d59ed9dc0058 netfilter: add helper function to set up the nfnetlink header and use it
fa498dead9ee netfilter: nftables: add helper function to set the base sequence number
ef35dd70a340 netfilter: nf_tables: fix nat hook table deletion
d1b7fe307c75 block: add overflow checks for Amiga partition support
2b71cbf7ab48 fanotify: disallow mount/sb marks on kernel internal pseudo fs
9a6ce27a5d61 fs: no need to check source
c1c41cda0ab1 ARM: orion5x: fix d2net gpio initialization
679c34821ab7 btrfs: fix race when deleting quota root from the dirty cow roots list
f0fbbd405a94 fs: Lock moved directories
b97ac51f8492 fs: Establish locking order for unrelated directories
d95dc41ad181 Revert "f2fs: fix potential corruption when moving a directory"
a9a926423a63 ext4: Remove ext4 locking of moved directory
eefebf8877d3 fs: avoid empty option when generating legacy mount string
e9a3310bc2fc jffs2: reduce stack usage in jffs2_build_xattr_subsystem()
a249a61ac528 integrity: Fix possible multiple allocation in integrity_inode_get()
0729029e6472 bcache: Remove unnecessary NULL point check in node allocations
4be68f1c7076 mmc: sdhci: fix DMA configure compatibility issue when 64bit DMA mode is used.
2f6c76994646 mmc: core: disable TRIM on Micron MTFC4GACAJCN-1M
c491e27151c1 mmc: core: disable TRIM on Kingston EMMC04G-M627
ce7278dedab7 NFSD: add encoding of op_recall flag for write delegation
5016511287dc ALSA: jack: Fix mutex call in snd_jack_report()
c64fda48a3ad i2c: xiic: Don't try to handle more interrupt events after error
696e470e910e i2c: xiic: Defer xiic_wakeup() and __xiic_start_xfer() in xiic_process()
498962715773 sh: dma: Fix DMA channel offset calculation
58b1b3c54e16 net: dsa: tag_sja1105: fix MAC DA patching from meta frames
67a67e258407 net/sched: act_pedit: Add size check for TCA_PEDIT_PARMS_EX
ab0085bd7902 xsk: Honor SO_BINDTODEVICE on bind
9347e432297e xsk: Improve documentation for AF_XDP
e63dc31b9452 tcp: annotate data races in __tcp_oow_rate_limited()
e9c2687988b7 net: bridge: keep ports without IFF_UNICAST_FLT in BR_PROMISC mode
fffa51e786ce powerpc: allow PPC_EARLY_DEBUG_CPM only when SERIAL_CPM=y
45b34500f3ef f2fs: fix error path handling in truncate_dnode()
860d9b717f65 mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0
398e6a015877 spi: bcm-qspi: return error if neither hif_mspi nor mspi is available
18d50fb44109 Add MODULE_FIRMWARE() for FIRMWARE_TG357766.
4d8fc6137749 sctp: fix potential deadlock on &net->sctp.addr_wq_lock
999ff7fe492b rtc: st-lpc: Release some resources in st_rtc_probe() in case of error
d5c39cca4d03 pwm: sysfs: Do not apply state to already disabled PWMs
5375c024f8ae pwm: imx-tpm: force 'real_period' to be zero in suspend
d252c74b8b7a mfd: stmpe: Only disable the regulators if they are enabled
d9db18addf42 KVM: s390: vsie: fix the length of APCB bitmap
baec796723b7 mfd: stmfx: Fix error path in stmfx_chip_init
5d26f134efa8 serial: 8250_omap: Use force_suspend and resume for system suspend
337073cacad4 mfd: intel-lpss: Add missing check for platform_get_resource
0a6afc83b028 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
becd09685d44 KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
151b0dd6d1a0 mfd: rt5033: Drop rt5033-battery sub-device
8e8dae8eb230 usb: hide unused usbfs_notify_suspend/resume functions
fe9cdc198619 usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe()
1531ba3fab51 extcon: Fix kernel doc of property capability fields to avoid warnings
257daec29dcd extcon: Fix kernel doc of property fields to avoid warnings
648a163cff21 usb: dwc3: qcom: Fix potential memory leak
d485150c9a52 media: usb: siano: Fix warning due to null work_func_t function pointer
619e6f9a564a media: videodev2.h: Fix struct v4l2_input tuner index comment
e9586c49bdd4 media: usb: Check az6007_read() return value
fd869bdb5f12 sh: j2: Use ioremap() to translate device tree address into kernel memory
85f4c53849e4 w1: fix loop in w1_fini()
dc88382c1d44 block: change all __u32 annotations to __be32 in affs_hardblocks.h
fa8548d1a0a4 block: fix signed int overflow in Amiga partition support
bec218258cbd usb: dwc3: gadget: Propagate core init errors to UDC during pullup
f55127df9918 USB: serial: option: add LARA-R6 01B PIDs
bac502cd472a hwrng: st - keep clock enabled while hwrng is registered
071560202a52 hwrng: st - Fix W=1 unused variable warning
18fa56ca4cb8 NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSION
c182d87c67e2 ARC: define ASM_NL and __ALIGN(_STR) outside #ifdef __ASSEMBLY__ guard
02dc8e8bdbe4 modpost: fix off by one in is_executable_section()
1030c0c30968 crypto: marvell/cesa - Fix type mismatch warning
ad3c4ecff00b modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
084bf580019c modpost: fix section mismatch message for R_ARM_ABS32
c893658d9ce6 crypto: nx - fix build warnings when DEBUG_FS is not enabled
a43bcb0b661c hwrng: virtio - Fix race on data_avail and actual data
b70315e44f03 hwrng: virtio - always add a pending request
102a354d52ca hwrng: virtio - don't waste entropy
f2a7dfd35f0c hwrng: virtio - don't wait on cleanup
6fe732764a58 hwrng: virtio - add an internal buffer
2cbfb51d2c7e powerpc/mm/dax: Fix the condition when checking if altmap vmemap can cross-boundary
aa3932eb0739 pinctrl: at91-pio4: check return value of devm_kasprintf()
e297350c33f6 perf dwarf-aux: Fix off-by-one in die_get_varname()
7f822c8036fe pinctrl: cherryview: Return correct value if pin in push-pull mode
1768e362f20f PCI: Add pci_clear_master() stub for non-CONFIG_PCI
5d3955bc32d4 PCI: ftpci100: Release the clock resources
331dce61c0d4 PCI: pciehp: Cancel bringup sequence if card is not present
f58c8563686b scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe()
666e7f9d60ce PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-free
961c8370c5f7 scsi: qedf: Fix NULL dereference in error handling
6f64558b43cf ASoC: imx-audmix: check return value of devm_kasprintf()
35455616110b clk: keystone: sci-clk: check return value of kasprintf()
ffe6ad17cf14 clk: cdce925: check return value of kasprintf()
5f13d67027fa ALSA: ac97: Fix possible NULL dereference in snd_ac97_mixer
801c8341f7af clk: tegra: tegra124-emc: Fix potential memory leak
262db3ff58e2 drm/radeon: fix possible division-by-zero errors
cacc0506e571 drm/amdkfd: Fix potential deallocation of previously deallocated memory.
9e3858f82e3c fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
5541d1856c87 arm64: dts: renesas: ulcb-kf: Remove flow control for SCIF1
40ac5cb6cbb0 IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors
68e0033dee72 soc/fsl/qe: fix usb.c build errors
b756eb5eb9b0 ASoC: es8316: Do not set rate constraints for unsupported MCLKs
d1c1ca27cac0 ASoC: es8316: Increment max value for ALC Capture Target Volume control
b54bac970b54 memory: brcmstb_dpfe: fix testing array offset after use
f54142ed16b5 ARM: ep93xx: fix missing-prototype warnings
c2324c5aa247 drm/panel: simple: fix active size for Ampire AM-480272H3TMQW-T01H
4a23954279fc arm64: dts: qcom: msm8916: correct camss unit address
97dcb8dfefaa ARM: dts: gta04: Move model property out of pinctrl node
25bbd1c7bef8 RDMA/bnxt_re: Fix to remove an unnecessary log
ed039ad88ab0 drm: sun4i_tcon: use devm_clk_get_enabled in `sun4i_tcon_init_clocks`
87ccaf56097a Input: adxl34x - do not hardcode interrupt trigger type
c7a8cc9140cf ARM: dts: BCM5301X: Drop "clock-names" from the SPI node
c516c00847f5 Input: drv260x - sleep between polling GO bit
3e789aee218b radeon: avoid double free in ci_dpm_init()
bc5b57a23087 netlink: Add __sock_i_ino() for __netlink_diag_dump().
1c405b3d3769 ipvlan: Fix return value of ipvlan_queue_xmit()
1d2ab3d4383e netfilter: nf_conntrack_sip: fix the ct_sip_parse_numerical_param() return value.
337fdce45063 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
32deadf89430 lib/ts_bm: reset initial match offset for every block of text
dd6ff3f38627 net: nfc: Fix use-after-free caused by nfc_llcp_find_local
edc5d8776a32 nfc: llcp: simplify llcp_sock_connect() error paths
9c9662e2512b gtp: Fix use-after-free in __gtp_encap_destroy().
08d8ff1bc688 selftests: rtnetlink: remove netdevsim device after ipsec offload test
bd1de6107f10 netlink: do not hard code device address lenth in fdb dumps
8f6652ed2ad9 netlink: fix potential deadlock in netlink_set_err()
88d89b4a3102 wifi: ath9k: convert msecs to jiffies where needed
76d5bda2c3af wifi: cfg80211: rewrite merging of inherited elements
e4c33144fc75 wifi: iwlwifi: pull from TXQs with softirqs disabled
2ba902da9090 rtnetlink: extend RTEXT_FILTER_SKIP_STATS to IFLA_VF_INFO
786e264b37d2 wifi: ath9k: Fix possible stall on ath9k_txq_list_has_key()
68305a19bada memstick r592: make memstick_debug_get_tpc_name() static
6f4454ccbea9 kexec: fix a memory leak in crash_shrink_memory()
4503261ab97b watchdog/perf: more properly prevent false positives with turbo modes
d5fa3918dfce watchdog/perf: define dummy watchdog_update_hrtimer_threshold() on correct config
7874fb3bef8b wifi: rsi: Do not set MMC_PM_KEEP_POWER in shutdown
4dc3560561a0 wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes
f432198058a6 wifi: ray_cs: Fix an error handling path in ray_probe()
8fe51dce8bdc wifi: ray_cs: Drop useless status variable in parse_addr()
0dec0ad304d4 wifi: ray_cs: Utilize strnlen() in parse_addr()
ee73ad566a29 wifi: wl3501_cs: Fix an error handling path in wl3501_probe()
b7df4e0cb4ed wl3501_cs: use eth_hw_addr_set()
24f34f67be24 net: create netdev->dev_addr assignment helpers
dd5dca10d806 wl3501_cs: Fix misspelling and provide missing documentation
051d70773b9c wl3501_cs: Remove unnecessary NULL check
91c3c9eaf1ed wl3501_cs: Fix a bunch of formatting issues related to function docs
add539f7d16b wifi: atmel: Fix an error handling path in atmel_probe()
5b06f702805d wifi: orinoco: Fix an error handling path in orinoco_cs_probe()
ca4a2955d866 wifi: orinoco: Fix an error handling path in spectrum_cs_probe()
91c3325da240 regulator: core: Streamline debugfs operations
1bb38ef697e4 regulator: core: Fix more error checking for debugfs_create_dir()
6ca0c94f2b02 nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()
66a1be74230b nfc: constify several pointers to u8, char and sk_buff
fea2104e752a wifi: mwifiex: Fix the size of a memory allocation in mwifiex_ret_802_11_scan()
bc5099512057 spi: spi-geni-qcom: Correct CS_TOGGLE bit in SPI_TRANS_CFG
f394d204d640 samples/bpf: Fix buffer overflow in tcp_basertt
90e3c1017757 wifi: ath9k: avoid referencing uninit memory in ath9k_wmi_ctrl_rx
be3989d93be3 wifi: ath9k: fix AR9003 mac hardware hang check register offset calculation
717e4277ddf7 ima: Fix build warnings
8430a8e8e854 pstore/ram: Add check for kstrdup
540cdd720772 evm: Complete description of evm_inode_setattr()
568b73406d93 ARM: 9303/1: kprobes: avoid missing-declaration warnings
ba6da16eefb1 powercap: RAPL: Fix CONFIG_IOSF_MBI dependency
c97460ce1f7c PM: domains: fix integer overflow issues in genpd_parse_state()
54cc10a0f4b0 clocksource/drivers/cadence-ttc: Fix memory leak in ttc_timer_probe
38ca169d66c3 clocksource/drivers/cadence-ttc: Use ttc driver as platform driver
8af3b8d770da tracing/timer: Add missing hrtimer modes to decode_hrtimer_mode().
7b0c664541cd irqchip/jcore-aic: Fix missing allocation of IRQ descriptors
d244927e350e irqchip/jcore-aic: Kill use of irq_create_strict_mappings()
be481881753b md/raid10: fix io loss while replacement replace rdev
45fa023b3334 md/raid10: fix null-ptr-deref of mreplace in raid10_sync_request
31c805a44b75 md/raid10: fix wrong setting of max_corr_read_errors
283f4a63fee3 md/raid10: fix overflow of md/safe_mode_delay
b0b971fe7d61 md/raid10: check slab-out-of-bounds in md_bitmap_get_counter
484104918305 x86/resctrl: Only show tasks' pid in current pid namespace
7206eca1ac44 x86/resctrl: Use is_closid_match() in more places
6f2bb37da468 bgmac: fix *initial* chip reset to support BCM5358
794bfb6fd992 drm/amdgpu: Validate VM ioctl flags.
2a4cfd5b0354 scripts/tags.sh: Resolve gtags empty index generation
fff826d665f9 drm/i915: Initialise outparam for error return from wait_for_register
99036f1aed7e HID: wacom: Use ktime_t rather than int when dealing with timestamps
815c95d82b79 fbdev: imsttfb: Fix use after free bug in imsttfb_probe
a7c8d2f3753d video: imsttfb: check for ioremap() failures
f042d80a631f x86/smp: Use dedicated cache-line for mwait_play_dead()
23f98fe887ce gfs2: Don't deref jdesc in evict
(From OE-Core rev: 9d509daf5fdae6b5dd8a81490ee40ea119a42024)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
27745d94abe1 Linux 5.4.250
00363ef30797 x86/cpu/amd: Add a Zenbleed fix
92b292bed627 x86/cpu/amd: Move the errata checking functionality up
4d4112e2845c x86/microcode/AMD: Load late on both threads too
(From OE-Core rev: 55f3f04896f1c301bbc7e18360ac05ff583b7a1d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The commit [https://github.com/openembedded/openembedded-core/commit/c22bbe9b45e3]
backports fix for CVE-2023-25193 for version 2.6.4.
The apply() in src/hb-ot-layout-gpos-table.hh ends prematurely.
The if block in apply() has an extra return statement,
which causes it to return w/o executing
buffer->unsafe_to_concat_from_outbuffer() function.
(From OE-Core rev: e3fda60c4131c21cfb3139c56c1771e342d4b9bf)
Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Currently json.loads() accepts one of the types str, bytes, or bytearray
as an argument, but bytes and bytearrays have only been allowed since
python 3.6. The version of Python3 provided by default on Ubuntu 16.04
and Debian 9.x is 3.5, so make raw_data type str to work correctly on
these build hosts.
(From OE-Core rev: 4efdf7a93254056b9ac47de470740ac113b031f2)
Signed-off-by: Yuta Hayama <hayama@lineo.co.jp>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backport patch from upstream master.
There were three changes needed to apply the patch:
* move NEWS change to start of the file
* change file location from src/ps/ to ps/
* change xmalloc/xcmalloc to malloc/cmalloc
The x*malloc functions were introduced in commit in future version.
584028dbe5
They call the original function plus additionally throw error when out of memory.
https://gitlab.com/procps-ng/procps/-/blob/v4.0.3/local/xalloc.h?ref_type=tags
So this replacement is correct in context of our version.
(From OE-Core rev: 1632c7223b2f8cd595e1ba20bc006c68fc833295)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backport commit mentioned in NVD DB links.
94e1c00176
(From OE-Core rev: c25b88fc321b7c050108b29c75c0a159e0754f84)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This issue was reported and discusses under [1] which is linked in NVD CVE report.
It was already documented that some parts or libarchive are thread safe and some not.
[2] was now merged to document that also reported function is not thread safe.
So this CVE *now* reports thread race condition for non-thread-safe function.
And as such the CVE report is now invalid.
The issue is still not closed for 2 reasons:
* better document what is and what is not thread safe
* request to public if someone could make these functions thread safe
This should however not invalidate above statment about ignoring this CVE.
[1] https://github.com/libarchive/libarchive/issues/1876
[2] https://github.com/libarchive/libarchive/pull/1875
(From OE-Core rev: 9374e680ae2376589a9bfe4565dfcf4dc9791aa8)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This CVE shouldn't have been filed as the "exploit" is described in the
documentation as how the library behaves.
(From OE-Core rev: b66a677b76c7f15eb5c426f8dc7ac42e1e2e3f40)
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 c652f094d86c4efb7ff99accba63b8169493ab18)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The runpath in the cc1 binary is:
Library runpath: [$ORIGIN/../../../recipe-sysroot-native/usr/lib:$ORIGIN/../../../recipe-sysroot-native/lib]
This does not match the actual location of the libraries, which would require:
Library runpath: [$ORIGIN/../../recipe-sysroot-native/usr/lib:$ORIGIN/../../recipe-sysroot-native/lib]
Prior to gcc 9.1 the recipe set B explicity with:
B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
and this build directory structure matches the runpath in cc1, so there is no issue.
This line was commented out in versions 9.1 through 11.3. The upgrade to 12.1 once
again uncommented this line.
As a result the runpath is incorrect in version 9.1 through 11.3 and cc1 defaults
to using host libraries.
This patch restores setting B as done in master and versions prior to 9.1
(From OE-Core rev: 43d5ebde6d609898064ea70c89a7eba002e5fd74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This has been around without being properly documented since 2019 (!!!),
and is nowadays the preferred method for enforcing license restrictions.
(From yocto-docs rev: 7a67426330decf108b8f152c3cb6cd6d167c98e4)
Signed-off-by: Alexander Kanavin <alex@linutronix.de
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Adds two missing key sorts in generation of unified_info
Backported from a similar (but more invasive) patch in the 3.x source code:
764cf5b263]
(From OE-Core rev: 6c505ef6c9950eb6d09bcec683fefe6edc7b2e6b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When building using an SDK, cmake complains that the target
architecture 'cortexa53-crypto' is unknown. The same build in bitbake
uses the target architecture 'aarch64'.
Set CMAKE_SYSTEM_PROCESSOR the same as for bitbake.
(From OE-Core rev: 7a7ef9d73affc23fa14712d56f1a40d0c46569cb)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d32a6225eefce2073a1cd401034b5b4c68351bfe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
libpng is a platform-independent library which
supports all PNG features.
This ptest executes the below binaries, parses
the png image and prints the image features.
1. pngfix - provides information about PNG image
copyrights details.
2. pngtest - tests, optimizes and optionally fixes
the zlib header in PNG files.
3. pngstest - verifies the integrity of PNG image by
dumping chunk level information.
4. timepng - provides details about PNG image chunks.
(From OE-Core rev: 843803bcc248b18cdefb29d610a1371e32e815ce)
Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
8a2f4e143 added support for u-boot boot script but missed adding the
extra parameter to fitimage_emit_section_config on the dtbo branch
(From OE-Core rev: d1b6c34d33704f05374154e4ea7d8acdea7b8018)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22bac8aea0d5d28cc5a3bf20edf638225cce2f88)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
There were vestigal remains of API key support which could be removed,
but as using an API key - in theory - gives the user larger rate limits
it's probably wise to expose it.
If the user has an API key, then set NVDCVE_API_KEY.
(From OE-Core rev: b3fc8ef9aba822b3d485242c8ebd0e0bff0ebfc8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a542de684282bfec79f24ae2f1a2027ffde319d8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a note of what range we're fetching, and use bb.note() instead of
debug() as messages about retrying shouldn't really be considered debug
logging.
(From OE-Core rev: f6c3ee35ae9950aec4b3dc15062b1c1fb5610011)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b64a869b9c5e1d504f1011da16b5c5ff721afbf0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Current 503 errors seem to last several seconds.
In most cases there are two errors and third request succeeds.
However sometimes the outage takes more than time needed
for two retries and third one also fails.
Extend retry count from 3 to 5 to improve the probablity
that the fetcher succeeds.
(From OE-Core rev: 46286a641f1113e22d39a427a5dc0a11321d434e)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f4d118af2360cff7f234102fd5e4b65a6f4146a6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Last couple days it is not possible to update NVD DB as servers
are returning lot of errors.
Mostly "HTTP Error 503: Service Unavailable" is observed but
sporadially also some others.
Retrying helps in most cases, so extend retries to all errors.
Additionally add sleep which is recommended by NVD between requests.
These retries are already implemented between successful requests,
but giving servers time between failed ones is important, too.
(From OE-Core rev: 8bba9342f641e9aa51ccaebc02bc5d51354e1c72)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88dad8f198baa80af5ab576498f4df6ed639d551)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
After upgrade to soon-to-be-released kirkstone 4.0.11 CVE annotations got broken.
Anything which has only cvssV3 does not resolve properly.
Fix the API fields used to extract it.
i0.0 score is now at level of NVD DB 1.1.
All CVEs with UNKNOWN vector are not present in NVD DB 1.1.
NVD API 1.1:
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4776
LOCAL|32146
NETWORK|167746
PHYSICAL|185
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73331
1.8|7
1.9|3
...
NVD API 2.0 (broken):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|4587
LOCAL|26273
NETWORK|150421
UNKNOWN|24644
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|205925
NVD API 2.0 (fixed):
sqlite> select vector, count(vector) from nvd group by vector;
ADJACENT_NETWORK|5090
LOCAL|32322
NETWORK|168004
PHYSICAL|213
UNKNOWN|511
sqlite> select scorev3, count(scorev3) from nvd group by scorev3;
0.0|73841
1.8|7
1.9|3
...
(From OE-Core rev: 2233a187dc0da833401297667c1e2ed6bf5627fd)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61a5857efdcc0f49c69c0deb24fce99007aeef19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
When requesting updates in a specific range, use the actual current time
and database mtime instead of truncating to midnight, and explicitly set
the timezone to UTC so that NIST don't treat the timestamps as _their_ local
time when they're _our_ local time.
(From OE-Core rev: e12b81ede54c92e372f0d80373bb91254d0a889f)
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 9aa0ec37f5f74252588d2494a71c71a7d8e68df9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Some CVEs, such as CVE-2013-6629, list multiple configurations which are
vulnerable. The current JSON parser only considers the first
configuration.
Instead, consider every configuration. We don't yet handle the AND/OR
logical operators, but this is a step in the right direction.
(From OE-Core rev: e521d6ce48d3b04eb2d53c710bba18593a908fe3)
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 e1bf4f6dd686055fe9a8bdcc3f739eac2807bae0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Current error message is difficult to read:
ERROR: Nothing PROVIDES 'image'
trs-image was skipped: image - image: normal username test does not have a static ID defined. Add test to one of these files
It's not clear that first "image" is recipe name, second "image" is
binary package name and that "test" is the user account which does not
have a static ID defined. Improve the error message so that these are
more explicit. Now the error message looks like:
image was skipped: Recipe image, package image: normal username "test" does not have a static ID defined.
(From OE-Core rev: ea997ec788a5397598e24301e40d1c30ffa68c04)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 07898218f3908a83e07178b6530dfa48d55d4ec2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
There is already a neat check_free_port() function for finding an available port
atomically, so use that and make two additional tweaks:
- no need to allocate two separate ports; per unfsd documentation they can be the same
- move lockfile release until after unfsd has been shut down and the port(s) used has been freed
[YOCTO #15077]
(From OE-Core rev: 816d12f125974fc064d17c735b7769f7a9744597)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dee96e82fb04ea99ecd6c25513c7bd368df3bd37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
It fails to instal pm-utils and lib32-pm-utils at same time:
Error: Transaction test error:
file /usr/bin/pm-is-supported conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-hibernate conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-powersave conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-suspend conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
file /usr/sbin/pm-suspend-hybrid conflicts between attempted installs of lib32-pm-utils-1.4.1-r1.corei7_32 and pm-utils-1.4.1-r1.corei7_64
All of the conflicted files either is script which source a file in
${libdir}, or a link file to some file in ${libdir}. Compare the content
of installed files in ${libdir} exclude binaries, only the paths of
${libdir} diff. So re-define libdir with ${nonarch_libdir} to fix the
conflicts.
(From OE-Core rev: 292ff56250d2f916370c508fd7a94f3ab769a356)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f836541bcfdbf033a37537530b4e3b87b0a7f003)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Devtool selftests require poky dir a git repo, when downloading poky as a tar,
this is not the case. Those tests will now skipped.
[YOCTO #12389]
(From OE-Core rev: 5f3128e3a85e3a5d67d5dc1f2585fe6c236e443c)
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95a5bc130dc51ea9de95c64dbf0e9c7892415d50)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This is needed as each user could be setting different nice levels
while building, however this should not make the shared cache unusable.
(From OE-Core rev: b77850f613bdc103e5d529b6c62ae90e134106ae)
Signed-off-by: Lorenzo Arena <arena.lor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 42784f9360345da1c01d988070253e7ffd5ac4ac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The .dot file created by `bitbake -g` changed formats a while ago, which
broke oe-depends-dot.
Also add some useful examples to the --help output.
(From OE-Core rev: c49914bb3cb6116f2e1bed7de82a702c2e4f7b5d)
Signed-off-by: Rusty Howell <rustyhowell@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
License-Update: update year to 2023
30afa75ad8
Release Notes for 3.8.15:
Security content in this release
CVE-2022-40674: bundled libexpat was upgraded from 2.4.7 to 2.4.9 which
fixes a heap use-after-free vulnerability in function doContent
gh-97616: a fix for a possible buffer overflow in list *= int
gh-97612: a fix for possible shell injection in the example script
get-remote-certificate.py (this issue originally had a CVE assigned to
it, which its author withdrew)
gh-96577: a fix for a potential buffer overrun in msilib
https://www.python.org/downloads/release/python-3815/
Release Notes for 3.8.16:
Security content in this release
gh-98739: Updated bundled libexpat to 2.5.0 to fix CVE-2022-43680 (heap
use-after-free).
gh-98517: Port XKCP’s fix for the buffer overflows in SHA-3 to fix
CVE-2022-37454.
gh-98433: The IDNA codec decoder used on DNS hostnames by socket or
asyncio related name resolution functions no longer involves a quadratic
algorithm to fix CVE-2022-45061. This prevents a potential CPU denial of
service if an out-of-spec excessive length hostname involving
bidirectional characters were decoded. Some protocols such as urllib
http 3xx redirects potentially allow for an attacker to supply such a
name.
gh-68966: The deprecated mailcap module now refuses to inject unsafe
text (filenames, MIME types, parameters) into shell commands to address
CVE-2015-20107. Instead of using such text, it will warn and act as if a
match was not found (or for test commands, as if the test failed).
gh-100001: python -m http.server no longer allows terminal control
characters sent within a garbage request to be printed to the stderr
server log.
gh-87604: Avoid publishing list of active per-interpreter audit hooks
via the gc module.
https://www.python.org/downloads/release/python-3816/
Release Notes for 3.8.17:
Security content in this release
gh-103142: The version of OpenSSL used in Windows and Mac installers has
been upgraded to 1.1.1u to address CVE-2023-2650, CVE-2023-0465,
CVE-2023-0466, CVE-2023-0464, as well as CVE-2023-0286, CVE-2022-4303,
and CVE-2022-4303 fixed previously in 1.1.1t (gh-101727).
gh-102153: urllib.parse.urlsplit() now strips leading C0 control and
space characters following the specification for URLs defined by WHATWG
in response to CVE-2023-24329.
gh-99889: Fixed a security in flaw in uu.decode() that could allow for
directory traversal based on the input if no out_file was specified.
gh-104049: Do not expose the local on-disk location in directory indexes
produced by http.client.SimpleHTTPRequestHandler.
gh-103935: trace.__main__ now uses io.open_code() for files to be
executed instead of raw open().
gh-101283: subprocess.Popen now uses a safer approach to find cmd.exe
when launching with shell=True.
gh-102953: The extraction methods in tarfile, and
shutil.unpack_archive(), have a new filter argument that allows limiting
tar features than may be surprising or dangerous, such as creating files
outside the destination directory. See Extraction filters for details.
https://www.python.org/downloads/release/python-3817/
(From OE-Core rev: 01a1f016a6558566a36098a993adaf4b40e30c78)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
OpenPrinting CUPS is a standards-based, open source printing system for Linux and other Unix-like operating systems. Starting in version 2.0.0 and prior to version 2.4.6, CUPS logs data of free memory to the logging service AFTER the connection has been closed, when it should have logged the data right before. This is a use-after-free bug that impacts the entire cupsd process. The exact cause of this issue is the function `httpClose(con->http)` being called in `scheduler/client.c`. The problem is that httpClose always, provided its argument is not null, frees the pointer at the end of the call, only for cupsdLogClient to pass the pointer to httpGetHostname. This issue happens in function `cupsdAcceptClient` if LogLevel is warn or higher and in two scenarios: there is a double-lookup for the IP Address (HostNameLookups Double is set in `cupsd.conf`) which fails to resolve, or if CUPS is compiled with TCP wrappers and the connection is refused by rules from `/etc/hosts.allow` and `/etc/hosts.deny`. Version 2.4.6 has a patch for this issue.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-34241https://github.com/OpenPrinting/cups/security/advisories/GHSA-qjgh-5hcq-5f25https://security-tracker.debian.org/tracker/CVE-2023-34241
Upstream Patch:
9809947a95
(From OE-Core rev: 28b25ba7a8c6aa5c5744ca17e8686f2762791c72)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
If there are several multiconfigs in play for example a non-multiconfig with
a task with one hash and then three multiconfigs for the same task, different
architectures but the same hash (different to the non-mc), the three mcs
will be deferred until after the non-mc task but then will all run together
and race against each other.
Change the code to re-enable deferred tasks one at a time. This way, if they do
race, they won't run in parallel against each other.
(Bitbake rev: b60c7085ec370473bea9b3b4b65826a17638837f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9523e28658ad7fb446645b590608dfac2812afd3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Dropping CONFIG_DECNET as it has been removed from -stable
and we now get a configuration warning.
(From OE-Core rev: b7530e5360babbe9321ee4cf1e336412116a98cb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Integrating the following commit:
commit 8d8179549a233e7517523ac12887016451da2e20
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Tue Jun 27 10:13:01 2023 -0400
rt: fix 5.4-stable introduced compile errors
The 5.4 stable series brough back two elements removed
by the -rt patch:
- tick_period
- deferred/safe printk
We fix the build by dropping the use of the period and
deferred printk
(From OE-Core rev: 13add4fd84c2e8a14caad857fbadf83205758c31)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
f568a20f058f Linux 5.4.246
6c0fc4725f6f drm/edid: fix objtool warning in drm_cvt_modes()
914bf541c3bb wifi: rtlwifi: 8192de: correct checking of IQK reload
58bc9baaef92 drm/edid: Fix uninitialized variable in drm_cvt_modes()
77e442733faa RDMA/bnxt_re: Remove the qp from list only if the qp destroy succeeds
a616aa258e46 RDMA/bnxt_re: Remove set but not used variable 'dev_attr'
4ffad598bff4 scsi: dpt_i2o: Do not process completions with invalid addresses
e2897f133acd scsi: dpt_i2o: Remove broken pass-through ioctl (I2OUSERCMD)
56a4a9dc5ed1 regmap: Account for register length when chunking
94f3bc7e84af test_firmware: fix the memory leak of the allocated firmware buffer
fb7dce686fd1 fbcon: Fix null-ptr-deref in soft_cursor
5ea6122caf51 ext4: add lockdep annotations for i_data_sem for ea_inode's
b06346ef5778 ext4: disallow ea_inodes with extended attributes
ec2a04f8fc9f ext4: set lockdep subclass for the ea_inode in ext4_xattr_inode_cache_find()
2e636c0c9344 ext4: add EA_INODE checking to ext4_iget()
d9de088797a0 tracing/probe: trace_probe_primary_from_call(): checked list_first_entry
7df474125c37 selinux: don't use make's grouped targets feature yet
b18bc3c9c2c5 tty: serial: fsl_lpuart: use UARTCTRL_TXINV to send break instead of UARTCTRL_SBK
ae7fb0c8bf80 mmc: vub300: fix invalid response handling
9d8f5797d791 wifi: rtlwifi: remove always-true condition pointed out by GCC 12
843f51766784 lib/dynamic_debug.c: use address-of operator on section symbols
0638dcc7e75f treewide: Remove uninitialized_var() usage
1eb88dccb827 kernel/extable.c: use address-of operator on section symbols
d069c7ce3995 eth: sun: cassini: remove dead code
d04adc383f32 gcc-12: disable '-Wdangling-pointer' warning for now
253d70232573 ACPI: thermal: drop an always true check
a010f8e64689 x86/boot: Wrap literal addresses in absolute_pointer()
f0bb5135553c flow_dissector: work around stack frame size warning
cd943425c6aa ata: libata-scsi: Use correct device no in ata_find_dev()
76c67ff783ac scsi: stex: Fix gcc 13 warnings
cd91ead608f0 misc: fastrpc: reject new invocations during device removal
bf1d0b84dfd2 misc: fastrpc: return -EPIPE to invocations on device removal
d5f183881529 usb: gadget: f_fs: Add unbind event before functionfs_unbind
ac388cbbd97c net: usb: qmi_wwan: Set DTR quirk for BroadMobi BM818
e101e8160cf0 iio: dac: build ad5758 driver when AD5758 is selected
a87236446a62 iio: dac: mcp4725: Fix i2c_master_send() return value handling
c3b25245e3a8 iio: light: vcnl4035: fixed chip ID check
711049e31e09 HID: wacom: avoid integer overflow in wacom_intuos_inout()
4251ff7fd4a4 HID: google: add jewel USB id
f3b4e2a636d1 iio: adc: mxs-lradc: fix the order of two cleanup operations
030ca3f7b042 mailbox: mailbox-test: fix a locking issue in mbox_test_message_write()
11b084412055 atm: hide unused procfs functions
cea581b385ab ALSA: oss: avoid missing-prototype warnings
384fd08858da netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
f7e62f1b7229 wifi: b43: fix incorrect __packed annotation
8a9035110288 scsi: core: Decrease scsi_device's iorequest_cnt if dispatch failed
f1e6a1097141 arm64/mm: mark private VM_FAULT_X defines as vm_fault_t
c87334f4e705 ARM: dts: stm32: add pin map for CAN controller on stm32f7
a39f24357fdc wifi: rtl8xxxu: fix authentication timeout due to incorrect RCR value
353fd22693a6 media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
66a6d704c251 media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
ed47886a73db media: dvb-core: Fix use-after-free due on race condition at dvb_net
e9033a425ab2 media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
08b20cb8e5b9 media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
46e8b0fe538b media: dvb_ca_en50221: fix a size write bug
b66849f35462 media: netup_unidvb: fix irq init by register it at the end of probe
88aef84eefb3 media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
6b9a534ec5cf media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
f3c8ed7366cd media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
65033ab2f930 media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
37e36b426197 media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
64f1b8296bef media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
d16f5dc3aa09 media: dvb_demux: fix a bug for the continuity counter
a7c87057f259 ASoC: ssm2602: Add workaround for playback distortions
619f008df14e xfrm: Check if_id in inbound policy/secpath match
21ca81704611 ASoC: dwc: limit the number of overrun messages
acd5f476c16e nbd: Fix debugfs_create_dir error checking
19ce1e1f348d fbdev: stifb: Fix info entry in sti_struct on error path
aa32f2fadb4c fbdev: modedb: Add 1920x1080 at 60 Hz video mode
199f9c5430f9 media: rcar-vin: Select correct interrupt mode for V4L2_FIELD_ALTERNATE
b950966b44f9 ARM: 9295/1: unwind:fix unwind abort for uleb128 case
a823d8e0bb02 mailbox: mailbox-test: Fix potential double-free in mbox_test_message_write()
29bfbc8a63c4 watchdog: menz069_wdt: fix watchdog initialisation
0018639be2d9 mtd: rawnand: marvell: don't set the NAND frequency select
5f0043efdc24 mtd: rawnand: marvell: ensure timing values are written
6c0aacf1b4e1 net: dsa: mv88e6xxx: Increase wait after reset deactivation
94a00f1142c5 net/sched: flower: fix possible OOB write in fl_set_geneve_opt()
dd4b5a204dfa udp6: Fix race condition in udp6_sendmsg & connect
cd4a37f0dcc9 net/netlink: fix NETLINK_LIST_MEMBERSHIPS length report
cec562fbf8c5 ocfs2/dlm: move BITS_TO_BYTES() to bitops.h for wider use
9e6bb63e5e66 net: sched: fix NULL pointer dereference in mq_attach
2188c0f09532 net/sched: Prohibit regrafting ingress or clsact Qdiscs
80b20d528a71 net/sched: Reserve TC_H_INGRESS (TC_H_CLSACT) for ingress (clsact) Qdiscs
321f38375517 net/sched: sch_clsact: Only create under TC_H_CLSACT
5f67d33c01b3 net/sched: sch_ingress: Only create under TC_H_INGRESS
381a703220fb tcp: Return user_mss for TCP_MAXSEG in CLOSE/LISTEN state if user_mss set
32e9a9ee285f tcp: deny tcp_disconnect() when threads are waiting
26e830858a2b af_packet: do not use READ_ONCE() in packet_bind()
43f1402dc2e9 mtd: rawnand: ingenic: fix empty stub helper definitions
dd3773e8c8c9 amd-xgbe: fix the false linkup in xgbe_phy_status
603eec060d14 af_packet: Fix data-races of pkt_sk(sk)->num.
bab2f42d8d8a netrom: fix info-leak in nr_write_internal()
d7aeb591b101 net/mlx5: fw_tracer, Fix event handling
c7ac3ebf41ee dmaengine: pl330: rename _start to prevent build error
17d70de57248 iommu/amd: Don't block updates to GATag if guest mode is on
fa961ad9ef91 iommu/rockchip: Fix unwind goto issue
5abb81b4d762 RDMA/bnxt_re: Fix return value of bnxt_re_process_raw_qp_pkt_rx
2bafc7f22db3 RDMA/bnxt_re: Refactor queue pair creation code
56446791bccd RDMA/bnxt_re: Enable SRIOV VF support on Broadcom's 57500 adapter series
cc5a673d85a9 RDMA/efa: Fix unsupported page sizes in device
cf0b1e5482ea Linux 5.4.245
ec14c6e0a2e5 netfilter: ctnetlink: Support offloaded conntrack entry deletion
5b7d4d91c047 ipv{4,6}/raw: fix output xfrm lookup wrt protocol
6c88024cab83 binder: fix UAF caused by faulty buffer cleanup
e6183912ee90 bluetooth: Add cmd validity checks at the start of hci_sock_ioctl()
9ba28194ea50 io_uring: have io_kill_timeout() honor the request references
6de3014d4bd8 io_uring: don't drop completion lock before timer is fully initialized
b0bfceaa8c0e io_uring: always grab lock in io_cancel_async_work()
00395fd7f9a0 cdc_ncm: Fix the build warning
672e59995e70 net/mlx5: Devcom, serialize devcom registration
f42feb29bad9 net/mlx5: devcom only supports 2 ports
67637a7ee6bd fs: fix undefined behavior in bit shift for SB_NOUSER
02281c23d069 power: supply: bq24190: Call power_supply_changed() after updating input current
f6518954c146 power: supply: core: Refactor power_supply_set_input_current_limit_from_supplier()
db00ef8fd609 power: supply: bq27xxx: After charger plug in/out wait 0.5s for things to stabilize
ff484163dfb6 net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize
a270ca35a949 cdc_ncm: Implement the 32-bit version of NCM Transfer Block
51d0ac4577c2 Linux 5.4.244
edec0d399907 3c589_cs: Fix an error handling path in tc589_probe()
3dfc1004d9af net/mlx5: Devcom, fix error flow in mlx5_devcom_register_device
c59106f8bca1 net/mlx5: Fix error message when failing to allocate device memory
8680d838c98c forcedeth: Fix an error handling path in nv_probe()
b8db4a4e2007 ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg
0099a29bc5a0 x86/show_trace_log_lvl: Ensure stack pointer is aligned, again
c60f38c9bdcb xen/pvcalls-back: fix double frees with pvcalls_new_active_socket()
9b13972e4f23 coresight: Fix signedness bug in tmc_etr_buf_insert_barrier_packet()
f6b610730e8f power: supply: sbs-charger: Fix INHIBITED bit for Status reg
0c5f4cec7596 power: supply: bq27xxx: Fix poll_interval handling and races on remove
dafe9136be7b power: supply: bq27xxx: Fix I2C IRQ race on remove
7b3b11964979 power: supply: bq27xxx: Fix bq27xxx_battery_update() race condition
96bfafbc7d80 power: supply: leds: Fix blink to LED on transition
011f47c8b838 ipv6: Fix out-of-bounds access in ipv6_find_tlv()
120cdad8b2ae bpf: Fix mask generation for 32-bit narrow loads of 64-bit fields
9928ce5225d6 selftests: fib_tests: mute cleanup error message
58766252f6b2 net: fix skb leak in __skb_tstamp_tx()
2b580d0f03c4 media: radio-shark: Add endpoint checks
a730feb672c7 USB: sisusbvga: Add endpoint checks
80100e0863e5 USB: core: Add routines for endpoint checks in old drivers
7e3ae83371a4 udplite: Fix NULL pointer dereference in __sk_mem_raise_allocated().
9ea0c5f90a27 net: fix stack overflow when LRO is disabled for virtual interfaces
1522dc58bff8 fbdev: udlfb: Fix endpoint check
be646802b3dc debugobjects: Don't wake up kswapd from fill_pool()
4e5a7181a6c3 x86/topology: Fix erroneous smp_num_siblings on Intel Hybrid platforms
6d091e0ddcf3 parisc: Fix flush_dcache_page() for usage from irq context
b556618baca5 selftests/memfd: Fix unknown type name build failure
04aee084a3fa x86/mm: Avoid incomplete Global INVLPG flushes
a9f5423460a6 btrfs: use nofs when cleaning up aborted transactions
4f92934d8073 gpio: mockup: Fix mode of debugfs files
da8adda57984 parisc: Allow to reboot machine after system halt
43ffe982a304 parisc: Handle kgdb breakpoints only in kernel context
f7d19a366cd2 m68k: Move signal frame following exception on 68020/030
8facb9cc168a ALSA: hda/realtek: Enable headset onLenovo M70/M90
5cc3e698c2bb ALSA: hda/ca0132: add quirk for EVGA X299 DARK
68e4c390173e mt76: mt7615: Fix build with older compilers
b558275c1b04 spi: fsl-cpm: Use 16 bit mode for large transfers with even size
d64a45c019ac spi: fsl-spi: Re-organise transfer bits_per_word adaptation
aabe8ca79139 watchdog: sp5100_tco: Immediately trigger upon starting.
aeff9e7e87c1 s390/qdio: fix do_sqbs() inline assembly constraint
ab196fe70a18 s390/qdio: get rid of register asm
a4e3c4c65ae8 vc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
74e644795d37 vc_screen: rewrite vcs_size to accept vc, not inode
e9399d4ea5ee usb: gadget: u_ether: Fix host MAC address case
939cafcdf7de usb: gadget: u_ether: Convert prints to device prints
c8489e0fab18 lib/string_helpers: Introduce string_upper() and string_lower() helpers
7e15602c5073 HID: wacom: add three styli to wacom_intuos_get_tool_type
2a12339ce34f HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs
b5185f1b11c7 HID: wacom: Force pen out of prox if no events have been received in a while
e0c1b35239d9 netfilter: nf_tables: hold mutex on netns pre_exit path
6236af6936dd netfilter: nf_tables: validate NFTA_SET_ELEM_OBJREF based on NFT_SET_OBJECT flag
05b4105e6852 netfilter: nf_tables: stricter validation of element data
e832e4bae556 netfilter: nf_tables: allow up to 64 bytes in the set element data area
28fe10236a64 netfilter: nf_tables: add nft_setelem_parse_key()
eb5b579bd69f netfilter: nf_tables: validate registers coming from userspace.
cfe1b9719cce netfilter: nftables: statify nft_parse_register()
7c788393d453 netfilter: nftables: add nft_parse_register_store() and use it
25336cd96b03 netfilter: nftables: add nft_parse_register_load() and use it
116d53f09ff5 nilfs2: fix use-after-free bug of nilfs_root in nilfs_evict_inode()
df89b1753eb1 powerpc/64s/radix: Fix soft dirty tracking
60b9a9c8f370 tpm/tpm_tis: Disable interrupts for more Lenovo devices
a33c172c1e34 ceph: force updating the msg pointer in non-split case
6eb9ed0ab7b5 serial: Add support for Advantech PCI-1611U card
21f107a95965 statfs: enforce statfs[64] structure initialization
1eb3e32de7b1 KVM: x86: do not report a vCPU as preempted outside instruction boundaries
a88638a95407 can: kvaser_pciefd: Disable interrupts in probe error path
4579e2556767 can: kvaser_pciefd: Do not send EFLUSH command on TFD interrupt
33d5a0a4985a can: kvaser_pciefd: Clear listen-only bit if not explicitly requested
e5ac4f12074e can: kvaser_pciefd: Empty SRB buffer in probe
c0e9fb21b612 can: kvaser_pciefd: Call request_irq() before enabling interrupts
36cd7601e6b9 can: kvaser_pciefd: Set CAN_STATE_STOPPED in kvaser_pciefd_stop()
e65811289346 can: j1939: recvmsg(): allow MSG_CMSG_COMPAT flag
880482525101 ALSA: hda/realtek: Add quirk for 2nd ASUS GU603
57fd0d122edd ALSA: hda/realtek: Add a quirk for HP EliteDesk 805
739056188ad3 ALSA: hda: Add NVIDIA codec IDs a3 through a7 to patch table
4ef155ddf957 ALSA: hda: Fix Oops by 9.1 surround channel names
4f9c0a7c2726 usb: typec: altmodes/displayport: fix pin_assignment_show
33b6648d27b8 usb: dwc3: debugfs: Resume dwc3 before accessing registers
241491524ab0 USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value
1f36dc41616b usb-storage: fix deadlock when a scsi command timeouts more than once
7cef7681aa77 USB: usbtmc: Fix direction for 0-length ioctl control messages
f662f856acec vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
53bf7cda160b igb: fix bit_shift to be in [1..8] range
e20105d967ab cassini: Fix a memory leak in the error handling path of cas_init_one()
e519a404a5bb wifi: iwlwifi: mvm: don't trust firmware n_channels
d0baaadd1c5e net: bcmgenet: Restore phy_stop() depending upon suspend/close
2cca63d5bc4e net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()
435855b0831b net: nsh: Use correct mac_offset to unwind gso skb in nsh_gso_segment()
ed50fcab1435 drm/exynos: fix g2d_open/close helper function definitions
1550bcf2983a media: netup_unidvb: fix use-after-free at del_timer()
69055f99900b net: hns3: fix reset delay time to avoid configuration timeout
304e5cb77eb8 net: hns3: fix sending pfc frames after reset issue
d1bcc606870e erspan: get the proto with the md version for collect_md
f185ede016c9 ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode
0eb3ec0a3553 ip6_gre: Make o_seqno start from 0 in native mode
304096241398 ip6_gre: Fix skb_under_panic in __gre6_xmit()
7525aa211758 serial: arc_uart: fix of_iomap leak in `arc_serial_probe`
5a90309002cd vsock: avoid to close connected socket after the timeout
5009aead17f0 ALSA: firewire-digi00x: prevent potential use after free
b22b514209ff net: fec: Better handle pm_runtime_get() failing in .remove()
033297ef3bba af_key: Reject optional tunnel/BEET mode templates in outbound policies
912a6cff0db1 cpupower: Make TSC read per CPU for Mperf monitor
131eb9c9b1a0 ASoC: fsl_micfil: register platform component before registering cpu dai
a3714a47b401 btrfs: fix space cache inconsistency after error loading it from disk
596898303745 btrfs: replace calls to btrfs_find_free_ino with btrfs_find_free_objectid
1e453cb55014 mfd: dln2: Fix memory leak in dln2_probe()
bdc33478d5d3 phy: st: miphy28lp: use _poll_timeout functions for waits
e6e917e82de4 Input: xpad - add constants for GIP interface numbers
9fcef1e37d54 iommu/arm-smmu-v3: Acknowledge pri/event queue overflow if any
4461f41ece4d clk: tegra20: fix gcc-7 constant overflow warning
c23e6383d7fe RDMA/core: Fix multiple -Warray-bounds warnings
3ed95a6f6c64 recordmcount: Fix memory leaks in the uwrite function
38a118fd545b sched: Fix KCSAN noinstr violation
cbe3063a9be1 mcb-pci: Reallocate memory region to avoid memory overlapping
d5cd2928d310 serial: 8250: Reinit port->pm on port specific driver unbind
ccb12585a735 usb: typec: tcpm: fix multiple times discover svids error
c5405c767173 HID: wacom: generic: Set battery quirk only when we see battery data
d3f32dc2ccc2 spi: spi-imx: fix MX51_ECSPI_* macros when cs > 3
bf80dbd52899 HID: logitech-hidpp: Reconcile USB and Unifying serials
e28f9de2d4d7 HID: logitech-hidpp: Don't use the USB serial for USB devices
8a65476dd1ca staging: rtl8192e: Replace macro RTL_PCI_DEVICE with PCI_DEVICE
2112c4c47d36 Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
fa57021262e9 wifi: iwlwifi: dvm: Fix memcpy: detected field-spanning write backtrace
0ad8dd870aa1 wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf
f6f2d16c77f9 wifi: iwlwifi: pcie: fix possible NULL pointer dereference
a7ec2f424f6e samples/bpf: Fix fout leak in hbm's run_bpf_prog
4ceedc2f8bdf f2fs: fix to drop all dirty pages during umount() if cp_error is set
8659c5f4ffaa ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa()
cee78217a7ae ext4: set goal start correctly in ext4_mb_normalize_request
d43b1bdb1005 gfs2: Fix inode height consistency check
410e610a96c5 scsi: message: mptlan: Fix use after free bug in mptlan_remove() due to race condition
cc2d2b3dbfb0 lib: cpu_rmap: Avoid use after free on rmap->obj array entries
89f5055f9b0b scsi: target: iscsit: Free cmds before session free
67236cf14db3 net: Catch invalid index in XPS mapping
92af9cb86ab0 net: pasemi: Fix return type of pasemi_mac_start_tx()
644a9d5e2276 scsi: lpfc: Prevent lpfc_debugfs_lockstat_write() buffer overflow
c4813f858e5c ext2: Check block size validity during mount
56c7e9c39bd5 wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
c409eb45f5dd ACPICA: ACPICA: check null return of ACPI_ALLOCATE_ZEROED in acpi_db_display_objects
710e09fd116e ACPICA: Avoid undefined behavior: applying zero offset to null pointer
99c8f2e6f33a drm/tegra: Avoid potential 32-bit integer overflow
ccae2233e993 ACPI: EC: Fix oops when removing custom query handlers
48ac727ea4a3 firmware: arm_sdei: Fix sleep from invalid context BUG
a2a5d3a584bf memstick: r592: Fix UAF bug in r592_remove due to race condition
d73e8c47675e regmap: cache: Return error in cache sync operations for REGCACHE_NONE
9b72cb394f96 drm/amd/display: Use DC_LOG_DC in the trasform pixel function
a75d9211a07f fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
196528ad4844 af_unix: Fix data races around sk->sk_shutdown.
7d17bc2d4e75 af_unix: Fix a data race of sk->sk_receive_queue->qlen.
699c9e7c9f66 net: datagram: fix data-races in datagram_poll()
1aa872e967f2 ipvlan:Fix out-of-bounds caused by unclear skb->cb
4188c5269475 net: add vlan_get_protocol_and_depth() helper
57a269d82f2e net: tap: check vlan with eth_type_vlan() method
1747aa98ab13 net: annotate sk->sk_err write from do_recvmmsg()
a507022c862e netlink: annotate accesses to nlk->cb_running
b47aae7038cc netfilter: conntrack: fix possible bug_on with enable_hooks=1
d7343f8de019 net: Fix load-tearing on sk->sk_stamp in sock_recv_cmsgs().
42e1dafa65e2 linux/dim: Do nothing if no time delta between samples
7460ac5a66fb ARM: 9296/1: HP Jornada 7XX: fix kernel-doc warnings
22b8ac608af5 drm/mipi-dsi: Set the fwnode for mipi_dsi_device
d4992b2b5c68 driver core: add a helper to setup both the of_node and fwnode of a device
(From OE-Core rev: bc75da82987e243bdfe3e1192bb715438b3a7378)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Refactor _process_deps to expand systemd instance specifier "%i" to the
template instance.
This change expands on prior commit e510222b57 ("systemd-systemctl: fix
instance template WantedBy symlink construction") by substituting every
"%i" pattern-match with the instance name.
The regexp handles the following cases:
* svc-wants@%i.service
* sys-subsystem-net-devices-%i.device
(From OE-Core rev: 2aa82324d43467e7c8bfbbb59570ee3306264b75)
Signed-off-by: Ian Ray <ian.ray@ge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9356276137267a29ae2289d796a2940918375308)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fix issue of the below instance template systemd service dependency
[Install]
WantedBy=svc-wants@%i.service
creating the symlink (instance "a" example)
/etc/systemd/system/svc-wants@%i.service.wants/svc-wanted-by@a.service
which should be
/etc/systemd/system/svc-wants@a.service.wants/svc-wanted-by@a.service
as implemented by this change.
The functionality appears regressed just after "thud" baseline when the
logic was refactored from shell script into python (commit
925e30cb10)
(From OE-Core rev: 308397f0bb3d6f3d4e9ec2c6a10823184049c9b5)
(From OE-Core rev: 2751472807edc6d2ccc93b6339e6dc57d4abb2da)
Signed-off-by: Martin Siegumfeldt <mns@gomspace.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 372b29c8ad270d4d430c26a4e614976c7029afaf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Even if initramfs_bundle_path was used, a wrong compression was reflected
in output its template file. Use linux.bin as universal kernel image.
The linux.bin file covers both cases because it's beying created from
vmlinux.
We know, that vmlinux is created inside compressed directory already,
so no external compression will be used.
(From OE-Core rev: 8280c089b0df97368476b8bc54ed758e809f42f5)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Walter Schweizer <walter.schweizer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport of 27fbbeaf972bb7e2535c1b23375cfa9d66b69db6 in master branch
Signed-off-by: Remi Peuvergne <remi.peuvergne@non.se.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit adds Initramfs bundle support to the FIT image in addition
to u-boot boot script capability.
These new features are selectable.
In case of Initramfs, the kernel is configured to be bundled with the rootfs
in the same binary (ie: zImage-initramfs-<machine>.bin). When the kernel is
copied to RAM and executed, it unpacks the Initramfs rootfs.
For more information about Initramfs please read:
https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt
For more details about the Initramfs bundle and boot script implementation
please check the kernel-fitimage.bbclass paragraph in Yocto reference
or mega manual.
Current limitations:
- Initramfs bundle FIT support has been tested on ARM 32-bit
- The kernel image type in case of ARM 32-bit is zImage
Change-Id: I901bfd899e8d733c5b9a2b6645b1d4748f4b1fda
(From OE-Core rev: e3eb79c0a11e9f67af3161361fb88b00123ecbac)
Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport of 19fa415c8769a67b52babd80f71d68bf36a21db2 in master branch
Signed-off-by: Remi Peuvergne <remi.peuvergne@non.se.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We are seeing autobuilder failures with the latest uninative:
patchelf: open: Permission denied
See upstream discussion which suggests handling
read-only files explicitly outside of patchelf:
https://github.com/NixOS/patchelf/pull/89
(From OE-Core rev: 3680fcbf9ba327aedb32bb4eb647dd56fcccfd51)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Update uninative to work with the new glibc 2.37.
(From OE-Core rev: c95020a30ee8266d4bfa7b14a7526c10590027fd)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 360971a6ba562fa0b29bd062b96ede2d3a47fa2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Including libgcc solves issues with libpthread.
(From OE-Core rev: 8bb60a90dbd59b22e5ba884804b3cb47df45e97d)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 36eb46589fb01374d4738a2c376386c68d06aa83)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Recent changes in bitbake mean the datastore is not always reset between
ConfigParsed and BuildStarted. This means in a fresh buiild, with memory
resident bitbake active, uninative may end up disabled.
Update the code so the enable code is always run at BuildStarted if
needed.
(From OE-Core rev: 24897c70980f934cf59a28a0d3b6e8fddcb15a7f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db743cc78fe5172bb4a4dac9c1dad4f5aa9e1491)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add new fetcher for the NVD database using the 2.0 API [1].
The implementation changes as little as possible, keeping the current
database format (but using a different database file for the transition
period), with a notable exception of not using the META table.
Minor changes that could be visible:
- the database starts in 1999 instead of 2002
- the complete fetch is longer (30 minutes typically)
[1] https://nvd.nist.gov/developers/vulnerabilities
(From OE-Core rev: 191e2c6d7009999f049a0cf8460259f8f91a829d)
Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit fb62c4c3dbca4e58f7ce6cf29d4b630a06411a97)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
OpenPrinting CUPS is an open source printing system. In versions 2.4.2
and prior, a heap buffer overflow vulnerability would allow a remote
attacker to launch a denial of service (DoS) attack. A buffer overflow
vulnerability in the function `format_log_line` could allow remote
attackers to cause a DoS on the affected system. Exploitation of the
vulnerability can be triggered when the configuration file `cupsd.conf`
sets the value of `loglevel `to `DEBUG`. No known patches or
workarounds exist at time of publication.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-32324https://security-tracker.debian.org/tracker/CVE-2023-32324
Upstream Patch:
https://github.com/OpenPrinting/cups/commit/fd8bc2d32589
(From OE-Core rev: cb46ae57abe3069d6a4dc2ab0b8dfce5a4a5bd15)
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We don't compare reproducibility of the native/cross components, only the
target ones. With the long build times of rust-native, the test now takes
crazy lengths of time so this tweak should allow us to reuse native/cross
artefacts from sstate whilst still testing the target output is
reproducible.
(From OE-Core rev: fd3d9b32256bceacd514bfd5ebfa0a30bcfdbd0c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b494d83c639a877cefeb7cbab6d37195e492f059)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
At second running, there are four new failed case:
d_loaddump f_bigalloc_badinode f_bigalloc_orphan_list f_dup_resize
The test_data.tmp is necessary, but it is deleted by run-ptest.
So it should be restored after testing.
(From OE-Core rev: 496dc586446d09a77923bc191e5305ba06c8f59e)
Signed-off-by: Qiu Tingting <qiutt@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d0d08dd9a8a179e25b9cfcbac696c1d212a1910c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
sshd.socket launches the templated sshd@.service, so by moving the
sshdgenkeys.service to sshd.socket, key generation can start in advance
of a connection.
(From OE-Core rev: 96798603273bbab40a7e19bbb67a9a5398648c21)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af38a39b4bed9e43c5075008be47ca72191a489e)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
f53660ec669f Linux 5.4.243
d60f15682a5c drm/amd/display: Fix hang when skipping modeset
93ca0d7b88e8 mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
3f231e30cdeb drm/exynos: move to use request_irq by IRQF_NO_AUTOEN flag
65a8b6d129cf drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()
62ac943eb2a9 firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe()
a781ea3437a0 drm/msm: Fix double pm_runtime_disable() call
e4e88f74eb2f PM: domains: Restore comment indentation for generic_pm_domain.child_links
ddcca7299de3 printk: declare printk_deferred_{enter,safe}() in include/linux/printk.h
c2c3ffc79896 PCI: pciehp: Fix AB-BA deadlock between reset_lock and device_lock
6a24285f64ea PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
dde34ef0bc73 drbd: correctly submit flush bio on barrier
373720b9289c serial: 8250: Fix serial8250_tx_empty() race with DMA Tx
f2a1071100fe tty: Prevent writing chars during tcsetattr TCSADRAIN/FLUSH
ba04d6af5ac4 ext4: fix invalid free tracking in ext4_xattr_move_to_block()
185062a21976 ext4: remove a BUG_ON in ext4_mb_release_group_pa()
d7ff83a71d77 ext4: bail out of ext4_xattr_ibody_get() fails for any reason
486efbbc9445 ext4: add bounds checking in get_max_inline_xattr_value_size()
b4fa4768c9ac ext4: fix deadlock when converting an inline directory in nojournal mode
2dda20290671 ext4: improve error recovery code paths in __ext4_remount()
525c802de3f9 ext4: fix data races when using cached status extents
4f4fd982d972 ext4: avoid a potential slab-out-of-bounds in ext4_group_desc_csum
1b90fbc75901 ext4: fix WARNING in mb_find_extent
f9e27d4bdb1f HID: wacom: insert timestamp to packed Bluetooth (BT) events
d8b609e66244 HID: wacom: Set a default resolution for older tablets
3decf3a750a9 drm/amdgpu: disable sdma ecc irq only when sdma RAS is enabled in suspend
625d4112ea25 drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras
b1fabc379463 drm/amdgpu: fix an amdgpu_irq_put() issue in gmc_v9_0_hw_fini()
c6bb59662432 drm/panel: otm8009a: Set backlight parent to panel device
3e7703624612 f2fs: fix potential corruption when moving a directory
dafc5a5c8fda ARM: dts: s5pv210: correct MIPI CSIS clock name
ad751b896eae ARM: dts: exynos: fix WM8960 clock name in Itop Elite
823496470790 remoteproc: st: Call of_node_put() on iteration error
a1366ecb0905 remoteproc: stm32: Call of_node_put() on iteration error
f16bc5111cc6 sh: nmi_debug: fix return value of __setup handler
c9871a47f4ce sh: init: use OF_EARLY_FLATTREE for early init
111b08116dac sh: math-emu: fix macro redefined warning
8fb33166aed8 inotify: Avoid reporting event with invalid wd
0ccea97abe6d platform/x86: touchscreen_dmi: Add info for the Dexp Ursus KX210i
871641c7ebe5 cifs: fix pcchunk length type in smb2_copychunk_range
3e2b4bceaaf9 btrfs: print-tree: parent bytenr must be aligned to sector size
1e05bf5e80bb btrfs: don't free qgroup space unless specified
b232f5e8cf81 btrfs: fix btrfs_prev_leaf() to not return the same key twice
96f71f669bee perf symbols: Fix return incorrect build_id size in elf_read_build_id()
78190a6ebe4e perf map: Delete two variable initialisations before null pointer checks in sort__sym_from_cmp()
ffec80cc6761 perf vendor events power9: Remove UTF-8 characters from JSON files
62f1ebfe9aac virtio_net: suppress cpu stall when free_unused_bufs
1dc5faf30a6c virtio_net: split free_unused_bufs()
b15637e717ad net: dsa: mt7530: fix corrupt frames using trgmii on 40 MHz XTAL MT7621
544b0de2d767 ALSA: caiaq: input: Add error handling for unsupported input methods in `snd_usb_caiaq_input_init`
35f2642f4abd drm/amdgpu: add a missing lock for AMDGPU_SCHED
5cfe3f910f7c af_packet: Don't send zero-byte data in packet_sendmsg_spkt().
fbcfa00386e1 ionic: remove noise from ethtool rxnfc error msg
4a56f1f6fe92 rxrpc: Fix hard call timeout units
dfa36eb38020 net/sched: act_mirred: Add carrier check
cc5ccfb7c0ee writeback: fix call of incorrect macro
9c1fcb97f98f net: dsa: mv88e6xxx: add mv88e6321 rsvd2cpu
e80412439030 sit: update dev->needed_headroom in ipip6_tunnel_bind_dev()
cc5fe387c629 net/sched: cls_api: remove block_cb from driver_list before freeing
8acd3a28873f net/ncsi: clear Tx enable mode when handling a Config required AEN
bc0905a76531 relayfs: fix out-of-bounds access in relay_file_read
c038ae623a7c kernel/relay.c: fix read_pos error when multiple readers
4f4de392f492 crypto: safexcel - Cleanup ring IRQ workqueues on load failure
b9878f485d70 crypto: inside-secure - irq balance
439d3a7056d5 dm verity: fix error handling for check_at_most_once on FEC
0156f7dbd822 dm verity: skip redundant verity_handle_err() on I/O errors
e4875d6e053d mailbox: zynqmp: Fix counts of child nodes
ff0d64f5127e mailbox: zynq: Switch to flexible array to simplify code
352b152905cc tick/nohz: Fix cpu_is_hotpluggable() by checking with nohz subsystem
9b2ed144318e nohz: Add TICK_DEP_BIT_RCU
c8b6063f13ad netfilter: nf_tables: deactivate anonymous set from preparation phase
29fb2a1a5f71 debugobject: Ensure pool refill (again)
cef1b8a4df5c perf intel-pt: Fix CYC timestamps after standalone CBR
5ead86d57583 perf auxtrace: Fix address filter entire kernel size
29a1ef57c3be dm ioctl: fix nested locking in table_clear() to remove deadlock concern
337b7af27356 dm flakey: fix a crash with invalid table line
6d126899b074 dm integrity: call kmem_cache_destroy() in dm_integrity_init() error path
cbe0a7ec67c3 dm clone: call kmem_cache_destroy() in dm_clone_init() error path
d8f66a19f8be s390/dasd: fix hanging blockdevice after request requeue
5492d4081274 btrfs: scrub: reject unsupported scrub flags
946e067b4cda scripts/gdb: fix lx-timerlist for Python3
7cf5ce2857b8 clk: rockchip: rk3399: allow clk_cifout to force clk_cifout_src to reparent
4379d5ce9235 wifi: rtl8xxxu: RTL8192EU always needs full init
ecdcefd312d4 mailbox: zynqmp: Fix typo in IPI documentation
38afc633d374 mailbox: zynqmp: Fix IPI isr handling
14964127be77 md/raid10: fix null-ptr-deref in raid10_sync_request
fe1cbbcb1a25 nilfs2: fix infinite loop in nilfs_mdt_get_block()
4569a292a84e nilfs2: do not write dirty data after degenerating to read-only
fd37a5c6998b parisc: Fix argument pointer in real64_call_asm()
736aeb17b6a0 afs: Fix updating of i_size with dv jump from server
27263ff39784 dmaengine: at_xdmac: do not enable all cyclic channels
8c821199bc28 dmaengine: dw-edma: Fix to enable to issue dma request on DMA processing
24c9c4ad23d3 dmaengine: dw-edma: Fix to change for continuous transfer
2e900f363174 phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
58e026465814 pwm: mtk-disp: Disable shadow registers before setting backlight values
33f00f0a7368 pwm: mtk-disp: Adjust the clocks to avoid them mismatch
e5e9e59c4564 pwm: mtk-disp: Don't check the return code of pwmchip_remove()
8e238e88822f dmaengine: mv_xor_v2: Fix an error code.
026df12f3c4d leds: TI_LMU_COMMON: select REGMAP instead of depending on it
a34f6dcb78c6 ext4: fix use-after-free read in ext4_find_extent for bigalloc + inline
6dfd85ada867 openrisc: Properly store r31 to pt_regs on unhandled exceptions
2fd44d2bde34 clocksource/drivers/davinci: Fix memory leak in davinci_timer_register when init fails
f2aaf419889c clocksource: davinci: axe a pointless __GFP_NOFAIL
fc051820d616 clocksource/drivers/davinci: Avoid trailing '\n' hidden in pr_fmt()
945e9898624d RDMA/mlx5: Use correct device num_ports when modify DC
9bf843683a32 SUNRPC: remove the maximum number of retries in call_bind_status
1dfa3c9dd27b Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe
ce6c42f0b644 input: raspberrypi-ts: Release firmware handle when not needed
de85be00a8f3 firmware: raspberrypi: Introduce devm_rpi_firmware_get()
d537afa08e15 firmware: raspberrypi: Keep count of all consumers
919f470337e1 NFSv4.1: Always send a RECLAIM_COMPLETE after establishing lease
fe60c3af70bf IB/hfi1: Fix SDMA mmu_rb_node not being evicted in LRU order
b4f12e2402a5 RDMA/siw: Remove namespace check from siw_netdev_event()
795d11e8ff35 clk: add missing of_node_put() in "assigned-clocks" property parsing
0c770f95a2d7 power: supply: generic-adc-battery: fix unit scaling
31ca78dc1f50 rtc: meson-vrtc: Use ktime_get_real_ts64() to get the current time
8feca6259007 RDMA/mlx4: Prevent shift wrapping in set_user_sq_size()
683cd87041ac rtc: omap: include header for omap_rtc_power_off_program prototype
a48403e8c325 RDMA/rdmavt: Delete unnecessary NULL check
b24e0e4612a5 RDMA/siw: Fix potential page_array out of range access
318bc22decd4 perf/core: Fix hardlockup failure caused by perf throttle
ff3edfb3c825 powerpc/rtas: use memmove for potentially overlapping buffer copy
333a2a9846b9 macintosh: via-pmu-led: requires ATA to be set
e2dd8bbab7b5 powerpc/sysdev/tsi108: fix resource printk format warnings
770d583cd5ae powerpc/wii: fix resource printk format warnings
f60c8d7c16bb powerpc/mpc512x: fix resource printk format warning
97cd970f8add macintosh/windfarm_smu_sat: Add missing of_node_put()
54dda7322255 spmi: Add a check for remove callback when removing a SPMI driver
af9bfe1c0a50 staging: rtl8192e: Fix W_DISABLE# does not work after stop/start
572d48361aa0 serial: 8250: Add missing wakeup event reporting
488baa8038fa tty: serial: fsl_lpuart: adjust buffer length to the intended size
8fa80b452bc9 firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
26ca30516b2c usb: mtu3: fix kernel panic at qmu transfer done irq handler
bd7a3e6416ab usb: chipidea: fix missing goto in `ci_hdrc_probe`
f9e2abb6df6d sh: sq: Fix incorrect element size for allocating bitmap buffer
e1431faa89bd uapi/linux/const.h: prefer ISO-friendly __typeof__
6716203844bc spi: cadence-quadspi: fix suspend-resume implementations
caaefbf823ab mtd: spi-nor: cadence-quadspi: Handle probe deferral while requesting DMA channel
ee5ffe4cdfea mtd: spi-nor: cadence-quadspi: Don't initialize rx_dma_complete on failure
7c69aeca59f2 mtd: spi-nor: cadence-quadspi: Provide a way to disable DAC mode
df9708297bb2 mtd: spi-nor: cadence-quadspi: Make driver independent of flash geometry
30ac77e99525 scripts/gdb: bail early if there are no generic PD
35a2681e9937 PM: domains: Fix up terminology with parent/child
0fbc62db7e10 scripts/gdb: bail early if there are no clocks
0988baae3984 ia64: salinfo: placate defined-but-not-used warning
d6cb7b6868b9 ia64: mm/contig: fix section mismatch warning/error
d3c6d52148a1 of: Fix modalias string generation
ca0f4ad2b7a3 vmci_host: fix a race condition in vmci_host_poll() causing GPF
170e22324052 spi: fsl-spi: Fix CPM/QE mode Litte Endian
863238433703 spi: qup: Don't skip cleanup in remove's error path
814a9a6de1b1 linux/vt_buffer.h: allow either builtin or modular for macros
3547e5bd0d10 ASoC: es8316: Handle optional IRQ assignment
9650d5a1e7df ASoC: es8316: Use IRQF_NO_AUTOEN when requesting the IRQ
f5ce428e3eae genirq: Add IRQF_NO_AUTOEN for request_irq/nmi()
0f31993721f9 PCI: imx6: Install the fault handler only on compatible match
0fee5030c094 usb: gadget: udc: renesas_usb3: Fix use after free bug in renesas_usb3_remove due to race condition
7d2bc728cc8d iio: light: max44009: add missing OF device matching
ee0e2f7af02a fpga: bridge: fix kernel-doc parameter description
3fb02404c1e0 usb: host: xhci-rcar: remove leftover quirk handling
36fb7843f1c3 pstore: Revert pmsg_lock back to a normal mutex
602fa8af44fd tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.
638810f5d020 net: amd: Fix link leak when verifying config failed
9ef809945edd netlink: Use copy_to_user() for optval in netlink_getsockopt().
de0ffb5145c9 Revert "Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work"
27c468ec1af1 ipv4: Fix potential uninit variable access bug in __ip_make_skb()
3b9960e21e8b netfilter: nf_tables: don't write table validation state without mutex
64d2c1cfd04f bpf: Don't EFAULT for getsockopt with optval=NULL
3bf918f90f93 ixgbe: Enable setting RSS table to default values
053b36c50bdd ixgbe: Allow flow hash to be set via ethtool
ae23fc2b230a wifi: iwlwifi: mvm: check firmware response size
ffdfaf27ebf1 wifi: iwlwifi: make the loop for card preparation effective
3725b35fc0e5 md/raid10: fix memleak of md thread
fb3f2f2fa0f3 md: update the optimal I/O size on reshape
b6460f68c1cc md/raid10: fix memleak for 'conf->bio_split'
8c5d5d7ffd1e md/raid10: fix leak of 'r10bio->remaining' for recovery
1fee7e391d99 bpf, sockmap: Revert buggy deadlock fix in the sockhash and sockmap
d5fdcd2384ff nvme-fcloop: fix "inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage"
b1e6b3fd1104 nvme: fix async event trace event
eaaa0c6b0540 nvme: handle the persistent internal error AER
c229821510df bpf, sockmap: fix deadlocks in the sockhash and sockmap
74d90f92eafe scsi: lpfc: Fix ioremap issues in lpfc_sli4_pci_mem_setup()
01993768b3e7 crypto: drbg - Only fail when jent is unavailable in FIPS mode
b21c7e28e801 crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errors
14efbe2499c1 bpftool: Fix bug for long instructions in program CFG dumps
3e3533c56cf8 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_reg()
03109f1870e2 wifi: rtlwifi: fix incorrect error codes in rtl_debugfs_set_write_rfreg()
e163e64227ad rtlwifi: Replace RT_TRACE with rtl_dbg
faec6b865468 rtlwifi: Start changing RT_TRACE into rtl_dbg
7c5e804b6d52 f2fs: handle dqget error in f2fs_transfer_project_quota()
7a2ae008a53c scsi: megaraid: Fix mega_cmd_done() CMDID_INT_CMDS
a4245323d272 scsi: target: iscsit: Fix TAS handling during conn cleanup
8e402d5198b3 net/packet: convert po->auxdata to an atomic flag
f3ac72c7ab20 net/packet: convert po->origdev to an atomic flag
4760229b820d net/packet: annotate accesses to po->xmit
47464e0c658a vlan: partially enable SIOCSHWTSTAMP in container
8f851a75bbc7 scm: fix MSG_CTRUNC setting condition for SO_PASSSEC
7160c6940a97 wifi: rtw88: mac: Return the original error from rtw_mac_power_switch()
743ae09b28ce wifi: rtw88: mac: Return the original error from rtw_pwr_seq_parser()
72d5edceb2de tools: bpftool: Remove invalid \' json escape
0d1792c98351 wifi: ath6kl: reduce WARN to dev_dbg() in callback
8d17563174b0 wifi: ath5k: fix an off by one check in ath5k_eeprom_read_freq_list()
d98993186607 wifi: ath9k: hif_usb: fix memory leak of remain_skbs
1286c4ce1f01 wifi: ath6kl: minor fix for allocation size
a3e7a3d472c2 tick/common: Align tick period with the HZ tick.
04be737176e6 tick: Get rid of tick_period
3df29117d8a6 tick/sched: Optimize tick_do_update_jiffies64() further
b6fe34d93655 tick/sched: Reduce seqcount held scope in tick_do_update_jiffies64()
746eac77e008 tick/sched: Use tick_next_period for lockless quick check
a23607579f12 timekeeping: Split jiffies seqlock
22d7ec50ffdd debugobject: Prevent init race with static objects
a687da500464 arm64: kgdb: Set PSTATE.SS to 1 to re-enable single-step
442470948c04 x86/ioapic: Don't return 0 from arch_dynirq_lower_bound()
824683dbec23 regulator: stm32-pwr: fix of_iomap leak
53adb408b170 media: rc: gpio-ir-recv: Fix support for wake-up
9df630dafa1a media: rcar_fdp1: Fix refcount leak in probe and remove function
6fd6e2f29c18 media: rcar_fdp1: Fix the correct variable assignments
75b55a3cbb4a media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource()
03d234459259 media: rcar_fdp1: fix pm_runtime_get_sync() usage count
aebe8e43d85e media: rcar_fdp1: simplify error check logic at fdp_open()
a4b6ab360f56 media: saa7134: fix use after free bug in saa7134_finidev due to race condition
cd1583caed7e media: dm1105: Fix use after free bug in dm1105_remove due to race condition
0c61a6897c47 x86/apic: Fix atomic update of offset in reserve_eilvt_offset()
5224ea575196 regulator: core: Avoid lockdep reports when resolving supplies
73b262115f5f regulator: core: Consistently set mutex_owner when using ww_mutex_lock_slow()
9b53238b3be2 drm/lima/lima_drv: Add missing unwind goto in lima_pdev_probe()
0a6d476d9c9d mmc: sdhci-of-esdhc: fix quirk to ignore command inhibit for data
f79421c36070 drm/msm/adreno: drop bogus pm_runtime_set_active()
438d00b18d55 drm/msm/adreno: Defer enabling runpm until hw_init()
594726c93841 drm/msm: fix unbalanced pm_runtime_enable in adreno_gpu_{init, cleanup}
37c8085cf9c0 firmware: qcom_scm: Clear download bit during reboot
620b983589e0 media: av7110: prevent underflow in write_ts_to_decoder()
1205c52cf270 media: uapi: add MEDIA_BUS_FMT_METADATA_FIXED media bus format.
c6a315f0b140 media: bdisp: Add missing check for create_workqueue
1a057b68952d ARM: dts: qcom: ipq8064: Fix the PCI I/O port range
699bf5a793ca ARM: dts: qcom: ipq8064: reduce pci IO size to 64K
1d207fcdf670 ARM: dts: qcom: ipq4019: Fix the PCI I/O port range
e0162c92973b EDAC/skx: Fix overflows on the DRAM row address mapping arrays
acb6f45775bb arm64: dts: renesas: r8a774c0: Remove bogus voltages from OPP table
0524eb688297 arm64: dts: renesas: r8a77990: Remove bogus voltages from OPP table
a535b5d4a2c3 drm/probe-helper: Cancel previous job before starting new one
4223f98d4d45 drm/vgem: add missing mutex_destroy
8747cd580b59 drm/rockchip: Drop unbalanced obj unref
9773c58594ff erofs: fix potential overflow calculating xattr_isize
880c79bdb002 erofs: stop parsing non-compact HEAD index if clusterofs is invalid
e998107daad2 tpm, tpm_tis: Do not skip reset of original interrupt vector
1c131a32a9b5 selinux: ensure av_permissions.h is built when needed
11458692ebd2 selinux: fix Makefile dependencies of flask.h
823f554747f8 ubifs: Free memory for tmpfile name
d3f1b113a503 ubi: Fix return value overwrite issue in try_write_vid_and_data()
6f2eee5457bc ubifs: Fix memleak when insert_old_idx() failed
2c2a76b7c4b5 Revert "ubifs: dirty_cow_znode: Fix memleak in error handling path"
5d1f14beabab i2c: omap: Fix standard mode false ACK readings
d482617fa662 KVM: nVMX: Emulate NOPs in L2, and PAUSE if it's not intercepted
67d33b8c5696 reiserfs: Add security prefix to xattr name in reiserfs_security_write()
2399b1fda025 ring-buffer: Sync IRQ works before buffer destruction
a7fa8c9dc851 pwm: meson: Fix g12a ao clk81 name
a3e0d3430f33 pwm: meson: Fix axg ao mux parents
719459877d58 kheaders: Use array declaration instead of char
4ec3be7003b6 ipmi: fix SSIF not responding under certain cond.
bead854bcca2 ipmi:ssif: Add send_retries increment
0f91290774c7 MIPS: fw: Allow firmware to pass a empty env
3092933b2637 xhci: fix debugfs register accesses while suspended
3c5a28658d12 debugfs: regset32: Add Runtime PM support
2298b30010fd staging: iio: resolver: ads1210: fix config mode
fbd11f086bf1 perf sched: Cast PTHREAD_STACK_MIN to int as it may turn into sysconf(__SC_THREAD_STACK_MIN_VALUE)
6525d2fd6f83 USB: dwc3: fix runtime pm imbalance on unbind
2d5844aa6e56 USB: dwc3: fix runtime pm imbalance on probe errors
0804f3715c09 asm-generic/io.h: suppress endianness warnings for readq() and writeq()
944ff47a19f2 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer Iconia One 7 B1-750
f00e4bfd7f08 iio: adc: palmas_gpadc: fix NULL dereference on rmmod
85ed09c33021 USB: serial: option: add UNISOC vendor and TOZED LT70C product
48cdcb40d589 bluetooth: Perform careful capability checks in hci_sock_ioctl()
c8258fc827c8 drm/fb-helper: set x/yres_virtual in drm_fb_helper_check_var
425eea395f1f wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()
3b7509b6f5e2 counter: 104-quad-8: Fix race condition between FLAG and CNTR reads
(From OE-Core rev: 1bef1a4cb24e49d23e4d84e05174e0ec1ec7cbe1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
58f42ed1cd31 Linux 5.4.241
879593643717 xfs: force log and push AIL to clear pinned inodes when aborting mount
c76dd368759a xfs: don't reuse busy extents on extent trim
4679b73a8ed4 xfs: consider shutdown in bmapbt cursor delete assert
9355fd118b4e xfs: shut down the filesystem if we screw up quota reservation
48f75df5b3bb xfs: report corruption only as a regular error
3cce34ceb2ef xfs: set inode size after creating symlink
e76bd6da5123 xfs: fix up non-directory creation in SGID directories
ad6613c98463 xfs: remove the di_version field from struct icdinode
ca4533c951e1 xfs: simplify a check in xfs_ioctl_setattr_check_cowextsize
e078b3de3e41 xfs: simplify di_flags2 inheritance in xfs_ialloc
0c553917b61a xfs: only check the superblock version for dinode size calculation
90aab52d062c xfs: add a new xfs_sb_version_has_v3inode helper
edd36a57b4a6 xfs: remove the kuid/kgid conversion wrappers
3ef81874f71c xfs: remove the icdinode di_uid/di_gid members
cc508a41ae48 xfs: ensure that the inode uid/gid match values match the icdinode ones
7a9dc7977140 xfs: merge the projid fields in struct xfs_icdinode
4f3252e7e132 xfs: show the proper user quota options
799cafa4f304 coresight-etm4: Fix for() loop drvdata->nr_addr_cmp range bug
440bdc49f744 watchdog: sbsa_wdog: Make sure the timeout programming is within the limits
70ca826d3ddb i2c: ocores: generate stop condition after timeout in polling mode
5fb5bdcdcd5a ubi: Fix deadlock caused by recursively holding work_sem
0b27716f2d44 mtd: ubi: wl: Fix a couple of kernel-doc issues
e55588c44255 ubi: Fix failure attaching when vid_hdr offset equals to (sub)page size
a652c30fa2ba asymmetric_keys: log on fatal failures in PE/pkcs7
5809dbacc431 verify_pefile: relax wrapper length check
0213f027d030 drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
b3052e5d468b efi: sysfb_efi: Add quirk for Lenovo Yoga Book X91F/L
02a78e653933 i2c: imx-lpi2c: clean rx/tx buffers upon new message
1ef56397449e power: supply: cros_usbpd: reclassify "default case!" as debug
7169d1638824 net: macb: fix a memory corruption in extended buffer descriptor mode
c39fa0398a30 udp6: fix potential access to stale information
9c46c49ad3ff RDMA/core: Fix GID entry ref leak when create_ah fails
ad831a7079c9 sctp: fix a potential overflow in sctp_ifwdtsn_skip
afffe0d1e6b9 qlcnic: check pci_reset_function result
a841f6a0a39d niu: Fix missing unwind goto in niu_alloc_channels()
fcd084e199b9 9p/xen : Fix use after free bug in xen_9pfs_front_remove due to race condition
1b77cb6f5e4a mtd: rawnand: stm32_fmc2: remove unsupported EDO mode
4c1d882b53a3 mtd: rawnand: meson: fix bitmask for length in command word
266746003439 mtdblock: tolerate corrected bit-flips
50dbfd9dacda btrfs: fix fast csum implementation detection
c6db5f2a31cd btrfs: print checksum type and implementation at mount time
8a99e6200c38 Bluetooth: Fix race condition in hidp_session_thread
c02421992505 Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
9025cea8e03b ALSA: hda/sigmatel: fix S/PDIF out on Intel D*45* motherboards
4d419195d6b8 ALSA: firewire-tascam: add missing unwind goto in snd_tscm_stream_start_duplex()
fe158eeccc38 ALSA: i2c/cs8427: fix iec958 mixer control deactivation
aa23fa32e5ff ALSA: hda/sigmatel: add pin overrides for Intel DP45SG motherboard
62ccf2e0b106 ALSA: emu10k1: fix capture interrupt handler unlinking
9a3ba7b24d08 Revert "pinctrl: amd: Disable and mask interrupts on resume"
2945f948aa84 irqdomain: Fix mapping-creation race
e8f3aea716d2 irqdomain: Refactor __irq_domain_alloc_irqs()
3804f265c1bf irqdomain: Look for existing mapping only once
e7bba7ddb431 mm/swap: fix swap_info_struct race between swapoff and get_swap_pages()
fd644712bccd ring-buffer: Fix race while reader and writer are on the same page
c208b4321e8f drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
c381527918b1 net_sched: prevent NULL dereference if default qdisc setup failed
987f599fc556 tracing: Free error logs of tracing instances
d2136f05690c can: j1939: j1939_tp_tx_dat_new(): fix out-of-bounds memory access
5a74a75fc3d3 ftrace: Mark get_lock_parent_ip() __always_inline
95bbfeb4ff0e perf/core: Fix the same task check in perf_event_set_output
666c25d35e5e ALSA: hda/realtek: Add quirk for Clevo X370SNW
83b16a60e413 nilfs2: fix sysfs interface lifetime
613bf23c070d nilfs2: fix potential UAF of struct nilfs_sc_info in nilfs_segctor_thread()
aa8e50688d44 tty: serial: fsl_lpuart: avoid checking for transfer complete when UARTCTRL_SBK is asserted in lpuart32_tx_empty
aabba4440409 tty: serial: sh-sci: Fix Rx on RZ/G2L SCI
209ab5c234c5 tty: serial: sh-sci: Fix transmit end interrupt handler
9a2a6443d655 iio: dac: cio-dac: Fix max DAC write value check for 12-bit
e469ebb28dbe iio: adc: ti-ads7950: Set `can_sleep` flag for GPIO chip
abc5b4f8cdff USB: serial: option: add Quectel RM500U-CN modem
b9c11537efcf USB: serial: option: add Telit FE990 compositions
38c00a22d67b usb: typec: altmodes/displayport: Fix configure initial pin assignment
f417d3fea3de USB: serial: cp210x: add Silicon Labs IFS-USB-DATACABLE IDs
47132be17d7b xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu
5fccf2c546ed NFSD: callback request does not use correct credential for AUTH_SYS
3686380d9d60 sunrpc: only free unix grouplist after RCU settles
1627119153d9 gpio: davinci: Add irq chip flag to skip set wake
0cf600ca1bdf ipv6: Fix an uninit variable access bug in __ip6_make_skb()
0443fff49d63 sctp: check send stream number after wait_for_sndbuf
93f3885211ae net: don't let netpoll invoke NAPI if in xmit context
0d2fa30078af icmp: guard against too small mtu
a3593082e0da wifi: mac80211: fix invalid drv_sta_pre_rcu_remove calls for non-uploaded sta
4220f83b9f03 pwm: sprd: Explicitly set .polarity in .get_state()
6e1f29397dea pwm: cros-ec: Explicitly set .polarity in .get_state()
dbd764e9d422 pinctrl: amd: Disable and mask interrupts on resume
dd7e19f97f71 pinctrl: amd: disable and mask interrupts on probe
3f3e4bd3f0cc pinctrl: amd: Use irqchip template
387236b9e002 smb3: fix problem with null cifs super block with previous patch
2e64d7b182c6 treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()
199197660bdd Revert "treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()"
522af69af24f cgroup/cpuset: Wake up cpuset_attach_wq tasks in cpuset_cancel_attach()
4311ae04b386 x86/PCI: Add quirk for AMD XHCI controller that loses MSI-X state in D3hot
110d425cdfb1 scsi: ses: Handle enclosure with just a primary component gracefully
(From OE-Core rev: 41eacaf738d753632fb17031e58dc898f2290a61)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
32bea3bac5ca Linux 5.4.240
4d4cb7663613 gfs2: Always check inode size of inline inodes
928240c36891 firmware: arm_scmi: Fix device node validation for mailbox transport
0f5c0e0a4c0b net: sched: fix race condition in qdisc_graft()
22d95b544924 net_sched: add __rcu annotation to netdev->qdisc
14b6ad56df25 ext4: fix kernel BUG in 'ext4_write_inline_data_end()'
9b189af3577e btrfs: scan device in non-exclusive mode
45a9877d6cc3 s390/uaccess: add missing earlyclobber annotations to __clear_user()
0c6df5364798 drm/etnaviv: fix reference leak when mmaping imported buffer
37958ac31fe2 ALSA: usb-audio: Fix regression on detection of Roland VS-100
6dabafd82968 ALSA: hda/conexant: Partial revert of a quirk for Lenovo
f3a67268784c NFSv4: Fix hangs when recovering open state after a server reboot
c81e2965a9e0 pinctrl: at91-pio4: fix domain name assignment
82c25ac3a258 xen/netback: don't do grant copy across page boundary
99c8ba920fc2 Input: goodix - add Lenovo Yoga Book X90F to nine_bytes_report DMI table
657d7c215ca9 cifs: fix DFS traversal oops without CONFIG_CIFS_DFS_UPCALL
03af69bd674d cifs: prevent infinite recursion in CIFSGetDFSRefer()
51d657371106 Input: focaltech - use explicitly signed char type
f0f85f5e402b Input: alps - fix compatibility with -funsigned-char
7e71d4d190df pinctrl: ocelot: Fix alt mode for ocelot
70728d639efb net: mvneta: make tx buffer array agnostic
704e06b97920 net: dsa: mv88e6xxx: Enable IGMP snooping on user ports only
fd7cff506614 bnxt_en: Fix typo in PCI id to device description string mapping
58279cea0b10 i40e: fix registers dump after run ethtool adapter self test
5195de1d5f66 s390/vfio-ap: fix memory leak in vfio_ap device driver
78bc7f0ab994 can: bcm: bcm_tx_setup(): fix KMSAN uninit-value in vfs_write
105cc2683282 net/net_failover: fix txq exceeding warning
e633fd26abfd regulator: Handle deferred clk
be7b622cd63f regulator: fix spelling mistake "Cant" -> "Can't"
46c4993a1514 ptp_qoriq: fix memory leak in probe()
c122daa0fa4c scsi: megaraid_sas: Fix crash after a double completion
317c07d382b1 mtd: rawnand: meson: invalidate cache on polling ECC bit
d65de5ee8b72 mips: bmips: BCM6358: disable RAC flush for TP1
9690e34f2247 dma-mapping: drop the dev argument to arch_sync_dma_for_*
f6e2d76aa362 ca8210: Fix unsigned mac_len comparison with zero in ca8210_skb_tx()
856fb74f601a fbdev: au1200fb: Fix potential divide by zero
deef33c08104 fbdev: lxfb: Fix potential divide by zero
4f5cc5ffa8c5 fbdev: intelfb: Fix potential divide by zero
868f247e47ef fbdev: nvidia: Fix potential divide by zero
f3359f5fc9b7 sched_getaffinity: don't assume 'cpumask_size()' is fully initialized
521877bf2651 fbdev: tgafb: Fix potential divide by zero
7f12f99b8017 ALSA: hda/ca0132: fixup buffer overrun at tuning_ctl_set()
9155a5958ed0 ALSA: asihpi: check pao in control_message()
88a3c63a9635 md: avoid signed overflow in slot_store()
9966fc59d3a0 bus: imx-weim: fix branch condition evaluates to a garbage value
d121f7883a17 fsverity: don't drop pagecache at end of FS_IOC_ENABLE_VERITY
4c24eb49ab44 ocfs2: fix data corruption after failed write
0c0e566f0387 tun: avoid double free in tun_free_netdev
d253120a580a sched/fair: Sanitize vruntime of entity being migrated
c23928c70bc8 sched/fair: sanitize vruntime of entity being placed
885c28ceae7d dm crypt: add cond_resched() to dmcrypt_write()
4a32a9a818a8 dm stats: check for and propagate alloc_percpu failure
f8cbad984b16 i2c: xgene-slimpro: Fix out-of-bounds bug in xgene_slimpro_i2c_xfer()
8f5cbf6a8c0e nilfs2: fix kernel-infoleak in nilfs_ioctl_wrap_copy()
4ae966a7f6a7 wifi: mac80211: fix qos on mesh interfaces
f558789a886c usb: chipidea: core: fix possible concurrent when switch role
6b3287b14739 usb: chipdea: core: fix return -EINVAL if request role is the same with current role
0b2a56fe4659 usb: cdns3: Fix issue with using incorrect PCI device function
e9e93fdfcefb dm thin: fix deadlock when swapping to thin device
cd1e320ac095 igb: revert rtnl_lock() that causes deadlock
123698a5c619 fsverity: Remove WQ_UNBOUND from fsverity read workqueue
0eda2004f38d usb: gadget: u_audio: don't let userspace block driver unbind
44f080d7d75a scsi: core: Add BLIST_SKIP_VPD_PAGES for SKhynix H28U74301AMR
223274d5c310 cifs: empty interface list when server doesn't support query interfaces
299a309b98df sh: sanitize the flags on sigreturn
f4c610f6ca13 net: usb: qmi_wwan: add Telit 0x1080 composition
e6b1fa6d0626 net: usb: cdc_mbim: avoid altsetting toggling for Telit FE990
04f4a1aa9410 scsi: lpfc: Avoid usage of list iterator variable after loop
11cdced6a03d scsi: ufs: core: Add soft dependency on governor_simpleondemand
54ec697e3ca8 scsi: target: iscsi: Fix an error message in iscsi_check_key()
97115221912c selftests/bpf: check that modifier resolves after pointer
2100e374251a m68k: Only force 030 bus error if PC not in exception table
d2b3bd0d4cad ca8210: fix mac_len negative array access
9e7723b684c0 riscv: Bump COMMAND_LINE_SIZE value to 1024
32518cd0fcc0 thunderbolt: Use const qualifier for `ring_interrupt_index`
b40fe2e1f91b uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2
9189f20b4c53 scsi: qla2xxx: Perform lockless command completion in abort path
da0383f0e86c hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
13493ad6a220 platform/chrome: cros_ec_chardev: fix kernel data leak from ioctl
a18fb433ceb5 Bluetooth: btsdio: fix use after free bug in btsdio_remove due to unfinished work
b517808795d3 Bluetooth: btqcomsmd: Fix command timeout after setting BD address
dcd4d3646221 net: mdio: thunder: Add missing fwnode_handle_put()
707335918f73 hvc/xen: prevent concurrent accesses to the shared ring
83e442eba39b nvme-tcp: fix nvme_tcp_term_pdu to match spec
d673ae18406e net/sonic: use dma_mapping_error() for error check
b72f453e886a erspan: do not use skb_mac_header() in ndo_start_xmit()
82e07cc5a6ca atm: idt77252: fix kmemleak when rmmod idt77252
fd6f643dea07 net/mlx5: Read the TC mapping of all priorities on ETS query
d69c2ded95b1 bpf: Adjust insufficient default bpf_jit_limit
97674f4cd05e keys: Do not cache key in task struct if key is requested from kernel thread
f8ee2c8b0d0c net/ps3_gelic_net: Use dma_mapping_error
6d7e18b1d00a net/ps3_gelic_net: Fix RX sk_buff length
0e5c7d00ec4f net: qcom/emac: Fix use after free bug in emac_remove due to race condition
a07ec453e86a xirc2ps_cs: Fix use after free bug in xirc2ps_detach
42d72c6d1edc qed/qed_sriov: guard against NULL derefs from qed_iov_get_vf_info
f2111c791d88 net: usb: smsc95xx: Limit packet length to skb->len
5c4d71424df3 scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate()
283fdc5cfbeb i2c: imx-lpi2c: check only for enabled interrupt flags
90116b8289fd igbvf: Regard vf reset nack as success
584771762c3e intel/igbvf: free irq on the error path in igbvf_request_msix()
6999f854184e iavf: fix non-tunneled IPv6 UDP packet type and hashing
4e752d2baea3 iavf: fix inverted Rx hash condition leading to disabled hash
6fe078c2864b power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition
754838aa0205 net: tls: fix possible race condition between do_tls_getsockopt_conf() and do_tls_setsockopt_conf()
09b1a76e7879 Linux 5.4.239
f0c95f229a67 selftests: Fix the executable permissions for fib_tests.sh
(From OE-Core rev: ff5d1f37b8a1bc7f51e95e5114890ee5185ff335)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
6849d8c4a61a Linux 5.4.238
eb7716a054a6 HID: uhid: Over-ride the default maximum data buffer value with our own
b687ac70e66a HID: core: Provide new max_buffer_size attribute to over-ride the default
144019e81396 PCI: Unify delay handling for reset and resume
d2130f37a4a0 s390/ipl: add missing intersection check to ipl_report handling
3f5a833dca66 serial: 8250_em: Fix UART port type
c5afb97d1b51 drm/i915: Don't use stolen memory for ring buffers with LLC
8d26a4fecce5 x86/mm: Fix use of uninitialized buffer in sme_enable()
a976ff743eb1 fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks
ac58b88ccbbb ftrace: Fix invalid address access in lookup_rec() when index is 0
65e4c9a6d0c9 KVM: nVMX: add missing consistency checks for CR0 and CR4
6fe55dce9dd6 tracing: Make tracepoint lockdep check actually test something
780f69a2685b tracing: Check field value in hist_field_name()
f1e3a20c6019 interconnect: fix mem leak when freeing nodes
325608ab60fa tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted
c16cbd8233d6 ext4: fix possible double unlock when moving a directory
6a1bd14d5e34 sh: intc: Avoid spurious sizeof-pointer-div warning
bbf5eada4334 drm/amdkfd: Fix an illegal memory access
2c96c52aeaa6 ext4: fix task hung in ext4_xattr_delete_inode
20ba6f8a8073 ext4: fail ext4_iget if special inode unallocated
ab519e29891d jffs2: correct logic when creating a hole in jffs2_write_begin
00bfc67c65a1 mmc: atmel-mci: fix race between stop command and start of next command
75f6faae2de6 media: m5mols: fix off-by-one loop termination error
9eb394919c97 hwmon: (ina3221) return prober error code
26c176ce9028 hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition
13efd488d398 hwmon: (adt7475) Fix masking of hysteresis registers
0d3095e958f0 hwmon: (adt7475) Display smoothing attributes in correct order
674fce59d61d ethernet: sun: add check for the mdesc_grab()
71da5991b643 net/iucv: Fix size of interrupt data
e0d07a3203c3 net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
5c06bd3de134 ipv4: Fix incorrect table ID in IOCTL path
c4fcfbf80c3c block: sunvdc: add check for mdesc_grab() returning NULL
04c394208831 nvmet: avoid potential UAF in nvmet_req_complete()
9fabdd79051a net: usb: smsc75xx: Limit packet length to skb->len
b0c202a8dc63 nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition
668de67d4110 net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails
5aaab217c8f5 net: tunnels: annotate lockless accesses to dev->needed_headroom
cba20ade78ef qed/qed_dev: guard against a possible division by zero
6e18f66b704b i40e: Fix kernel crash during reboot when adapter is in recovery mode
f0216046aeb8 ipvlan: Make skb->skb_iif track skb->dev for l3s mode
0f9c1f26d434 nfc: pn533: initialize struct pn533_out_arg properly
442aa78ed701 tcp: tcp_make_synack() can be called from process context
88c3d3bb6469 scsi: core: Fix a procfs host directory removal regression
4b4f5e34f08b scsi: core: Fix a comment in function scsi_host_dev_release()
0d59732f2a5b netfilter: nft_redir: correct value of inet type `.maxattrs`
90279211e96b ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU()
0b7057c52377 ALSA: hda: Add Intel DG2 PCI ID and HDMI codec vid
5bb9fcaadb8c ALSA: hda: Add Alderlake-S PCI ID and HDMI codec vid
9efbdc743ded ALSA: hda - controller is in GPU on the DG1
fc52e51c2c30 ALSA: hda - add Intel DG1 PCI and HDMI ids
090305c36185 scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
b8849e31a056 docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate
9e45e4571576 clk: HI655X: select REGMAP instead of depending on it
dac08e46f0ad drm/meson: fix 1px pink line on GXM when scaling video overlay
d7e48aa17a81 cifs: Move the in_send statistic to __smb_send_rqst()
06c208002d0d drm/panfrost: Don't sync rpm suspension after mmu flushing
c9900d1d86f0 xfrm: Allow transport-mode states with AF_UNSPEC selector
4008fb9ad474 ext4: fix cgroup writeback accounting with fs-layer encryption
(From OE-Core rev: 175d05d717b972d9b6bf36f170bc6cfa69b57dce)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This test will fail any time the host has libdrm > 2.4.107
(From OE-Core rev: e4b98a42970574296e0da06842691b9fc1ffc9a1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This will use default values when no distribution is set.
[YOCTO #15086]
(From OE-Core rev: 1a28c6cfe0e6c4b44d01778f8034231040c6d4ad)
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 888fe63b46efceeff08dbe8c4f66fec33d06cb7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
* otherwise it ends '<unknown>' inside esdk, because of parsing order:
# $METADATA_REVISION [3 operations]
# set /OE/build/test-D/conf/local.conf:43
# "f2da54ef432eac89b0f18eaad68e602b6990b5de"
# immediate /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:9
# "${@oe.buildcfg.detect_revision(d)}"
# set /OE/build/test-D/layers/poky/meta/classes/metadata_scm.bbclass:10
# [vardepvalue] "${METADATA_REVISION}"
# pre-expansion value:
# "<unknown>"
METADATA_REVISION="<unknown>"
* This causes base-files.do_install and following tasks to have different
signatures between esdk and the build directory where this esdk was created:
bitbake-diffsigs {test-D,poky/build-uninative-disabled}/tmp/stamps/qemux86_64-poky-linux/base-files/*do_install*sigdata*
NOTE: Starting bitbake server...
basehash changed from 5b6981cf58bfd57d416b0e31611b73a26baae635dd1ac31c08d46f95064c3ffc to dbdce042da4d7813d632b6d1cc87a16f728ad20e55fecbc392830e6acf72babd
Variable METADATA_REVISION value changed from '<unknown>' to 'f2da54ef432eac89b0f18eaad68e602b6990b5de'
and an warning from "python3 /OE/build/test-D/ext-sdk-prepare.py" when eSDK is being prepared for use:
WARNING: The base-files:do_install sig is computed to be 83b9c9a6ef1145baac5a1e0d08814b9156af239c58fc42df95c25a9cd8a7f201,
but the sig is locked to 3dc22233059075978e5503691e98e79e7cc60db94259dfcd886bca2291c0add7 in SIGGEN_LOCKEDSIGS_t-qemux86-64
[RP: Add commit about why we need the override for future reference]
(From OE-Core rev: 8f0e2e505d11697d0a1280b0a77a3fe8d72a4d49)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 675ea7281c17f77bf5dea17cfd4d9da0928382a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This is a bit of a compatibility issue more than anything. Some devices
get upset if the FAT file system contains less blocks than the
partition.
The fixed-size argument is currently respected by the partition creation
step but not by the file system creation step. Let's make it so the file
system respects this value as well.
(From OE-Core rev: 2126242c19b0c3dea12c605da8b24b08a9cb803f)
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit d16301ccdfb97bf126738262eec594008c282df1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
perf has need for python setuptools when scripting is enabled
from 6.0.0 onwards it seems to throw an explicit error
(From OE-Core rev: cfdaa6afaca28dd91c9738a97bb21eab5dae2817)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da3d00178809bbf7cc453401e0c5937796ebc2c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Due to signedness, the checksum is not computed when filesize is bigger
a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been
posted for 5 years. Since CPIO upstream is effectively unresponsive and
any and all attempts to communicate with the maintainer and get the fix
applied upstream failed, add the fix here instead.
(From OE-Core rev: bfff138af4bdd356ac66571e6ad91c1a5599b935)
(From OE-Core rev: 0a8fb1c00e75e8434e0ef433d9074d54f038fba1)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The CVE product name for PyPI packages is (usually) the same as the PyPI
package name (and not our recipe name), so use that as the default.
(From OE-Core rev: 1c37b96cd4fdfad21bf24b8b883e371c3bca56de)
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 61f6b0ad09bf87cdc2d3f08770b7c44cad1d0e58)
Signed-off-by: Sanjay Chitroda <schitrod@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The upstream patch for CVE-2023-27534 does three things:
1) creates new path with dynbuf(dynamic buffer)
2) solves the tilde error which causes CVE-2023-27534
3) modifies the below added functionality to not add a trailing "/" to the user home dir if it already ends with one with dynbuf.
dynbuf functionalities are added in curl in later versions and are not essential to fix the vulnerability but does add extra feature in later versions.
This patch completes the 3rd task of the patch which was implemented without using dynbuf
Upstream-Status: Backport from [6c51adeb71]
(From OE-Core rev: df489f644e41108cf0e2ff55af7ce5e9bca40471)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7,
2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding
specially crafted input to `git apply --reject`, a path outside the working
tree can be overwritten with partially controlled contents (corresponding to
the rejected hunk(s) from the given patch). A fix is available in versions
2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3,
and 2.40.1. As a workaround, avoid using `git apply` with `--reject` when applying
patches from an untrusted source. Use `git apply --stat` to inspect a patch before
applying; avoid applying one that create a conflict where a link corresponding to
the `*.rej` file exists.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-25652
Upstream-Status: Backport from 9db05711c9
(From OE-Core rev: 6747482316b8f7839a09bf041d8c11b559f84b44)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8,
2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially crafted
`.gitmodules` file with submodule URLs that are longer than 1024 characters can used
to exploit a bug in `config.c::git_config_copy_or_rename_section_in_file()`. This bug
can be used to inject arbitrary configuration into a user's `$GIT_DIR/config` when
attempting to remove the configuration section associated with that submodule. When the
attacker injects configuration values which specify executables to run (such as
`core.pager`, `core.editor`, `core.sshCommand`, etc.) this can lead to a remote code
execution. A fix A fix is available in versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8,
2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1. As a workaround, avoid running
`git submodule deinit` on untrusted repositories or without prior inspection of any
submodule sections in `$GIT_DIR/config`.
References:
https://nvd.nist.gov/vuln/detail/CVE-2023-29007
Upstream patches:
528290f8c629198213c9a5bb10fd5ee91cfe60853bb3d6bac5
(From OE-Core rev: db4c152441aebe4c04a7bb7aceb88d8941a6576b)
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
If a package with a postsints script requires ldconfig, the package class adds
a ldconfig postinst fragment to initialize it before. Systemd has its own
ldconfig.service to initialize it and sometimes if both services are running
at the same time in the first boot, the first one will work, but the second
one will fail with the following error:
ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to /etc/ld.so.cache failed: No such file or directory
This commit adds a ordering dependency between them to make sure that only one
service is running at the same time.
(From OE-Core rev: 1bc254e7969f3d5470bacf9ad9f065d38b7b7fde)
Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e9d812e127dc6743f52f4881e509e8e2e833afe)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
BSD-4-Clause is only applicable to the {PN}-doc package as when I
check for the source code I find below files which only uses the
license BSD-4-Clause
~/sources/libbsd$ grep -rl "All advertising materials mentioning features or use of this software" *|grep -v \.1|grep -v \.5|grep -v \.8 | sort
COPYING
man/arc4random.3bsd
man/getprogname.3bsd
man/tree.3bsd
~/sources/libbsd$ grep -rnB6 "BSD-4"
COPYING-9-Files:
COPYING-10- man/arc4random.3bsd
COPYING-11- man/tree.3bsd
COPYING-12-Copyright:
COPYING-13- Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
COPYING-14- All rights reserved.
COPYING:15:License: BSD-4-clause-Niels-Provos
(From OE-Core rev: 187f1588240a0eb5cc753c2114fd6c0cef66e14f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Exclude CVEs that are fixed in current linux-yocto version v5.4.237.
To get the commit fixing a CVE, I used the Debian kernel-sec repo [1].
[1]: 86d5040aee
(From OE-Core rev: ec0f3e5869c596a308a164f93cb031e04034a8ed)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Avoid overwriting the read packet length after the initial test. Thus
move all the length checks which depends on the total length first
and do not use the total lenght from the IP packet afterwards.
Fixes CVE-2023-28488
Reported by Polina Smirnova <moe.hwr@gmail.com>
(From OE-Core rev: 47a9ae5592392bd10740e4571b06c8c739705058)
Signed-off-by: Ashish Sharma <asharma@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fix An integer overflow vulnerability was discovered in Freetype in tt_hvadvance_adjust() function in src/truetype/ttgxvar.c
(From OE-Core rev: 24c87e674db9c1d4a8922c3af78a0004c061e70f)
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add SDK_ZIP_OPTIONS to remove symbolic link creation in zip archive or add options, e.g. for encryption of the zip archive.
(From OE-Core rev: 04b62f9459b401c276255f166d0738b6f902a576)
(From OE-Core rev: b9e0c3ced645cab74b2488a26b8f656a94b2a6f5)
Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
A parsed MIME header is a map[string][]string. In the common case,
a header contains many one-element []string slices. To avoid
allocating a separate slice for each key, ReadMIMEHeader looks
ahead in the input to predict the number of keys that will be
parsed, and allocates a single []string of that length.
The individual slices are then allocated out of the larger one.
The prediction of the number of header keys was done by counting
newlines in the input buffer, which does not take into account
header continuation lines (where a header key/value spans multiple
lines) or the end of the header block and the start of the body.
This could lead to a substantial amount of overallocation, for
example when the body consists of nothing but a large block of
newlines.
Fix header key count prediction to take into account the end of
the headers (indicated by a blank line) and continuation lines
(starting with whitespace).
Thanks to Jakob Ackermann (@das7pad) for reporting this issue.
Fixes CVE-2023-24534
For #58975Fixes#59267
(From OE-Core rev: daa6aa9c7198a07322f1828a9db457fec86191cf)
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fix CVE-2023-0464 for openssl
A security vulnerability has been identified in all supported versions
of OpenSSL related to the verification of X.509 certificate chains
that include policy constraints. Attackers may be able to exploit
this vulnerability by creating a malicious certificate chain that
triggers exponential use of computational resources, leading
to a denial-of-service(DoS) attack on affected systems.
Link: https://git.openssl.org/gitweb/?p=openssl.git;a=patch;h=879f7080d7e141f415c79eaa3a8ac4a3dad0348b
(From OE-Core rev: 0c50550e2c8fca3263776c2bb985a8c58b920b99)
Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Omkar Patil <omkarpatil10.93@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Setting a large line or column number using a //line directive can cause
integer overflow even in small source files.
Limit line and column numbers in //line directives to 2^30-1, which
is small enough to avoid int32 overflow on all reasonbly-sized files.
(From OE-Core rev: d1943e6a0ec00653c81cd4c0bb0d6b7e0909094c)
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
encoding/xml: replace comments inside directives with a space
Backport from a9cfd55e2b
(From OE-Core rev: 76d855f3d2c250ac85ca6f24bf0e178fb32607f9)
Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This CVE is specific to Microsoft Windows, ignore it.
Patch fixing it (https://go-review.googlesource.com/c/go/+/446916)
also adds a redundant check to generic os/exec which
could be backported but it should not be necessary as
backport always takes a small risk to break old code.
(From OE-Core rev: 4263f3fda59aacb4f159d2dffb52e5f66249b5e4)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Below patch files to fix CVE-2023-26604
CVE-2023-26604-1.patch, CVE-2023-26604-2.patch and
CVE-2023-26604-3.patch and CVE-2023-26604-4.patch
make pager secure when under euid is changed or explicitly
requested
Reference:
CVE-2023-26604-1.patch:
612ebf6c91
CVE-2023-26604-2.patch:
1b5b507cd2
CVE-2023-26604-3.patch:
0a42426d79
CVE-2023-26604-4.patch:
b8f736b30e
(From OE-Core rev: 7880eb801dcee44a9e8920d249057492d1de6b12)
Signed-off-by: rajmohan r <rajmohan.r@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
path/filepath: do not Clean("a/../c:/b") into c:\b on Windows
Backport from bdf07c2e16
(From OE-Core rev: 70135bf04eb7173434a7240ddf11639d13aab003)
Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The patch for CVE-2021-3929 applied on dunfell returns a value for a
void function. This results in the following compiler warning/error:
hw/block/nvme.c:77:6: error: void function
'nvme_addr_read' should not return a value [-Wreturn-type]
return NVME_DATA_TRAS_ERROR;
^ ~~~~~~~~~~~~~~~~~~~~
In newer versions of qemu, the functions is changed to have a return
value, but that is not present in the version of qemu used in “dunfell”.
Backport some of the patches to correct this.
(From OE-Core rev: 4ad98f0b27615ad59ae61110657cf69004c61ef4)
Signed-off-by: Gaurav Gupta <gauragup@cisco.com>
Signed-off-by: Gaurav Gupta <gauragup@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
NVD DB store version and update in the same value, separated by '_'.
The proposed patch check if the version from NVD DB contains a "_",
ie 9.2.0_p1 is convert to 9.2.0p1 before version comparison.
[YOCTO #14127]
Reviewed-by: Yoann CONGAL <yoann.congal@smile.fr>
(From OE-Core rev: eb439b1283b60e6665694ff28c89fbd633eda6b0)
Signed-off-by: Geoffrey GIRY <geoffrey.giry@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7d00f6ec578084a0a0e5caf36241d53036d996c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Disable cmd/internal/moddeps test, since this update includes PRIVATE
track fixes.
Backport from 5c3e11bd0b
(From OE-Core rev: 53a303fb5908edaf29e35abb08fff93e7c0ff92c)
Signed-off-by: Shubham Kulkarni <skulkarni@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
The master version of extended package data uses zstd for efficient
compression, but it relies on the zstd tool to be present on the host
system. Since dunfell supports older distros, we don't want to add this
tool as an additional requirement so switch to using gzip instead.
(From OE-Core rev: 1c7d555379c4b0962bccd018870989050d87675f)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The master version of the SPDX classes uses zstd for efficient
compression, but it relies on the zstd tool to be present on the host
system. Since dunfell supports older distros, we don't want to add this
tool as an additional requirement so switch to using gzip instead.
(From OE-Core rev: 55b08fd641767a3d2e080727828ca37d9e610109)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds some missing licenses mappings related to the "+" versions of the
GPL licenses
(From OE-Core rev: 5f9a8809acf1ab4e73c3085b8fd100f4568ebd86)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds extended package data which is encoded as JSON which allows it to
encode more structure than the "flat" package data files. The extended
data might be much larger than the standard package data, so it is not
read by default and instead requires
oe.packagedata.read_subpkgdata_extended() to be called
Currently, the file sizes and ELF debug sources are saved off into the
extended package data
(cherry picked from commit db9cf430e54ae68da80fbc3fba80ce88d8df164d)
(From OE-Core rev: 2318cb79ef1652fb19d696a8d43826e39c22834e)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Reviewed-by: Saul Wold <saul.wold@windriver.com>
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>
Backports the create-spdx classes from the latest versions on master.
This backport is a simple copy with no modifications, as its too
complex to cherry-pick all the corresponding changes. This will give an
appropriate base commit for subsequent changes and if necessary
additional backport cherry-picks from master in the future.
(From OE-Core rev: 48fbddf32ffa3ec44a788f42895c1730a84b5a91)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix:
scripts/pybootchartgui/pybootchartgui/parsing.py:134: SyntaxWarning: "is" with a literal. Did you mean "=="?
if pid is 0:
(From OE-Core rev: 413523515dbb064680841fffa2cfdba8b2bac6f6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9a6511ae618035b8efad01646e37ba28ce1e3f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptestresult_get_log() looked for a key called 'ptestresuls.sections',
which should be 'ptestresult.sections'
(From OE-Core rev: 288609a3bb2760b5bb9d86e9c130b227f9bd5039)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c8c9f7283e54bf8b1521fbaad7dceb66a8fcdbb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
hwclock command fails on read-only-rootfs:
AssertionError: 1 != 0 : Failed to reset RTC time, output: hwclock: cannot open /etc/adjtime: Read-only file system
(From OE-Core rev: 5b85a6fa84b02e7ebae011979456d33b8774dd21)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 017bf8c160f6ab67d9f8e8d9e30b15bf84f73807)
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:
e4b5c766f505 Linux 5.4.237
6a16810068e7 s390/dasd: add missing discipline function
7a934a77f11a UML: define RUNTIME_DISCARD_EXIT
87fcce7a6f86 sh: define RUNTIME_DISCARD_EXIT
eb9dbb70cdd5 s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36
219cc98501ff powerpc/vmlinux.lds: Don't discard .rela* for relocatable builds
4eede1173fb5 powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT
d0fcf59038c5 arch: fix broken BuildID for arm64 and riscv
a4bd6d4df382 x86, vmlinux.lds: Add RUNTIME_DISCARD_EXIT to generic DISCARDS
1aed78cfda7f drm/i915: Don't use BAR mappings for ring buffers with LLC
52fc917855ce ipmi:watchdog: Set panic count to proper value on a panic
dbfae25b0196 ipmi/watchdog: replace atomic_add() and atomic_sub()
f266cdd6796f media: ov5640: Fix analogue gain control
fc9bc831509f PCI: Add SolidRun vendor ID
094a073605b1 macintosh: windfarm: Use unsigned type for 1-bit bitfields
737985dbcb67 alpha: fix R_ALPHA_LITERAL reloc for large modules
2fea235ef07f MIPS: Fix a compilation issue
6b06c4ae64e3 ext4: Fix deadlock during directory rename
a99a61d9e1bf riscv: Use READ_ONCE_NOCHECK in imprecise unwinding stack mode
1a517302dbe0 net/smc: fix fallback failed while sendmsg with fastopen
3a747490f9c3 scsi: megaraid_sas: Update max supported LD IDs to 240
d800996fcf60 btf: fix resolving BTF_KIND_VAR after ARRAY, STRUCT, UNION, PTR
9f2e063dcbe2 netfilter: tproxy: fix deadlock due to missing BH disable
16f3aae1aa2d bnxt_en: Avoid order-5 memory allocation for TPA data
9dc16be373b3 net: caif: Fix use-after-free in cfusbl_device_notify()
8018aa0863d6 net: lan78xx: fix accessing the LAN7800's internal phy specific registers from the MAC driver
1c618f150c82 net: usb: lan78xx: Remove lots of set but unused 'ret' variables
e4e5006c13f3 selftests: nft_nat: ensuring the listening side is up before starting the client
783f218940b3 ila: do not generate empty messages in ila_xlat_nl_cmd_get_mapping()
0a3664a1058d nfc: fdp: add null check of devm_kmalloc_array in fdp_nci_i2c_read_device_properties
43f33642f260 drm/msm/a5xx: fix setting of the CP_PREEMPT_ENABLE_LOCAL register
8dac5a63cf79 ext4: Fix possible corruption when moving a directory
891a3cba425c scsi: core: Remove the /proc/scsi/${proc_name} directory earlier
57f78226b127 cifs: Fix uninitialized memory read in smb3_qfs_tcon()
a6e44cb21534 SMB3: Backup intent flag missing from some more ops
1b48c70feefc iommu/vt-d: Fix PASID directory pointer coherency
985d9fa06b4b irqdomain: Fix domain registration race
01ed8ff22a5b irqdomain: Change the type of 'size' in __irq_domain_add() to be consistent
36c5682cbb46 ipmi:ssif: Add a timer between request retries
e8ba1b693a8b ipmi:ssif: Increase the message retry time
89fb3fa84883 ipmi:ssif: Remove rtc_us_timer
d1a7f56b20da ipmi:ssif: resend_msg() cannot fail
59349bfcffb1 ipmi:ssif: make ssif_i2c_send() void
5e97dc748d13 iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
774c63f53688 iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options
11852cc78f67 iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands
3cdf19a29cc1 nfc: change order inside nfc_se_io error path
0d8a6c9a6415 ext4: zero i_disksize when initializing the bootloader inode
74d775083e9f ext4: fix WARNING in ext4_update_inline_data
b36093c6f772 ext4: move where set the MAY_INLINE_DATA flag is set
c24f83849379 ext4: fix another off-by-one fsmap error on 1k block filesystems
aee90b0278e3 ext4: fix RENAME_WHITEOUT handling for inline directories
1277ba3db6dc drm/connector: print max_requested_bpc in state debugfs
e40c1e9da1ec x86/CPU/AMD: Disable XSAVES on AMD family 0x17
6631c8da02cf fs: prevent out-of-bounds array speculation when closing a file descriptor
b829e8b6e1a7 Linux 5.4.236
6e55d8422373 staging: rtl8192e: Remove call_usermodehelper starting RadioPower.sh
9498448b9ede staging: rtl8192e: Remove function ..dm_check_ac_dc_power calling a script
6ee84b8b7904 wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"
126ee8982bfc Linux 5.4.235
d03bc164f32f dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks
6ab670546319 media: uvcvideo: Fix race condition with usb_kill_urb
0b8962c64bd6 media: uvcvideo: Provide sync and async uvc_ctrl_status_event
2b1c5145b07d tcp: Fix listen() regression in 5.4.229.
800a1c4c8a7f Bluetooth: hci_sock: purge socket queues in the destruct() callback
27c64d90d944 x86/resctl: fix scheduler confusion with 'current'
81da72aaf57a x86/resctrl: Apply READ_ONCE/WRITE_ONCE to task_struct.{rmid,closid}
bde541a57b42 net: tls: avoid hanging tasks on the tx_lock
d94fbfcd9a26 phy: rockchip-typec: Fix unsigned comparison with less than zero
f0ee43d61d8d PCI: Add ACS quirk for Wangxun NICs
f6d3aee1c663 kernel/fail_function: fix memory leak with using debugfs_lookup()
195c1e9f454e usb: uvc: Enumerate valid values for color matching
da4e715a466c USB: ene_usb6250: Allocate enough memory for full object
117097966866 usb: host: xhci: mvebu: Iterate over array indexes instead of using pointer math
f5b76a81665e iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_config_word()
11b4b3b76988 iio: accel: mma9551_core: Prevent uninitialized variable in mma9551_read_status_word()
b854c66dd7a8 tools/iio/iio_utils:fix memory leak
ea9b58789687 mei: bus-fixup:upon error print return values of send and receive
c7ca2ca12a9f tty: serial: fsl_lpuart: disable the CTS when send break signal
953a4a352a0c tty: fix out-of-bounds access in tty_driver_lookup_tty()
70369a11170d staging: emxx_udc: Add checks for dma_alloc_coherent()
2072ed7c1a4a media: uvcvideo: Silence memcpy() run-time false positive warnings
e2cc773f1fc3 media: uvcvideo: Quirk for autosuspend in Logitech B910 and C910
e4c535eccefb media: uvcvideo: Handle errors from calls to usb_string
4e4e6ca62e77 media: uvcvideo: Handle cameras with invalid descriptors
7195e642b49a mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
fde59e273b03 firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3
2cc6a3e98f05 tracing: Add NULL checks for buffer in ring_buffer_free_read_page()
4cfeb55a10b6 thermal: intel: BXT_PMIC: select REGMAP instead of depending on it
e23f1d9e6e03 thermal: intel: quark_dts: fix error pointer dereference
584f664c572f scsi: ipr: Work around fortify-string warning
e93bda4ebb27 rtc: sun6i: Always export the internal oscillator
728b047f4ca3 rtc: sun6i: Make external 32k oscillator optional
9c7c1cf29fc3 vc_screen: modify vcs_size() handling in vcs_read()
821362a2dfaf tcp: tcp_check_req() can be called from process context
77606e383ecb ARM: dts: spear320-hmi: correct STMPE GPIO compatible
dda4f0a424c2 net/sched: act_sample: fix action bind logic
271eed173642 nfc: fix memory leak of se_io context in nfc_genl_se_io
f81af781f98c net/mlx5: Geneve, Fix handling of Geneve object id as error code
4b71f2b54332 9p/rdma: unmap receive dma buffer in rdma_request()/post_recv()
7cc9dbae8a5f 9p/xen: fix connection sequence
9d1c625c99c5 9p/xen: fix version parsing
edfba7b3228a net: fix __dev_kfree_skb_any() vs drop monitor
cec326443f01 sctp: add a refcnt in sctp_stream_priorities to avoid a nested loop
aba298b35619 ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
5d0d38805d32 netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
fe65d6f26ba9 watchdog: pcwd_usb: Fix attempting to access uninitialized memory
59e391b3fc50 watchdog: Fix kmemleak in watchdog_cdev_register
7c428fc97499 watchdog: at91sam9_wdt: use devm_request_irq to avoid missing free_irq() in error path
a8816afcaf1d x86: um: vdso: Add '%rcx' and '%r11' to the syscall clobber list
b5be23f6ae61 ubi: ubi_wl_put_peb: Fix infinite loop when wear-leveling work failed
1cb14c06d603 ubi: Fix UAF wear-leveling entry in eraseblk_count_seq_show()
7fcbc41d762a ubifs: ubifs_writepage: Mark page dirty after writing inode failed
510b80abe8d2 ubifs: dirty_cow_znode: Fix memleak in error handling path
0875edcad42f ubifs: Re-statistic cleaned znode count if commit failed
234c53e57424 ubi: Fix possible null-ptr-deref in ubi_free_volume()
1f206002c6bc ubifs: Fix memory leak in alloc_wbufs()
07b60f7452d2 ubi: Fix unreferenced object reported by kmemleak in ubi_resize_volume()
9c8be1f165ba ubi: Fix use-after-free when volume resizing failed
e86d1b2bb716 ubifs: Reserve one leb for each journal head while doing budget
82c096d0c99a ubifs: do_rename: Fix wrong space budget when target inode's nlink > 1
bf8f5495849d ubifs: Fix wrong dirty space budget for dirty inode
f29168fb527c ubifs: Rectify space budget for ubifs_xrename()
86660306273a ubifs: Rectify space budget for ubifs_symlink() if symlink is encrypted
4ca0d746226f ubifs: Fix build errors as symbol undefined
f7adb740f97b ubi: ensure that VID header offset + VID header size <= alloc, size
6480c3a12755 um: vector: Fix memory leak in vector_config
01c92f033b27 fs: f2fs: initialize fsdata in pagecache_write()
c4a89ebe9205 f2fs: use memcpy_{to,from}_page() where possible
b915fac02098 pwm: stm32-lp: fix the check on arr and cmp registers update
1abd3858023a pwm: sifive: Always let the first pwm_apply_state succeed
30a3636fe6e2 pwm: sifive: Reduce time the controller lock is held
62462a5b4f4d fs/jfs: fix shift exponent db_agl2size negative
7a6fb69bbcb2 net/sched: Retire tcindex classifier
b3d346ece979 kbuild: Port silent mode detection to future gnu make.
68b0cdcfa135 wifi: ath9k: use proper statements in conditionals
96a8424a27ed drm/radeon: Fix eDP for single-display iMac11,2
6e6173886f58 drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv
efc72cceb761 PCI: Avoid FLR for AMD FCH AHCI adapters
bcc1bafb067d PCI: hotplug: Allow marking devices as disconnected during bind/unbind
2a50583117b2 PCI/PM: Observe reset delay irrespective of bridge_d3
40af9a6deed7 scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()
79ec5dd5fb07 scsi: ses: Fix possible desc_ptr out-of-bounds accesses
8e454aba7280 scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
467afb1dd630 scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()
6069e04a922a scsi: ses: Don't attach if enclosure has no components
70e9a93f0945 scsi: qla2xxx: Fix erroneous link down
3a564de3a299 scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests
05a0f6fa52a8 scsi: qla2xxx: Fix link failure in NPIV environment
18d347d1b08e ktest.pl: Add RUN_TIMEOUT option with default unlimited
150ee1fc9080 ktest.pl: Fix missing "end_monitor" when machine check fails
2f42bfc54d3a ktest.pl: Give back console on Ctrt^C on monitor
b53d209d717b mm/thp: check and bail out if page in deferred queue already
24900f35962b mm: memcontrol: deprecate charge moving
964e9e1288fd media: ipu3-cio2: Fix PM runtime usage_count in driver unbind
58c0d0b2d474 mips: fix syscall_get_nr
229edf8d7b76 alpha: fix FEN fault handling
9787b328c42c rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails
7055754dd07c ARM: dts: exynos: correct TMU phandle in Odroid XU
7b6707d66e28 ARM: dts: exynos: correct TMU phandle in Exynos4
3c4a56ef7c53 dm flakey: don't corrupt the zero page
a2be4225c31d dm flakey: fix logic when corrupting a bio
64fbe39232ed thermal: intel: powerclamp: Fix cur_state for multi package system
6f1959c17d4c wifi: cfg80211: Fix use after free for wext
342cb34c5285 wifi: rtl8xxxu: Use a longer retry limit of 48
a92b67e768bd ext4: refuse to create ea block when umounted
3b28c799a133 ext4: optimize ea_inode block expansion
87005d0ab5c4 ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC
84ed1ade54b8 ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()
df129eaa2b88 irqdomain: Drop bogus fwspec-mapping error handling
72232dbe14f9 irqdomain: Fix disassociation race
2101663687e6 irqdomain: Fix association race
f9d93201893d ima: Align ima_file_mmap() parameters with mmap_file LSM hook
4d47cba0741c Documentation/hw-vuln: Document the interaction between IBRS and STIBP
34c1b60e7a80 x86/speculation: Allow enabling STIBP with legacy IBRS
979e197968a1 x86/microcode/AMD: Fix mixed steppings support
727bc2c2856b x86/microcode/AMD: Add a @cpu parameter to the reloading functions
4c26edf2ea23 x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter
a0415b79dd3f x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range
ec206a38d3d2 x86/kprobes: Fix __recover_optprobed_insn check optimizing logic
e4ce333cc66e x86/reboot: Disable SVM, not just VMX, when stopping CPUs
37459195d971 x86/reboot: Disable virtualization in an emergency if SVM is supported
87459b9fce2d x86/crash: Disable virt in core NMI crash handler to avoid double shootdown
ee80fb1dca07 x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)
4c9812d9890d KVM: s390: disable migration mode when dirty tracking is disabled
10c2a20d73e9 KVM: Destroy target device if coalesced MMIO unregistration fails
38a1f5e9fc56 udf: Fix file corruption when appending just after end of preallocated extent
d747b31e2925 udf: Detect system inodes linked into directory hierarchy
ce17ef97de84 udf: Preserve link count of system files
7bd8d9e1cf56 udf: Do not update file length for failed writes to inline files
3d20e3b768af udf: Do not bother merging very long extents
4e41b1c5a272 udf: Truncate added extents on failed expansion
dee96928d8f4 ocfs2: fix non-auto defrag path not working issue
669134a66d37 ocfs2: fix defrag path triggering jbd2 ASSERT
68a47ca95805 f2fs: fix cgroup writeback accounting with fs-layer encryption
2bef8314fcf9 f2fs: fix information leak in f2fs_move_inline_dirents()
3776ef785e10 fs: hfsplus: fix UAF issue in hfsplus_put_super
eda6879272e4 hfs: fix missing hfs_bnode_get() in __hfs_bnode_create
8ecde537edc3 ARM: dts: exynos: correct HDMI phy compatible in Exynos4
e71e6fa07fe4 s390/kprobes: fix current_kprobe never cleared after kprobes reenter
18075c0dc331 s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler
c5db76fcddc1 s390: discard .interp section
a9391f8bc98f ipmi_ssif: Rename idle state and check
0ff4c222bd05 rtc: pm8xxx: fix set-alarm race
69b8af77ef6b firmware: coreboot: framebuffer: Ignore reserved pixel color bits
791402dd0514 wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu
3132aa35cfc2 nfsd: zero out pointers after putting nfsd_files on COPY setup error
38b4d3eacb88 dm cache: add cond_resched() to various workqueue loops
3b46b2cb917e dm thin: add cond_resched() to various workqueue loops
2c055b6a07af drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5
718ce68b3a7f pinctrl: at91: use devm_kasprintf() to avoid potential leaks
4000384684f6 hwmon: (coretemp) Simplify platform device handling
5026260ac2b2 regulator: s5m8767: Bounds check id indexing into arrays
12527ae49d0c regulator: max77802: Bounds check regulator id against opmode
7fae534a304b ASoC: kirkwood: Iterate over array indexes instead of using pointer math
90c278c6d099 docs/scripts/gdb: add necessary make scripts_gdb step
3a9a4a9725c6 drm/msm/dsi: Add missing check for alloc_ordered_workqueue
f9f55fc64928 drm/radeon: free iio for atombios when driver shutdown
5ccd8d09fee5 HID: Add Mapping for System Microphone Mute
341a4c04ed48 drm/omap: dsi: Fix excessive stack usage
d236103782de drm/amd/display: Fix potential null-deref in dm_resume
5bc391944d9e uaccess: Add minimum bounds check on kernel buffer size
0467681f0947 coda: Avoid partial allocation of sig_inputArgs
1a98c4d9263d net/mlx5: fw_tracer: Fix debug print
21856d5615a7 ACPI: video: Fix Lenovo Ideapad Z570 DMI match
c727c1eb58e0 wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup
51c0dca573c0 m68k: Check syscall_trace_enter() return code
87363d1ab55e net: bcmgenet: Add a check for oversized packets
fe00ab1eb3bc ACPI: Don't build ACPICA with '-Os'
8ec82cfe4e74 ice: add missing checks for PF vsi type
f81c0d484a0c inet: fix fast path in __inet_hash_connect()
67e4519afba2 wifi: mt7601u: fix an integer underflow
423a1297ea72 wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds
f3a324362b5e x86/bugs: Reset speculation control settings on init
c8157f67b003 timers: Prevent union confusion from unexpected restart_syscall()
f570968d0154 thermal: intel: Fix unsigned comparison with less than zero
596d1fea0519 rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
17dbe90e13f5 wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()
9e8bf9f95f7a blk-iocost: fix divide by 0 error in calc_lcoefs()
f10001af0f72 ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy
dae4d5ae6b87 udf: Define EFSCORRUPTED error code
824b167fa8dd rpmsg: glink: Avoid infinite loop on intent for missing channel
a41bb59eff7a media: usb: siano: Fix use after free bugs caused by do_submit_urb
2a72e3b6bb08 media: i2c: ov7670: 0 instead of -EINVAL was returned
d120334278b3 media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()
448ce1cd5038 media: i2c: ov772x: Fix memleak in ov772x_probe()
086a80b842bc media: ov5675: Fix memleak in ov5675_init_controls()
ec6bd0dccd9c powerpc: Remove linker flag from KBUILD_AFLAGS
44aef56083aa media: platform: ti: Add missing check for devm_regulator_get
fc85fb57631a remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers
3acbec356d7e MIPS: vpe-mt: drop physical_memsize
a3c920040517 MIPS: SMP-CPS: fix build error when HOTPLUG_CPU not set
1abc7be57c1c powerpc/eeh: Set channel state after notifying the drivers
7719aba7a39c powerpc/eeh: Small refactor of eeh_handle_normal_event()
a39becb905b9 powerpc/rtas: ensure 4KB alignment for rtas_data_buf
0616586eefd0 powerpc/rtas: make all exports GPL
d8ca49859179 powerpc/pseries/lparcfg: add missing RTAS retry status handling
421c59c23aba powerpc/pseries/lpar: add missing RTAS retry status handling
2c5ad2d642a3 clk: Honor CLK_OPS_PARENT_ENABLE in clk_core_is_enabled()
4d178dc25fb6 powerpc/powernv/ioda: Skip unallocated resources when mapping to PE
b1c1b6da5ab0 clk: qcom: gpucc-sdm845: fix clk_dis_wait being programmed for CX GDSC
e3617778eb1b Input: ads7846 - don't check penirq immediately for 7845
ea9c4fbfda69 Input: ads7846 - don't report pressure for ads7845
17761a1c7fcd clk: renesas: cpg-mssr: Remove superfluous check in resume code
8ff19db90352 clk: renesas: cpg-mssr: Use enum clk_reg_layout instead of a boolean flag
330b70949cb4 clk: renesas: cpg-mssr: Fix use after free if cpg_mssr_common_init() failed
f34eb1e4336e mtd: rawnand: sunxi: Fix the size of the last OOB region
cdfdd882fae9 clk: qcom: gcc-qcs404: fix names of the DSI clocks used as parents
b419e91378ed clk: qcom: gcc-qcs404: disable gpll[04]_out_aux parents
588edb4fb1f1 mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()
6e0a0eb18e04 selftests/ftrace: Fix bash specific "==" operator
16a35042ff8a sparc: allow PM configs for sparc32 COMPILE_TEST
090a22f5999d perf tools: Fix auto-complete on aarch64
5d32f3e9227a perf llvm: Fix inadvertent file creation
ce43565a6cd1 gfs2: jdata writepage fix
3524d6da0fe8 cifs: Fix warning and UAF when destroy the MR list
324c0c34fff1 cifs: Fix lost destroy smbd connection when MR allocate failed
a22f1ecab6d4 nfsd: fix race to check ls_layouts
5a195fa41d01 hid: bigben_probe(): validate report count
9f525559ea39 HID: asus: Fix mute and touchpad-toggle keys on Medion Akoya E1239T
bc786dfeb792 HID: asus: Add support for multi-touch touchpad on Medion Akoya E1239T
bad4a822a118 HID: asus: Add report_size to struct asus_touchpad_info
63792d0ae94e HID: asus: Only set EV_REP if we are adding a mapping
25e14bf0c894 HID: bigben: use spinlock to safely schedule workers
715edb0109ca HID: bigben_worker() remove unneeded check on report_field
12533ad8545c HID: bigben: use spinlock to protect concurrent accesses
05cb432c0909 ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared
84beaa3e2eec ASoC: dapm: declare missing structure prototypes
d6250e00bf42 spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()
b89d2ed56406 dm: remove flush_scheduled_work() during local_exit()
e6d9a876d914 hwmon: (mlxreg-fan) Return zero speed for broken fan
870a0f519ac2 spi: bcm63xx-hsspi: Fix multi-bit mode setting
dd271f179806 spi: bcm63xx-hsspi: fix pm_runtime
904b717bb527 scsi: aic94xx: Add missing check for dma_map_single()
3414be1c8cd1 hwmon: (ltc2945) Handle error case in ltc2945_value_store
75a1c3f82232 gpio: vf610: connect GPIO label to dev name
584cb84e2c6d ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()
a161f1d92aab drm/mediatek: Clean dangling pointer on bind error path
b8b166db7885 drm/mediatek: Drop unbalanced obj unref
367c80fb343f drm/mediatek: Use NULL instead of 0 for NULL pointer
a0555f90d823 drm/mediatek: remove cast to pointers passed to kfree
2b59e87c92f0 gpu: host1x: Don't skip assigning syncpoints to channels
3975ea6eaffe drm/msm/mdp5: Add check for kzalloc
2a8bb9dce7fd drm: Initialize struct drm_crtc_state.no_vblank from device settings
9b2f5844903a drm/bridge: Introduce drm_bridge_get_next_bridge()
bb08be7232ef drm/bridge: Rename bridge helpers targeting a bridge chain
2c33a6141de2 drm/exynos: Don't reset bridge->next
dadd30fcc7e3 drm/msm/dpu: Add check for pstates
a6afb8293ec0 drm/msm/dpu: Add check for cstate
8f9fdc830d6d drm/msm: use strscpy instead of strncpy
d7ea84cddf81 drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness
a9eafb0448ab ALSA: hda/ca0132: minor fix for allocation size
a80767caeddc ASoC: fsl_sai: initialize is_dsp_mode flag
95ab6d7905eb pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain
fc34608fa275 drm/msm/hdmi: Add missing check for alloc_ordered_workqueue
62430b3210c8 gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()
31701e54d318 drm/vc4: dpi: Fix format mapping for RGB565
d66f26b93c13 drm/vc4: dpi: Add option for inverting pixel clock and output enable
7ddd8a5ecf6f drm/bridge: megachips: Fix error handling in i2c_register_driver()
d56e589f8b6f drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC
c879003a6f5e drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats
c82ca67ca01b selftest: fib_tests: Always cleanup before exit
c31985922ec9 selftests/net: Interpret UDP_GRO cmsg data as an int value
616574788880 irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts
3947b16613ef irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts
d77209007869 can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error
3cf2181e438f thermal/drivers/hisi: Drop second sensor hi3660
21c701cbc84e wifi: mac80211: make rate u32 in sta_set_rate_info_rx()
b70d56e728ff crypto: crypto4xx - Call dma_unmap_page when done
a3b75b1e767a wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()
c002d2741400 wifi: iwl4965: Add missing check for create_singlethread_workqueue()
7e594abc0424 wifi: iwl3945: Add missing check for create_singlethread_workqueue
5de7a4254eb2 treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()
9198eefd1053 usb: gadget: udc: Avoid tasklet passing a global
cf04507f425b RISC-V: time: initialize hrtimer based broadcast clock event device
142bcf724056 m68k: /proc/hardware should depend on PROC_FS
c4d8c23efed6 crypto: rsa-pkcs1pad - Use akcipher_request_complete
8c1447495f05 rds: rds_rm_zerocopy_callback() correct order for list_add_tail()
291e6a682008 libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()
60aaccf16d1e Bluetooth: L2CAP: Fix potential user-after-free
d19bd48535fc OPP: fix error checking in opp_migrate_dentry()
522d319cda95 tap: tap_open(): correctly initialize socket uid
d92d87000eda tun: tun_chr_open(): correctly initialize socket uid
11c9c7227273 net: add sock_init_data_uid()
276ccbc15feb mptcp: add sk_stop_timer_sync helper
07fceab32096 irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe
c7d78d36e19e irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe
9e79ac4f70fd irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains
7cce0c9fdd3f net/mlx5: Enhance debug print in page allocation failure
dbd6ae095674 powercap: fix possible name leak in powercap_register_zone()
63551e4b7cbc crypto: seqiv - Handle EBUSY correctly
c61e7d182ee3 crypto: essiv - Handle EBUSY correctly
bfef5e3e7375 crypto: essiv - remove redundant null pointer check before kfree
2d1ac2f2e2be crypto: ccp - Failure on re-initialization due to duplicate sysfs filename
40627e6e291c ACPI: battery: Fix missing NUL-termination with large strings
bf6dc175a2b5 wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()
cd8316767099 wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails
c3ff385b948d ath9k: htc: clean up statistics macros
a49c13eccea4 ath9k: hif_usb: simplify if-if to if-else
564bc2222bf5 wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function
17a0e61cd982 wifi: orinoco: check return value of hermes_write_wordrec()
573dfeba2d4e ACPICA: nsrepair: handle cases without a return value correctly
987b0ff1b9d9 lib/mpi: Fix buffer overrun when SG is too long
b55ada30b5cd genirq: Fix the return type of kstat_cpu_irqs_sum()
6b9f61c8b821 ACPICA: Drop port I/O validation for some regions
c300697690e2 crypto: x86/ghash - fix unaligned access in ghash_setkey()
0c4f20c8fc7d wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()
14ba31bb1b66 wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()
38ef77720371 wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()
1879fe9e4016 wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()
0b7b7347449f wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()
318005127c80 wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()
d869a1895052 wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()
a12610e83789 wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()
a6059cf02a0d wilc1000: let wilc_mac_xmit() return NETDEV_TX_OK
112c1af02b8f wifi: ipw2200: fix memory leak in ipw_wdev_init()
ba1d3623fea5 wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()
0d438ae7bac9 ipw2x00: switch from 'pci_' to 'dma_' API
28ea268d95e5 wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()
5d171ab48b42 rtlwifi: fix -Wpointer-sign warning
5dd30d1acc70 wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()
23b34e08de5c wifi: libertas: fix memory leak in lbs_init_adapter()
1864b22e238c wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()
9004aa391a1a net/wireless: Delete unnecessary checks before the macro call “dev_kfree_skb”
fe4d7280cf4d wifi: rsi: Fix memory leak in rsi_coex_attach()
82d68c324497 block: bio-integrity: Copy flags when bio_integrity_payload is cloned
084cd75643b6 sched/rt: pick_next_rt_entity(): check list_entry
0ff7ba5e8bbd sched/deadline,rt: Remove unused parameter from pick_next_[rt|dl]_entity()
ee986d80acde s390/dasd: Fix potential memleak in dasd_eckd_init()
8bc5a76268fb s390/dasd: Prepare for additional path event handling
946515fad41a blk-mq: correct stale comment of .get_budget
2dc5f68fe664 blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait
8c225150ea27 blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx
260dcf1ccdc6 block: Limit number of items taken from the I/O scheduler in one go
578c8f09c04b Revert "scsi: core: run queue if SCSI device queue isn't ready and queue is idle"
2d3c3aa4123a arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node
38af86810d48 ARM: dts: imx7s: correct iomuxc gpr mux controller cells
7fe5dc2fee91 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name
8b7aa62f4a3a arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name
d5fbeae6d608 arm64: dts: amlogic: meson-gx: add missing unit address to rng node name
c5cd41bd10e2 arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible
1e3ec4d1d7f3 arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name
e515d4118583 arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name
1e1b84b0220b ARM: imx: Call ida_simple_remove() for ida_simple_get
b0a1b2f3ef90 ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato
91ac4bf35ad6 ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()
af3352c16efd arm64: dts: meson: remove CPU opps below 1GHz for G12A boards
9dd61d95429b arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address
cba890c4bd9d arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name
69bdc5d01406 arm64: dts: meson-gx: Fix Ethernet MAC address unit name
ede0334bf4df ARM: zynq: Fix refcount leak in zynq_early_slcr_init
45b44ba5dfc9 arm64: dts: qcom: qcs404: use symbol names for PCIe resets
8041f9a2a958 ARM: OMAP2+: Fix memory leak in realtime_counter_init()
dd08e68d04d0 HID: asus: use spinlock to safely schedule workers
136a9bcc0ed2 HID: asus: use spinlock to protect concurrent accesses
9a25b22fd577 HID: asus: Remove check for same LED brightness on set
(From OE-Core rev: 4279a46f94a535a0b389f27c5c3b1e16aa9eb63d)
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:
a103859aaa71 Linux 5.4.234
a1e89c8b29d0 USB: core: Don't hold device lock while reading the "descriptors" sysfs file
96d380d2ae98 USB: serial: option: add support for VW/Skoda "Carstick LTE"
91c877d4311f dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size
465ce31a2bcc vc_screen: don't clobber return value in vcs_read
ee8cd3abe722 net: Remove WARN_ON_ONCE(sk->sk_forward_alloc) from sk_stream_kill_queues().
db25b41eb531 bpf: bpf_fib_lookup should not return neigh in NUD_FAILED state
23affaed760b HID: core: Fix deadloop in hid_apply_multiplier.
93b17c7e1e1c neigh: make sure used and confirmed times are valid
bc4601ad979a IB/hfi1: Assign npages earlier
98e626c115f8 btrfs: send: limit number of clones and allocated memory size
ae03fa7ad343 ACPI: NFIT: fix a potential deadlock during NFIT teardown
785bde845991 ARM: dts: rockchip: add power-domains property to dp node on rk3288
da2bba879eca arm64: dts: rockchip: drop unused LED mode property from rk3328-roc-cc
(From OE-Core rev: 75c94d4da6cc2efba436bcb3b5cec5ebc9a76151)
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:
69f65d442efe Linux 5.4.233
c6cc0121d44d bpf: add missing header file include
5d873a6c658f Revert "net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs"
99e3fd21f8fc ext4: Fix function prototype mismatch for ext4_feat_ktype
6f86bb6f853f wifi: mwifiex: Add missing compatible string for SD8787
6c750ed0367f uaccess: Add speculation barrier to copy_from_user()
4d2e5de071fd mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh
787ef0db0140 drm/i915/gvt: fix double free bug in split_2MB_gtt_entry
100cf2af1b39 alarmtimer: Prevent starvation by small intervals and SIG_IGN
dab2066c5fff powerpc: dts: t208x: Disable 10G on MAC1 and MAC2
113e0cde39bb can: kvaser_usb: hydra: help gcc-13 to figure out cmd_len
f93a1a5bdcdd KVM: VMX: Execute IBPB on emulated VM-exit when guest has IBRS
db209f39f1d1 KVM: x86: Fail emulation during EMULTYPE_SKIP on any exception
dc399695dfe9 random: always mix cycle counter in add_latent_entropy()
eff0e02f7d3f powerpc: dts: t208x: Mark MAC1 and MAC2 as 10G
ead0689bd6fd wifi: rtl8xxxu: gen2: Turn on the rate control
0a77a966aa4a drm/etnaviv: don't truncate physical page address
fa2845b21671 drm: etnaviv: fix common struct sg_table related issues
4626550b09ea scatterlist: add generic wrappers for iterating over sgtable objects
fe3e217272a8 dma-mapping: add generic helpers for mapping sgtable objects
64121e2adf7d Linux 5.4.232
8b47e324af71 iommu/amd: Pass gfp flags to iommu_map_page() in amd_iommu_map()
7519069f1fb8 net: sched: sch: Fix off by one in htb_activate_prios()
5660a6ffa7a4 ASoC: SOF: Intel: hda-dai: fix possible stream_tag leak
52844d8382cd nilfs2: fix underflow in second superblock position calculations
9f95a161a7de kvm: initialize all of the kvm_debugregs structure before sending it to userspace
9f4abf204827 i40e: Add checking for null for nlmsg_find_attr()
e71554a09edf ipv6: Fix tcp socket connection with DSCP.
388886f9708e ipv6: Fix datagram socket connection with DSCP.
905199dac226 ixgbe: add double of VLAN header when computing the max MTU
df099e65564a net: mpls: fix stale pointer if allocation fails during device rename
736f8f66d7a9 net: stmmac: Restrict warning on disabling DMA store and fwd mode
1a2c7951424c bnxt_en: Fix mqprio and XDP ring checking logic
de44bdebcfe4 net: stmmac: fix order of dwmac5 FlexPPS parametrization sequence
a753352622b4 net/usb: kalmia: Don't pass act_len in usb_bulk_msg error path
0c2651c76369 dccp/tcp: Avoid negative sk_forward_alloc by ipv6_pinfo.pktoptions.
a4e9411769a7 sctp: sctp_sock_filter(): avoid list_entry() on possibly empty list
e1b54b561250 net: bgmac: fix BCM5358 support by setting correct flags
8a4d05b0ffc8 i40e: add double of VLAN header when computing the max MTU
fdeb4c258bc6 ixgbe: allow to increase MTU to 3K with XDP enabled
32d81fd54e4e revert "squashfs: harden sanity check in squashfs_read_xattr_id_table"
4c8011e77c27 net: Fix unwanted sign extension in netdev_stats_to_stats64()
6b08c9fc72c6 Revert "mm: Always release pages to the buddy allocator in memblock_free_late()."
8c07792e79cf hugetlb: check for undefined shift on 32 bit architectures
7caeb5457bd0 sched/psi: Fix use-after-free in ep_remove_wait_queue()
6c38aa4020b6 ALSA: hda/realtek - fixed wrong gpio assigned
6e0ef3fc6560 ALSA: hda/conexant: add a new hda codec SN6180
e9b488d60f51 mmc: mmc_spi: fix error handling in mmc_spi_probe()
761db46b29b4 mmc: sdio: fix possible resource leaks in some error paths
98895c225e28 ipv4: Fix incorrect route flushing when source address is deleted
04a331c9dd66 Revert "ipv4: Fix incorrect route flushing when source address is deleted"
85eda8088334 xfs: sync lazy sb accounting on quiesce of read-only mounts
fb8ee907c145 xfs: prevent UAF in xfs_log_item_in_current_chkpt
7c07806ab05c xfs: fix the forward progress assertion in xfs_iwalk_run_callbacks
313699d5053c xfs: ensure inobt record walks always make forward progress
7f9309a9f580 xfs: fix missing CoW blocks writeback conversion retry
6246b3a18f7e xfs: only relog deferred intent items if free space in the log gets low
09d61814476c xfs: expose the log push threshold
5d711e41361c xfs: periodically relog deferred intent items
870e7d710843 xfs: change the order in which child and parent defer ops are finished
f5af1d5c2dfe xfs: fix an incore inode UAF in xfs_bui_recover
efcdc2e70e01 xfs: clean up xfs_bui_item_recover iget/trans_alloc/ilock ordering
abad319deef5 xfs: clean up bmap intent item recovery checking
6601531db861 xfs: xfs_defer_capture should absorb remaining transaction reservation
411b14e68c68 xfs: xfs_defer_capture should absorb remaining block reservations
3324249e6ecd xfs: proper replay of deferred ops queued during log recovery
1c89c0430561 xfs: fix finobt btree block recovery ordering
6678b2787bb4 xfs: log new intent items created as part of finishing recovered intent items
562da8e70463 xfs: refactor xfs_defer_finish_noroll
42a2406f9015 xfs: turn dfp_intent into a xfs_log_item
e11f1516fc9f xfs: merge the ->diff_items defer op into ->create_intent
e84096edf886 xfs: merge the ->log_item defer op into ->create_intent
64b21eaa33f5 xfs: factor out a xfs_defer_create_intent helper
d24633f3c258 xfs: remove the xfs_inode_log_item_t typedef
e0373eeaaaa3 xfs: remove the xfs_efd_log_item_t typedef
94e0639992dd xfs: remove the xfs_efi_log_item_t typedef
83ef55c4281f netfilter: nft_tproxy: restrict to prerouting hook
b6ac5e6be513 btrfs: free device in btrfs_close_devices for a single device filesystem
4326d0080f7e aio: fix mremap after fork null-deref
62b19b9f3a0d nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
16409f7d9ca5 s390/decompressor: specify __decompress() buf len to avoid overflow
fbe71c5dacaa net: sched: sch: Bounds check priority
09561d5e6ab0 net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC
a74d3b0ea984 net/rose: Fix to not accept on connected socket
ec54c946b412 tools/virtio: fix the vringh test for virtio ring changes
6644685f7971 ASoC: cs42l56: fix DT probe
d23b66b16e30 selftests/bpf: Verify copy_register_state() preserves parent/live fields
a94695e0f9c6 migrate: hugetlb: check for hugetlb shared PMD in node migration
bcd34f1eea88 bpf: Always return target ifindex in bpf_fib_lookup
776f2ccfdcef nvme-pci: Move enumeration by class to be last in the table
5c8680988279 arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive
4b97dab7cd98 arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive
f0302e98edc8 arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive
1509e9391616 riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte
bb3187311ec2 ceph: flush cap releases when the session is flushed
9b5d37d3288d usb: typec: altmodes/displayport: Fix probe pin assign check
d9758f7deb5a usb: core: add quirk for Alcor Link AK9563 smartcard reader
43379fcacea2 net: USB: Fix wrong-direction WARNING in plusb.c
1bcb431237f1 pinctrl: intel: Restore the pins that used to be in Direct IRQ mode
2b763f7de108 pinctrl: single: fix potential NULL dereference
cc1affa23403 pinctrl: aspeed: Fix confusing types in return value
f209431be199 ALSA: pci: lx6464es: fix a debug loop
1aab663ecb78 selftests: forwarding: lib: quote the sysctl values
ba38eacade35 rds: rds_rm_zerocopy_callback() use list_first_entry()
87a5e3fc8416 ice: Do not use WQ_MEM_RECLAIM flag for workqueue
f312958f588a ionic: clean interrupt before enabling queue to avoid credit race
a532f7ebf9fd net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY
73b8e217fe6f bonding: fix error checking in bond_debug_reregister()
c89ddf134c53 xfrm: fix bug with DSCP copy to v6 from v4 tunnel
80282a3d103f RDMA/usnic: use iommu_map_atomic() under spin_lock()
fe4d70866839 iommu: Add gfp parameter to iommu_ops::map
4a779187db39 IB/IPoIB: Fix legacy IPoIB due to wrong number of queues
7896accedf5b IB/hfi1: Restore allocated resources on failed copyout
ae774f480da3 can: j1939: do not wait 250 ms if the same addr was already claimed
56ee31167ce5 tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw
039f935ae009 ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
7e43bb69bc6f btrfs: zlib: zero-initialize zlib workspace
ed29d8b309b5 btrfs: limit device extents to the device size
9f296c615ec4 iio:adc:twl6030: Enable measurement of VAC
9cf5e99c1ae1 wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads
e5142a4935c1 f2fs: fix to do sanity check on i_extra_isize in is_alive()
3b3d3127f5b4 fbdev: smscufx: fix error handling code in ufx_usb_probe
8edda487f085 powerpc/imc-pmu: Revert nest_init_lock to being a mutex
fc8548c75c03 serial: 8250_dma: Fix DMA Rx rearm race
71d6b277c4e5 serial: 8250_dma: Fix DMA Rx completion race
ec5b4ca3d30b xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
5af2f74f9074 mm: swap: properly update readahead statistics in unuse_pte_range()
ce62df33fcff nvmem: core: fix cell removal on error
1369322c1de5 Squashfs: fix handling and sanity checking of xattr_ids count
d49c85a19133 mm/swapfile: add cond_resched() in get_swap_pages()
c127bf9a952a fpga: stratix10-soc: Fix return value check in s10_ops_write_init()
6d86b4ceb09b mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps
845a3708f04f riscv: disable generation of unwind tables
c89af52d91ca parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case
8e6cc45ba8ab parisc: Fix return code of pdc_iodc_print()
7f5df45fcb26 iio:adc:twl6030: Enable measurements of VUSB, VBAT and others
4b82cc9f7f05 iio: adc: berlin2-adc: Add missing of_node_put() in error path
a300e358c6fc iio: hid: fix the retval in accel_3d_capture_sample
2035cfb9586f efi: Accept version 2 of memory attributes table
f6ea834e8dce watchdog: diag288_wdt: fix __diag288() inline assembly
78e55b52b205 watchdog: diag288_wdt: do not use stack buffers for hardware data
4abcd352a022 fbcon: Check font dimension limits
e00d6a74c3c4 Input: i8042 - add Clevo PCX0DX to i8042 quirk table
faed5af8a9c3 Input: i8042 - add TUXEDO devices to i8042 quirk tables
ee77a19ee5b3 Input: i8042 - merge quirk tables
a789c05516a4 Input: i8042 - move __initconst to fix code styling warning
d0332cbf53da vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF
5bf0010b87be usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait
db3798943ab7 usb: dwc3: qcom: enable vbus override when in OTG dr-mode
fefffc782500 usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API
e4650c04de90 iio: adc: stm32-dfsdm: fill module aliases
165511b99ebc net/x25: Fix to not accept on connected socket
b05664e036e1 i2c: rk3x: fix a bunch of kernel-doc warnings
d4d765f4761f scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress
6122ce1de1b2 scsi: target: core: Fix warning on RT kernels
d92a25627bcd efi: fix potential NULL deref in efi_mem_reserve_persistent
ed6c5e8caf55 net: openvswitch: fix flow memory leak in ovs_flow_cmd_new
743f7b51fe7c virtio-net: Keep stop() to follow mirror sequence of open()
aed972fbf6fa selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking
df1213a26704 selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs
6c70ece3d374 selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided
d47f886d0c38 selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning
db3f016ad500 ata: libata: Fix sata_down_spd_limit() when no link speed is reported
6950df42a03c can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate
cb079b077026 net: phy: meson-gxl: Add generic dummy stubs for MMD register access
db76fc535fbd squashfs: harden sanity check in squashfs_read_xattr_id_table
dffe83a198a6 netfilter: br_netfilter: disable sabotage_in hook after first suppression
20355b9569bd netrom: Fix use-after-free caused by accept on already connected socket
03eb2a1b03f3 fix "direction" argument of iov_iter_kvec()
34b0fab797f0 fix iov_iter_bvec() "direction" argument
50b70599c00b WRITE is "data source", not destination...
21081886de0c scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT"
14be8b0c4eed arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX
d6870f3800db ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path()
412fddc09612 ASoC: Intel: bytcr_rt5651: Drop reference count of ACPI device after use
79dfde344e0f bus: sunxi-rsb: Fix error handling in sunxi_rsb_init()
53785fd9b315 firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region
(From OE-Core rev: ad0877d917c2213fd7129ad9571f259d836cc75a)
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:
59342376e8f0 Linux 5.4.231
268d595d4da3 Revert "xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()"
6c24a20223db usb: host: xhci-plat: add wakeup entry at sysfs
1c1291a84e94 Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt
af51fc23a03f ipv6: ensure sane device mtu in tunnels
a7cc1b5d76a2 exit: Use READ_ONCE() for all oops/warn limit reads
eb768617dafa docs: Fix path paste-o for /sys/kernel/warn_count
6f18d28c2634 panic: Expose "warn_count" to sysfs
7c1273646f7e panic: Introduce warn_limit
51538bdde3c2 panic: Consolidate open-coded panic_on_warn checks
7020a9234e86 exit: Allow oops_limit to be disabled
5a3482f2c1cc exit: Expose "oops_count" to sysfs
28facdf7b097 exit: Put an upper limit on how often we can oops
3fa431bac23c ia64: make IA64_MCA_RECOVERY bool instead of tristate
86926761ca80 csky: Fix function name in csky_alignment() and die()
3bf1fa2c7b0f h8300: Fix build errors from do_exit() to make_task_dead() transition
fcae924b945e hexagon: Fix function name in die()
49a128ae2823 objtool: Add a missing comma to avoid string concatenation
9a18c9c8336f exit: Add and use make_task_dead.
2f87e255123f mm: kasan: do not panic if both panic_on_warn and kasan_multishot set
119f6bcef753 panic: unset panic_on_warn inside panic()
f6c20ed17ef0 sysctl: add a new register_sysctl_init() interface
dbe634ce8243 dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init
1986cd616b63 blk-cgroup: fix missing pd_online_fn() while activating policy
4923160393b0 bpf: Skip task with pid=1 in send_signal_common()
bd393f0ad5b5 ARM: dts: imx: Fix pca9547 i2c-mux node name
8667280a673a x86/asm: Fix an assembler warning with current binutils
1a5119369a50 clk: Fix pointer casting to prevent oops in devm_clk_release()
fbf7b0e4cef3 perf/x86/amd: fix potential integer overflow on shift of a int
f571e340050d netfilter: conntrack: unify established states for SCTP paths
8770cd9d7c14 x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL
4d1757f9fe57 block: fix and cleanup bio_check_ro
3a10a4d5d08a nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted
52462669581f Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode"
f7a564412931 net: mdio-mux-meson-g12a: force internal PHY off on mux switch
2635c4fd91ca net: xgene: Move shared header file into include/linux
a70b966c6c1e net/phy/mdio-i2c: Move header file to include/linux/mdio
a9a022a0db1a net/tg3: resolve deadlock in tg3_reset_task() during EEH
92a65b0f207b thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type()
e249cea3abd5 net: ravb: Fix possible hang if RIS2_QFF1 happen
a7585028ac0a sctp: fail if no bound addresses can be used for a given scope
dae05cd3716f net/sched: sch_taprio: do not schedule in taprio_reset()
fe9b9e621ceb netrom: Fix use-after-free of a listening socket.
67ac3b4cd551 netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE
8f0eb24f1a7a ipv4: prevent potential spectre v1 gadget in fib_metrics_match()
746db9ec1e67 ipv4: prevent potential spectre v1 gadget in ip_metrics_convert()
4cde1d2f16b6 netlink: annotate data races around sk_state
c64bb8547160 netlink: annotate data races around dst_portid and dst_group
ea11a52f55c9 netlink: annotate data races around nlk->portid
cfdd81ae4752 netfilter: nft_set_rbtree: skip elements in transaction from garbage collection
ddd49cbbd4c1 net: fix UaF in netns ops registration error path
3e5082b1c66c netlink: prevent potential spectre v1 gadgets
66e10d5f3996 EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info
594618c701ac EDAC/device: Respect any driver-supplied workqueue polling value
a536d87ec73f ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment
768e8cdf93e7 thermal: intel: int340x: Protect trip temperature from concurrent updates
aa33d334bd7e KVM: x86/vmx: Do not skip segment attributes if unusable bit is set
91be54849d53 cifs: Fix oops due to uncleared server->smbd_conn in reconnect
bcb65adaa9a1 ftrace/scripts: Update the instructions for ftrace-bisect.sh
31b2414abeaa trace_events_hist: add check for return value of 'create_hist_field'
76b2390fdc80 tracing: Make sure trace_printk() can output as soon as it can be used
4a4a22dda0a3 module: Don't wait for GOING modules
1cd70d842731 scsi: hpsa: Fix allocation size for scsi_host_alloc()
4d55f918e1cd Bluetooth: hci_sync: cancel cmd_timer if hci_open failed
e588a5872d41 Revert "Revert "xhci: Set HCD flag to defer primary roothub registration""
8eb5a68064a5 fs: reiserfs: remove useless new_opts in reiserfs_remount
a61bc9197d90 netfilter: conntrack: do not renew entry stuck in tcp SYN_SENT state
d39117d7797f Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID"
b4253b47bf5e mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting
14b70b4b4a1c mmc: sdhci-esdhc-imx: disable the CMD CRC check for standard tuning
7e66f28ce510 mmc: sdhci-esdhc-imx: clear pending interrupt and halt cqhci
a58c144b9e69 lockref: stop doing cpu_relax in the cmpxchg loop
d6ff82a4d712 platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
295690bb0596 platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD
890d850cb25b scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id
45b3fc9cc64b KVM: s390: interrupt: use READ_ONCE() before cmpxchg()
dc0867c44722 spi: spidev: remove debug messages that access spidev->spi without locking
0dfd34fb4506 ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets
9e02118045f8 ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC
3163f4ed49bd cpufreq: armada-37xx: stop using 0 as NULL pointer
1ec79234c20a s390/debug: add _ASM_S390_ prefix to header guard
18699224059c drm: Add orientation quirk for Lenovo ideapad D330-10IGL
aff2bc578482 ASoC: fsl_micfil: Correct the number of steps on SX controls
1c587aa6cd23 cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist
8cca0afccefd tcp: fix rate_app_limited to default to 1
11a4d51a4f18 net: dsa: microchip: ksz9477: port map correction in ALU table entry register
02a4a7dc90c2 driver core: Fix test_async_probe_init saves device in wrong array
276052159ba9 w1: fix WARNING after calling w1_process()
82867190ce30 w1: fix deadloop in __w1_remove_master_device()
c9ada353403d tcp: avoid the lookup process failing to get sk in ehash table
e963b33723f7 dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node()
9b4482267eee dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
fe39e74a6435 dmaengine: xilinx_dma: use devm_platform_ioremap_resource()
d3065cc56221 HID: betop: check shape of output reports
d16b83c804ad net: macb: fix PTP TX timestamp failure due to packet padding
18dd3b30d4c7 dmaengine: Fix double increment of client_count in dma_chan_get()
cbed756bd198 drm/panfrost: fix GENERIC_ATOMIC64 dependency
914c58fec1a6 net: mlx5: eliminate anonymous module_init & module_exit
7335ba0c0345 usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
a8d40942df07 usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait
edec50677b41 HID: revert CHERRY_MOUSE_000C quirk
efa29f4ba01e net: stmmac: fix invalid call to mdiobus_get_phy()
8c3653c4e71f HID: check empty report_list in bigben_probe()
89e7fe3999e0 HID: check empty report_list in hid_validate_values()
8a7b9560a3a8 net: mdio: validate parameter addr in mdiobus_get_phy()
ce1e79bf31aa net: usb: sr9700: Handle negative len
4fd6a6b1019e l2tp: Don't sleep and disable BH under writer-side sk_callback_lock
7188c37f3c25 l2tp: Serialize access to sk_user_data with sk_callback_lock
24c7614d31c8 net: fix a concurrency bug in l2tp_tunnel_register()
1200388a0b1c net/sched: sch_taprio: fix possible use-after-free
9042a9a3f29c wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid
de0e084f85ff gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode
8df414fce41c net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs
a59cdbda3714 net: nfc: Fix use-after-free in local_cleanup()
2a05d513d2b9 phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on()
81b3374944d2 bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation
8b35c7f6920d amd-xgbe: Delay AN timeout during KR training
b85e0bb478fd amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
3d41f4eeabd0 affs: initialize fsdata in affs_truncate()
03965f8ad2cd IB/hfi1: Fix expected receive setup error exit issues
f5c918dc4ed9 IB/hfi1: Reserve user expected TIDs
d307c75f4328 IB/hfi1: Reject a zero-length user expected buffer
902063a9fea5 RDMA/core: Fix ib block iterator counter overflow
048c17b619b4 tomoyo: fix broken dependency on *.conf.default
8d23f5d25264 EDAC/highbank: Fix memory leak in highbank_mc_probe()
97445814efcd HID: intel_ish-hid: Add check for ishtp_dma_tx_map
4be51ea91a8b ARM: imx: add missing of_node_put()
12a763015b83 ARM: imx35: Retrieve the IIM base address from devicetree
3b76bc159878 ARM: imx31: Retrieve the IIM base address from devicetree
61669e6dec15 ARM: imx27: Retrieve the SYSCTRL base address from devicetree
d4e913bad2b5 ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts'
6d7f38426895 memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe()
8959188b2f31 memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe()
310268050d58 clk: Provide new devm_clk helpers for prepared and enabled clocks
c7ef7185a15f clk: generalize devm_clk_get() a bit
(From OE-Core rev: 13e4ca633d1f0897b5bbe1b40d399faa95bac24c)
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>
import patches from ubuntu to fix
CVE-2020-15469
CVE-2020-15859
CVE-2020-17380
CVE-2020-35504
CVE-2020-35505
CVE-2021-3409
CVE-2022-26354
https://git.launchpad.net/ubuntu/+source/qemu/tree/debian/patches?h=ubuntu/focal-security
Combine patches for both CVE-2020-25085 and CVE-2021-3409 also fix CVE-2020-17380.
so mark CVE-2020-17380 fixed by CVE-2021-3409 patches. CVE-2020-17380 patch backported since
oecore rev 6b4c58a31ec11e557d40c31f2532985dd53e61eb.
(From OE-Core rev: 3ee2e9027d57dd5ae9f8795436c1acd18a9f1e24)
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>
The script generated by the sdk_ext_postinst function was not quoting
the user existing PATH when updating it causing the export command to
fail.
Add necessary double quotes around $PATH.
(From OE-Core rev: b8298401c710146ae35f282048b66d5773a513ed)
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 00e96bf250eaaded839caf465dbc0af5b604aed7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment-setup script generated by the recipe was not quoting the
user existing PATH when updating it causing the export command to fail.
Add necessary double quotes around $PATH.
(From OE-Core rev: ad6aaa77f1d08b4ca66f46e318f1a09b645d9e23)
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 42177ff2d45ee70ad00917bb6fbabca49dae4f59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The environment-setup script generated by the recipe was not quoting the
user existing PATH when updating it causing the export command to fail.
Add necessary double quotes around $PATH.
(From OE-Core rev: 9ececa2c36eff7c954d92e9d13a2fe8c1fae9bd2)
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2d4c032bf3187aaa953a0c33a999074e695f54bb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
glibc has it's dependencies handled more manually due to it's place
in the toolchain bootstrap. It depends upon the compiler and indirectly
through that to binutils. This did mean that if binutils changes and the
compiler does not, sstate and hash equivalence could mean that glibc
wouldn't rebuild.
Add a direct dependency on binutils that if it changes, it forces glibc
to rebuild, as it should.
(From OE-Core rev: ea6d768d0910e2076a971bdba57605dd9d68763a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4a7b3decff636292f5e76e95406a22b6fe4a994)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous fix wasn't enough to address all the possible ways the
manifests might be ordered. Rework the previous fix so it is tied
to the multilib cross-canadian code which is causing the problem.
RECIPE_SYSROOT_MANIFEST_SUBDIR is not documented as I'd hope nobody
ever needs to use this outside the core multilib code.
(From OE-Core rev: 271ac31e15d00d636e888a1f3b7d4e22e0b8267a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit beab42e00713880cd95a04729c892f8662fbcbed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"""
require conf/multilib.conf
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"
bitbake gcc-cross-canadian-arm
"""
and then inspecting the lib32* manifest files under recipe-sysroot-native shows
them referencing lib32-recipe-sysroot instead of recipe-sysroot as used by
gcc-cross-canadian recipes.
To fix this separate out the manifest by multilib. It is caching mechanism to
optimise disk usage so this doesn't break anything, just separated out some files.
(From OE-Core rev: eb9c6f7ac91431a6296789c23900f2a3016ef619)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 891d3faa3ed3d1cc231da58e5fa1325f05d5ade5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Per default systemd use a pager for the output of most of its tools
and it expect this pager to be color capable. But that is not the case
when the busybox `less` is used, which lead to output garbled by color
escape sequences.
To fix this issue add a profile frament that disable the systemd pager
when busybox `less` is detected.
(From OE-Core rev: 06271fd8d26bc34448524157077c23eb1ea29c52)
Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit de7e36a7858ebca4615975967fcad1c399eacdb0)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Clause II.3 of the Vim license states that any distribution of Vim that
has been extended or modified must _at least_ indicate in the :version
output that this is the case.
Handily, Vim has a --with-modified-by argument to add a line in that
text, so use MAINTAINER. This is the distribution maintainer contact,
by default it is OE-Core Developers
<openembedded-core@lists.openembedded.org>.
(From OE-Core rev: e630b404b1d1797be5e915592a6ef71e34aaf680)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit acc007e23445aa53182e13902dd9509c39dd5645)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This incorporates fixes for CVE-2023-1127, CVE-2023-1170, CVE-2023-1175.
Also remove runtime/doc/uganda.txt from the license checksum: the Vim
license is also in the top-level LICENSE file so this is redundant.
(From OE-Core rev: 9351cd3bf259260c17e7c99612b3c28d58a89bf3)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 71111e6b62d37c5e6853d7940dec2993df127a35)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgconfig is being required to find dependencies for building kernel
native tools, move "inherit pkgconfig" to kernel.bbclass so BSP kernel
recipes can also benefit from it.
(From OE-Core rev: a5e62888768be641d5da00fd847e0cac96820c75)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8a84bd98e3fbc16c782f83064801e469d086911e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vim uses pkgconfig to find dependencies but it wasn't present, so it
silently doesn't enable features like GTK+ UI.
[ YOCTO #15044 ]
(From OE-Core rev: c84f0822e7cffc62e2f042bf9d2e424f85f74ecd)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 70900616298f5e70732a34e7406e585e323479ed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We keep seeing this failure on the autobuilder but the output amounts
to "False is not True". Improve the debug message on the chance it may
make the issue clearer.
(From OE-Core rev: 68d3766c37e4b3a1b49dc27226b2513e3b0db9a9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d03f4cf19c2cc96e9d942252a451521dfec42ebc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recently got an updated CPE which matches this recipe, but the issue
is related to an entirely different shadow project so ignore it.
(From OE-Core rev: 9d5a05c27a01b3859eae70590ba7dd836abe2719)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2331e98abb09cbcd56625d65c4e5d258dc29dd04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove branching that depends on secret data.
since the `ok` variable isn't used any more, we can remove all code
used to calculate it
(From OE-Core rev: 5b8a3601ebff7a0cdfaa50d7a0b5e384a7e2514c)
Signed-off-by: Vivek Kumbhar <vkumbhar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of scripts/git-intercept was introduced in commit 3266c327df
(install/devshell: Introduce git intercept script due to fakeroot
issues) and later reverted in commit af27c81eaf (scripts: Make git
intercept global).
(From OE-Core rev: 51424b9955374196307aaf73cf4b6c184ce4fb6d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit f6c260c8e2a33e282a35afc99de4ef8cc1791b08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For the QA checks in `image.bbclass`, all exceptions
other than `oe.utils.ImageQAFailed` always print the
following generic message:
"Image QA function func_name failed"
This can be very misleading, as it may hide
python syntax errors and other kind of issues that are
hard to detect without more explicit error messages.
This change makes sure that the error message of all
exceptions are displayed.
Before this change:
"Image QA function func_name failed"
After this change:
"Image QA function func_name failed: f-string: empty expression not allowed (<string>, line 13)"
(From OE-Core rev: c4e3b86f2bcb2b445efc72bd8e06b1b89d88daa2)
Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d85b30d8704d38b86f5b006748cebc74bd2a4fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport of gcc upstream commit 2b2d97fc545635a0f6aa9c9ee3b017394bc494bf
to gcc release 9.5.0. This fix is available to all release-branches
except releases/gcc-9 because upstream do not support gcc-9 now.
(From OE-Core rev: 9779b66162a014f26594bdde43afdc4332617240)
Signed-off-by: Virendra Thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes between OpenSSL 1.1.1s and OpenSSL 1.1.1t [7 Feb 2023]
* Fixed X.400 address type confusion in X.509 GeneralName (CVE-2023-0286)
* Fixed Use-after-free following BIO_new_NDEF (CVE-2023-0215)
* Fixed Double free after calling PEM_read_bio_ex (CVE-2022-4450)
* Fixed Timing Oracle in RSA Decryption (CVE-2022-4304)
(From OE-Core rev: 22de5ecae3ebb04a4bab05010c04b205c52ee888)
Signed-off-by: Hugo SIMELIERE <hsimeliere.opensource@witekio.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes with APR-util 1.6.3
*) Correct a packaging issue in 1.6.2. The contents of the release were
correct, but the top level directory was misnamed.
Changes with APR-util 1.6.2
*) SECURITY: CVE-2022-25147 (cve.mitre.org)
Integer Overflow or Wraparound vulnerability in apr_base64 functions
of Apache Portable Runtime Utility (APR-util) allows an attacker to
write beyond bounds of a buffer.
*) Teach configure how to find and build against MariaDB 10.2. PR 61517
[Kris Karas <bugs-a17 moonlit-rail.com>]
*) apr_crypto_commoncrypto: Remove stray reference to -lcrypto that
prevented commoncrypto being enabled. [Graham Leggett]
*) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]
*) apr_dbm_gdbm: Fix handling of error codes. This makes gdbm 1.14 work.
apr_dbm_gdbm will now also return error codes starting with
APR_OS_START_USEERR, as apr_dbm_berkleydb does, instead of always
returning APR_EGENERAL. [Stefan Fritsch]
Drop backport.
(From OE-Core rev: 9eb027bebb19bfb0fb136169e865ca269890fa6f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dca707f9fecc805503e17f6db3e4c88069ac0125)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit 43cd36b178ebb602edd5919c26f8b8642736a3a8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e24b38a14b3520648ec418783fb74fcf61df7ff2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to use CFLAGS with the correct WORKDIR in them, replace those
in the sysroot file with the ones appropriate to the current recipe.
(From OE-Core rev: 92fb7261a1c7ebe6330832a9a71d1bed82c85a6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 45edf189961aff1858be9bb7b63116073c0a0c10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changes for APR 1.7.2
*) Correct a packaging issue in 1.7.1. The contents of the release were
correct, but the top level directory was misnamed.
Changes for APR 1.7.1
*) SECURITY: CVE-2022-24963 (cve.mitre.org)
Integer Overflow or Wraparound vulnerability in apr_encode functions of
Apache Portable Runtime (APR) allows an attacker to write beyond bounds
of a buffer.
*) SECURITY: CVE-2022-28331 (cve.mitre.org)
On Windows, Apache Portable Runtime 1.7.0 and earlier may write beyond
the end of a stack based buffer in apr_socket_sendv(). This is a result
of integer overflow.
*) SECURITY: CVE-2021-35940 (cve.mitre.org)
Restore fix for out-of-bounds array dereference in apr_time_exp*() functions.
(This issue was addressed as CVE-2017-12613 in APR 1.6.3 and
later 1.6.x releases, but was missing in 1.7.0.) [Stefan Sperling]
*) configure: Fix various build issues for compilers enforcing
strict C99 compliance. PR 66396, 66408, 66426.
[Florian Weimer <fweimer redhat.com>, Sam James <sam gentoo.org>]
*) apr_atomic_read64(): Fix non-atomic read on 32-bit Windows [Ivan Zhakov]
*) configure: Prefer posix name-based shared memory over SysV IPC.
[Jim Jagielski]
*) configure: Add --disable-sctp argument to forcibly disable SCTP
support, or --enable-sctp which fails if SCTP support is not
detected. [Lubos Uhliarik <luhliari redhat.com>, Joe Orton]
*) Fix handle leak in the Win32 apr_uid_current implementation.
PR 61165. [Ivan Zhakov]
*) Add error handling for lseek() failures in apr_file_write() and
apr_file_writev(). [Joe Orton]
*) Don't silently set APR_FOPEN_NOCLEANUP for apr_file_mktemp() created file
to avoid a fd and inode leak when/if later passed to apr_file_setaside().
[Yann Ylavic]
*) APR's configure script uses AC_TRY_RUN to detect whether the return type
of strerror_r is int. When cross-compiling this defaults to no.
This commit adds an AC_CACHE_CHECK so users who cross-compile APR may
influence the outcome with a configure variable. [Sebastian Kemper
<sebastian_ml gmx net>]
*) Add a cache check with which users who cross-compile APR
can influence the outcome of the /dev/zero test by setting the variable
ac_cv_mmap__dev_zero=yes [Sebastian Kemper <sebastian_ml gmx net>]
*) Trick autoconf into printing the correct default prefix in the help.
[Stefan Fritsch]
*) Don't try to use PROC_PTHREAD by default when cross compiling.
[Yann Ylavic]
*) Add the ability to cross compile APR. [Graham Leggett]
*) While cross-compiling, the tools/gen_test_char could not
be executed at build time, use AX_PROG_CC_FOR_BUILD to
build native tools/gen_test_char
Support explicit libtool by variable assigning before buildcheck.sh,
it is helpful for cross-compiling (such as libtool=aarch64-linux-libtool)
[Hongxu Jia <hongxu.jia windriver.com>]
*) Avoid an overflow on 32 bit platforms. [René Hjortskov Nielsen
<r... hjortskov.dk>]
*) Use AC_CHECK_SIZEOF, so as to support cross compiling. PR 56053.
[Mike Frysinger <vapier gentoo.org>]
*) Add --tag=CC to libtool invocations. PR 62640. [Michael Osipov]
*) apr_pools: Fix pool debugging output so that creation events are
always emitted before allocation events and subpool destruction
events are emitted on pool clear/destroy for proper accounting.
[Brane Čibej]
*) apr_socket_listen: Allow larger listen backlog values on Windows 8+.
[Evgeny Kotkov <evgeny.kotkov visualsvn.com>]
*) Fixed: apr_get_oslevel() was returning APR_WIN_XP on Windows 10
*) Fix attempt to free invalid memory on exit when apr_app is used
on Windows. [Ivan Zhakov]
*) Fix double free on exit when apr_app is used on Windows. [Ivan Zhakov]
*) Fix a regression in apr_stat() for root path on Windows. [Ivan Zhakov]
Dropped patches have all been merged, addressed separately or are backports.
(From OE-Core rev: 013633b9f4b7dff2616c6d2e59e4d8118e3ce51f)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ffae93f24bb1e3954b232099153fd059cfd7daf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit a308e10ef4ad9e097b025f009866eae178259781)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
AC_TRY_RUN macro means the test needs to run to find the result and we
are cross compiling so this will always get wrong results, this results
in miscompiling apache2 on musl because it disables rlimit
(ac_cv_struct_rlimit) wrongly.
All these variables are determined with AC_TRY_RUN checks
(From OE-Core rev: 104c9ddf7a5323e5193c611b98b3e7465157aecd)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 504eb0ff1cae200ee85ec18ebae564cae9bf9c8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl does not implement GNU extention of strerror_r but XSI compliant
version, therefore add it via a packageconfig to set right variables
during configure to cache the value.
configure detection logic depends on runtime test which will always be
wrong on cross compiles therefore backport a patch to make it possible
to cache the needed configure variable.
(From OE-Core rev: 993cfeaefa73e3b82cf15db78584e5f9b9f86ddf)
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 ded3d76a844dd1aef9ac610fbe506bf76285369b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix an issue with autoconf 2.70 where duplicate macro includes
caused configure failures.
(From OE-Core rev: 41121149212b3684991a62261c17a45afd50bb83)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
(cherry picked from commit 4e5d7c86a8a5e752df451d988861a86236e8c8ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Newest linux-firmware release got firmware for Adreno A200. Add these
two files to the ${PN}-qcom-adreno-a2xx package. As these files are
licensed under a separate BSD-3-Clause license, add separate license
package too.
(From OE-Core rev: 420c41b9560574b10aa56fbe073509c56adda93e)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56e1b2b06ef7f22d4ac5899046f650ae8ec0d547)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is not enough to depend on the ${PN}-qcom-license package. Set
LICENSE variable for all the qcom packages to point to the proper
license.
(From OE-Core rev: 2cb8f5efb99df37c8e2103ecdc7f482ee129650a)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9dc41e18dc138a7cce920f8e4c85eb3130c0d553)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To avoid working with undeterministic config files, remove all the
temporary files to start from scratch.
(From OE-Core rev: a3f31997c633e8476bad68c81fac0dcd0750c7d4)
Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling busybox a second time (e.g. with `compile -f`), busybox
can use an altered autoconf.h file for compiling, which can ultimately
produces different and unwanted binaries.
This can produce errors like this one:
ERROR: busybox-1.35.0-r0 do_package: 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:ptest_update_alternatives(d)
0003:
File: '…/poky/meta/classes/ptest.bbclass', lineno: 100, function: ptest_update_alternatives
0096: for alt_name, alt_link, alt_target, _ in alternatives:
0097: # Some alternatives are for man pages,
0098: # check if the alternative is in PATH
0099: if os.path.dirname(alt_link) in bin_paths:
*** 0100: os.symlink(alt_target, os.path.join(ptest_bindir, alt_name))
0101:}
0102:
0103:do_configure_ptest_base[dirs] = "${B}"
0104:do_compile_ptest_base[dirs] = "${B}"
Exception: FileExistsError: [Errno 17] File exists: '/bin/busybox.suid' -> '…/busybox/1.35.0-r0/package/usr/lib/busybox/ptest/bin/login'
This happens because ALTERNATIVE:busybox contains `/bin/login` twice,
initially that's because `/bin/login` is present in both
busybox.links.suid and busybox.links.nosuid. The reason for that is
because of the altered autoconf.h.
Steps to reproduce above error:
<add ptest to distro configs>
bitbake busybox -c clean
bitbake busybox -c package -f
bitbake busybox -c compile -f
bitbake busybox -c package -f
This patch guards against potential bugs by:
- making a backup of .config and autoconf.h that have matching
timestamps.
- make sure do_compile always starts with these files.
- restore .config and autoconf.h at the end of do_compile.
(From OE-Core rev: 7ef76eaf5b68d52afdc4292bbe20309e29bb464a)
Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Providing ssh port number is supported too with
"--target-ip 192.168.0.10:22".
(From OE-Core rev: 4a9bf2d4693fd9e6eb2186a39e50c7e1630fb823)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 637919b9df0abc06da5b2f9b389cf25376bd6b7c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If on target locale generation is used, it fails at first boot showing
errors about a missing directory. Ensure the directory exists.
(From OE-Core rev: 63141bd8c19285bbef33f3d32a89ca127da0c658)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f2844c9f1bbb729562063d96a3d1cc9d44dafa0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This does not actually guarantee that the child runqemu process has completely exited:
poll() may return prematurely while the SIGTERM handler in runqemu is still running.
This thwarts the rest of the processing, and may terminate the handler before
it completes.
Use Popen.communicate() instead: this is what python documentation recommends as well:
https://docs.python.org/3/library/subprocess.html#subprocess.Popen.communicate
(From OE-Core rev: 3793662bcfdab230d7b98bde2bc6757949b0aca0)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd3e55606c427287f37585c5d7cde936471e52f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The definitions in linux-kernel-base are needed to ensure the generated headers
are consistent. This was a small step that was missing from the previous
changes to linux-kernel-base as both kernel-devsrc and make-mod-scripts
need this information defined consistently.
(From OE-Core rev: 85cb9212a85e32715209705a29c6928b368d87c7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d79d4883f924cef0d0ba361506ad75d441b9721)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The default return value from subprocess.check_output is an encoded byte.
The applied fix will decode the value to a string.
(From OE-Core rev: 622fea338a0c43f95185469b54cc72c545b73100)
Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 046769fa952a511865c416b80d10af6287147fb7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test assumes that if a child process writes one line to stderr and
then another line to stdout, and stderr is redirected to stdout, that
the order the lines will be read is stable.
This isn't the case and occasionally the lines will be read in a
different order. Change the test to ignore line ordering.
[ YOCTO #14469 ]
(From OE-Core rev: 2c9fe8c3bb1cc1883c7bd445d019b2107e85ab2b)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ddbe4d2bd8d8da10dac8a054f130fcd1d242219)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We disable the useradd code for nativesdk targets since we don't support
postinstalls or multiple users in those cases. This means any usage
of chown/chgrp inside do_install tasks won't work and would have to be
conditional. Rather than require all recipes to do that, add intercepts
of the calls and map those to root/root user/groups. We can't just ignore
them as some calls are used to remove host contamination from the host
user ID so they need to be made, just as root.
(From OE-Core rev: a05c116c517e0700837c335d0691c3fcc4462dda)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e1f40670c438e33cae87678425de72ca03566888)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a PACKAGECONFIG option for slirp, defaulting to internal. This avoids
the presence of libslirp on the host causing qemu to link against that
instead breaking reproducibility and usability of the binary on hosts
where the library isn't present.
We need to add it to PACKAGECONFIG by default since users do expect slirp
to be enabled in the wider community.
Note: qemu version 4.2.0 doesn't support an "internal" option for
enable-slirp, so use "git" instead which uses the same configure
code path, avoids host libslirp contamination and forces use of the
qemu internal slirp implementation.
(From OE-Core rev: e5dc03e4a3b71ff144896a8ce56a34b8677e8e27)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a9a64132bf5ecac9d611d29751226a466c4a2c1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The autobuilder workers change over time, update the sanity testing list
to match the current autobuilder workers OS list.
(From meta-yocto rev: ddce0c8b95d89b6a380b01299f118f7c5a47dc47)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We have to prefer one multiconfig over another when deferring tasks, else
we'll have cross-linked build trees and nothing will be able to build.
In the original population code, we sort like this but we don't after
rehashing. Ensure we have the same sorting after rehashing toa void
deadlocks.
(Bitbake rev: 657940c7c2a9dea4963a5063e4bf900d6b454903)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27228c7f026acb8ae9e1211d0486ffb7338123a2)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In multiconfig builds with large numbers of identical tasks, builds were
deadlocking after recent runqueue changes upon rebuilds where there was
heavy sstate usage (i.e. on second builds after a first completed).
The issue was that deferred tasks were being left indefinitely on
the deferred list. The deadlock handler was then "breaking" things
by failing tasks that had already succeeded, leading to the task
being on both covered and not covered lists, giving a further error.
The fix is to clean up the deferred task list when each setscene task
completes. I'd previously been hoping to avoid iterating that list
but it appears unavoidable.
[YOCTO #14342]
(Bitbake rev: 03cf0d9fedfef1ae43b3c3cac07710487857af36)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae24a0f2d2d8b4b5ec10efabd0e9362e560832ea)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the deferred task deadlock avoidance code triggers, it could mark an executed
task as failed which leads to "covered and not covered" error messages. Improve
the logic so if the deadlock code is triggered, it doesn't cause the errors.
(Bitbake rev: 2e1354525217505ce34fe775ee6ec8af46ff5324)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51bdd6cb3bd9e2c02e261fb578bb945b86b82c75)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous patches have exposed new issues with this code path,
the issues being around what should happen when the hash of a task
changes and the task is or is not on the deferred task list.
Rather than rebuilding the deferred task list during each rehash
event, build it once at the start of a build. This avoids the problem
of tasks being added back after they have run and also avoids problems
of always ensuring the same task is deferred. It also allows the
'outrightfail' codepath to be handled separately as the conditions
are subtly differnt.
One significant win for the new approch is the build is not continually
printing out lists of deferred tasks, that list remains fairly static
from the start of the build. Logic is added in to ensure a rehashed
task with a hash matching other deferred tasks is deferred along with
them as a small optimization.
An interesting test case for this code was reported by Mark Hatle
with four multiconfigs, each the same apart from TMPDIR and running a
build of:
bitbake buildtools-tarball mc:{one,two,three,four}:core-image-minimal
which is interesting in that the build of buildtools partially overlaps
core-image-minimal and the build has a rehash event for qemuwrapper-cross
even without any external hash equivalence server or preexisting data.
(Bitbake rev: 4316e9f60ce5fd250a16586a1772dcc0adfeb932)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb424e0a6d274d398f434f7df63951da9ce305b3)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the hash of a task changes and that hash is a deferred task (e.g. a multiconfig
build), we need to ensure that the hash change propagates through to all the tasks
else the build will run multiple copies of the task, sometimes with oddly differing
results as the outhashes of native tasks built in differing locations can confuse
things.
(Bitbake rev: 01936b4dd8e680f1f8035ff2d6231673f61efeab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2db571324f755edc4981deecbcfdf0aaa5a97627)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were testing the validity of deferred tasks setscene status "up front" which
is very unlikely to succeed and leads to cache invalidation issues. With the
change to rebuild the deferred task list, this status becomes out of sync. The
result was tasks being executed when they should not have been leading to extra
work for the build unnecessarily.
Instead, don't process validity status for deferred tasks and assume their
data will become available. If it doesn't, this will now result in a build
error as the setscene task will fail and the main task will run instead.
In theory we could try and track the state changes in the deferred list and
re-test validity then but I'm not sure it is worth the effort when the other
code path and errors in setscene tasks will give a pretty good idea of what
is happening anyway.
(Bitbake rev: f95ed69e6c91ca6aa18d6fa9a6ac6319035c4661)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edcafac13b3b241b6687419e59018d21811507a1)
Signed-off-by: Fabio Berton <fabio.berton@criticaltechworks.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Namespace in this context means a branch, a tag, etc., clarify
it in the description. Also, fix a typo "a any", replace with
plain "any".
This patch is based of feedback on new applied patch
d32e5b0e ("fetch2/git: Prevent git fetcher from fetching gitlab repository metadata")
(Bitbake rev: c527976e28165de9606497c48d834872fe68372e)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4999425c812b25cb359d5163d11e3c1b030dc28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The bitbake git fetcher currently fetches 'refs/*:refs/*', i.e. every
single object in the remote repository. This works poorly with gitlab
and github, which use the remote git repository to track its metadata
like merge requests, CI pipelines and such.
Specifically, gitlab generates refs/merge-requests/*, refs/pipelines/*
and refs/keep-around/* and they all contain massive amount of data that
are useless for the bitbake build purposes. The amount of useless data
can in fact be so massive (e.g. with FDO mesa.git repository) that some
proxies may outright terminate the 'git fetch' connection, and make it
appear as if bitbake got stuck on 'git fetch' with no output.
To avoid fetching all these useless metadata, tweak the git fetcher such
that it only fetches refs/heads/* and refs/tags/* . Avoid using negative
refspecs as those are only available in new git versions.
Per feedback on the ML, Gerrit may push commits outsides of branches or
tags during CI runs, which currently works with the 'nobranch=1' fetcher
parameter. To retain this functionality, keep fetching everything in case
the 'nobranch=1' is present. This still avoids fetching massive amount of
data in the common case, since 'nobranch=1' is rare. Update 'nobranch'
documentation.
Reviewed-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
(Bitbake rev: efb2903e6c94a5c884485ecb91f1fca7e8ee18f1)
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d32e5b0ec2ab85ffad7e56ac5b3160860b732556)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit replaces the instances where escaped double quotes
are used to support SRC_URI url containing spaces with the more
pythonic shlex.quote().
(Bitbake rev: ecc1dac4ad8c8593810c69a25d674b0e0bed6097)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4f9ba9c794de55bea0343267467bddea99844374)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mitigate occurences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.
(From OE-Core rev: fcd340ec53ff8352b8cae0eb351810072b025a08)
(From OE-Core rev: b21e5524e3326c77598d30f6fe9268a5fdac91dd)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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 a .gitmodules file exists but is empty then devtool finish fails.
Add an additional check for this.
[YOCTO #14999]
(From OE-Core rev: 077edd3992683985f0779afc73d4207a795ced39)
Signed-off-by: Thomas Roos <throos@amazon.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b4f0f7c4934bade9e4d4a1086f9d8b29d8e9ad45)
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:
1349fe3a332a Linux 5.4.229
68a37dc77e2f tipc: call tipc_lxc_xmit without holding node_read_lock
1140c3f7adbc ocfs2: fix freeing uninitialized resource on ocfs2_dlm_shutdown
2db88851fa4d tipc: Add a missing case of TIPC_DIRECT_MSG type
38b5d7054d75 tty: serial: tegra: Handle RX transfer in PIO mode if DMA wasn't started
3188f80b80d6 tipc: fix use-after-free in tipc_disc_rcv()
3eeb06132d36 Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout"
ecd47ffc99d3 mm: Always release pages to the buddy allocator in memblock_free_late().
5fcf75a8a4c3 efi: fix NULL-deref in init error path
b30e5dd0778e arm64: cmpxchg_double*: hazard against entire exchange variable
ecdd65051b17 arm64: atomics: remove LL/SC trampolines
f840000928af arm64: atomics: format whitespace consistently
d01d6d2b06c0 drm/virtio: Fix GEM handle creation UAF
3030f11f27e7 x86/resctrl: Fix task CLOSID/RMID update race
22c4eeafc31b x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI
b3f924246700 iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe()
ecfe33e0757d iommu/mediatek-v1: Add error handle for mtk_iommu_probe
ec049ae2b462 net/mlx5: Fix ptp max frequency adjustment range
62d707dabb5c net/mlx5: Rename ptp clock info
2b157c3c5d6b net/sched: act_mpls: Fix warning during failed attribute validation
9424d2205fe9 nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
576eadef2c8d hvc/xen: lock console list traversal
7d04fe153dfc tipc: fix unexpected link reset due to discovery messages
95b2d4889fbd tipc: eliminate checking netns if node established
d6418829cef1 tipc: improve throughput between nodes in netns
d443308edbfb regulator: da9211: Use irq handler when ready
43f48e6c3076 EDAC/device: Fix period calculation in edac_device_reset_delay_period()
a5b737623eaa x86/boot: Avoid using Intel mnemonics in AT&T syntax asm
d0c6d2a31026 powerpc/imc-pmu: Fix use of mutex in IRQs disabled section
feefb33eefa1 netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function.
e431b4fb1fb8 ext4: fix uninititialized value in 'ext4_evict_inode'
026a4490b538 ext4: fix use-after-free in ext4_orphan_cleanup
fa41a133ea23 ext4: lost matching-pair of trace in ext4_truncate
1d5524832ff2 ext4: fix bug_on in __es_tree_search caused by bad quota inode
3da22d06e078 quota: Factor out setup of quota inode
ecb9d0d2e123 jbd2: use the correct print format
06bb3f4e3b06 usb: ulpi: defer ulpi_register on ulpi_read_id timeout
a2689a446427 wifi: wilc1000: sdio: fix module autoloading
3998dba0f78a ipv6: raw: Deduct extension header length in rawv6_push_pending_frames
53cefa802f07 ixgbe: fix pci device refcount leak
e0d6f3b62b29 platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe
1ad759df6a6f drm/msm/adreno: Make adreno quirks not overwrite each other
098416c4e322 cifs: Fix uninitialized memory read for smb311 posix symlink create
d6546426cdf4 ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list
eaa5580a74cc ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
c6d29a5ffdbc net/ulp: prevent ULP without clone op from entering the LISTEN status
b318d41f1bd1 s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple()
f6da927c92ec s390/kexec: fix ipl report address for kdump
4bf6e11c34c5 perf auxtrace: Fix address filter duplicate symbol selection
2e4164d3d1e7 docs: Fix the docs build with Sphinx 6.0
3ed183074c20 efi: tpm: Avoid READ_ONCE() for accessing the event log
3ad31129ce72 KVM: arm64: Fix S1PTW handling on RO memslots
9b83ec63d0de net: sched: disallow noqueue for qdisc classes
aa52acefc629 driver core: Fix bus_type.match() error handling in __driver_attach()
8d60a90560ef selftests: set the BUILD variable to absolute path
cad6d2bb4726 selftests: Fix kselftest O=objdir build from cluttering top level objdir
320dbbd86f81 parisc: Align parisc MADV_XXX constants with all other architectures
d868597b71c1 mbcache: Avoid nesting of cache->c_list_lock under bit locks
da23752d9660 hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling
781fa141414e hfs/hfsplus: use WARN_ON for sanity check
b47c69010943 ext4: don't allow journal inode to have encrypt flag
1464feb5b6fa riscv: uaccess: fix type of 0 variable on error in get_user()
da41069c613d nfsd: fix handling of readdir in v4root vs. mount upcall timeout
8cbd7f264387 x86/bugs: Flush IBP in ib_prctl_set()
ba780bff9ff9 ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet
e66ae100e7c7 udf: Fix extension of the last extent in the file
33df9c5d5e2a caif: fix memory leak in cfctrl_linkup_request()
3cb1ee82e4ed drm/i915: unpin on error in intel_vgpu_shadow_mm_pin()
ebe6d2fcf783 usb: rndis_host: Secure rndis_query check against int overflow
a07b4895b9d1 drivers/net/bonding/bond_3ad: return when there's no aggregator
2f7a09c1eebc perf tools: Fix resources leak in perf_data__open_dir()
6b17b84634f9 net: sched: cbq: dont intepret cls results when asked to drop
63e469cb54a8 net: sched: atm: dont intepret cls results when asked to drop
d16e5fefd8e4 RDMA/mlx5: Fix validation of max_rd_atomic caps for DC
564fdc2f8bff RDMA/uverbs: Silence shiftTooManyBitsSigned warning
00616bd1913a net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe
904ad95b3985 net: amd-xgbe: add missed tasklet_kill
a15cbe9b8453 vhost: fix range used in translate_desc()
d8e410315ad3 nfc: Fix potential resource leaks
8f97eeb02a55 qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure
55ac68b53f1c net: sched: fix memory leak in tcindex_set_parms
b6a0623f756b net: hns3: add interrupts re-initialization while doing VF FLR
f9c551d87426 nfsd: shut down the NFSv4 state objects before the filecache
7eaaee526809 bpf: pull before calling skb_postpull_rcsum()
1d449cd2409a SUNRPC: ensure the matching upcall is in-flight upon downcall
af5306527637 ext4: fix deadlock due to mbcache entry corruption
711ef736dd99 mbcache: automatically delete entries from cache on freeing
af8ecc8d20e7 ext4: fix race when reusing xattr blocks
ea4b9091aae7 ext4: unindent codeblock in ext4_xattr_block_set()
a5f9bd4beae8 ext4: remove EA inode entry from mbcache on inode eviction
951ea4d3dfa9 mbcache: add functions to delete entry if unused
81b0bb1eb2c6 mbcache: don't reclaim used entries
c2f1e12b659b ext4: use kmemdup() to replace kmalloc + memcpy
6453836e371f fs: ext4: initialize fsdata in pagecache_write()
1af609646c60 ext4: use memcpy_to_page() in pagecache_write()
49dac5e017eb mm/highmem: Lift memcpy_[to|from]_page to core
f44dcd9dceb8 ext4: correct inconsistent error msg in nojournal mode
b02aa6a05a5f ext4: goto right label 'failed_mount3a'
e0fce1d665d8 ravb: Fix "failed to switch device to config mode" message during unbind
0ebcfdc8c920 KVM: nVMX: Properly expose ENABLE_USR_WAIT_PAUSE control to L1
e723bafd8f61 KVM: VMX: Fix the spelling of CPU_BASED_USE_TSC_OFFSETTING
72906690452b KVM: VMX: Rename NMI_PENDING to NMI_WINDOW
da8ff59210b4 KVM: VMX: Rename INTERRUPT_PENDING to INTERRUPT_WINDOW
db99c8d6b78b KVM: retpolines: x86: eliminate retpoline from vmx.c exit handlers
2c82f134b9af KVM: x86: optimize more exit handlers in vmx.c
6e3f6d95625a perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data
fc67c00def19 perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor
d06a7e2049e3 dm thin: resume even if in FAIL mode
28cdd90c26f3 media: s5p-mfc: Fix in register read and write for H264
640075400c7c media: s5p-mfc: Clear workbit to handle error condition
4a52a1a3eac8 media: s5p-mfc: Fix to handle reference queue during finishing
b9275d8a927f PM/devfreq: governor: Add a private governor_data for governor
839f3ca8bc02 btrfs: replace strncpy() with strscpy()
b5db13545759 ext4: allocate extended attribute value in vmalloc area
6ef8b0a74350 ext4: avoid unaccounted block allocation when expanding inode
b14a553b0f87 ext4: initialize quota before expanding inode in setproject ioctl
9ef603086c5b ext4: fix inode leak in ext4_xattr_inode_create() on an error path
7138ef745ef4 ext4: avoid BUG_ON when creating xattrs
4d84ec8e5c3e ext4: fix error code return to user-space in ext4_get_branch()
a4c3c1d57db3 ext4: fix corruption when online resizing a 1K bigalloc fs
6f4200ec76a0 ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline
f263e349bacc ext4: init quota for 'old.inode' in 'ext4_rename'
78e335fb573e ext4: fix bug_on in __es_tree_search caused by bad boot loader inode
362ce137d56b ext4: fix reserved cluster accounting in __es_remove_extent()
e1d946d9c82f ext4: add helper to check quota inums
2142dfa1de61 ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode
4690a4bdcf14 ext4: fix undefined behavior in bit shift for ext4_check_flag_values
e347c269b5d6 ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop
94b283341f9f drm/vmwgfx: Validate the box size for the snooped cursor
eea62f0461a9 drm/connector: send hotplug uevent on connector cleanup
fbfd6dee521e device_cgroup: Roll back to original exceptions after copy failure
5e4500454d75 parisc: led: Fix potential null-ptr-deref in start_task()
662dc7c6be7b iommu/amd: Fix ivrs_acpihid cmdline parsing code
93e919d9acb2 crypto: n2 - add missing hash statesize
a5866d531b47 PCI/sysfs: Fix double free in error path
65bd0962992a PCI: Fix pci_device_is_present() for VFs by checking PF
d23006f2a56e ipmi: fix use after free in _ipmi_destroy_user()
cf19abbe4b9a ima: Fix a potential NULL pointer access in ima_restore_measurement_list
b16336353576 mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type()
74531c23adc5 ipmi: fix long wait in unload when IPMI disconnect
d4f48c648a66 efi: Add iMac Pro 2017 to uefi skip cert quirk
2c4832a0893a md/bitmap: Fix bitmap chunk size overflow issues
b869cb7a3d52 cifs: fix missing display of three mount options
149babe5e019 cifs: fix confusing debug message
a29d62130988 media: dvb-core: Fix UAF due to refcount races at releasing
b21f62b49ee9 media: dvb-core: Fix double free in dvb_register_device()
50c2379f8795 ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod
c42cb66a8915 tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line
cb03fc217b0d tracing/hist: Fix wrong return value in parse_action_params()
f5489d5a2420 x86/microcode/intel: Do not retry microcode reloading on the APs
cf79d5410a56 tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx'
1a5165e80a80 dm cache: set needs_check flag after aborting metadata
2f097dfac757 dm cache: Fix UAF in destroy()
520b56cfd9fa dm clone: Fix UAF in clone_dtr()
792e51aac376 dm integrity: Fix UAF in dm_integrity_dtr()
7ae6aa649394 dm thin: Fix UAF in run_timer_softirq()
f758987ff0af dm thin: Use last transaction's pmd->root when commit failed
200aa33b5d78 dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata
f472bfc95d9c dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort
52ba5b87a36e binfmt: Fix error return code in load_elf_fdpic_binary()
33933af45d1d binfmt: Move install_exec_creds after setup_new_exec to match binfmt_elf
3cdd91a91632 cpufreq: Init completion before kobject_init_and_add()
6ccb116e6b99 selftests: Use optional USERCFLAGS and USERLDFLAGS
2b8f2e127d7a arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength
b22d683c9014 ARM: ux500: do not directly dereference __iomem
c59ee1528b34 btrfs: fix resolving backrefs for inline extent followed by prealloc
e63e1c67932d mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K
3de2c3628351 ktest.pl minconfig: Unset configs instead of just removing them
d10523afa822 kest.pl: Fix grub2 menu handling for rebooting
d089baa5b68a soc: qcom: Select REMAP_MMIO for LLCC driver
bcce46e11594 media: stv0288: use explicitly signed char
de2ea2a0ad51 net/af_packet: make sure to pull mac header
ad3f90a9c4a2 net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSO
aa91afe59740 SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails
e027f3b9fabd tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak
927860dfa161 tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak
f1c08947ab05 mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING
f4b5a27f56c5 f2fs: should put a page when checking the summary info
f02d2e2b9b89 mm, compaction: fix fast_isolate_around() to stay within boundaries
384ef33d37ce md: fix a crash in mempool_free
2dae4211b579 pnode: terminate at peers of source
25e8c6ecb468 ALSA: line6: fix stack overflow in line6_midi_transmit
10a07d81f693 ALSA: line6: correct midi status byte when receiving data from podxt
0e727c328eeb ovl: Use ovl mounter's fsuid and fsgid in ovl_link()
cae6dddef222 hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount
fe83242eab19 HID: plantronics: Additional PIDs for double volume key presses quirk
b201fe49eeb8 HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint
515959eb49e6 powerpc/rtas: avoid scheduling in rtas_os_term()
c2fa91abf22a powerpc/rtas: avoid device tree lookups in rtas_os_term()
418ef921cce2 objtool: Fix SEGFAULT
28046827c305 nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
24561f5d0990 nvme: resync include/linux/nvme.h with nvmecli
e69e8d78679d ata: ahci: Fix PCS quirk application for suspend
e74d9f13a408 nvme-pci: fix doorbell buffer value endianness
e8e2861cc325 cifs: fix oops during encryption
3c3baa40dcf8 media: dvbdev: fix refcnt bug
334a76861b25 media: dvbdev: fix build warning due to comments
2a0e42877dff gcov: add support for checksum field
328f3c084fd8 regulator: core: fix deadlock on regulator enable
fb0407d8cd35 iio: adc128s052: add proper .data members in adc128_of_match table
bcb052a87d8b iio: adc: ad_sigma_delta: do not use internal iio_dev lock
ad4eb32cedfa reiserfs: Add missing calls to reiserfs_security_free()
5a5ef1882fd6 HID: wacom: Ensure bootloader PID is usable in hidraw mode
9e8f60094e34 usb: dwc3: core: defer probe on ulpi_read_id timeout
7778fa1ca85f ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list
12622fa053c1 ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB
fad324bc0717 pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES
e56423bb8e04 pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion
e8a1ccd12017 ASoC: rt5670: Remove unbalanced pm_runtime_put()
737058bd0bfe ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume()
d456c253f3ea ASoC: wm8994: Fix potential deadlock
2705bb1661c9 ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume()
ed1376f77140 ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
df9cd38c3b5e ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe()
56f630a0d5a9 ASoC: Intel: Skylake: Fix driver hang during shutdown
fd0d3bf37d73 ALSA: hda: add snd_hdac_stop_streams() helper
d5952155d6d8 ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c
bdc2d33fa232 orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init()
2e7c09121064 orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string()
511b48ee8e4a drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()
6c00350c9f1d drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
fa7163987351 hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param()
713ad301c2d4 clk: st: Fix memory leak in st_of_quadfs_setup()
0ca298d54846 media: si470x: Fix use-after-free in si470x_int_in_callback()
21d26381e1f9 mmc: f-sdh30: Add quirks for broken timeout clock capability
5bfc53df288e regulator: core: fix use_count leakage when handling boot-on
87fd18016a47 blk-mq: fix possible memleak when register 'hctx' failed
17217737c174 media: dvb-usb: fix memory leak in dvb_usb_adapter_init()
6d18b44bb44e media: dvbdev: adopts refcnt to avoid UAF
438a4a8dece2 media: dvb-frontends: fix leak of memory fw
89357aa97b52 bpf: Prevent decl_tag from being referenced in func_proto arg
7da524781c53 ppp: associate skb with a device at tx
aadb1507a77b mrp: introduce active flags to prevent UAF when applicant uninit
4bdcc6a5aa9f net: add atomic_long_t to net_device_stats fields
19d5a0e17aba md/raid1: stop mdx_raid1 thread when raid1 array run failed
5d8d046f3dba drivers/md/md-bitmap: check the return value of md_bitmap_get_counter()
2b1b145ca17b drm/sti: Use drm_mode_copy()
272d12b5f322 drm/rockchip: Use drm_mode_copy()
20022d551f20 s390/lcs: Fix return type of lcs_start_xmit()
4bee3c75d5bf s390/netiucv: Fix return type of netiucv_tx()
e859e02fbfa7 s390/ctcm: Fix return type of ctc{mp,}m_tx()
f96bd8adc8ad igb: Do not free q_vector unless new one was allocated
5b06a8a25eba wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request()
e390838eeffb hamradio: baycom_epp: Fix return type of baycom_send_packet()
dbe1a6b930ae net: ethernet: ti: Fix return type of netcp_ndo_start_xmit()
772431f30ca0 bpf: make sure skb->len != 0 when redirecting to a tunneling device
9066300fe8bf ipmi: fix memleak when unload ipmi driver
8234c522effc ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
7360b323e034 wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out
ca57748593dd wifi: ath9k: verify the expected usb_endpoints are present
3cc9299036bd brcmfmac: return error when getting invalid max_flowrings from dongle
e44bfef5bffb drm/etnaviv: add missing quirks for GC300
90103ccb6e60 hfs: fix OOB Read in __hfs_brec_find
a815a3e01945 acct: fix potential integer overflow in encode_comp_t()
d706485dffbb nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset()
9ef353c92f9d ACPICA: Fix error code path in acpi_ds_call_control_method()
50163a115831 fs: jfs: fix shift-out-of-bounds in dbDiscardAG
156d440dea97 udf: Avoid double brelse() in udf_rename()
359616ce587e fs: jfs: fix shift-out-of-bounds in dbAllocAG
419b808504c2 binfmt_misc: fix shift-out-of-bounds in check_special_flags
3d92527a919e rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state()
4f1d37ff4226 net: stream: purge sk_error_queue in sk_stream_kill_queues()
fbae0dc7e22a myri10ge: Fix an error handling path in myri10ge_probe()
67af8655c889 rxrpc: Fix missing unlock in rxrpc_do_sendmsg()
93e794d4fe48 net_sched: reject TCF_EM_SIMPLE case for complex ematch module
b3a5c76f61e2 mailbox: zynq-ipi: fix error handling while device_register() fails
668dc454bcbd skbuff: Account for tail adjustment during pull operations
8b74211bf60b openvswitch: Fix flow lookup to use unmasked key
0e91836628d6 rtc: mxc_v2: Add missing clk_disable_unprepare()
b0a61359026b r6040: Fix kmemleak in probe and remove
8bddef54cbe9 nfc: pn533: Clear nfc_target before being used
db77d4d005c2 mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
82ff73638cd6 mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
5a35d18e7952 mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave()
fddac3b4578d nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure
f06d3feee910 NFSD: Add tracepoints to NFSD's duplicate reply cache
fe142d5ceeb5 nfsd: Define the file access mode enum for tracing
aa5fafd4a6b4 rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe()
686f0793f790 rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe()
1240ed71a0f6 remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region()
27441fab2651 remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev()
292c0f3b4ae0 pwm: sifive: Call pwm_sifive_update_clock() while mutex is held
2b7ad4357438 selftests/powerpc: Fix resource leaks
39633b4051ee powerpc/hv-gpci: Fix hv_gpci event list
aed862896d53 powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
d539b77bae1e powerpc/perf: callchain validate kernel stack pointer bounds
cfb5bbfcb63b powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data()
f2d60f6ba173 cxl: Fix refcount leak in cxl_calc_capp_routing
9bf842ffdd21 powerpc/52xx: Fix a resource leak in an error handling path
b703da16dc97 macintosh/macio-adb: check the return value of ioremap()
b29a2f1dd33a macintosh: fix possible memory leak in macio_add_one_device()
17fd44059496 iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe()
8581ec1feb89 iommu/amd: Fix pci device refcount leak in ppr_notifier()
0d96a6f5db64 rtc: pcf85063: Fix reading alarm
bb1bdc72dd24 rtc: snvs: Allow a time difference on clock register read
6a54d033372d include/uapi/linux/swab: Fix potentially missing __always_inline
f170d4bd38dd RDMA/siw: Fix pointer cast warning
8ea68b4e3fa9 power: supply: fix null pointer dereferencing in power_supply_get_battery_info
61e80e792918 HSI: omap_ssi_core: Fix error handling in ssi_init()
7ae85631aead perf symbol: correction while adjusting symbol
739b4294f86a perf trace: Handle failure when trace point folder is missed
1b4053ad54b7 perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number
443aaf605f9f perf trace: Add a strtoul() method to 'struct syscall_arg_fmt'
339e08e1858d perf trace: Allow associating scnprintf routines with well known arg names
97cc27a28ddc perf trace: Add the syscall_arg_fmt pointer to syscall_arg
a2fcb44f5e55 perf trace: Factor out the initialization of syscal_arg_fmt->scnprintf
ba67de37ad20 perf trace: Separate 'struct syscall_fmt' definition from syscall_fmts variable
6086919d8c2a perf trace: Return error if a system call doesn't exist
f84fff700dea power: supply: fix residue sysfs file in error handle route of __power_supply_register()
ef87ed9added HSI: omap_ssi_core: fix possible memory leak in ssi_probe()
e9a32f7523eb HSI: omap_ssi_core: fix unbalanced pm_runtime_disable()
0f049375ad49 fbdev: uvesafb: Fixes an error handling path in uvesafb_probe()
3c9aaa58f71d fbdev: vermilion: decrease reference count in error path
9413f188efc5 fbdev: via: Fix error in via_core_init()
65dbd8eefaa8 fbdev: pm2fb: fix missing pci_disable_device()
77738055e203 fbdev: ssd1307fb: Drop optional dependency
72c8770e3526 samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe()
19b651db9421 tracing/hist: Fix issue of losting command info in error_log
fab2536ba13d usb: storage: Add check for kcalloc
cdcbae2c5003 i2c: ismt: Fix an out-of-bounds bug in ismt_access()
f3f65c417784 vme: Fix error not catched in fake_init()
e5c97a433cc3 staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor()
288ada16a93a staging: rtl8192u: Fix use after free in ieee80211_rx()
c226717aa864 i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe
d85b5247a793 chardev: fix error handling in cdev_device_add()
110dc34c9fa3 mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
68e54d9ee822 drivers: mcb: fix resource leak in mcb_probe()
80dc47e751a8 usb: gadget: f_hid: fix refcount leak on error path
c78c87c4e389 usb: gadget: f_hid: fix f_hidg lifetime vs cdev
efa2ed93e5b4 usb: gadget: f_hid: optional SETUP/SET_REPORT mode
5e193764c26e usb: roles: fix of node refcount leak in usb_role_switch_is_parent()
76740fd8c608 counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update
361412dae169 cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter()
60b2ed21a65f cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter()
0078dd875856 misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os
ee2715faf7e7 misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
0cd05062371a misc: ocxl: fix possible name leak in ocxl_file_register_afu()
628de998a3ab test_firmware: fix memory leak in test_firmware_init()
98c01a728b46 serial: sunsab: Fix error handling in sunsab_init()
61f4146a7e5f serial: altera_uart: fix locking in polling mode
ce40c44e62bc tty: serial: altera_uart_{r,t}x_chars() need only uart_port
071bb9e36327 tty: serial: clean up stop-tx part in altera_uart_tx_chars()
d165388227aa serial: pch: Fix PCI device refcount leak in pch_request_dma()
06c886548c03 serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle.
965f07ea5fd1 serial: amba-pl011: avoid SBSA UART accessing DMACR register
4f257e2eba41 usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()
af4049a2ff7b usb: typec: Check for ops->exit instead of ops->enter in altmode_exit
a45ba33d398a staging: vme_user: Fix possible UAF in tsi148_dma_list_add
90e227d8b48b usb: fotg210-udc: Fix ages old endianness issues
12d20ba3ce2c uio: uio_dmem_genirq: Fix deadlock between irq config and handling
eca77a25a7cb uio: uio_dmem_genirq: Fix missing unlock in irq configuration
c2163ecc4873 vfio: platform: Do not pass return buffer to ACPI _RST method
3e0efc3f3f5e class: fix possible memory leak in __class_register()
0c44f584e387 serial: tegra: Read DMA status before terminating
dcb26ea75d40 tty: serial: tegra: Activate RX DMA transfer by request
da64e01da40c drivers: dio: fix possible memory leak in dio_init()
d4bf3fcccd18 IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces
5cc818ad53df hwrng: geode - Fix PCI device refcount leak
1199f8e02941 hwrng: amd - Fix PCI device refcount leak
c75ea343e4b9 crypto: img-hash - Fix variable dereferenced before check 'hdev->req'
76a9a58a7141 orangefs: Fix sysfs not cleanup when dev init failed
5a2028369de8 RDMA/hfi1: Fix error return code in parse_platform_config()
7917484c9923 crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe()
c21a09ed1e08 f2fs: avoid victim selection from previous victim section
91f63dd62272 RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps()
6866154c23fb scsi: snic: Fix possible UAF in snic_tgt_create()
be5f1a82ad60 scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails
eccbec017c95 scsi: ipr: Fix WARNING in ipr_init()
c9f83544fbfc scsi: fcoe: Fix possible name leak when device_register() fails
3c4bb9446d72 scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device()
6fac40d80691 scsi: hpsa: Fix error handling in hpsa_add_sas_host()
d60000cb1195 scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add()
89e3f7324a38 crypto: tcrypt - Fix multibuffer skcipher speed test mem leak
f8fc2f186529 scsi: hpsa: Fix possible memory leak in hpsa_init_one()
bd7106a6004f RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed
a36c929fd78d crypto: ccree - Make cc_debugfs_global_fini() available for module init function
895bbed5ae53 RDMA/hfi: Decrease PCI device reference count in error path
7e68c0d09573 PCI: Check for alloc failure in pci_request_irq()
a234815cee9e crypto: ccree - Remove debugfs when platform_driver_register failed
ca438aa466b8 crypto: ccree - swap SHA384 and SHA512 larval hashes at build time
263d21afbac0 scsi: scsi_debug: Fix a warning in resp_write_scat()
b5848661f123 RDMA/siw: Set defined status for work completion with undefined status
ad1676587c54 RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port
6af043089d3f RDMA/siw: Fix immediate work request flush to completion queue
ef6079d98f49 f2fs: fix normal discard process
7826e4c85ed8 RDMA/core: Fix order of nldev_exit call
3339d808b609 apparmor: Use pointer to struct aa_label for lbs_cred
f7368ac846ae apparmor: Fix abi check to include v8 abi
e1a68ac0154a apparmor: fix lockdep warning when removing a namespace
eb0f78e28cbc apparmor: fix a memleak in multi_transaction_new()
df121012e439 stmmac: fix potential division by 0
203d604bd521 Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave()
5e832e018288 Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave()
8ae86c1ec22e Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave()
f36058569115 Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave()
78e76830c73a Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave()
b38b064cba7a Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave()
f6d822ce4b56 Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave()
a6b9e0940310 ntb_netdev: Use dev_kfree_skb_any() in interrupt context
3f2946a54b89 net: lan9303: Fix read error execution path
7d67e8ccfc5f can: tcan4x5x: Remove invalid write in clear_interrupts
068672e75b08 net: amd-xgbe: Check only the minimum speed for active/passive cables
291b9669f664 net: amd-xgbe: Fix logic around active and passive cables
bc06c239d54c net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave()
1e39d57a0ec8 hamradio: don't call dev_kfree_skb() under spin_lock_irqsave()
20dd87360543 net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave()
3b748ba07bae net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave()
4b8256d9bf0a net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave()
bc51a3cadffc net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave()
303000c793f7 net/tunnel: wait until all sk_user_data reader finish before releasing the sock
0c5f2c7700cb net: farsync: Fix kmemleak when rmmods farsync
cf7416aa019b ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave()
9ec5781879b4 of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop()
a44490abaf00 drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init()
429370c40d03 net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload()
bba527e4ec0a net: defxx: Fix missing err handling in dfx_init()
f54731a70c8d net: vmw_vsock: vmci: Check memcpy_from_msg()
6f2198914fb9 clk: socfpga: Fix memory leak in socfpga_gate_init()
dbd1a4fdf5ed clk: socfpga: use clk_hw_register for a5/c5
49513eabda46 clk: socfpga: clk-pll: Remove unused variable 'rc'
fe783eeac48c blktrace: Fix output non-blktrace event when blk_classic option enabled
d628d5c5b4f5 wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware()
1a49bba59db0 wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h
9e8440a65711 spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode
a00b4e0fa273 clk: samsung: Fix memory leak in _samsung_clk_register_pll()
7a2c66429b04 media: coda: Add check for kmalloc
2b436f141024 media: coda: Add check for dcoda_iram_alloc
6250bc73317a media: c8sectpfe: Add of_node_put() when breaking out of loop
0fcee27507aa mmc: mmci: fix return value check of mmc_add_host()
0a41ea4fd449 mmc: wbsd: fix return value check of mmc_add_host()
f59ef2a47a22 mmc: via-sdmmc: fix return value check of mmc_add_host()
9e11c6bb745b mmc: meson-gx: fix return value check of mmc_add_host()
f153c9e15f89 mmc: omap_hsmmc: fix return value check of mmc_add_host()
6bb26abb92f2 mmc: atmel-mci: fix return value check of mmc_add_host()
c7a328cea791 mmc: wmt-sdmmc: fix return value check of mmc_add_host()
3b29f8769d32 mmc: vub300: fix return value check of mmc_add_host()
3dbb69a0242c mmc: toshsd: fix return value check of mmc_add_host()
937112e991ed mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host()
0b7b63422579 mmc: pxamci: fix return value check of mmc_add_host()
32eb502c972d mmc: mxcmmc: fix return value check of mmc_add_host()
b174f2b36c63 mmc: moxart: fix return value check of mmc_add_host()
289c964fe182 mmc: alcor: fix return value check of mmc_add_host()
e8f20523cf98 NFSv4.x: Fail client initialisation if state manager thread can't run
f7a8a1e36ded SUNRPC: Fix missing release socket in rpc_sockname()
bcebcb11fcbc xprtrdma: Fix regbuf data not freed in rpcrdma_req_create()
c7e9624d90bf ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt
6a8c0abcb502 media: saa7164: fix missing pci_disable_device()
4cabc3af4a6f bpf, sockmap: fix race in sock_map_free()
35593d60b162 regulator: core: fix resource leak in regulator_register()
90c38f57a821 configfs: fix possible memory leak in configfs_create_dir()
6dea95f64069 hsr: Avoid double remove of a node.
de7dbee4bd4a clk: qcom: clk-krait: fix wrong div2 functions
339ba693daaf regulator: core: fix module refcount leak in set_supply()
46dfff91025b wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails
624a989db916 spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE
52fb0ffee06d bonding: uninitialized variable in bond_miimon_inspect()
31631c2ab4a9 bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect
7508b9f4daac bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data
d4145d028a12 netfilter: conntrack: set icmpv6 redirects as RELATED
27c09443ddcc ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe
981024abf5fe drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()
470a77989037 drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()
190685ff4ee0 ASoC: mediatek: mt8173: Enable IRQ when pdata is ready
0e1e311fd929 wifi: iwlwifi: mvm: fix double free on tx path.
8b0c003e37d5 ALSA: asihpi: fix missing pci_disable_device()
5447f1ad0bc1 NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn
e53a7c28a428 NFSv4.2: Fix initialisation of struct nfs4_label
b2b472bcda7b NFSv4.2: Fix a memory stomp in decode_attr_security_label
96f3c70600a5 NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding
2672977dc089 ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd
d63e9eca9485 ASoC: dt-bindings: wcd9335: fix reset line polarity in example
4ea79d074776 drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe()
542a87f1cfc6 media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC
8b256d23361c media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer()
9103bf21874e media: dvb-core: Fix ignored return value in dvb_register_frontend()
3359f8d5338d pinctrl: pinconf-generic: add missing of_node_put()
ffd53b7892c8 clk: imx: replace osc_hdmi with dummy
aa79b53df799 clk: imx8mn: correct the usb1_ctrl parent to be usb_bus
1d8521e1121a media: imon: fix a race condition in send_packet()
cf9c4c25caad mtd: maps: pxa2xx-flash: fix memory leak in probe
a7fc25159d6f bonding: fix link recovery in mode 2 when updelay is nonzero
0879f594a7c4 bonding: Rename slave_arr to usable_slaves
9eaeb3e460b9 bonding: Export skip slave logic to function
26b94635f1c8 clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
96be283d10ef regulator: core: use kfree_const() to free space conditionally
d884ed9a2f0e ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT
497279199d4c ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT
e6364854f5b0 HID: hid-sensor-custom: set fixed size for custom attributes
75a5bf8eebc8 bpf: Move skb->len == 0 checks into __bpf_redirect
61688b8819ea media: videobuf-dma-contig: use dma_mmap_coherent
9ca9d7fd7df4 media: platform: exynos4-is: Fix error handling in fimc_md_init()
7b02c50d3978 media: solo6x10: fix possible memory leak in solo_sysfs_init()
f81f63168f08 Input: elants_i2c - properly handle the reset GPIO when power is off
8eb64dc5a790 mtd: lpddr2_nvm: Fix possible null-ptr-deref
8e51f5894df2 wifi: ath10k: Fix return value in ath10k_pci_init()
8176538866cb ima: Fix misuse of dereference of pointer in template_desc_init_fields()
9b7c44885a07 integrity: Fix memory leakage in keyring allocation error path
4d3dc0de9c46 amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table()
d39937f8de64 regulator: core: fix unbalanced of node refcount in regulator_dev_lookup()
a8baccb79de2 ASoC: pxa: fix null-pointer dereference in filter()
6f13a895cef8 drm/mediatek: Modify dpi power on/off sequence.
a0f26560be2c drm/radeon: Add the missed acpi_put_table() to fix memory leak
832d0e19ce12 rxrpc: Fix ack.bufferSize to be 0 when generating an ack
c9c9350d30e9 net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write()
fe443b3fe36c media: camss: Clean up received buffers on failed start of streaming
08114dc18580 wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port
fa0d32ab8407 mtd: Fix device name leak when register device failed in add_mtd_device()
d70fa0a6ce74 bpf: propagate precision in ALU/ALU64 operations
54f259906039 media: vivid: fix compose size exceed boundary
38d48fd22403 ima: Handle -ESTALE returned by ima_filter_rule_match()
ecd0a6f81a1a ima: Fix fall-through warnings for Clang
55e2430e4325 ima: Rename internal filter rule functions
0b7c47b7f358 drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure
3fcdc1534b4c spi: Update reference to struct spi_controller
d87dd4528d0e clk: renesas: r9a06g032: Repair grave increment error
a2046e5a361f can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming
7482f95315d2 can: kvaser_usb: Add struct kvaser_usb_busparams
f3d20de76fc9 can: kvaser_usb_leaf: Fix bogus restart events
ad63992b6488 can: kvaser_usb_leaf: Fix wrong CAN state after stopping
920879577060 can: kvaser_usb_leaf: Fix improved state not being reported
60ad08be78fd can: kvaser_usb_leaf: Set Warning state even without bus errors
12d95e65f709 can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT
5779a9d0e358 can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event
0e56748852f1 can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device
3a9d74f33988 can: kvaser_usb: do not increase tx statistics when sending error message frames
3f2384f09ba0 media: i2c: ad5820: Fix error path
e8e2da03c287 pata_ipx4xx_cf: Fix unsigned comparison with less than zero
5994e7a806a0 wifi: rtl8xxxu: Fix reading the vendor of combo chips
988bd27de248 wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb()
9850791d389b wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs()
bb7397f6312d rapidio: devices: fix missing put_device in mport_cdev_open
6a95b17e4d4c hfs: Fix OOB Write in hfs_asc2mac
657fea0a8df0 relay: fix type mismatch when allocating memory in relay_create_buf()
e275249e5e65 eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD
311b488405ac rapidio: fix possible UAF when kfifo_alloc() fails
7aa5325e1b50 fs: sysv: Fix sysv_nblocks() returns wrong value
cb5859603cd1 MIPS: OCTEON: warn only once if deprecated link status is being used
b7ca75207e4a MIPS: BCM63xx: Add check for NULL for clk in clk_enable
14bb4bde3b7b platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
11ad95912b8b PM: runtime: Do not call __rpm_callback() from rpm_idle()
c40ee4e04b4c PM: runtime: Improve path in rpm_idle() when no callback
4f983ee5e5de xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
29198f667f44 x86/xen: Fix memory leak in xen_init_lock_cpu()
ec88254208dd x86/xen: Fix memory leak in xen_smp_intr_init{_pv}()
6e98158d97e1 xen/events: only register debug interrupt for 2-level events
314d51053524 uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix
dfdde4d5138b ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage()
805665aa5295 clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled
1bbad5793f40 rapidio: rio: fix possible name leak in rio_register_mport()
440afd7fd9b1 rapidio: fix possible name leaks when rio_add_device() fails
7ef516888c4d ocfs2: fix memory leak in ocfs2_mount_volume()
a4d3062f0ac7 ocfs2: rewrite error handling of ocfs2_fill_super
227cc62e0049 ocfs2: ocfs2_mount_volume does cleanup job before return error
5c27b46c20ec debugfs: fix error when writing negative value to atomic_t debugfs file
c7bd49275da3 docs: fault-injection: fix non-working usage of negative values
6865a549f261 lib/notifier-error-inject: fix error when writing -errno to debugfs file
6fc6461672a4 libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value
75940697c040 cpufreq: amd_freq_sensitivity: Add missing pci_dev_put()
d25bf9af860e genirq/irqdesc: Don't try to remove non-existing sysfs files
b4e28099cd70 nfsd: don't call nfsd_file_put from client states seqfile display
e6e295a434d1 EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper()
d5c06dba4612 irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe()
e293263248f2 perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox()
81b024df4755 PNP: fix name memory leak in pnp_alloc_dev()
821afb8c89c0 selftests/efivarfs: Add checking of the test return value
c0b8cff0146b MIPS: vpe-cmp: fix possible memory leak while module exiting
b3325a443525 MIPS: vpe-mt: fix possible memory leak while module exiting
7c8bf45cea9c ocfs2: fix memory leak in ocfs2_stack_glue_init()
e039929e3681 lib/fonts: fix undefined behavior in bit shift for get_default_font
160d6d6f1479 proc: fixup uptime selftest
d7b9e43a5c57 timerqueue: Use rb_entry_safe() in timerqueue_getnext()
248fa44cde6d perf: Fix possible memleak in pmu_dev_alloc()
044ede4c38ee selftests/ftrace: event_triggers: wait longer for test_event_enable
8511186f10a4 fs: don't audit the capability check in simple_xattr_list()
c907c55dc7a5 PM: hibernate: Fix mistake in kerneldoc comment
f0ff6c60bc82 alpha: fix syscall entry in !AUDUT_SYSCALL case
1399ce344ee8 cpuidle: dt: Return the correct numbers of parsed idle states
082b55fe9fc6 tpm/tpm_crb: Fix error message in __crb_relinquish_locality()
4d3126f242a0 pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP
e2516652da3f ARM: mmp: fix timer_read delay
2de791ff6f80 pstore/ram: Fix error return code in ramoops_probe()
ded1b827164f arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC
03a666631aa4 ARM: dts: turris-omnia: Add switch port 6 node
fe1fc4d84d2a ARM: dts: turris-omnia: Add ethernet aliases
b20454ea05f6 ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port
1b7017211ecc ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port
87b951b7c2e5 ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port
e3cf3f7a6d54 ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port
e302758caf72 ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port
0a8544b7236f ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port
f707c3fee2e0 arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name
fdf511fc076d arm64: dts: mt2712-evb: Fix usb vbus regulators unit names
06fbfc5f4374 arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names
f0c1f46e4975 arm64: dts: mt2712e: Fix unit address for pinctrl node
aaabd7e3e4aa arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators
d69bdb61d577 perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init()
af2256d7784f perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init()
1e9186d628d3 soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe
83cfc38091ed soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe
5f07c85ca107 soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync
f5c521195e49 arm: dts: spear600: Fix clcd interrupt
3a90edbab8d1 drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static
3459e05ad32b arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias
6a24277840dd ARM: dts: qcom: apq8064: fix coresight compatible
1a19212a711e usb: musb: remove extra check in musb_gadget_vbus_draw
40075e797577 net: loopback: use NET_NAME_PREDICTABLE for name_assign_type
9fdc79b57143 Bluetooth: L2CAP: Fix u8 overflow
77d5e6f260ac HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk
c05a7fa01020 HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10
d535a33e83a0 HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E
7346b2529fed HID: ite: Add support for Acer S1002 keyboard-dock
2d91b7a0b0e8 xen-netback: move removal of "hotplug-status" to the right place
c581439a9775 igb: Initialize mailbox message for VF reset
50aa193a4bf4 USB: serial: f81534: fix division by zero on line-speed change
0d6bf63eb3ec USB: serial: f81232: fix division by zero on line-speed change
fe0f214385d4 USB: serial: cp210x: add Kamstrup RF sniffer PIDs
d48767065423 USB: serial: option: add Quectel EM05-G modem
b8fb1cba934e usb: gadget: uvc: Prevent buffer overflow in setup handler
2610c2e59c66 udf: Fix extending file within last block
ade1726d8c2c udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size
4d835efd561d udf: Fix preallocation discarding at indirect extent boundary
0905c78f623e udf: Discard preallocation before extending file with a hole
0758b5069294 tracing/ring-buffer: Only do full wait when cpu != RING_BUFFER_ALL_CPUS
(From OE-Core rev: 2861fb021aa16483fd6c5e91017b380dac33d2b3)
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>
Fixes:
In file included from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/define_trace.h:87,
from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../instrumentation/events/lttng-module/jbd2.h:183,
from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-jbd2.c:29:
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:130:6: error: conflicting types for 'trace_jbd2_run_stats'
130 | void trace_##_name(_proto);
| ^~~~~~
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:42:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
42 | LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../probes/lttng-tracepoint-event-impl.h:84:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
84 | LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/../instrumentation/events/lttng-module/jbd2.h:107:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
107 | LTTNG_TRACEPOINT_EVENT(jbd2_run_stats,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/trace/events/jbd2.h:9,
from TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-jbd2.c:18:
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:243:21: note: previous definition of 'trace_jbd2_run_stats' was here
243 | static inline void trace_##name(proto) \
| ^~~~~~
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:406:2: note: in expansion of macro '__DECLARE_TRACE'
406 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/linux/tracepoint.h:542:2: note: in expansion of macro 'DECLARE_TRACE'
542 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
| ^~~~~~~~~~~~~
TOPDIR/tmp/work-shared/qemuarm/kernel-source/include/trace/events/jbd2.h:234:1: note: in expansion of macro 'TRACE_EVENT'
234 | TRACE_EVENT(jbd2_run_stats,
| ^~~~~~~~~~~
CC [M] TOPDIR/tmp/work/qemuarm-poky-linux-gnueabi/lttng-modules/2.11.6-r0/lttng-modules-2.11.6/probes/lttng-probe-ext4.o
Backport from upstream master branch fixes:
b28830a0dc4fd2615b87612c99eb24
Note that master branch upstream has restructured the location of header files, so the patches
do not apply cleanly. This patch combines the changes in the above commits in the old header location.
(From OE-Core rev: 520d957e14be77f73c82a295f685d189381d8f72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 (Random Act of Kindness Day) LTTng modules 2.11.8
* fix: Adjust ranges for Ubuntu 5.8.0-44 kernel
* Fix: do not use bdi_unknown_name symbol
* fix: memcg: fix a crash in wb_workfn when a device disappears (5.6)
* Fix: writeback: out-of-bound reads
* fix: Add one digit to RHEL major release version
* fix: Add one digit to SLES minor release version
* fix: RT_PATCH_VERSION is close to overflow
* fix: cast LTTNG_KERNEL_VERSION/LTTNG_LINUX_VERSION_CODE to uint64_t
* fix: UTS_UBUNTU_RELEASE_ABI is close to overflow
* fix: sublevel version overflow in LINUX_VERSION_CODE
* Namespace kernel version macros
* aarch64: blacklist gcc prior to 5.1
* fix: missing include for 'task_struct' in fdtable.h
* fix: genirq: Restrict export of irq_to_desc() (v5.11)
* fix: block: merge struct block_device and struct hd_struct (v5.11)
* fix: kprobes: Remove kretprobe hash (v5.11)
* fix: file: Rename fcheck lookup_fd_rcu (v5.11)
* fix: block: remove the request_queue argument to the block_bio_remap tracepoint (v5.11)
* fix: block: remove the request_queue argument to the block_split tracepoint (v5.11)
* fix: block: simplify and extend the block_bio_merge tracepoint class (v5.11)
* fix: block: remove the request_queue to argument request based tracepoints (v5.11)
(From OE-Core rev: fa1056f62017ea764b494c41cc7cdaefe0a80fb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a patch to fix CVE-2022-4743 security issue "A potential memory leak
issue was discovered in SDL2 in GLES_CreateTexture() function in
SDL_render_gles.c. The vulnerability allows an attacker to cause a
denial of service attack. The vulnerability affects SDL2 v2.0.4 and
above. SDL-1.x are not affected." as per NVD
(From OE-Core rev: f40ad856e814366c2d3588001dea1e0df7a3fed6)
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>
The check needs to report dri location on the host machine,
so pkg-config binary needs to be capable of finding the needed
dri.pc file on the host, and therefore needs to know where
host .pc files are located.
This may not be the case when using pkg-config from buildtools,
so this forces usage of host pkg-config.
runqemu already does the same PATH tweak, so this simply brings
the two in sync.
(From OE-Core rev: b2e06c9cf88b4d48e36d845a3cfabf4f3668d605)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0521f8a3ba7e15482756529ee7b0a95b3d53e7d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, if "showSignature" is present in user gitconfig, parsing
of the timestamp will fail.
Ideally we should replace this command with a git plumbing command.
(From OE-Core rev: e872f6636f4cb51426edc6c985e58d2fb74e0f96)
Signed-off-by: Benoît Mauduit <bmauduit@beneth.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3bd6f78f79b3d3e87d8db1e11f58d8021f929843)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed an error when Bash's unbound variable protection is enabled (set -u) and variable "LD_LIBRARY_PATH" does not exist.
(From OE-Core rev: 2c7309eea616ec88338d508bc9f284e3bd44f5a1)
Signed-off-by: Jan Kircher <openembedded@hetsh.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 85685370b0ad93291cda59fb091a15eeecf5e0d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since RRECOMMENDS declaration implictly induces building the recipes
that provide the runtime recommended packages, conditionalize adding
such values according to associated PACKAGECONFIG settings in order
to avoid redundant building.
(From OE-Core rev: a1989add927f7805378fe4d5afbde780b747ba77)
(From OE-Core rev: a35444fa035d551b6a4dcb9609ab8de960258618)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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>
CVE-2022-4283: xkb: reset the radio_groups pointer to NULL after freeing it
Upstream-Status: Backport from ccdd431cd8
CVE-2022-46340: Xtest: disallow GenericEvents in XTestSwapFakeInput
Upstream-Status: Backport from b320ca0ffe
CVE-2022-46341: Xi: disallow passive grabs with a detail > 255
Upstream-Status: Backport from 51eb63b0ee
CVE-2022-46342: Xext: free the XvRTVideoNotify when turning off from the same client
Upstream-Status: Backport from b79f32b57c
CVE-2022-46343: Xext: free the screen saver resource when replacing it
Upstream-Status: Backport from 842ca3ccef
CVE-2022-46344: Xi: avoid integer truncation in length check of ProcXIChangeProperty
Upstream-Status: Backport from 8f454b793e
(From OE-Core rev: dcc597d52a579fca44581ebd81b4a15fa56456fe)
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>
CVE-2019-6461 and CVE-2019-6462 are fixed, but the reporting is
incorrect as the patch for CVE-2019-6461 is actually for CVE-2019-6462
and vice-versa.
This swaps both files and edit the CVE field to report the correct
identifier.
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: 8b1f40639c16286937f04b9b50cef3d759bf442e)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f12c2a5ac94cb29f473f3c7e335463c7fb6d8a6e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building an image cve_check_write_rootfs_manifest() would sometimes fail
with a FileNotFoundError when writing the manifest.cve due to the parent
directory (DEPLOY_DIR_IMAGE) not (yet) existing.
The image task will provide the manifest in the deploy directory afterwards,
so other recipes depending on the manifest being in DEPLOY_DIR_IMAGE should
continue to function properly.
(From OE-Core rev: c25a5c5f6fede29893a2ac1502216e9deccfa6c3)
Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00fb2aae22ce0d7ff5f3f8766fa770eeb4e73483)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We get random SSL failures when fetching the CVE database, and it's
notable that the NVD server is behind a DNS round-robin or geographically
diverse servers.
On a hunch that there is one misconfigured server, dump the IP that we
connected to.
(From OE-Core rev: 48c0e427675f4c99c395cc0a75743ac70eb64802)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91f46d431dc8f40e8c6475c800bb61cb08b82b0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The database update has been done on the original file. In case of
network connection issues, temporary outage of the NVD server or
a similar situation, the function could exit with incomplete data
in the database. This patch solves the issue by performing the update
on a copy of the database. It replaces the main one only if the whole
update was successful.
See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14929
Reported-by: Alberto Pianon <alberto@pianon.eu>
(From OE-Core rev: 6a219c50ee12b7fb584e2db3e4dde171903acfb7)
Signed-off-by: Marta Rybczynska <marta.rybczynska@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8efe99214d8b005f0ecac690ce5ba17b31758f92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With this small patch, it's possible to overrule the public
URL with a local mirror for those without Internet access.
(From OE-Core rev: 7290b3217c31cec7dd9985cbf5a003a9c368fa54)
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2d903126e8bbece3a5171c3488c3deae1f0aa3ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bb.utils.export_proxies() is a poor-man's alternative for the
environment setup code in bb/fetch2, but it's used in several places
where recipes want to download manually (such as cve-update-db-native).
Notably, export_proxies() doesn't pass on the SSL certificate paths from
the original environment, so if SSL_CERT_FILE needs to be set (for
example, in a buildtools environment) then proxies work but SSL doesn't.
In an ideal world export_proxies and the same logic in fetch2 would
merge, but until then we can add the SSL_CERT_ variables and duplicate
the basic logic: check the datastore first and then the original
environment for variables.
[ YOCTO #15000 ]
(Bitbake rev: c16d364dbf68d2a500fecaf8d6e6d62b11475d9f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c19035e8e71c419c5688a86bfc9c946c96f638e8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport [22130dcd98]
Fixes:
In function ?SetDevicePathEndNode?,
inlined from ?FileDevicePath? at DevicePathUtilities.c:857:5:
DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1 [-Werror=stringop-overflow=]
321 | memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof (mUefiDevicePathLibEndDevicePath));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from UefiDevicePathLib.h:22,
from DevicePathUtilities.c:16:
../Include/Protocol/DevicePath.h: In function ?FileDevicePath?:
../Include/Protocol/DevicePath.h:51:9: note: destination object ?Type? of size 1
51 | UINT8 Type; ///< 0x01 Hardware Device Path.
| ^~~~
(From OE-Core rev: a33abd759e2e9f41e056f87024de3b333e9b948b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Yocto #14346]
Systemd may be slow in killing pam session sometimes [1][2]. It may cause rpm
test to fail because there's process (sd_pam) running and own by "test1" user
after timeout.
Increasing timeout to 2 mins and assert earlier with debug output if
there's such process(es). If increasing of timeout doesn't help we may
want to force deletion of the user as [2] suggests.
[1] https://github.com/systemd/systemd/issues/8598
[2] https://access.redhat.com/solutions/6969188
(From OE-Core rev: e4d2351a2b5aa0c4d900abc5d75ab5da9b5e1f8a)
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 972fcc0ed1e0d36c3470071a9c667c5327c1ef78)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_rm_work() task is using the first available 'rm' binary
available in PATH to remove files and folders.
However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE
contents, the function can be using the 'rm' binary available
in RECIPE_SYSROOT_NATIVE, a folder that will get removed.
This causes a sporadic race-condition when trying to access the
'rm' binary of a folder already deleted.
Solve this by exclusively using the HOSTTOOLS 'rm' binary, as
this folder will not get removed.
(From OE-Core rev: 75b7e86c9d9931c9e4e114af026b51710f1920a2)
Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edcd9ad333bc4e504594e8af83e8cb7007d2e35c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous code had 2 issues:
1. make hosttools/ccache always link to host's ccache (/usr/bin/ccache)
even we have one buildtools
2. make hosttools/gcc etc, link to host's gcc event we have one
buildtools when keyword ccache in buildtools's path, eg:
/mnt/ccache/bin/buildtools
This patch is for fix above issues.
(From OE-Core rev: f2f70bf8d93b33b65875828c0402a98e943f660a)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1b7c81414cf252a7203d95703810a770184d7e4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The /proc/pressure support in buildstats is creating directories in the
buildstats tree called reduced_proc_pressure, which confuses the parsing
logic as that cannot be parsed as a name-epoc-version-revision tuple.
Explicitly skip this directory to solve the problem.
(From OE-Core rev: deb919a693e4371ace649680ca06ca6b6e3da4e2)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 24f0331f0b7e51161b1fa43d4592b491d2037fe9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The QB_DEFAULT_KERNEL is set to pick bundled initramfs kernel image
if the Linux kernel image is generated with INITRAMFS_IMAGE_BUNDLE="1".
This makes runqemu to automatically pick bundled initramfs kernel image
instead of explicitly mentioning bundled initramfs kernel image in
runqemu.
[YOCTO #14748]
(From OE-Core rev: 0c63018ef3843cfefd2be31c0a6693181037410d)
Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52371624313184e1a825519160c3833e282df8b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default GOCACHE is set to $HOME/.cache.
Same issue for all other go recipes had been fixed by commit 9a6d208b:
[ go: avoid host contamination by GOCACHE ]
but that commit missed go-crosssdk recipe.
(From OE-Core rev: 22fef4e278beae60d1a6afbe4645fb36732bc736)
Signed-off-by: Robert Andersson <robert.m.andersson@atlascopco.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e5fd10c647ac4baad65f9efa964c3380aad7dd10)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit 0533edac27 broke
bitbake parsing when bitbake is executed from directory with existing .gitmodules
and the recipe in externalsrc does not have .gitmodules
The check needs to search for .gitmodules in sources path, not cwd.
iParsing recipes...ERROR: ExpansionError during parsing <path to recipe>
...
bb.data_smart.ExpansionError: Failure expanding variable do_compile[file-checksums], expression was ${@srctree_hash_files(d)} which triggered exception CalledProcessError: Command '['git', 'config', '--file', '.gitmodules', '--get-regexp', 'path']' returned non-zero exit status 1.
(From OE-Core rev: c58d82b98348b167b60ec3c8b9651d73b1bdfbdc)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 66ff3d1f65cd2e7f5319e98fa41f47a59b714c72)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bc is needed for compiling kernel modules, more specifially
whenr running `make scripts prepare'.
In linux-yocto.inc, we have bc-native in DEPENDS. But we will
need nativesdk-bc in case we compile a kernel module inside
SDK.
(From OE-Core rev: aab8d528ceeb2ee1ab7cffdeff4007fd66275f1b)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 95b5c89066baccb1e64bfba7d9a66feeeb086da9)
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: ff27ea21d7c14086335da5c3e2fac353e44438da)
(From OE-Core rev: 0624c7a77cfc7288fd3154624150b49adce8d8f8)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1596d37ba)
Signed-off-by: Nikhil R <nikhil.r@kpit.com>
Signed-off-by: Omkar Patil <omkarpatil10.93@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:
851c2b5fb793 Linux 5.4.228
ff484a9ba449 ASoC: ops: Correct bounds check for second channel on SX controls
7d4aa0929963 can: mcba_usb: Fix termination command argument
f843fdcac054 can: sja1000: fix size of OCR_MODE_MASK define
b439b12d1050 pinctrl: meditatek: Startup with the IRQs disabled
9796d07c7531 ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()
3c837460f920 nfp: fix use-after-free in area_cache_get()
a40c3c9ae58f block: unhash blkdev part inode when the part is deleted
176ba4c19d1b mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb page
69d4f3baa694 x86/smpboot: Move rcu_cpu_starting() earlier
d1988bf2bba3 net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head
66bb2e2b24ce Linux 5.4.227
898270ec11be can: esd_usb: Allow REC and TEC to return to zero
08bf219d62f5 net: mvneta: Fix an out of bounds check
6b6d3be3661b ipv6: avoid use-after-free in ip6_fragment()
f73eb3fc9b41 net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()
f0af234e2e55 xen/netback: fix build warning
99669d94ce14 ethernet: aeroflex: fix potential skb leak in greth_init_rings()
3295582cd7a5 ipv4: Fix incorrect route flushing when table ID 0 is used
2537b637eac0 ipv4: Fix incorrect route flushing when source address is deleted
36eedb9a05a7 tipc: Fix potential OOB in tipc_link_proto_rcv()
1b6360a093ab net: hisilicon: Fix potential use-after-free in hix5hd2_rx()
e71a46cc8c9a net: hisilicon: Fix potential use-after-free in hisi_femac_rx()
7081cf86e1f6 net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wq
bc06207b4c1c net: stmmac: fix "snps,axi-config" node property parsing
7fab7add08f5 nvme initialize core quirks before calling nvme_init_subsystem
677843470694 NFC: nci: Bounds check struct nfc_target arrays
e5292711b020 i40e: Disallow ip4 and ip6 l4_4_bytes
9337d87da417 i40e: Fix for VF MAC address 0
a1e295517b36 i40e: Fix not setting default xps_cpus after reset
eec1fc21edc2 net: mvneta: Prevent out of bounds read in mvneta_config_rss()
ed773dd798bf xen-netfront: Fix NULL sring after live migration
18e10a9e0e32 net: encx24j600: Fix invalid logic in reading of MISTAT register
1356c17758b8 net: encx24j600: Add parentheses to fix precedence
1831d4540406 mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()
8fb4b50f5436 selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offload
0834d4b121e7 net: dsa: ksz: Check return value
2c6cf0afc385 Bluetooth: Fix not cleanup led when bt_init fails
07ea5d74fc12 Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()
c66d78aee55d af_unix: Get user_ns from in_skb in unix_diag_get_exact().
9d2ee8abf160 igb: Allocate MSI-X vector when testing
cff8ba243f5f e1000e: Fix TX dispatch condition
48bd5d3801f6 gpio: amd8111: Fix PCI device reference count leak
d2be7ba2d47b drm/bridge: ti-sn65dsi86: Fix output polarity setting bug
e2e218177271 ca8210: Fix crash by zero initializing data
efbca8234aee ieee802154: cc2520: Fix error return code in cc2520_hw_init()
3982652957e8 can: af_can: fix NULL pointer dereference in can_rcv_filter
db1ed1b3fb4e HID: core: fix shift-out-of-bounds in hid_report_raw_event
60bce926a8f3 HID: hid-lg4ff: Add check for empty lbuf
625814b85f74 HID: usbhid: Add ALWAYS_POLL quirk for some mice
585a07b82005 drm/shmem-helper: Remove errant put in error path
b8419d16f47e KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field
04edfa3dc06e mm/gup: fix gup_pud_range() for dax
35963b318219 memcg: fix possible use-after-free in memcg_write_event_control()
4afc77068e36 media: v4l2-dv-timings.c: fix too strict blanking sanity checks
91516ba54a02 Revert "net: dsa: b53: Fix valid setting for MDB entries"
50e1ab7e638f xen/netback: don't call kfree_skb() with interrupts disabled
6b1d47f9c34b xen/netback: do some code cleanup
8fe1bf6f32cd xen/netback: Ensure protocol headers don't fall in the non-linear area
5ffc2a75534d mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths
48b00ceb5472 mm/khugepaged: fix GUP-fast interaction by sending IPI
324abbd8b91c mm/khugepaged: take the right locks for page table retraction
b2963819d03b net: usb: qmi_wwan: add u-blox 0x1342 composition
e35c3ad0c208 9p/xen: check logical size for buffer size
9d5126b574c9 fbcon: Use kzalloc() in fbcon_prepare_logo()
102459222d41 regulator: twl6030: fix get status of twl6032 regulators
f2ba66d87385 ASoC: soc-pcm: Add NULL check in BE reparenting
3b2c064a8e11 btrfs: send: avoid unaligned encoded writes when attempting to clone range
63badfed2002 ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event
8d16d3826ff2 regulator: slg51000: Wait after asserting CS pin
9327a9c624ee 9p/fd: Use P9_HDRSZ for header size
671f950d17d5 ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188
2c2c5d1d10f7 ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation
29917e381e02 ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernels
3f39d53bc731 ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name
135fcc458170 ARM: dts: rockchip: fix ir-receiver node names
368f2c2640be arm: dts: rockchip: fix node name for hym8563 rtc
4b346f07f064 arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series
316cdfc48d4d Linux 5.4.226
3ab84e89135b ipc/sem: Fix dangling sem_array access in semtimedop race
210f96fb7ed5 v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails
0390da0565ad proc: proc_skip_spaces() shouldn't think it is working on C strings
dd3124a051a1 proc: avoid integer type confusion in get_proc_long
1061bf5d018b mmc: sdhci: Fix voltage switch delay
9a5f49c0f532 mmc: sdhci: use FIELD_GET for preset value bit masks
d699373ac5f3 char: tpm: Protect tpm_pm_suspend with locks
9decec299337 Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"
e67e119adf3e x86/ioremap: Fix page aligned size calculation in __ioremap_caller()
0d87bb607036 Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM
b5041a3daa7f x86/pm: Add enumeration check before spec MSRs save/restore setup
3b2859457688 x86/tsx: Add a feature bit for TSX control MSR support
99c59256ea00 nvme: ensure subsystem reset is single threaded
dc85ff0a5f32 nvme: restrict management ioctls to admin
c41a89af7b7a epoll: check for events when removing a timed out thread from the wait queue
b8e803cda58b epoll: call final ep_events_available() check under the lock
e65ac2bdda54 tracing/ring-buffer: Have polling block on watermark
899e148171c6 ipv4: Fix route deletion when nexthop info is not specified
cc3cd130ecfb ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
a14f1a9c5313 selftests: net: fix nexthop warning cleanup double ip typo
8aefb9329522 selftests: net: add delete nexthop route warning test
dd6d2d82f0be Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled
7da3a10f39c9 parisc: Increase FRAME_WARN to 2048 bytes on parisc
15568cdbe599 xtensa: increase size of gcc stack frame check
76f48511a1c8 parisc: Increase size of gcc stack frame check
cbdd83bd2fd6 iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()
0090231df2cf pinctrl: single: Fix potential division by zero
73dce3c1d48c ASoC: ops: Fix bounds check for _sx controls
ced17a55a8e7 mm: Fix '.data.once' orphan section warning
c9ecc420941f arm64: errata: Fix KVM Spectre-v2 mitigation selection for Cortex-A57/A72
44ccd8c52fb7 arm64: Fix panic() when Spectre-v2 causes Spectre-BHB to re-allocate KVM vectors
1603feac154f tracing: Free buffers when a used dynamic event is removed
dcd1daad31ac mmc: sdhci-sprd: Fix no reset data and command after voltage switch
9e5581c772cf mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
bfdfe86d839f mmc: core: Fix ambiguous TRIM and DISCARD arg
040d08c99620 mmc: mmc_test: Fix removal of debugfs file
eb5001ecfb4f pinctrl: intel: Save and restore pins in "direct IRQ" mode
ae34a4f4a209 x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3
9a130b72e6bd nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()
3ae3bb33c47e tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"
cf1c12bc5c8c error-injection: Add prompt for function error injection
2f6fd2de726d net/mlx5: DR, Fix uninitialized var warning
ea5844f946b1 hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()
89eecabe6a47 hwmon: (coretemp) Check for null before removing sysfs attrs
0aacac75b8d6 net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed
a7555681e50b sctp: fix memory leak in sctp_stream_outq_migrate()
168de4096b9c packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE
16c244bc65d1 net: tun: Fix use-after-free in tun_detach()
1c1d4830a960 afs: Fix fileserver probe RTT handling
53a62c5efe91 net: hsr: Fix potential use-after-free
ae633816ddf1 dsa: lan9303: Correct stat name
910c0264b64e net: ethernet: nixge: fix NULL dereference
2d24d91b9f44 net/9p: Fix a potential socket leak in p9_socket_open
4720725e22e1 net: net_netdev: Fix error handling in ntb_netdev_init_module()
3e21f85d87c8 net: phy: fix null-ptr-deref while probe() failed
f5c2ec288a86 wifi: cfg80211: fix buffer overflow in elem comparison
06785845e150 qlcnic: fix sleep-in-atomic-context bugs caused by msleep
78f8a34b375f can: cc770: cc770_isa_probe(): add missing free_cc770dev()
e4b474fa787c can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()
0a2d73a77060 net/mlx5e: Fix use-after-free when reverting termination table
093ccc2f8450 net/mlx5: Fix uninitialized variable bug in outlen_write()
b10dd3bd14ec of: property: decrement node refcount in of_fwnode_get_reference_args()
7b2b67fe1339 hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails
45a643783435 hwmon: (i5500_temp) fix missing pci_disable_device()
dbcc3390015f scripts/faddr2line: Fix regression in name resolution on ppc64le
2b916ee1d37c iio: light: rpr0521: add missing Kconfig dependencies
3f566b626029 iio: health: afe4404: Fix oob read in afe4404_[read|write]_raw
2d6a437064ff iio: health: afe4403: Fix oob read in afe4403_read_raw
8eb912af5250 btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()
7e88a416ed43 drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"
41f0abeadc09 drm/amdgpu: update drm_display_info correctly when the edid is read
787138e4b9e1 btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker
255289adce05 spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock
83aae3204e5c btrfs: free btrfs_path before copying inodes to userspace
9fd11e2de746 fuse: lock inode unconditionally in fuse_fallocate()
3659e33c1e4f drm/i915: fix TLB invalidation for Gen12 video and compute engines
0d1cad597199 drm/amdgpu: always register an MMU notifier for userptr
d4e9bab771aa drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASAN
a541f1f0ce90 btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()
d037681515b6 btrfs: free btrfs_path before copying subvol info to userspace
69e2f1dd93c1 btrfs: free btrfs_path before copying fspath to userspace
3cde2bc70819 btrfs: free btrfs_path before copying root refs to userspace
4741b00cac23 binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
4e682ce5601a binder: Address corner cases in deferred copy and fixup
15e098ab1d3c binder: fix pointer cast warning
74e7f1828ab4 binder: defer copies of pre-patched txn data
7b31ab0d9efb binder: read pre-translated fds from sender buffer
c056a6ba35e0 binder: avoid potential data leakage when copying txn
f8fee36515f4 dm integrity: flush the journal on suspend
096e1bd659d8 net: usb: qmi_wwan: add Telit 0x103a composition
86136bf62387 tcp: configurable source port perturb table size
07da8fca307e platform/x86: hp-wmi: Ignore Smart Experience App event
82d758c9daf1 platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)
846c0f9cd05b platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()
6579436fd1a6 xen/platform-pci: add missing free_irq() in error path
375e79c57155 serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()
e3a2211fe17c ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-01
3e2452cbc6f6 Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode
47b4949335cb gcov: clang: fix the buffer overflow issue
ecbde4222e6b nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirty
7d08b4eba1e1 firmware: coreboot: Register bus in module init
a2012335aa53 firmware: google: Release devices before unregistering the bus
cb7495fe9575 ceph: avoid putting the realm twice when decoding snaps fails
12a93545b2ed ceph: do not update snapshot context when there is no new snapshot
0528b19d5701 iio: pressure: ms5611: fixed value compensation bug
562f415bb378 iio: ms5611: Simplify IO callback parameters
def48fbbac1c nios2: add FORCE for vmlinuz.gz
da849abded31 init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash
03949acb58f0 iio: core: Fix entry not deleted when iio_register_sw_trigger_type() fails
f8a76c28e957 iio: light: apds9960: fix wrong register for gesture gain
d3ad47426a58 arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
ae6bcb26984b usb: dwc3: exynos: Fix remove() function
15f8b52523ba lib/vdso: use "grep -E" instead of "egrep"
960cf3c7ff95 s390/crashdump: fix TOD programmable field size
fabd3ab6a19d net: thunderx: Fix the ACPI memory leak
1633e6d6aa82 nfc: st-nci: fix memory leaks in EVT_TRANSACTION
0e2a4560db77 nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
420b21235d63 s390/dasd: fix no record found for raw_track_access
9d1264c914d3 dccp/tcp: Reset saddr on failure after inet6?_hash_connect().
08f25427d81a bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()
59612acf6b5e regulator: twl6030: re-add TWL6032_SUBCLASS
1c12909a7820 NFC: nci: fix memory leak in nci_rx_data_packet()
23b83a3c76b3 xfrm: Fix ignored return value in xfrm6_init()
23ba1997ebc0 tipc: check skb_linearize() return value in tipc_disc_rcv()
59f9aad22fd7 tipc: add an extra conn_get in tipc_conn_alloc
30f91687fa25 tipc: set con sock in tipc_conn_alloc
5c12136c00b5 net/mlx5: Fix FW tracer timestamp calculation
00492f823f30 Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()
e0d5becab1d0 Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()
ec3d7202e99f nfp: add port from netdev validation for EEPROM access
9b8061a6dbd0 net: pch_gbe: fix pci device refcount leak while module exiting
9a39ea43f16a net/qla3xxx: fix potential memleak in ql3xxx_send()
a07149c10bae net/mlx4: Check retval of mlx4_bitmap_init
bbf6d1bc077f ARM: mxs: fix memory leak in mxs_machine_init()
3afa86449ee8 9p/fd: fix issue of list_del corruption in p9_fd_cancel()
bfadcbf5bac5 net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()
e00b42cbec15 nfc/nci: fix race with opening and closing
04ffa53ab7ae net: liquidio: simplify if expression
79c55e66caa0 ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrl
897f6a309138 tee: optee: fix possible memory leak in optee_register_device()
9c1fbac623cb bus: sunxi-rsb: Support atomic transfers
347875ff9ad4 regulator: core: fix UAF in destroy_regulator()
556121103170 regulator: core: fix kobject release warning and memory leak in regulator_register()
c06267652886 ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove
168d59f7f72d ARM: dts: am335x-pcm-953: Define fixed regulators in root node
dd56c671ccca af_key: Fix send_acquire race with pfkey_register
9221a53bfcba MIPS: pic32: treat port as signed integer
dff9b25cb977 RISC-V: vdso: Do not add missing symbols to version section in linker script
b0e025dd87ab arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.
0ba7c091f7f1 block, bfq: fix null pointer dereference in bfq_bio_bfqg()
b848811655db drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)
5dfbb54fe115 spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run
9029aee8742e wifi: mac80211: Fix ack frame idr leak when mesh has no route
1f75f9c1af6a audit: fix undefined behavior in bit shift for AUDIT_BIT
3129cec05f3d wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support
b4cb3dc11185 wifi: mac80211: fix memory free error when registering wiphy fail
(From OE-Core rev: f261daa8a04e97bfc932a72deedddbd87209daec)
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:
771a8acbb841 Linux 5.4.224
3e0c1ab197eb ipc: remove memcg accounting for sops objects in do_semtimedop()
a16415c8f156 wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()
a24bf3c317b2 drm/i915/sdvo: Setup DDC fully before output init
4dadd4b16178 drm/i915/sdvo: Filter out invalid outputs more sensibly
57306fef4d10 drm/rockchip: dsi: Force synchronous probe
e09ff743e30b mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times
8b1174d05896 KVM: x86: emulator: update the emulation mode after CR0 write
ac3bc06c9ac5 KVM: x86: emulator: introduce emulator_recalc_and_set_mode
f159cd915d73 KVM: x86: emulator: em_sysexit should update ctxt->mode
ef3094c4e9ee KVM: x86: Mask off reserved bits in CPUID.80000008H
da1bf3732d0f KVM: x86: Mask off reserved bits in CPUID.8000001AH
2fa24d0274fb ext4: fix BUG_ON() when directory entry has invalid rec_len
72743d5598b9 ext4: fix warning in 'ext4_da_release_space'
eed040fd35e9 parisc: Avoid printing the hardware path twice
9e902284ee3e parisc: Export iosapic_serial_irq() symbol for serial port driver
506ae301672e parisc: Make 8250_gsc driver dependend on CONFIG_PARISC
c586068aad62 ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devices
4e8ee3cf74e2 perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]
6ffa48150b9b perf/x86/intel: Fix pebs event constraints for ICL
fee896d4534f efi: random: reduce seed size to 32 bytes
0c7275743498 fuse: add file_modified() to fallocate
0c3e6288da65 capabilities: fix potential memleak on error path from vfs_getxattr_alloc()
4bc52ddf6347 tracing/histogram: Update document for KEYS_MAX size
c8938263e640 tools/nolibc/string: Fix memcmp() implementation
993bd0de8b53 kprobe: reverse kp->flags when arm_kprobe failed
fe3da74428bf tcp/udp: Make early_demux back namespacified.
4ae03c869c9a btrfs: fix type of parameter generation in btrfs_get_dentry
27a594bc7a7c binder: fix UAF of alloc->vma in race with munmap()
bad83d55134e memcg: enable accounting of ipc resources
92aaa5e8fe90 tcp/udp: Fix memory leak in ipv6_renew_options().
c494ae149858 block, bfq: protect 'bfqd->queued' by 'bfqd->lock'
6949400ec9fe Bluetooth: L2CAP: Fix attempting to access uninitialized memory
ad18f624e3da xfs: Add the missed xfs_perag_put() for xfs_ifree_cluster()
0802130a4d0b xfs: don't fail unwritten extent conversion on writeback due to edquot
fef141f9e4c1 xfs: group quota should return EDQUOT when prj quota enabled
4267433dd3d3 xfs: gut error handling in xfs_trans_unreserve_and_mod_sb()
24e7e3935309 xfs: use ordered buffers to initialize dquot buffers during quotacheck
52802e9a035f xfs: don't fail verifier on empty attr3 leaf block
71d487a82d2c i2c: xiic: Add platform module alias
cdd19e559a72 HID: saitek: add madcatz variant of MMO7 mouse device ID
efdcd1e32c0d scsi: core: Restrict legal sdev_state transitions via sysfs
70119756311a media: meson: vdec: fix possible refcount leak in vdec_probe()
bfa8ccf70597 media: dvb-frontends/drxk: initialize err to 0
11c8f19e0f5a media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE
4a449430ecfb media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE
381453770f73 ipv6: fix WARNING in ip6_route_net_exit_late()
b49f6b2f21f5 net, neigh: Fix null-ptr-deref in neigh_table_clear()
4954b5359eb1 net: mdio: fix undefined behavior in bit shift for __mdiobus_register
c1f594dddd9f Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()
4cd094fd5d87 Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu
5d1a47ebf845 btrfs: fix ulist leaks in error paths of qgroup self tests
6a6731a0df8c btrfs: fix inode list leak during backref walking at find_parent_nodes()
2c0329406bb2 btrfs: fix inode list leak during backref walking at resolve_indirect_refs()
3d74329d8cff isdn: mISDN: netjet: fix wrong check of device registration
2ff6b669523d mISDN: fix possible memory leak in mISDN_register_device()
b13be5e852b0 rose: Fix NULL pointer dereference in rose_send_frame()
8457a00c981f ipvs: fix WARNING in ip_vs_app_net_cleanup()
7effc4ce3d14 ipvs: fix WARNING in __ip_vs_cleanup_batch()
2cc523978f1c ipvs: use explicitly signed chars
74fd58394670 netfilter: nf_tables: release flow rule object from commit path
ca791952d42c net: tun: fix bugs for oversize packet when napi frags enabled
52e042947197 net: sched: Fix use after free in red_enqueue()
d605da3e5f74 ata: pata_legacy: fix pdc20230_set_piomode()
704b92c51b64 net: fec: fix improper use of NETDEV_TX_BUSY
f30060efcf18 nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()
aef89b91c7d7 nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()
875082ae8329 RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()
af8fb5a0600e RDMA/core: Fix null-ptr-deref in ib_core_cleanup()
bbc5d7b46a72 net: dsa: Fix possible memory leaks in dsa_loop_init()
925cb538bd58 nfs4: Fix kmemleak when allocate slot failed
0bc335d0100e NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot
405309d86021 NFSv4.1: Handle RECLAIM_COMPLETE trunking errors
25760a41e380 IB/hfi1: Correctly move list in sc_disable()
6b5c87f9b3f8 RDMA/cma: Use output interface for net_dev check
a0d938496721 Linux 5.4.223
a0a2a4bdd101 can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO receive
fc0eecb8b457 net: enetc: survive memory pressure without crashing
69dd3ad406c4 net/mlx5: Fix possible use-after-free in async command interface
827e36a031e4 net/mlx5e: Do not increment ESN when updating IPsec ESN state
7dc6ce3ef20f nh: fix scope used to find saddr when adding non gw nh
ba6ee85355ad net: ehea: fix possible memory leak in ehea_register_port()
4175d6381f6f openvswitch: switch from WARN to pr_warn
0667bb60000d ALSA: aoa: Fix I2S device accounting
5bdea6745341 ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()
2a47cc2a3d04 PM: domains: Fix handling of unavailable/disabled idle states
a49e74cc7489 net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()
e46f699ac23d i40e: Fix flow-type by setting GL_HASH_INSET registers
e88c2a1e28c5 i40e: Fix VF hang when reset is triggered on another VF
28c47fd23c20 i40e: Fix ethtool rx-flow-hash setting for X722
d303dabe7e03 media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'
b4a3a01762ae media: v4l2-dv-timings: add sanity checks for blanking values
d8f479c777b4 media: vivid: dev->bitmap_cap wasn't freed in all cases
9d6870949c2c media: vivid: s_fbuf: add more sanity checks
8e1592d41519 PM: hibernate: Allow hybrid sleep to work with s2idle
77454bc744e2 can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path
f79de6451eaf tcp: fix indefinite deferral of RTO with SACK reneging
38e451696057 net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSY
97ad240fd9aa net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failed
663682cd3192 kcm: annotate data-races around kcm->rx_wait
e94395e916b4 kcm: annotate data-races around kcm->rx_psock
f85e54b4f3e5 amd-xgbe: add the bit rate quirk for Molex cables
71ba2a95663a amd-xgbe: fix the SFP compliance codes check for DAC cables
fe3fd27083db x86/unwind/orc: Fix unreliable stack dump with gcov
fda2d07234a2 net: netsec: fix error handling in netsec_register_mdio()
24b129aed873 tipc: fix a null-ptr-deref in tipc_topsrv_accept
758dbcc6fbf2 ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()
ccaeef126ed1 arc: iounmap() arg is volatile
fa434a64a4ea drm/msm: Fix return type of mdp4_lvds_connector_mode_valid
29a6902eb076 media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation
6f3511eb8654 net: ieee802154: fix error return code in dgram_bind()
11993652d0b4 mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
5a2d7c93d9b9 cgroup-v1: add disabled controller check in cgroup1_parse_param()
3d056d81b93a xen/gntdev: Prevent leaking grants
8f589b5c0e7b Xen/gntdev: don't ignore kernel unmapping error
f45ee2038464 xfs: force the log after remapping a synchronous-writes file
102de7717d63 xfs: clear XFS_DQ_FREEING if we can't lock the dquot buffer to flush
03b449a880d1 xfs: finish dfops on every insert range shift iteration
3d295076ba4e s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()
344e1cb0bafe s390/futex: add missing EX_TABLE entry to __futex_atomic_op()
4f969d0753bd perf auxtrace: Fix address filter symbol name match for modules
c78b0dc6fb7f kernfs: fix use-after-free in __kernfs_remove
7a09c64b7da0 mmc: core: Fix kernel panic when remove non-standard SDIO card
ed7f1ff87a4a drm/msm/hdmi: fix memory corruption with too many bridges
f649ed0e1b7a drm/msm/dsi: fix memory corruption with too many bridges
e7348308f668 mac802154: Fix LQI recording
5385af2f89bc fbdev: smscufx: Fix several use-after-free bugs
07ef3be6cae3 iio: light: tsl2583: Fix module unloading
cb972e6d01ef tools: iio: iio_utils: fix digit calculation
8f1cd9633d1f xhci: Remove device endpoints from bandwidth list when freeing the device
914704e0d283 mtd: rawnand: marvell: Use correct logic for nand-keep-config
5d36037b224d usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller
7b7a0d54333c usb: bdc: change state when port disconnected
6827b58a957d usb: dwc3: gadget: Don't set IMI for no_interrupt
9aa025430346 usb: dwc3: gadget: Stop processing more requests on IMI
035dda2bfd7f USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM
e4045fbcd98e ALSA: au88x0: use explicitly signed char
d853b4380835 ALSA: Use del_timer_sync() before freeing timer
caea5b20ef9b can: kvaser_usb: Fix possible completions during init_completion
5437642f91fd can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()
5282d4de783b Linux 5.4.222
59f89518f510 once: fix section mismatch on clang builds
(From OE-Core rev: a886ee55d6137efbcc194f7c4ba09e3b5c66990b)
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:
b70bfeb98635 Linux 5.4.221
6bb8769326c4 mm: /proc/pid/smaps_rollup: fix no vma's null-deref
a351077e589d hv_netvsc: Fix race between VF offering and VF association message from host
2f1b3377b6fc Makefile.debug: re-enable debug info for .S files
9220881831c3 ACPI: video: Force backlight native for more TongFang devices
8ad8fc82eee8 riscv: topology: fix default topology reporting
60dd3dc2acc4 arm64: topology: move store_cpu_topology() to shared code
724483b585a1 iommu/vt-d: Clean up si_domain in the init_dmars() error path
dfc0337c6dce net: hns: fix possible memory leak in hnae_ae_register()
bc8301ea7e7f net: sched: cake: fix null pointer access issue when cake_init() fails
b87f88d58f1b net: phy: dp83867: Extend RX strap quirk for SGMII mode
6453077a00c1 net/atm: fix proc_mpc_write incorrect return value
4258c473ee03 HID: magicmouse: Do not set BTN_MOUSE on double report
567f8de358b6 tipc: fix an information leak in tipc_topsrv_kern_subscr
27ee73c1199e tipc: Fix recognition of trial period
fa0676d94fa4 ACPI: extlog: Handle multiple records
13a2719ec89f btrfs: fix processing of delayed tree block refs during backref walking
b397ce347775 btrfs: fix processing of delayed data refs during backref walking
96894a4fe6b0 r8152: add PID for the Lenovo OneLink+ Dock
7f6d2188ec33 arm64: errata: Remove AES hwcap for COMPAT tasks
aae35081633f media: venus: dec: Handle the case where find_format fails
fd596e7371ac KVM: arm64: vgic: Fix exit condition in scan_its_table()
383b7c50f544 ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS
da9793150297 ata: ahci-imx: Fix MODULE_ALIAS
c00cdfc9bd76 hwmon/coretemp: Handle large core ID value
3ea7da6a97d5 x86/microcode/AMD: Apply the patch early on every logical thread
3064c74198cf ocfs2: fix BUG when iput after ocfs2_mknod fails
c2489774a2f0 ocfs2: clear dinode links count in case of error
6391ed32b101 xfs: fix use-after-free on CIL context on shutdown
ac055fee2544 xfs: move inode flush to the sync workqueue
d3eb14b8ea26 xfs: reflink should force the log out if mounted with wsync
05e2b279ead4 xfs: factor out a new xfs_log_force_inode helper
f1172b08bb8e xfs: trylock underlying buffer on dquot flush
890d7dfff79d xfs: don't write a corrupt unmount record to force summary counter recalc
8ebd3ba932df xfs: tail updates only need to occur when LSN changes
87b8a7fb6263 xfs: factor common AIL item deletion code
4202b103d382 xfs: Throttle commits on delayed background CIL push
7a8f95bfb9e3 xfs: Lower CIL flush limit for large logs
f43ff28b0183 xfs: preserve default grace interval during quotacheck
553e5c8031f5 xfs: fix unmount hang and memory leak on shutdown during quotaoff
835306dd3f0c xfs: factor out quotaoff intent AIL removal and memory free
a1e03f160019 xfs: Replace function declaration by actual definition
fdce40c8fd92 xfs: remove the xfs_qoff_logitem_t typedef
926ddf7846ee xfs: remove the xfs_dq_logitem_t typedef
80f78aa76a17 xfs: remove the xfs_disk_dquot_t and xfs_dquot_t
4776ae328ccb xfs: Use scnprintf() for avoiding potential buffer overflow
2f55a0389154 xfs: check owner of dir3 blocks
15b0651f383f xfs: check owner of dir3 data blocks
bc013efdcf17 xfs: fix buffer corruption reporting when xfs_dir3_free_header_check fails
6e204b9e67f3 xfs: xfs_buf_corruption_error should take __this_address
0213ee5f4c93 xfs: add a function to deal with corrupt buffers post-verifiers
3c88c3c00c97 xfs: rework collapse range into an atomic operation
3602df3f1f5f xfs: rework insert range into an atomic operation
7cd181cb2333 xfs: open code insert range extent split helper
fe18f1af38a7 Linux 5.4.220
d9fdda5efe76 thermal: intel_powerclamp: Use first online CPU as control_cpu
c3bb4a7e8cbc inet: fully convert sk->sk_rx_dst to RCU rules
96e2e21284ca efi: libstub: drop pointless get_memory_map() call
97238b88583c md: Replace snprintf with scnprintf
8b766dd70791 ext4: continue to expand file system when the target size doesn't reach
4a36de894779 net/ieee802154: don't warn zero-sized raw_sendmsg()
cff6131217e6 Revert "net/ieee802154: reject zero-sized raw_sendmsg()"
1210359a6854 net: ieee802154: return -EINVAL for unknown addr type
04df9719df18 io_uring/af_unix: defer registered files gc to io_uring release
f5dd24a66462 perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
036b1f3bca7e clk: bcm2835: Make peripheral PLLC critical
1eae30c0113d usb: idmouse: fix an uninit-value in idmouse_open
0d150ccd55db nvmet-tcp: add bounds check on Transfer Tag
3a3a8d75af4d nvme: copy firmware_rev on each init
e5d8f05edb36 staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()
072b5a41c5f8 Revert "usb: storage: Add quirk for Samsung Fit flash"
d6afcab1b48f usb: musb: Fix musb_gadget.c rxstate overflow bug
9fa81cbd2dd3 usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()
1c00bb624cd0 md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d
e30c3a9a8881 HID: roccat: Fix use-after-free in roccat_read()
81247850b8ab bcache: fix set_at_max_writeback_rate() for multiple attached devices
7cfc77f4fe1d ata: libahci_platform: Sanity check the DT child nodes number
16a45e78a687 staging: vt6655: fix potential memory leak
3376a0cf138d power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
3575949513ea nbd: Fix hung when signal interrupts nbd_start_device_ioctl()
22f49d9d6e04 scsi: 3w-9xxx: Avoid disabling device if failing to enable it
66de92207600 clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_rate
9181af2dbf06 media: cx88: Fix a null-ptr-deref bug in buffer_prepare()
5dbfcf7b0803 clk: zynqmp: Fix stack-out-of-bounds in strncpy`
715fe15785b4 btrfs: scrub: try to fix super block errors
8054f824a725 ARM: dts: imx6sx: add missing properties for sram
05f789afaf69 ARM: dts: imx6sll: add missing properties for sram
48d1766b35f3 ARM: dts: imx6sl: add missing properties for sram
ef4a3baf0042 ARM: dts: imx6qp: add missing properties for sram
ee239c0340a2 ARM: dts: imx6dl: add missing properties for sram
82e5191b124a ARM: dts: imx6q: add missing properties for sram
0b2013ace8df ARM: dts: imx7d-sdb: config the max pressure for tsc2046
aec01503ba7f mmc: sdhci-msm: add compatible string check for sdm670
e67c2cda3d60 drm/amdgpu: fix initial connector audio value
079f64a1ea33 platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloading
30a3601c2f59 drm: panel-orientation-quirks: Add quirk for Anbernic Win600
7de3e3514cab drm/vc4: vec: Fix timings for VEC modes
8f6cad7c4b68 drm/amd/display: fix overflow on MIN_I64 definition
cdde55f97298 drm: Prevent drm_copy_field() to attempt copying a NULL pointer
fb282b4e8aef drm: Use size_t type for len variable in drm_copy_field()
1d0803b1532d drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()
61fd56b0a1a3 r8152: Rate limit overflow messages
7d6f9cb24d2b Bluetooth: L2CAP: Fix user-after-free
a76462dbdd8b net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory
4037270ea6d6 wifi: rt2x00: correctly set BBP register 86 for MT7620
2021a5aaf835 wifi: rt2x00: set SoC wmac clock register
f9c053c3e4e9 wifi: rt2x00: set VGC gain for both chains of MT7620
0facbe608305 wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT7620
2f383edcb703 wifi: rt2x00: don't run Rt5592 IQ calibration on MT7620
fdcc57ef8c1f can: bcm: check the result of can_send() in bcm_can_tx()
6e85d2ad958c Bluetooth: hci_sysfs: Fix attempting to call device_add multiple times
776f33c12fdb Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()
49c742afd60f wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()
18373ed500f7 xfrm: Update ipcomp_scratches with NULL when freed
2c485f4f2a64 wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()
42d579d91051 tcp: annotate data-race around tcp_md5sig_pool_populated
ce25d7caf35d openvswitch: Fix overreporting of drops in dropwatch
a7fe12cea515 openvswitch: Fix double reporting of drops in dropwatch
06d73f4e6bd6 bpftool: Clear errno after libcap's checks
56a0ac486341 wifi: brcmfmac: fix invalid address access when enabling SCAN log level
38ca9ece960d NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data
5a646c38f648 thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash
49a6ffdaed60 powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue
ac84b26a1689 MIPS: BCM47XX: Cast memcmp() of function to (void *)
13f4d3665bf6 ACPI: video: Add Toshiba Satellite/Portege Z830 quirk
c5ed3a378978 f2fs: fix race condition on setting FI_NO_EXTENT flag
584561e94260 crypto: cavium - prevent integer overflow loading firmware
00791e017b5f kbuild: remove the target in signal traps when interrupted
d59d36aa4c3f iommu/iova: Fix module config properly
0f224fde6324 crypto: ccp - Release dma channels before dmaengine unrgister
95c4e20adc3e crypto: akcipher - default implementation for setting a private key
4010a1afaae1 iommu/omap: Fix buffer overflow in debugfs
b32a285998d4 cgroup/cpuset: Enable update_tasks_cpumask() on top_cpuset
3317c7d211ef powerpc: Fix SPE Power ISA properties for e500v1 platforms
6191f0310ebf powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
f11bce700b7a x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition
828d19038019 powerpc/powernv: add missing of_node_put() in opal_export_attrs()
0a5cee97c017 powerpc/pci_dn: Add missing of_node_put()
1535e14731e9 powerpc/sysdev/fsl_msi: Add missing of_node_put()
85d23c49336c powerpc/math_emu/efp: Include module.h
e77a85c3fbfd mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg
f28eec40785e clk: ast2600: BCLK comes from EPLL
fc39ebf85d03 clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe
111369bb8cd9 clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
2ee652f072cf spmi: pmic-arb: correct duplicate APID to PPID mapping logic
1ea4efc09fee dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()
8498490b3c91 clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent
8542422192d0 mfd: sm501: Add check for platform_driver_register()
f95ba4aab698 mfd: fsl-imx25: Fix check for platform_get_irq() errors
6804b4fedee2 mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()
595d077f3cf5 mfd: lp8788: Fix an error handling path in lp8788_probe()
b75f4912b371 mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()
1f4f8b6adb3d mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()
b6c2c3059e72 fsi: core: Check error number after calling ida_simple_get
117331a2a522 scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()
558a9fcb6ce7 serial: 8250: Fix restoring termios speed after suspend
c969316eeefb firmware: google: Test spinlock on panic path to avoid lockups
88b9cc60f26e staging: vt6655: fix some erroneous memory clean-up loops
83d11dd92a51 phy: qualcomm: call clk_disable_unprepare in the error handling
29b897ac7b99 tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown
744c2d33a88b drivers: serial: jsm: fix some leaks in probe
9fe0a8c0694c usb: gadget: function: fix dangling pnp_string in f_printer.c
59e3d41265f3 xhci: Don't show warning for reinit on known broken suspend
f8ba29ae237e md/raid5: Ensure stripe_fill happens on non-read IO with journal
9b881a2ca0c6 mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()
22830560eb2f ata: fix ata_id_has_dipm()
10d52d8dd1cb ata: fix ata_id_has_ncq_autosense()
99e7e6445154 ata: fix ata_id_has_devslp()
6ea4b3303abf ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()
e09caa38e10b RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.
b21b0d17ad99 mtd: devices: docg3: check the return value of devm_ioremap() in the probe
3ca6939b5d1a dyndbg: let query-modname override actual module name
ad0a65517cff dyndbg: fix module.dyndbg handling
fc797285c40a misc: ocxl: fix possible refcount leak in afu_ioctl()
7ed37be3a2ce RDMA/rxe: Fix the error caused by qp->sk
0d773c58d702 RDMA/rxe: Fix "kernel NULL pointer dereference" error
59b315353252 media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init
80a955dabb82 tty: xilinx_uartps: Fix the ignore_status
3e77ac46f290 media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop
3baf53328aee HSI: omap_ssi_port: Fix dma_map_sg error check
aa9c0598b109 HSI: omap_ssi: Fix refcount leak in ssi_probe
5d9fb09612de clk: tegra20: Fix refcount leak in tegra20_clock_init
5984b1d66126 clk: tegra: Fix refcount leak in tegra114_clock_init
6d3ac23b952f clk: tegra: Fix refcount leak in tegra210_clock_init
aa3898dec1b6 clk: berlin: Add of_node_put() for of_get_parent()
fcaff9bc6bbc clk: oxnas: Hold reference returned by of_get_parent()
ad3a056982b7 clk: meson: Hold reference returned by of_get_parent()
633c574e0f8b iio: ABI: Fix wrong format of differential capacitance channel ABI.
0111032d9a02 iio: inkern: only release the device node when done with it
246af4216379 iio: adc: at91-sama5d2_adc: lock around oversampling and sample freq
46778752bbd5 iio: adc: at91-sama5d2_adc: check return status for pressure and touch
d50e3817a4b6 iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX
c29c3d32bd01 ARM: dts: exynos: fix polarity of VBUS GPIO of Origen
e00480d42b1a ARM: Drop CMDLINE_* dependency on ATAGS
fcad2eef0030 ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family
6858d8599c65 ARM: dts: kirkwood: lsxl: remove first ethernet port
d45424d980e8 ARM: dts: kirkwood: lsxl: fix serial line
1edbceda073d ARM: dts: turris-omnia: Fix mpp26 pin name and comment
673db1cf4db8 soc: qcom: smem_state: Add refcounting for the 'state->of_node'
1e3ed59370c7 soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()
85a40bfb8e7a memory: of: Fix refcount leak bug in of_get_ddr_timings()
b37f4a711e5d memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
56c4299f7670 ALSA: hda/hdmi: Don't skip notification handling during PM operation
45387ca42277 ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe
371d4dbece4d ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe
aa182988c0e6 ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe
28a12e24d125 mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()
93c86281838c ALSA: dmaengine: increment buffer pointer atomically
6c85495e5882 drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx
c240431717d6 ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API
9e421bd9fd29 mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()
9d7af9b1624d drm/omap: dss: Fix refcount leak bugs
0c55618aaad3 ALSA: hda: beep: Simplify keep-power-at-enable behavior
3ac2045d0419 ASoC: rsnd: Add check for rsnd_mod_power_on
1daf69228e31 drm/bridge: megachips: Fix a null pointer dereference bug
b33b60afa53c drm: fix drm_mipi_dbi build errors
a367b7a96a5e platform/x86: msi-laptop: Fix resource cleanup
a9b32c9fe56d platform/x86: msi-laptop: Fix old-ec check for backlight registering
e548f9503c4b platform/chrome: fix memory corruption in ioctl
783c1c5000e8 platform/chrome: fix double-free in chromeos_laptop_prepare()
8242167cfc83 drm/mipi-dsi: Detach devices when removing the host
4d4a58c9d4db drm: bridge: adv7511: fix CEC power down control register offset
72c0d361940a net: mvpp2: fix mvpp2 debugfs leak
131287ff833d once: add DO_ONCE_SLOW() for sleepable contexts
03ac583eefc9 net/ieee802154: reject zero-sized raw_sendmsg()
71e0ab5b7598 bnx2x: fix potential memory leak in bnx2x_tpa_stop()
360aa7219285 net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()
3625b684a285 tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limited
382ff4471660 sctp: handle the error returned from sctp_auth_asoc_init_active_key
466ed722f205 mISDN: fix use-after-free bugs in l1oip timer handlers
e6d0152c9510 vhost/vsock: Use kvmalloc/kvfree for larger packets.
c202ad048f50 spi: s3c64xx: Fix large transfers with DMA
60a7496b40e8 netfilter: nft_fib: Fix for rpath check with VRF devices
610798a58e72 spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe
1d8c928ed729 x86/microcode/AMD: Track patch allocation size explicitly
215c146b4021 bpf: Ensure correct locking around vulnerable function find_vpid()
4017e91ff25d net: fs_enet: Fix wrong check in do_pd_setup
08a441a4ad54 wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration
e0bab93245b6 bpf: btf: fix truncated last_member_type_id in btf_struct_resolve
374dd4e51966 wifi: rtl8xxxu: Fix skb misuse in TX queue selection
df0b024ade10 spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()
026ffbb07f8f spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()
321c51aa59df wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()
7993680752bb x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register
bbe293db7e67 bpftool: Fix a wrong type cast in btf_dumper_int
9ee70c3cb4f8 wifi: mac80211: allow bw change during channel switch in mesh
4494ec1c0bb8 wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()
acc393aecda0 nfsd: Fix a memory leak in an error handling path
d7f1e7af1ef4 ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAE
5abd2626ca37 sh: machvec: Use char[] for section boundaries
c0f4be8303d0 userfaultfd: open userfaultfds with O_RDONLY
29d0c45cf16e tracing: Disable interrupt or preemption before acquiring arch_spinlock_t
b0c2e34be932 selinux: use "grep -E" instead of "egrep"
56ee9577915d drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
16435e58e57c gcov: support GCC 12.1 and newer compilers
b6094c482935 KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS
764478646115 KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"
45779be5ced6 KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibility
c3a98fc6c2f2 media: cedrus: Set the platform driver data earlier
3cf2ef86e01a ring-buffer: Fix race between reset page and reading page
7e06ef0345ea ring-buffer: Check pending waiters when doing wake ups as well
cc1f35733c19 ring-buffer: Have the shortest_full queue be the shortest not longest
22707f033d8e ring-buffer: Allow splice to read previous partially read pages
e755b65a4727 ftrace: Properly unset FTRACE_HASH_FL_MOD
f66de70930f7 livepatch: fix race between fork and KLP transition
1211121f0e73 ext4: place buffer head allocation before handle start
52c7b8d3b75e ext4: make ext4_lazyinit_thread freezable
3638aa1c7d87 ext4: fix null-ptr-deref in ext4_write_info
a22f52d88331 ext4: avoid crash when inline data creation follows DIO write
21ea616f1e59 jbd2: wake up journal waiters in FIFO order, not LIFO
d1c2d820a2cd nilfs2: fix use-after-free bug of struct nilfs_root
c99860f9a750 f2fs: fix to do sanity check on summary info
68b1e607559d f2fs: fix to do sanity check on destination blkaddr during recovery
c5d8198ce863 f2fs: increase the limit for reserve_root
26b7c0ac49a3 btrfs: fix race between quota enable and quota rescan ioctl
3742e9fd552e fbdev: smscufx: Fix use-after-free in ufx_ops_open()
52895c495b62 powerpc/boot: Explicitly disable usage of SPE instructions
e3f7e99337c6 PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridge
cd251d39b134 UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
08f03b333c4f riscv: Pass -mno-relax only on lld < 15.0.0
c61f553ba87c riscv: Allow PROT_WRITE-only mmap()
09058e5ef7c1 parisc: fbdev/stifb: Align graphics memory size to 4MB
2c60db6869fe RISC-V: Make port I/O string accessors actually work
14c06375c853 regulator: qcom_rpm: Fix circular deferral regression
79b7547eeb37 ASoC: wcd9335: fix order of Slimbus unprepare/disable
6927ee818fe1 quota: Check next/prev free block number after reading from quota file
4cf9233eb175 HID: multitouch: Add memory barriers
477ac1d57f60 fs: dlm: handle -EBUSY first in lock arg validation
d3961f732d85 fs: dlm: fix race between test_bit() and queue_work()
4352db1e330a mmc: sdhci-sprd: Fix minimum clock limit
fbefc5cce481 can: kvaser_usb_leaf: Fix CAN state after restart
9948b80910e2 can: kvaser_usb_leaf: Fix TX queue out of sync after restart
76d9afd30ef3 can: kvaser_usb_leaf: Fix overread with an invalid command
953bb1dfea88 can: kvaser_usb: Fix use of uninitialized completion
42f7d9339612 usb: add quirks for Lenovo OneLink+ Dock
37daa23f2850 iio: pressure: dps310: Reset chip after timeout
228348a9fe5f iio: pressure: dps310: Refactor startup procedure
974c1f15ac9a iio: dac: ad5593r: Fix i2c read protocol requirements
d0050ec3ebbc cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message
bd09adde6771 cifs: destage dirty pages before re-reading them for cache=none
8298f20e1149 mtd: rawnand: atmel: Unmap streaming DMA mappings
8d763c8e6cdb ALSA: hda/realtek: Add Intel Reference SSID to support headset keys
4c354105176f ALSA: hda/realtek: Add quirk for ASUS GV601R laptop
a943c4a16bfb ALSA: hda/realtek: Correct pin configs for ASUS G533Z
19731649623b ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 5530
121fadc0cae5 ALSA: usb-audio: Fix NULL dererence at error path
988ec0cd0a26 ALSA: usb-audio: Fix potential memory leaks
de7d80d0fe10 ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()
afb507303ea9 ALSA: oss: Fix potential deadlock at unregistration
(From OE-Core rev: d066c78c0946f76b3a0a6720b41b3c865dbba012)
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>
Upstream went with something slightly different so let's update the
patch so we don't have to carry a patch that isn't going to be merged.
This patch is part of snapshot 1.17.6.
Cc: Quentin Schulz <foss+yocto@0leil.net>
(From OE-Core rev: d40dbaf85511f074fde32b22dc864b856976d7c8)
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 19eb1e388fbbe5bfb8462710c745f2bb5446b5b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen two different regressions in this API since it is used by
layer-index but not be the core code. Add a test for it to try and
ensure we don't break it again.
(From OE-Core rev: cc8ec63310f9a936371ea1070cb257c926808755)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit b07de5de43ec9c9a2c5d496a64940ccdc5b47cf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In current psplash framework, the psplash might not exist at all.
For example, in case DSITRO is set to nodistro, the psplash does
not exist.
In our psplash recipe, we have:
SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
This variable is parsed to if psplash-poky-img.h exists, a package
named psplash-default is created and is added to RDEPENDS:${PN}.
We can see that the psplash-poky-img.h resides in meta-poky,
and in psplash_git.bbappend file in meta-poky, we have:
FILESEXTRAPATHS:prepend:poky := "${THISDIR}/files:"
So this file is only available in case poky distro is used.
To fix this issue, add condition check in the corresponding systemd
services.
(From OE-Core rev: bf9cb1a3d68da6463195f79caf8baf94cd01a30a)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7a62ff9ed39c179d2b9b0c40f4f8423ced413063)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently TOOLCHAIN is strictly set to gcc in kernel-arch.bbclass.
And this prevents any TOOLCHAIN changes for any kernel recipe.
This change makes TOOLCHAIN configurable as usual.
(From OE-Core rev: 7d45d4696970c45534b905dc7a65418073108f97)
Signed-off-by: Alexey Smirnov <pyih.soft@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit be1634fc35dcc81f0301d942064a6eed584e0704)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Distros can customize the location of OPKG data using OPKGLIBDIR. In
OE-Core commit 11f1956cf5d7 ("package_manager.py: define info_dir and
status_file when OPKGLIBDIR isn't the default"), a fix was applied to
correctly set the info_dir and status_file options relative to
OPKGLIBDIR.
However, as the commit message notes, the opkg.conf file deployed as
part of the opkg package must also be adjusted to correctly reflect the
changed location. Otherwise, opkg running inside the image cannot find
its data.
Fix this by also setting the info_dir and status_file options in
opkg.conf to the correct location relative to OPKGLIBDIR.
Fixes: 11f1956cf5d7 ("package_manager.py: define info_dir and status_file when OPKGLIBDIR isn't the default")
(From OE-Core rev: 38224b19bda2592705ef4274c28cb250d9e980dc)
Signed-off-by: Harald Seiler <hws@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit adb939ae3635de6e02208859fbf29cf0ed39f565)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently, the KERNEL_DEBUG_TIMESTAMPS is not working as expected
at rebuild. That is, even if we set it to "1", the kernel build time
is not changed. The problem could be reproduced by the following steps.
1. bitbake core-image-minimal; start image and check `uname -a` output.
2. set in local.conf: KERNEL_DEBUG_TIMESTAMPS = "1"
3. bitbake core-image-minimal; start image and check `uname -a` output.
It's expected that after enabling KERNEL_DEBUG_TIMESTAMPS, the kernel
build time will be set to current date. But it's not. This is because
the compile.h was not re-generated when do_compile task was re-executed.
In mkcompile_h, we have:
"""
# Only replace the real compile.h if the new one is different,
# in order to preserve the timestamp and avoid unnecessary
# recompilations.
# We don't consider the file changed if only the date/time changed,
# unless KBUILD_BUILD_TIMESTAMP was explicitly set (e.g. for
# reproducible builds with that value referring to a commit timestamp).
# A kernel config change will increase the generation number, thus
# causing compile.h to be updated (including date/time) due to the
# changed comment in the
# first line.
"""
It has made it very clear that it will not be re-generated unless
we have KBUILD_BUILD_TIMESTAMP set explicitly. So we set this variable
explicitly in do_compile to fix this issue.
(From OE-Core rev: e44f0cda8176186d42a752631810c1cb5f1971eb)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1b68c2d2d385013a1c535ef81172494302a36d74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In 526bdd88ccd758204452579333ba188e29270bde the imageType loop in
kernel_do_deploy was changed to use KERNEL_IMAGETYPE_FOR_MAKE rather
than KERNEL_IMAGETYPES. This broke the special handling for fitImage
immediately below because KERNEL_IMAGETYPE_FOR_MAKE never contains
fitImage.
It has always been my understanding that KERNEL_IMAGETYPE_FOR_MAKE
controlled what was passed to make, but KERNEL_IMAGETYPE controlled what
was installed/deployed. When the two are different then it's the
responsibility of whoever set KERNEL_IMAGETYPE_FOR_MAKE to ensure that
whatever comes out of the kernel build system has been transformed in to
the requested form by the time of installation. This is what happens for
kernel.bbclass's own support for vmlinux.gz.
I think this means that for KERNEL_IMAGETYPE vmlinux.gz, kernel.bbclass
is responsible for generating vmlinux.gz.initramfs[1] so that
kernel_do_deploy can deploy it. This means that the change in
526bdd88ccd758204452579333ba188e29270bde can be reverted, fixing
KERNEL_IMAGETYPE = "fitImage".
In addition, it ought to be possible for recipes and other classes that
use kernel.bbclass to hook into this mechanism by setting
KERNEL_IMAGETYPE_FOR_MAKE and performing their own transformations.
do_bundle_initramfs calls kernel_do_compile and we don't want it to
transform vmlinux to vmlinux.gz at that point, since it will fight
against the careful renaming and preserving that do_bundle_initramfs
does. Let's separate the transformation out of kernel_do_compile to a
new do_transform_kernel task that can be run at the right time. This
means that it's also logical to perform the equivalent translation for
the kernel with the initramfs in a separate
do_transform_bundled_initramfs task too.
This leaves two clear customisation points for recipes and other classes
to hook into the process and perform their transformations:
do_transform_kernel and do_transform_bundled_initramfs.
(I care about this because our recipes that use kernel.bbclass also set
KERNEL_IMAGETYPE_FOR_MAKE and transform vmlinux into a form suitable for
our bootloader after do_compile and do_bundle_initramfs into the format
matching KERNEL_IMAGETYPE. I'm unable to successfully bundle an
initramfs after 526bdd88ccd758204452579333ba188e29270bde, but I didn't
want to just revert that change to reintroduce the bug that it was
fixing.)
I can't say that I'm entirely happy with this change, but I'm unsure
what to do to improve it. I find the way that both the bare kernel and
the one with the initramfs both get deployed to be confusing, and a
waste of build time. I would like to not actually generate a publishable
kernel image at all during do_compile when an initramfs is in use, but I
suspect that this would affect valid use cases that I'm not aware of.
(From OE-Core rev: d9e9653616638f2b187d5e04540071ac34d99f56)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
[1] It could be argued that this should be vmlinux.initramfs.gz, but
that would require another special case in kernel_do_deploy and the
filename is only visible within this class and the recipes that use it
anyway.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 10a4a132e87e835726bf5da81a60f6f509b90765)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously, when shortening sstate filenames, the reserved
characters for .siginfo were not considered, when siginfo=False,
resulting in differently shortend filenames for the sstate and siginfo
files. With this change, the filenames of the truncated sstate and
siginfo files have the same basename, just as is already the case for
untruncated filenames.
Making sure that the .siginfo files always have the filename of the
corresponding sstate file plus its .siginfo suffix, also when being
truncated, makes it easier to manage the sstate cache and an sstate
mirror outside of Bitbake/Yocto.
(From OE-Core rev: 408bf1b4bb4f4ed126c17fb3676f9fa0513065ba)
Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2e0e43b7123cf5149833e0072c8edaea3629112)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE is in the io/fs package, which first appeared in go1.16.
Since dunfell is using go1.14, this issue does not apply.
CVE was fixed in fa2d41d0ca736f3ad6b200b2a4e134364e9acc59
Original code in b64202bc29b9c1cf0118878d1c0acc9cdb2308f6
(From OE-Core rev: 1e258940e9a6fabda6e7e60841082c113fdf9500)
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>
Only affects Windows platform, as per the release announcement [1]:
"If, on Windows, Cmd.Run, cmd.Start, cmd.Output, or cmd.CombinedOutput
are executed when Cmd.Path is unset and, in the working directory, there
are binaries named either "..com" or "..exe", they will be executed."
[1] https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ
(From OE-Core rev: 54c40730bc54aa2b2c12b37decbcc99bbcafd07a)
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>
Dunfell uses golang 1.14 which does not contain the affected code (it
was introduced in golang 1.16). From the golang announcement [1]
"Reader.Open (the API implementing io/fs.FS introduced in Go 1.16) can
be made to panic by an attacker providing either a crafted ZIP archive
containing completely invalid names or an empty filename argument.
[1] https://groups.google.com/g/golang-announce/c/0fM21h43arc
(From OE-Core rev: 2329902f994b631d6b77e8bd501d5599db6d5306)
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>
This is a bug in golang.org/x/net/html/parse.go. The golang compiler
includes a partial copy of this under src/vendor/golang.org/x/net/
however the "html" subdirectory is not included. So this bug does not
apply to the compiler itself.
(From OE-Core rev: b8a851faef9990ccb41ded875fc79cf28abd4a4e)
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>
An off-by-one Error issue was discovered in Systemd in format_timespan()
function of time-util.c. An attacker could supply specific values for
time and accuracy that leads to buffer overrun in format_timespan(),
leading to a Denial of Service.
Add a patch to solve above CVE issue
Link: 9102c625a6
(From OE-Core rev: e2db40ca49b8ed217f14c7f861087837e8b3f389)
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>
If the path to bitbake.lock is in a deep directory, bitbake will hang. The
reason was that the max file length limiting code (to 255 chars) was including
the directory name and it should only act on the filename within the directory.
Fix it to just use the base filename.
[YOCTO #14766]
(Bitbake rev: e3db9c2e9eded3c5cb6040714a6054b44f6b3880)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89d70e7b71eecfe06592202f326e566c579ba01d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The fetcher mirror code can go crazy creating lock filenames which exceed the
filesystem limits. When this happens, the code will loop/hang.
Handle the filename too long exception correctly but also truncate lockfile
lengths to under 256 since the worst case situation is lockfile overlap
and lack of parallelism.
(Bitbake rev: 30d42ef030d03e11322b6b05ea7bbb64ab3d6f21)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63baf3440b16e41ac6601de21ced94a94bdf1509)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need the system tar to be GNU tar, as we reply on --xattrs. Some
distributions may be using libarchive's tar binary, which is definitely
not as featureful, so check for this and abort early with a clear
message instead of later with mysterious errors.
(From OE-Core rev: 8f852648fe730615c99bcdaace8a4748ef4e96a5)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7dd2b1cd1bb10e67485dab8600c0787df6c2eee7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The trailing slash in ${B} caused -fdebug-prefix-map=${B}=... to not
match as intended, resulting in ${TMPDIR} ending up in files in
${PN}-dbg when externalsrc was in use, which in turn triggered buildpath
QA warnings.
(From OE-Core rev: fa89e048e223ae2e96d0f55979f93f29904b5229)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b5031ed5a0d102905fa75acc418246c23df6eef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fix issue introduced in:
https://git.openembedded.org/openembedded-core/commit/?id=95fbac8dcad6c93f4c9737e9fe13e92ab6befa09
* it added check for s_dir + git-dir (typically '.git') isn't
the same as ${TOPDIR} + git-dir, but due to copy-paste issue
it was just comparing it with s_dir + git-dir again, resulting
in most external repos (where git-dir is '.git') to be processed
as regular directory (not taking advantage of git write-tree).
* normally this wouldn't be an issue, but for big repo with a lot of
files this added a lot of checksums in:
d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}')
and I mean *a lot, e.g. in chromium build it was 380227 paths
which still wouldn't that bad, but the checksum processing in
siggen.py isn't trivial and just looping through all these
checksums takes very long time (over 1000sec on fast NVME drive
with warm cache) and then
https://git.openembedded.org/bitbake/commit/?id=b4975d2ecf615ac4c240808fbc5a3f879a93846b
made the processing a bit more complicated and the loop in
get_taskhash() function took 6448sec and to make things worse
there was no output from bitbake during that time, so even with -DDD
it looks like this:
DEBUG: virtual/libgles2 resolved to: mesa (langdale/oe-core/meta/recipes-graphics/mesa/mesa_22.2.0.bb)
Bitbake still alive (no events for 600s). Active tasks:
Bitbake still alive (no events for 1200s). Active tasks:
Bitbake still alive (no events for 1800s). Active tasks:
Bitbake still alive (no events for 2400s). Active tasks:
Bitbake still alive (no events for 3000s). Active tasks:
Bitbake still alive (no events for 3600s). Active tasks:
Bitbake still alive (no events for 4200s). Active tasks:
Bitbake still alive (no events for 4800s). Active tasks:
Bitbake still alive (no events for 5400s). Active tasks:
Bitbake still alive (no events for 6000s). Active tasks:
DEBUG: Starting bitbake-worker
without -DDD it will get stuck for almost 2 hours in:
"Initialising tasks..."
before it finally writes sstate summary like:
"Sstate summary: Wanted 3102 Local 0 Mirrors 0 Missed 3102 Current 1483 (0% match, 32% complete)"
* fix the copy&paste typo to use git work-tree in most cases, but
be aware that this issue still exists for huge local source
trees not in git
[YOCTO #14942]
(From OE-Core rev: 1f0e4de8d92edd7438d462c779d917ac0ccd5499)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9102e5a94b8146cb1da27afbe41d3db999a914ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Major changes between OpenSSL 1.1.1r and OpenSSL 1.1.1s [1 Nov 2022]
* Fixed a regression introduced in OpenSSL 1.1.1r not refreshing the
certificate data to be signed before signing the certificate.
Major changes between OpenSSL 1.1.1q and OpenSSL 1.1.1r [11 Oct 2022]
* Added a missing header for memcmp that caused compilation failure on
some platforms
(From OE-Core rev: a39a32efd41c92a3ada49d667979c79101a4a2da)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Below commits on glibc-2.31 stable branch are updated.
d4b7559457 x86-64: Require BMI2 for avx2 functions [BZ #29611]
b8bb48a18d x86-64: Require BMI2 for strchr-avx2.S [BZ #29611]
c8f2a3e803 Add test for bug 29530
e6ae5b25cd Fix memmove call in vfprintf-internal.c:group_number
1dbe841a67 Remove most vfprintf width/precision-dependent allocations (bug 14231, bug 26211).
5a802723db stdio: Add tests for printf multibyte convertion leak [BZ#25691]
ae7748e67f stdio: Remove memory leak from multibyte convertion [BZ#25691]
174d0b61c7 Linux: Require properly configured /dev/pts for PTYs
0a167374fd Linux: Detect user namespace support in io/tst-getcwd-smallbuff
4ad1659d8c getcwd: Set errno to ERANGE for size == 1 (CVE-2021-3999)
3319cea99e support: Add helpers to create paths longer than PATH_MAX
f733e291bb support: Fix xclone build failures on ia64 and hppa
43757c70ee support: Add xclone
29d3aeb0e8 Add xchdir to libsupport.
2d7720f316 support: Add create_temp_file_in_dir
183709983d NEWS: Add a bug fix entry for BZ #28896
d385079bd5 x86: Fix TEST_NAME to make it a string in tst-strncmp-rtm.c
7df3ad6560 x86: Test wcscmp RTM in the wcsncmp overflow case [BZ #28896]
fc133fcf49 x86: Fallback {str|wcs}cmp RTM in the ncmp overflow case [BZ #28896]
775c05b28c string: Add a testcase for wcsncmp with SIZE_MAX [BZ #28755]
c6b346ec55 x86-64: Test strlen and wcslen with 0 in the RSI register [BZ #28064]
0675185923 x86: Remove wcsnlen-sse4_1 from wcslen ifunc-impl-list [BZ #28064]
5db3239baf x86: Black list more Intel CPUs for TSX [BZ #27398]
5b99f172b8 x86: Check RTM_ALWAYS_ABORT for RTM [BZ #28033]
70d293a158 NEWS: Add a bug fix entry for BZ #27974
a2be2c0f5d String: Add overflow tests for strnlen, memchr, and strncat [BZ #27974]
489006c3c5 x86: Optimize strlen-evex.S
937f2c783a x86: Fix overflow bug in wcsnlen-sse4_1 and wcsnlen-avx2 [BZ #27974]
0058c73d11 x86-64: Add wcslen optimize for sse4.1
665d0252f1 x86-64: Move strlen.S to multiarch/strlen-vec.S
82ff13e2cc x86-64: Fix an unknown vector operation in memchr-evex.S
539b593a1d x86: Optimize memchr-evex.S
7b37ae60c6 x86: Optimize strlen-avx2.S
0381c1c10d x86: Fix overflow bug with wmemchr-sse2 and wmemchr-avx2 [BZ #27974]
10368cb76b x86: Optimize memchr-avx2.S
66ca40582e test-strnlen.c: Check that strnlen won't go beyond the maximum length
927bcaf892 test-strnlen.c: Initialize wchar_t string with wmemset [BZ #27655]
0d4159c36c x86-64: Require BMI2 for __strlen_evex and __strnlen_evex
c0cbb9345e NEWS: Add a bug fix entry for BZ #27457
e81b975fcc x86-64: Fix ifdef indentation in strlen-evex.S
aa4e48e73c x86-64: Use ZMM16-ZMM31 in AVX512 memmove family functions
ac911d3b57 x86-64: Use ZMM16-ZMM31 in AVX512 memset family functions
20d37de533 x86: Add string/memory function tests in RTM region
fbaa99ed41 x86-64: Add AVX optimized string/memory functions for RTM
096e14f632 x86-64: Add memcmp family functions with 256-bit EVEX
f00fad4e4c x86-64: Add memset family functions with 256-bit EVEX
cf239ddd2e x86-64: Add memmove family functions with 256-bit EVEX
7257ba7bf2 x86-64: Add strcpy family functions with 256-bit EVEX
db9071c0f6 x86-64: Add ifunc-avx2.h functions with 256-bit EVEX
2d612b2c5f x86: Set Prefer_No_VZEROUPPER and add Prefer_AVX2_STRCMP
5b13651085 NEWS: Add a bug fix entry for BZ #28755
5ee8a436ab x86: Fix __wcsncmp_avx2 in strcmp-avx2.S [BZ# 28755]
(From OE-Core rev: 1d047a1f19ea57f919180273589cdf7fb4dacaa3)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Below commits on binutils-2.34 stable branch are updated.
c4e78c0868a PR27755, powerpc-ld infinite loop
33973d228c9 gas, arm: PR26858 Fix availability of single precision vmul/vmla in arm mode
0c8652fe288 x86: Update GNU property tests
5c1bd3f52c6 x86: Properly merge -z ibt and -z shstk
93b9bf1651a PowerPC TPREL_HA/LO optimisation
58950a3bfd4 Date update
e3b314d3a61 aarch64: set sh_entsize of .plt to 0
26b6ab7a0e4 S/390: z13: Accept vector alignment hints
7324292cd94 gas: Fix checking for backwards .org with negative offset
463ec189fe9 Prevent a potential use-after-fee memory corruption bug in the linker (for PE format files).
ef2826c0fdb Fix the ARM assembler to generate a Realtime profile for armv8-r.
8524bb5bd28 Re: Fix tight loop on recursively-defined symbols
5768460022b Fix tight loop on recursively-defined symbols
a72427b1ae0 gas: PR 25863: Fix scalar vmul inside it block when assembling for MVE
9f57ab49b32 BFD: Exclude sections with no content from compress check.
aaf3f0599a2 Arm: Fix LSB of GOT for Thumb2 only PLT.
97f92b3e90a Arm: Fix thumb2 PLT branch offsets.
3053d7a163c include: Sync plugin-api.h with GCC
f7aec2b8e09 PR25745, powerpc64-ld overflows string buffer in --stats mode
1b2bf0f65c1 include: Sync plugin-api.h with GCC
5e8619b9597 include: Sync lto-symtab.h and plugin-api.h with GCC
23820109ced plugin: Don't invoke LTO-wrapper
64f5c0afcc4 plugin: Use LDPT_ADD_SYMBOLS_V2 to get symbol type
aaa1e160040 Silence warnings due to plugin API change
e7c0ee5110c Include: Sync lto-symtab.h and plugin-api.h with GCC
b6520be37fd Fix dwarf.c build with GCC 10
a560c29ca5a bfd: Change num_group to unsigned int
3ca4cd1ebde gas, arm: Fix bad backport
b3174859c4b gas, arm: PR25660L Fix vadd/vsub with lt and le condition codes for MVE
de9c1b7cfe6 powerpc64-ld infinite loop
0318fc4e18e Adjust PR25355 testcase
40bfb976274 Re: PR24511, nm should not mark symbols in .init_array as "t"
42b2380cdce Don't call lto-wrapper for ar and ranlib
acc4a8b8ac8 PR25585, PHDR segment not covered by LOAD segment
(From OE-Core rev: ad15d44b6c56ccbbe8e4c12717e7dfe3492a659a)
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
archive/tar: limit size of headers
Set a 1MiB limit on special file blocks (PAX headers, GNU long names,
GNU link names), to avoid reading arbitrarily large amounts of data
into memory.
Link: https://github.com/golang/go/commit/0a723816cd2
(From OE-Core rev: a8e2f91edfe2df5204a482c4e53fbdd08f80e878)
Signed-off-by: Sunil Kumar <sukumar@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unless we're using systemd, dbus is not pulled into the system
automatically. Bluez5 will not work without dbus so add it to RDEPENDS
explicitly.
(From OE-Core rev: babcb7cd3bbefe9c0ea28e960e4fd6cefbc03cae)
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 377ef7009a8638efe688b6b61f67ae399eb1f23d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
coreutils-native will pick up openssl on the host if it's GPL
compatible (version >= 3), which causes uninative failures with hosts
that don't have openssl3.
Add a PACKAGECONFIG entry for openssl so it can be enabled, but isn't
by default.
(From OE-Core rev: 590d8f2bdbb7ea558b9e99e58a1dae2b5eb58153)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9859a8124a0c09ac38d476445e7df7097f41d153)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The urlopen() call can block indefinitely under some circumstances.
This can result in the bitbake process to run endlessly because of
the 'do_fetch' task of cve-update-bb-native to remain active.
This adds a default timeout of 60 seconds to avoid this hang, while
being large enough to minimize the risk of unwanted timeouts.
(From OE-Core rev: f51a6742bcae3a151a326d17cd44935815eb78c7)
Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f6652854f544106b40d860de2946954de642f3)
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: 54bbfe94ae4514386c572564bf221edfdbb2ce38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the newer version of ssh in Ubuntu 22.04 we are getting errors of this type:
Unable to negotiate with 192.168.7.2 port 22: no matching host key type found. Their offer: ssh-rsa
Add -o HostKeyAlgorithms=+ssh-rsa to command invocation as suggested at:
http://www.openssh.com/legacy.html
(From OE-Core rev: 9275d23c782071382c201bca2d647f6426a64e2f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a UBOOT_MKIMAGE_SIGN_ARGS variable to enable passing additional
options to uboot-mkimage when it is run the second time to perform
signing.
(From OE-Core rev: fd39b936b03a6416e7a66408c47578daa2a08cf1)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8fd7ee7414b45a1feeef7982af3583475902a677)
Signed-off-by: Massimiliano Minella <massimiliano.minella@se.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:
fd92cfed8bc6 Linux 5.4.219
0cb5be43dc4b wifi: mac80211: fix MBSSID parsing use-after-free
9478c5f9c007 wifi: mac80211: don't parse mbssid in assoc response
7f441a6c90fe mac80211: mlme: find auth challenge directly
c248c3330d5f Revert "fs: check FMODE_LSEEK to control internal pipe splicing"
1d0da8674c23 Linux 5.4.218
3ff54a91e4ea Input: xpad - fix wireless 360 controller breaking after suspend
690467759573 Input: xpad - add supported devices as contributed on github
9389750ac6b0 wifi: cfg80211: update hidden BSSes to avoid WARN_ON
7fab3bf52059 wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
77bb20ccb9df wifi: cfg80211: avoid nontransmitted BSS list corruption
785eaabfe310 wifi: cfg80211: fix BSS refcounting bugs
359ce507f751 wifi: cfg80211: ensure length byte is present before access
43689bf2cd8e wifi: cfg80211/mac80211: reject bad MBSSID elements
020402c7dd58 wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
c634a9107f6a random: use expired timer rather than wq for mixing fast pool
39800adc38f6 random: avoid reading two cache lines on irq randomness
bc0375ca434b random: restore O_NONBLOCK support
49d2fc9f998b USB: serial: qcserial: add new usb-id for Dell branded EM7455
20a5bde60597 scsi: stex: Properly zero out the passthrough command structure
46b822a7550d efi: Correct Macmini DMI match in uefi cert quirk
b719d10f7ec3 ALSA: hda: Fix position reporting on Poulsbo
e5d25a3bfde4 random: clamp credited irq bits to maximum mixed
194f59391d6c ceph: don't truncate file in atomic_open
259c0f68168a nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
b7e409d11db9 nilfs2: fix leak of nilfs_root in case of writer thread creation failure
792211333ad7 nilfs2: fix NULL pointer dereference at nilfs_bmap_lookup_at_level()
963089ad76cb rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
2da677c0c725 mmc: core: Terminate infinite loop in SD-UHS voltage switch
373eca05b5b8 mmc: core: Replace with already defined values for readability
7ec8f073c2bf USB: serial: ftdi_sio: fix 300 bps rate for SIO
21446ad9cb98 usb: mon: make mmapped memory read only
d2f3a51ca27e arch: um: Mark the stack non-executable to fix a binutils warning
bb2d4c37b1fc um: Cleanup compiler warning in arch/x86/um/tls_32.c
9e26e0eef622 um: Cleanup syscall_handler_t cast in syscalls_32.h
3c9a75b3d2f7 net/ieee802154: fix uninit value bug in dgram_sendmsg
61be8898d704 scsi: qedf: Fix a UAF bug in __qedf_probe()
c790d3a00d42 ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
aefe2f55a986 dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
db702ecd713a dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
59684c877783 firmware: arm_scmi: Add SCMI PM driver remove routine
70e4f70d54e0 fs: fix UAF/GPF bug in nilfs_mdt_destroy
398312c687bb perf tools: Fixup get_current_dir_name() compilation
393a1aa4215b mm: pagewalk: Fix race between unmap and page walker
6e150d605c9e Linux 5.4.217
0c41153c367b docs: update mediator information in CoC docs
096740d67560 Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
e911caf9a158 Revert "drm/amdgpu: use dirty framebuffer helper"
ae19c3c76dc4 xfs: remove unused variable 'done'
538657def702 xfs: fix uninitialized variable in xfs_attr3_leaf_inactive
9ff41b8d71ba xfs: streamline xfs_attr3_leaf_inactive
c893fedaf10c xfs: move incore structures out of xfs_da_format.h
5e13ad940a2a xfs: fix memory corruption during remote attr value buffer invalidation
821e0951b4b3 xfs: refactor remote attr value buffer invalidation
a1b66abe30da xfs: fix IOCB_NOWAIT handling in xfs_file_dio_aio_read
1e4a0723eb38 xfs: fix s_maxbytes computation on 32-bit kernels
16de74ee3ad6 xfs: truncate should remove all blocks, not just to the end of the page cache
87e73331e4b7 xfs: introduce XFS_MAX_FILEOFF
bd67d06b099d xfs: fix misuse of the XFS_ATTR_INCOMPLETE flag
24f45c878299 x86/speculation: Add RSB VM Exit protections
564275d4b93f x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced IBRS parts
4891e5fd1001 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
9862c0f4fd6c x86/speculation: Disable RRSBA behavior
b9ae02c3c253 x86/bugs: Add Cannon lake to RETBleed affected CPU list
d6a8a470dc22 x86/cpu/amd: Enumerate BTC_NO
2edfa537f3b1 x86/common: Stamp out the stepping madness
17a9fc4a7b91 x86/speculation: Fill RSB on vmexit for IBRS
2242cf215013 KVM: VMX: Fix IBRS handling after vmexit
51c71ed134e9 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
a31bdec99a95 KVM: VMX: Convert launched argument to flags
5895a9297e60 KVM: VMX: Flatten __vmx_vcpu_run()
64723cd346ea KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw
57ba312f1037 KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S
87dfe68a3513 x86/speculation: Remove x86_spec_ctrl_mask
4109a8ce107d x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
0fd086edf887 x86/speculation: Fix SPEC_CTRL write on SMT state change
18d5a93fd202 x86/speculation: Fix firmware entry SPEC_CTRL handling
03a575a0f954 x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
8afd1c7da2b0 x86/speculation: Change FILL_RETURN_BUFFER to work with objtool
3ee9e9a5af07 intel_idle: Disable IBRS during long idle
97bc52c14a93 x86/bugs: Report Intel retbleed vulnerability
fd67fe3db93f x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
2d4ce2d72c3b x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
e2d793a3742a x86/bugs: Optimize SPEC_CTRL MSR writes
a3111faed5c1 x86/entry: Add kernel IBRS implementation
fd32a31553a1 x86/entry: Remove skip_r11rcx
3c93ff4e23ea x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
9a596426d7bd x86/bugs: Add AMD retbleed= boot parameter
063b7f980607 x86/bugs: Report AMD retbleed vulnerability
954d591a84d0 x86/cpufeatures: Move RETPOLINE flags to word 11
893cd858b09c x86/kvm/vmx: Make noinstr clean
f62d272c2fec x86/cpu: Add a steppings field to struct x86_cpu_id
69460b1ed63d x86/cpu: Add consistent CPU match macros
87449d94e75c x86/devicetable: Move x86 specific macro out of generic code
fbd29b7549b2 Revert "x86/cpu: Add a steppings field to struct x86_cpu_id"
3a8ff61e6f13 Revert "x86/speculation: Add RSB VM Exit protections"
(From OE-Core rev: 285fdd43a20ccb12231bd36e5e75fe13ad2a32fd)
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:
f28b7414ab71 Linux 5.4.216
b8b87cb13681 clk: iproc: Do not rely on node name for correct PLL setup
d417d5eb29d7 clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
762706bd12a6 selftests: Fix the if conditions of in test_extra_filter()
ae0d3a431639 nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme devices
18ef5cd4c53c nvme: add new line after variable declatation
3ea4a5342452 usbnet: Fix memory leak in usbnet_disconnect()
6ca922ec7598 Input: melfas_mip4 - fix return value check in mip4_probe()
38c4d8230f93 Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time"
7291d19a9eeb soc: sunxi: sram: Fix debugfs info for A64 SRAM C
cdbcdfc96126 soc: sunxi: sram: Fix probe function ordering issues
73dbc6e136b5 soc: sunxi_sram: Make use of the helper function devm_platform_ioremap_resource()
26170e4fd145 soc: sunxi: sram: Prevent the driver from being unbound
883778a1f4fa soc: sunxi: sram: Actually claim SRAM regions
1ba52486082b ARM: dts: am33xx: Fix MMCHS0 dma properties
d0c69c722ff1 ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver
d18565280076 media: dvb_vb2: fix possible out of bound access
0f4634f70bfd mm: fix madivse_pageout mishandling on non-LRU page
ffd11370b74f mm/migrate_device.c: flush TLB while holding PTL
b9e31f4885c4 mm: prevent page_frag_alloc() from corrupting the memory
d535fb83844e mm/page_alloc: fix race condition between build_all_zonelists and page allocation
2ec4949738c8 mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
bb7c23e4e523 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
5cebfac6a8c9 Revert "net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()"
9a3740f448be ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
46e784cf4a84 ARM: dts: integrator: Tag PCI host with device_type
85b5edb1b429 clk: ingenic-tcu: Properly enable registers before accessing timers
f8a2e22289e4 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
43699b8fbcf1 uas: ignore UAS for Thinkplus chips
fc540f6e4bb4 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
383c663c7359 uas: add no-uas quirk for Hiksemi usb_disk
6215647d9699 Linux 5.4.215
579976dc0d9f ext4: make directory inode spreading reflect flexbg size
26e7c965f41b xfs: fix use-after-free when aborting corrupt attr inactivation
8b3c9eb1b3dd xfs: fix an ABBA deadlock in xfs_rename
37ec5a20c80d xfs: don't commit sunit/swidth updates to disk if that would cause repair failures
4668f08cda30 xfs: split the sunit parameter update into two parts
fd6c5da3fa2b xfs: refactor agfl length computation function
6363fdf7acac xfs: use bitops interface for buf log item AIL flag check
a95582d9d500 xfs: stabilize insert range start boundary to avoid COW writeback race
7a20c664a7d8 xfs: fix some memory leaks in log recovery
ad9759d48802 xfs: always log corruption errors
0336599b645e xfs: constify the buffer pointer arguments to error functions
8856a6572fed xfs: convert EIO to EFSCORRUPTED when log contents are invalid
9185003c93b3 xfs: Fix deadlock between AGI and AGF when target_ip exists in xfs_rename()
796ff09598cd xfs: attach dquots and reserve quota blocks during unwritten conversion
a33bcad48b48 xfs: range check ri_cnt when recovering log items
a102869fb173 xfs: add missing assert in xfs_fsmap_owner_from_rmap
979eb1230413 xfs: slightly tweak an assert in xfs_fs_map_blocks
c494dbca9928 xfs: replace -EIO with -EFSCORRUPTED for corrupt metadata
bb7eb3ca4b3b ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
04aa8187eba5 workqueue: don't skip lockdep work dependency in cancel_work_sync()
a874609522b5 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
75ed7dee26ab drm/amd/display: Limit user regamma to a valid value
c89849ecfd2e drm/amdgpu: use dirty framebuffer helper
0b467eab0aad Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
8c8d0f7ac82f cifs: always initialize struct msghdr smb_msg completely
1438e412aeda usb: xhci-mtk: fix issue of out-of-bounds array access
2e473351400e s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
9eb710d1843a serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
6cc0434f9d44 serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
556e827b0f63 serial: Create uart_xmit_advance()
903f7d322c17 net: sched: fix possible refcount leak in tc_new_tfilter()
0e8de8f54b04 net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
67199c26a006 perf kcore_copy: Do not check /proc/modules is unchanged
80b2f37b3370 perf jit: Include program header in ELF files
95c5637d3d1f can: gs_usb: gs_can_open(): fix race dev->can.state condition
11ebf32fde46 netfilter: ebtables: fix memory leak when blob is malformed
6a3239f80682 net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
d12a1eb07003 net/sched: taprio: avoid disabling offload when it was never enabled
420c9b10737b of: mdio: Add of_node_put() when breaking out of for_each_xx
d2ac2baf1fc4 i40e: Fix set max_tx_rate when it is lower than 1 Mbps
450d106804ff i40e: Fix VF set max MTU size
3daf09781982 iavf: Fix set max MTU size with port VLAN and jumbo frames
bfaff9adaa89 iavf: Fix bad page state
9bf52411eeaa MIPS: Loongson32: Fix PHY-mode being left unspecified
405bd0ebb00c MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
37f79374bba4 net: team: Unsync device addresses on ndo_stop
346e94aa4a99 ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
b84fdb6be105 iavf: Fix cached head and tail value for iavf_get_tx_pending
721ea8ac063d netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
d0a24bc8e2aa netfilter: nf_conntrack_irc: Tighten matching on DCC message
0376a77fa7bc netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
c9355b7e5a6f arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
312eb4574d16 arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
a52ef6ae2842 arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
016b150992ee mm/slub: fix to return errno if kmalloc() fails
cafb9cad9bcc efi: libstub: check Shim mode using MokSBStateRT
9599d4601941 ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
befadcf8f7f2 ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
b90ac48c0540 ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
5f622518a7d0 ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
8f8a740e9160 ALSA: hda/realtek: Re-arrange quirk table entries
dafeac1226a4 ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
95b9a7f0bfbb ALSA: hda: add Intel 5 Series / 3400 PCI DID
7fff38ab90b8 ALSA: hda/tegra: set depop delay for tegra
78d3ae9bfad6 USB: serial: option: add Quectel RM520N
55f0f59e8227 USB: serial: option: add Quectel BG95 0x0203 composition
95b97afdde75 USB: core: Fix RST error in hub.c
f5e322ffe7aa Revert "usb: gadget: udc-xilinx: replace memcpy with memcpy_toio"
430c9bd664ec Revert "usb: add quirks for Lenovo OneLink+ Dock"
05ec31717feb usb: cdns3: fix issue with rearming ISO OUT endpoint
10c5d34f6f68 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
ddf7bc221817 usb: add quirks for Lenovo OneLink+ Dock
da8ac086943e tty: serial: atmel: Preserve previous USART mode if RS485 disabled
e56a40281997 serial: atmel: remove redundant assignment in rs485_config
85a64208b319 tty/serial: atmel: RS485 & ISO7816: wait for TXRDY before sending data
9ad48cbf8b07 wifi: mac80211: Fix UAF in ieee80211_scan_rx()
9a3695bde9c7 usb: xhci-mtk: relax TT periodic bandwidth allocation
174645cc63c3 usb: xhci-mtk: allow multiple Start-Split in a microframe
6cfde07c5d8e usb: xhci-mtk: add some schedule error number
664b0b8f4efa usb: xhci-mtk: add a function to (un)load bandwidth info
d1eed0d3fb8c usb: xhci-mtk: use @sch_tt to check whether need do TT schedule
1833e8e049d0 usb: xhci-mtk: add only one extra CS for FS/LS INTR
3826d4f0ef89 usb: xhci-mtk: get the microframe boundary for ESIT
4ccf7afa4729 usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop
a5bdea59f43d usb: dwc3: gadget: Don't modify GEVNTCOUNT in pullup()
67bf926f16b3 usb: dwc3: gadget: Refactor pullup()
24e4f6308d95 usb: dwc3: gadget: Prevent repeat pullup()
62b6cbc5983e usb: dwc3: Issue core soft reset before enabling run/stop
e24f90d7617b usb: dwc3: gadget: Avoid starting DWC3 gadget during UDC unbind
85371aad2855 ALSA: hda/sigmatel: Fix unused variable warning for beep power change
07191f984842 cgroup: Add missing cpus_read_lock() to cgroup_attach_task_all()
1878eaf0edb8 video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
47c5ef29e52f mksysmap: Fix the mismatch of 'L0' symbols in System.map
f0ebdfc10bd1 MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
c53c3cbca5ef afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
1aea20f98ed3 net: usb: qmi_wwan: add Quectel RM520N
447f95d41397 ALSA: hda/tegra: Align BDL entry to 4KB boundary
9f55da12d05d ALSA: hda/sigmatel: Keep power up while beep is enabled
39265647c4a6 rxrpc: Fix calc of resend age
cc273ed79e7c rxrpc: Fix local destruction being repeated
da01ec04a0b0 regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
17a21341d953 ASoC: nau8824: Fix semaphore unbalance at error paths
323f289a9044 iomap: iomap that extends beyond EOF should be marked dirty
d88039e6fee4 MAINTAINERS: add Chandan as xfs maintainer for 5.4.y
36128fd71f03 cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
81081a5c9c74 cifs: revalidate mapping when doing direct writes
834f4d856fda tracing: hold caller_addr to hardirq_{enable,disable}_ip
2c4e260d45fd task_stack, x86/cea: Force-inline stack helpers
4051324a6daf ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
47d7e6af5bd4 parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
2aae9b7d0723 drm/meson: Fix OSD1 RGB to YCbCr coefficient
5dd9cb66b712 drm/meson: Correct OSD1 global alpha value
f1de50e1db99 gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
82e276e5fcdc NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
e0e88c25f88b of: fdt: fix off-by-one error in unflatten_dt_nodes()
9f02aa34e179 Linux 5.4.214
c629ec4ddd4f tracefs: Only clobber mode/uid/gid on remount if asked
fe26b6ca0404 soc: fsl: select FSL_GUTS driver for DPIO
1bd66f1053be net: dp83822: disable rx error interrupt
c128bff9ff35 mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
bf3cd8f2c69b usb: storage: Add ASUS <0x0b05:0x1932> to IGNORE_UAS
72b31dc26415 platform/x86: acer-wmi: Acer Aspire One AOD270/Packard Bell Dot keymap fixes
0573dc9f154a perf/arm_pmu_platform: fix tests for platform_get_irq() failure
baba0cfc3df0 nvmet-tcp: fix unhandled tcp states in nvmet_tcp_state_change()
161e7555520b Input: iforce - add support for Boeder Force Feedback Wheel
a725bc34d81a ieee802154: cc2520: add rc code in cc2520_tx()
2670d1d3f59c tg3: Disable tg3 device on system reboot to avoid triggering AER
c118ae56a5fb hid: intel-ish-hid: ishtp: Fix ishtp client sending disordered message
3e89e8d1c634 HID: ishtp-hid-clientHID: ishtp-hid-client: Fix comment typo
7e214f5b2f34 drm/msm/rd: Fix FIFO-full deadlock
(From OE-Core rev: 8cf29e02798b98ed8f5fe504cf5f10f63d491300)
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>
Avoid accidentally linking to the rdma library from the host by
adding a PACKAGECONFIG for the option. This was found on new
Fedora 36 autobuilder workers.
(From OE-Core rev: aa9d0c2b777c10bb6c68b0232d54cbcd1af1493f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2a0f3cb225e4d5471155abbcd05d09bd6bf1620f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid accidentally linking to the rbd library from the host by
adding a PACKAGECONFIG for the option.
(From OE-Core rev: bb32854dbe68335d834aaa80e42d6a524ea4e1b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Avoid accidentally linking to the vde library from the host by
adding a PACKAGECONFIG for the option.
(From OE-Core rev: cc979908beec8a40a636d00a1fdcf2769358377f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8839e9540528b0b46c4fb4f95e508f038bcef8b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Git has removed support for "git submodule--helper list".
31955475d1
This change provides an alternate method for gathering the submodules
information.
Tested:
Build recipes with and without submodules
(From OE-Core rev: 6c50d83af0af677c2dff864ac40c580ae446372b)
Signed-off-by: Carson Labrado <clabrado@google.com>
Signed-off-by: John Edward Broadbent <jebr@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d9364e5f3535954f65cbbc694ee7933ac1d664f)
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: 8f53bba4936b79dfe8dfa30216990b3d440150a7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Security and bug fixes.
* Drop CVE-2021-28861.patch as it was merged in 3.8.14 release.
Fixes:
* CVE-2020-10735
https://nvd.nist.gov/vuln/detail/CVE-2020-10735
* CVE-2021-28861
https://nvd.nist.gov/vuln/detail/CVE-2021-28861
* CVE-2018-25032
https://nvd.nist.gov/vuln/detail/CVE-2018-25032
Python 3.8.14
Release Date: Sept. 6, 2022
This is a security release of Python 3.8
Note: The release you're looking at is Python 3.8.14, a security bugfix
release for the legacy 3.8 series. Python 3.10 is now the latest
feature release series of Python 3.
Security content in this release
CVE-2020-10735: converting between int and str in bases other than
2 (binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base
10 (decimal) now raises a ValueError if the number of digits in string
form is above a limit to avoid potential denial of service attacks due
to the algorithmic complexity.
gh-87389: http.server: Fix an open redirection vulnerability in the HTTP
server when an URI path starts with //.
gh-93065: Fix contextvars HAMT implementation to handle iteration over
deep trees to avoid a potential crash of the interpreter.
gh-90355: Fix ensurepip environment isolation for the subprocess running
pip.
gh-80254: Raise ProgrammingError instead of segfaulting on recursive usage
of cursors in sqlite3 converters.
(From OE-Core rev: 25fafd35a4698daa0d4abb814a91601e68223128)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE-2022-39253 in git meant file:// urls within submodules were disabled. Add
a parameter to the commands in the tests to allow this to continue to work.
(Bitbake rev: 8ea8e443005ad92f4ad264d9abd9e90e33fb5c17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a wrong reference no longer tolerated by Sphinx 5.x
(missing "bitbake:" prefix)
(From yocto-docs rev: 2359aff814f5faccffbf3cb2cd180979c248fc3c)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License names were updated in commit 2456f523cf (after the dunfell
release) to match the current SPDX license list. We don't want to do any
wholesale renaming on the dunfell stable branch but we should add
mappings for the newer '*-only' names to allow for layers which support
both dunfell and newer releases.
(From OE-Core rev: 2a646cbdaca914e6f2c76ccb75065a811a9f94de)
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>
Many git repos prefer https:// nowadays and many removed support
for git://.
This breaks the script when using github.com even when selected remote
is ssh (git@github.com:openembedded/...), it will re-write it to git://
before calling git pull-request causing:
openembedded-core $ scripts/create-pull-request -u github -b jansa/artifacts -o pull-kernel
NOTE: Assuming local branch HEAD, use -l to override.
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Connection timed out
warn: No match for commit ea003bd026aa24bb4c8b7562f44ed6512e921259 found at git://github.com/shr-distribution/oe-core
warn: Are you sure you pushed 'jansa/artifacts' there?
ERROR: git request-pull reported an error
(From OE-Core rev: 7a08f2ae1c12e3511b409c4535d2eab83a27b64a)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64c466920b808c35d1ac87b47cf438bc79becea7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add packages for the new Qualcomm firmware released for Lenovo X13s
laptop.
The INSANE_SKIP:${PN} has to be provided to silent following warnings:
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcadsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcdxkmsuc8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qccdsp8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
WARNING: File '/lib/firmware/qcom/sc8280xp/LENOVO/21BX/qcslpi8280.mbn' from linux-firmware was already stripped, this will prevent future debugging!
(From OE-Core rev: 6227efbf03d2e7ca773ab29177705203f2550722)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af9924a3da0569e90c2d3abe030584456e66229b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Create separate packages with firmware files for APQ8096 SoC and for
Adreno 2xx/4xx. Include A330 firmware into the 3xx package.
(From OE-Core rev: 705de0a585b9e6343075eb6af41b8f8972ee327d)
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 1a0cb8f9131d1f238dc150e583a7ff816645765f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes a fix for CVE-2022-3234.
(From OE-Core rev: dabda290f3d40a9ef4f2b5720634280f712f554d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d6b54f37aa4db1457296b8981b630a49d251ceb5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix telnetd crash if the first two bytes of a new connection
are 0xff 0xf7 (IAC EC) or 0xff 0xf8 (IAC EL).
CVE: CVE-2022-39028
(From OE-Core rev: 1c385e70d4bfab2334361ba82f29988bb11d6902)
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>
Updating to the latest korg -stable release that comprises
the following commits:
7e17397001a9 Linux 5.4.213
077041e486fe MIPS: loongson32: ls1c: Fix hang during startup
4e8d7039cf52 x86/nospec: Fix i386 RSB stuffing
64f9755b408b sch_sfb: Also store skb len before calling child enqueue
9d3237b5906c tcp: fix early ETIMEDOUT after spurious non-SACK RTO
19816a021468 nvme-tcp: fix UAF when detecting digest errors
a4f0d34580b6 RDMA/mlx5: Set local port to one when accessing counters
3df71e11a477 ipv6: sr: fix out-of-bounds read when setting HMAC data.
e7f78835d551 RDMA/siw: Pass a pointer to virt_to_page()
5332a0945148 i40e: Fix kernel crash during module removal
d488e2baf2ef tipc: fix shift wrapping bug in map_get()
279c7668e354 sch_sfb: Don't assume the skb is still around after enqueueing to child
a2f0ff5beee5 afs: Use the operation issue time instead of the reply time for callbacks
8077a50c8cce rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()
36f7b71f8ad8 netfilter: nf_conntrack_irc: Fix forged IP logic
323b6847e509 netfilter: br_netfilter: Drop dst references before setting.
367a655f074b RDMA/hns: Fix supported page size
57b2897ec3ff soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
87fe1703bada RDMA/cma: Fix arguments order in net device validation
d80ad9991198 regulator: core: Clean up on enable failure
c108e2035151 ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node
e192a08f6534 smb3: missing inode locks in punch hole
59c6902a96b4 cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock
13d67aadb1c9 cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree
059516952cc9 cgroup: Optimize single thread migration
d0e7be0dc9f2 scsi: lpfc: Add missing destroy_workqueue() in error path
5682c94644fd scsi: mpt3sas: Fix use-after-free warning
8d66989b5f7b nvmet: fix a use-after-free
9fc8c5fa4230 debugfs: add debugfs_lookup_and_remove()
0d895d2bb120 kprobes: Prohibit probes in gate area
0492798bf8df ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
e275cf331824 ALSA: aloop: Fix random zeros in capture data when using jiffies timer
45321a7d02b7 ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()
adbbc1a8c5ac drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly
e1955cdd3122 fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()
fcab25a6b0ac arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level
a3714415c449 parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines
dcf54e6cae9e parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()
c72d97146fc5 drm/radeon: add a force flush to delay work when radeon
ae2c6cc8fb21 drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.
bca46f2295fa drm/gem: Fix GEM handle release errors
bd2a3bff310e scsi: megaraid_sas: Fix double kfree()
944f276cbce4 USB: serial: ch341: fix disabled rx timer on older devices
f0003ab97a07 USB: serial: ch341: fix lost character on LCR updates
d288c6383a8e usb: dwc3: disable USB core PHY management
9c670d0bb144 usb: dwc3: fix PHY disable sequence
9ab0c653ef03 btrfs: harden identification of a stale device
4e5ba186d9cf drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk
3af1316df747 ALSA: seq: Fix data-race at module auto-loading
4fa63d526c87 ALSA: seq: oss: Fix data-race for max_midi_devs access
82a86f82bc67 net: mac802154: Fix a condition in the receive path
d228b897b813 ip: fix triggering of 'icmp redirect'
66689c5c02ac wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected
1142f04f920c driver core: Don't probe devices after bus_type.match() probe deferral
bb87fe79bc2c usb: gadget: mass_storage: Fix cdrom data transfers on MAC-OS
df1875084898 USB: core: Prevent nested device-reset calls
87b47c7f9f95 s390: fix nospec table alignments
b604e79fba12 s390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages
33f8f8302473 usb-storage: Add ignore-residue quirk for NXP PN7462AU
e2e153bb6d69 USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020)
8ef85884f441 usb: dwc2: fix wrong order of phy_power_on and phy_init
08f27a242898 usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles
1abdc68b49c7 USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode
3cd8e3448eac USB: serial: option: add Quectel EM060K modem
b988c14d7c82 USB: serial: option: add support for OPPO R11 diag port
234fd17306cb USB: serial: cp210x: add Decagon UCA device id
0143b573612f xhci: Add grace period after xHC start to prevent premature runtime suspend.
c7e5a90eee5f thunderbolt: Use the actual buffer in tb_async_error()
cb2684e906f9 gpio: pca953x: Add mutex_lock for regcache sync in PM
7756eb1ed124 hwmon: (gpio-fan) Fix array out of bounds access
979fe68b2e39 clk: bcm: rpi: Fix error handling of raspberrypi_fw_get_rate
389a45dc06dd Input: rk805-pwrkey - fix module autoloading
1929a5275ecb clk: core: Fix runtime PM sequence in clk_core_unprepare()
577b32abfd51 Revert "clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops"
582e87c6bbf2 clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops
5d4acadcdf26 drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported"
bc37b0570220 usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup
30d0901b307f binder: fix UAF of ref->proc caused by race condition
b30dd08fd5aa USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id
f8632b8bb53e misc: fastrpc: fix memory corruption on open
ec186b9f4aa2 misc: fastrpc: fix memory corruption on probe
0d90ef874966 iio: adc: mcp3911: use correct formula for AD conversion
d186c65599bf Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag
a6b7e8d97530 tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete
1cf1930369c9 vt: Clear selection before changing the font
214877169e5b powerpc: align syscall table for ppc32
d0aac7146e96 staging: rtl8712: fix use after free bugs
a65a2a33c6d0 serial: fsl_lpuart: RS485 RTS polariy is inverse
ae5e8d0baa0a net/smc: Remove redundant refcount increase
47e679431613 Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb"
91ecfbcd8dc1 tcp: annotate data-race around challenge_timestamp
f8a94fdf0288 sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb
0946ff31d1a8 kcm: fix strp_init() order and cleanup
02986e1bb63e ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler
fffa19b5e58c net: sched: tbf: don't call qdisc_put() while holding tree lock
e1ba258dac0b Revert "xhci: turn off port power in shutdown"
2dca3c61269b wifi: cfg80211: debugfs: fix return type in ht40allow_map_read()
bed12d7531df ieee802154/adf7242: defer destroy_workqueue call
ddc6e823218f iio: adc: mcp3911: make use of the sign bit
630a97e4da75 platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask
765497cc748d drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg
fced8363b460 drm/msm/dsi: fix the inconsistent indenting
83b25f9eb243 net: dp83822: disable false carrier interrupt
007541bc27c2 Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"
96f09cd54472 fs: only do a memory barrier for the first set_buffer_uptodate()
d51e1682faec net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()
f4c4637a3836 wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()
8028ff4cdbb3 efi: capsule-loader: Fix use-after-free in efi_capsule_write
(From OE-Core rev: ef38f7acee3f0ae400138fa60f4695a86dffc16e)
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:
d6deb370b5a5 Linux 5.4.212
0052348329c9 net: neigh: don't call kfree_skb() under spin_lock_irqsave()
25a80e728412 net/af_packet: check len when min_header_len equals to 0
fc78b2fc21f1 io_uring: disable polling pollfree files
b474ff1b2095 kprobes: don't call disarm_kprobe() for disabled kprobes
6fbc49b7f007 lib/vdso: Mark do_hres() and do_coarse() as __always_inline
2161d3c12c74 lib/vdso: Let do_coarse() return 0 to simplify the callsite
06ebb40b8720 btrfs: tree-checker: check for overlapping extent items
63c790584031 netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y
5c5cd52ab09d drm/amd/display: Fix pixel clock programming
c570198c3d9e s390/hypfs: avoid error message under KVM
51be9dd391fd neigh: fix possible DoS due to net iface start/stop loop
814b756d4ec3 drm/amd/display: clear optc underflow before turn off odm clock
a06e4eb65169 drm/amd/display: Avoid MPC infinite loop
2608885a4f7e btrfs: unify lookup return value when dir entry is missing
1fe3375cf2be btrfs: do not pin logs too early during renames
e9b4baabf852 btrfs: introduce btrfs_lookup_match_dir
2fe3eee48899 mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse
8b68e53d5669 bpf: Don't redirect packets with invalid pkt_len
934e49f7d696 ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead
7d9591b32a90 fbdev: fb_pm2fb: Avoid potential divide by zero error
53c7c4d5d40b HID: hidraw: fix memory leak in hidraw_release()
466b67c0543b media: pvrusb2: fix memory leak in pvr_probe
63d8c1933ed2 udmabuf: Set the DMA mask for the udmabuf device (v2)
fa2b822d86be HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report
6551fbe25853 Bluetooth: L2CAP: Fix build errors in some archs
adc7640e1931 kbuild: Fix include path in scripts/Makefile.modpost
80a7fe2b7012 x86/bugs: Add "unknown" reporting for MMIO Stale Data
09602177d80c s390/mm: do not trigger write fault when vma does not allow VM_WRITE
c9c5501e8151 mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()
b4c928ace9a1 scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq
2045b9d30619 perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU
8e7fb19f1a74 md: call __md_stop_writes in md_stop
f35c4fec07a2 mm/hugetlb: fix hugetlb not supporting softdirty tracking
f09c1b80df55 ACPI: processor: Remove freq Qos request for all CPUs
cacd522e6652 s390: fix double free of GS and RI CBs on fork() failure
c3862f559265 asm-generic: sections: refactor memory_intersects
13b2856037a6 loop: Check for overflow while configuring loop
2668aeac01ac x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry
dd3365d3b496 btrfs: check if root is readonly while setting security xattr
5b44dcf8b79b btrfs: add info when mount fails due to stale replace target
40554fa41a78 btrfs: replace: drop assert for suspended replace
201bb5d745ae btrfs: fix silent failure when deleting root reference
571a13b35005 ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter
aa0a3f72c6da net: Fix a data-race around sysctl_somaxconn.
923fa41adebd net: Fix a data-race around netdev_budget_usecs.
adeb24afd2fd net: Fix a data-race around netdev_budget.
575c57e9e00c net: Fix a data-race around sysctl_net_busy_read.
6e8f9df62dbe net: Fix a data-race around sysctl_net_busy_poll.
5da0632c07d4 net: Fix a data-race around sysctl_tstamp_allow_data.
4482215f93d2 ratelimit: Fix data-races in ___ratelimit().
a90afeab21ae net: Fix data-races around netdev_tstamp_prequeue.
c1d0ef0e6f11 net: Fix data-races around weight_p and dev_weight_[rt]x_bias.
dbd0f1991adf netfilter: nft_tunnel: restrict it to netdev family
fba05d250256 netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families
a2ce367ae743 netfilter: nft_payload: do not truncate csum_offset and csum_type
870015352911 netfilter: nft_payload: report ERANGE for too long offset and length
bc7ba4cd0bc3 bnxt_en: fix NQ resource accounting during vf creation on 57500 chips
160c4eb47db0 netfilter: ebtables: reject blobs that don't provide all entry points
8b9155eae85d net: ipvtap - add __init/__exit annotations to module init/exit funcs
1498077d562f bonding: 802.3ad: fix no transmission of LACPDUs
ac3541b11e5b net: moxa: get rid of asymmetry in DMA mapping/unmapping
eb8236dff703 net/mlx5e: Properly disable vlan strip on non-UL reps
6e4b20d548fc rose: check NULL rose_loopback_neigh->loopback
4c14faf16632 SUNRPC: RPC level errors should set task->tk_rpc_status
8ee27a4f0f1a af_key: Do not call xfrm_probe_algs in parallel
63da7a2bbf3f xfrm: fix refcount leak in __xfrm_policy_check()
a9f94dc4ddee kernel/sched: Remove dl_boosted flag comment
d2b65976bf1a sched/deadline: Fix priority inheritance with multiple scheduling classes
c498c8cbc271 sched/deadline: Fix stale throttling on de-/boosted tasks
184c8ab53424 sched/deadline: Unthrottle PI boosted threads while enqueuing
71b7edfc76d2 pinctrl: amd: Don't save/restore interrupt status and wake status bits
8e52d0c57d5f Revert "selftests/bpf: Fix test_align verifier log patterns"
2b13ddc9e0e3 Revert "selftests/bpf: Fix "dubious pointer arithmetic" test"
a89c4b5868cb usb: cdns3: Fix issue for clear halt endpoint
87b41b041cd4 kernel/sys_ni: add compat entry for fadvise64_64
945dc19778f6 parisc: Fix exception handler for fldw and fstw instructions
bb415d2687ac audit: fix potential double free on error path from fsnotify_add_inode_mark
684cc17be897 Linux 5.4.211
473f43725bb7 btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()
6fd4cea04400 btrfs: only write the sectors in the vertical stripe which has data stripes
04e41b6bacf4 can: j1939: j1939_session_destroy(): fix memory leak of skbs
18e0ab31b028 can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once()
5c9637279f65 tracing/probes: Have kprobes and uprobes use $COMM too
5d8244d42d34 MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0
2b7f559152a3 video: fbdev: i740fb: Check the argument of i740_calc_vclk()
5e14b04c8459 powerpc/64: Init jump labels before parse_early_param()
720f6112c393 smb3: check xattr value length earlier
29e734ec33ae f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page()
dd9d894b4163 ALSA: timer: Use deferred fasync helper
76f87b11a4b2 ALSA: core: Add async signal helpers
f4159834d17f powerpc/32: Don't always pass -mcpu=powerpc to the compiler
d78d0ee79bb8 watchdog: export lockup_detector_reconfigure
814d83c5e127 RISC-V: Add fast call path of crash_kexec()
812cb21259ad riscv: mmap with PROT_WRITE but no PROT_READ is invalid
1b49707df679 mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start
3e6994735c1c vfio: Clear the caps->buf to NULL after free
ca3fc1c38e42 tty: serial: Fix refcount leak bug in ucc_uart.c
3c0efcd608f1 lib/list_debug.c: Detect uninitialized lists
a6805b3dcf5c ext4: avoid resizing to a partial cluster size
5bebfd607726 ext4: avoid remove directory when directory is corrupted
f5d46f1b47f6 drivers:md:fix a potential use-after-free bug
7a2fe1594689 nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown
0bf3dcfb0396 dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed
d13b990d4fbe selftests/kprobe: Do not test for GRP/ without event failures
082da6a9c30f um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups
c3ce788be376 PCI/ACPI: Guard ARM64-specific mcfg_quirks
695af60af755 cxl: Fix a memory leak in an error handling path
ca06b4cde54f gadgetfs: ep_io - wait until IRQ finishes
927907f1cbb3 scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input
d401611a93b3 clk: qcom: ipq8074: dont disable gcc_sleep_clk_src
f78ac62e6b9d vboxguest: Do not use devm for irq
cfa8f707a58d usb: renesas: Fix refcount leak bug
0334d23c56ec usb: host: ohci-ppc-of: Fix refcount leak bug
b743d6cef4f1 drm/meson: Fix overflow implicit truncation warnings
29b30e041376 irqchip/tegra: Fix overflow implicit truncation warnings
e2d531806569 usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info
e65d9b7147d7 usb: cdns3 fix use-after-free at workaround 2
e7170b5a2826 PCI: Add ACS quirk for Broadcom BCM5750x NICs
d58ef2567813 drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()
d0c4307aeae5 locking/atomic: Make test_and_*_bit() ordered on failure
90fb514a1656 gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file
55197ba6d64d igb: Add lock to avoid data race
44b406aab057 fec: Fix timer capture timing in `fec_ptp_enable_pps()`
f861285de84b i40e: Fix to stop tx_timeout recovery if GLOBR fails
781212b34447 ice: Ignore EEXIST when setting promisc mode
545ec873f16e net: dsa: microchip: ksz9477: fix fdb_dump last invalid entry
b360ce159cb1 net: moxa: pass pdev instead of ndev to DMA functions
cb1753bc689c net: dsa: mv88e6060: prevent crash on an unused port
ccb0a42d3f40 powerpc/pci: Fix get_phb_number() locking
b5dd26e07397 netfilter: nf_tables: really skip inactive sets when allocating name
f415fda65931 clk: rockchip: add sclk_mac_lbtest to rk3188_critical_clocks
ff289f2be589 iavf: Fix adminq error handling
2b4daaed4f57 nios2: add force_successful_syscall_return()
d6d9dd2cc325 nios2: restarts apply only to the first sigframe we build...
01e783b45e3b nios2: fix syscall restart checks
9e9151768bde nios2: traced syscall does need to check the syscall number
73c088373234 nios2: don't leave NULLs in sys_call_table[]
86a89da5cdbd nios2: page fault et.al. are *not* restartable syscalls...
965333345fe9 tee: add overflow check in register_shm_helper()
cfa215a76a40 dpaa2-eth: trace the allocated address instead of page struct
9a6cbaa50f26 atm: idt77252: fix use-after-free bugs caused by tst_timer
2f14656fe1a8 xen/xenbus: fix return type in xenbus_file_read()
c61d3b92f56a nfp: ethtool: fix the display error of `ethtool -m DEVNAME`
a1d13886fd2e NTB: ntb_tool: uninitialized heap data in tool_fn_write()
215cbd3c0d40 tools build: Switch to new openssl API for test-libcrypto
a91204264ebd tools/vm/slabinfo: use alphabetic order when two values are equal
12f777a957be dt-bindings: arm: qcom: fix MSM8916 MTP compatibles
0ecc55feceb1 vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout()
f82f1e2042b3 vsock: Fix memory leak in vsock_connect()
f4f2acf01298 plip: avoid rcu debug splat
85b5747321ed geneve: do not use RT_TOS for IPv6 flowlabel
760a01c36b83 ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool
49c1ae5fc8dd pinctrl: sunxi: Add I/O bias setting for H6 R-PIO
b0de3436ca57 pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed
c26012a1e61c pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map
ac6d4482f29a net: bgmac: Fix a BUG triggered by wrong bytes_compl
1ad4ba9341f1 devlink: Fix use-after-free after a failed reload
c1bdc6de5178 SUNRPC: Reinitialise the backchannel request buffers before reuse
b0e283987358 sunrpc: fix expiry of auth creds
0a901c2f7fa7 can: mcp251x: Fix race condition on receive interrupt
f7ee3b772d9d NFSv4/pnfs: Fix a use-after-free bug in open
14b5a92e3398 NFSv4.1: RECLAIM_COMPLETE must handle EACCES
89dd9bec6630 NFSv4: Fix races in the legacy idmapper upcall
e7eba28ba774 NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly
68a84001f7a2 NFSv4.1: Don't decrease the value of seq_nr_highest_sent
2c8477600cd6 Documentation: ACPI: EINJ: Fix obsolete example
7db182a2ebee apparmor: Fix memleak in aa_simple_write_to_buffer()
ef6fb6f0d0d8 apparmor: fix reference count leak in aa_pivotroot()
7f6092dc8f7a apparmor: fix overlapping attachment computation
98ab8dfa048b apparmor: fix aa_label_asxprint return check
1b4c44823a13 apparmor: Fix failed mount permission check error message
825b0f6bb035 apparmor: fix absroot causing audited secids to begin with =
dd78c35a27d4 apparmor: fix quiet_denied for file rules
45be56968d6e can: ems_usb: fix clang's -Wunaligned-access warning
f67c43e4b131 tracing: Have filter accept "common_cpu" to be consistent
90b0526dd82a btrfs: fix lost error handling when looking up extended ref on log replay
d33e770f0a56 mmc: pxamci: Fix an error handling path in pxamci_probe()
6db5285844c4 mmc: pxamci: Fix another error handling path in pxamci_probe()
b1b2b8adb0eb ata: libata-eh: Add missing command name
70e0c8a454e2 rds: add missing barrier to release_refill
d040e85ae959 ALSA: info: Fix llseek return value when using callback
992480132ed3 net_sched: cls_route: disallow handle of 0
7d9d0ba99c47 net/9p: Initialize the iounit field during fid creation
13e17a18a46b Bluetooth: L2CAP: Fix l2cap_global_chan_by_psm regression
4d5e45fdf048 Revert "net: usb: ax88179_178a needs FLAG_SEND_ZLP"
f135c65085ee scsi: sg: Allow waiting for commands to complete on removed device
cf218ff991ce tcp: fix over estimation in sk_forced_mem_schedule()
8cdba919acef KVM: x86: Avoid theoretical NULL pointer dereference in kvm_irq_delivery_to_apic_fast()
8fb5e7760444 KVM: x86: Check lapic_in_kernel() before attempting to set a SynIC irq
4c08dd3fbdc5 KVM: Add infrastructure and macro to mark VM as bugged
8659026858e0 btrfs: reject log replay if there is unsupported RO compat flag
1fcd691cc2e7 net_sched: cls_route: remove from list when handle is 0
b12304984654 iommu/vt-d: avoid invalid memory access via node_online(NUMA_NO_NODE)
18048cba444a firmware: arm_scpi: Ensure scpi_info is not assigned if the probe fails
7c77d1f9ba11 timekeeping: contribute wall clock to rng on time change
5e0fcc5ad3e0 ACPI: CPPC: Do not prevent CPPC from working in the future
2c7e93e33832 dm writecache: set a default MAX_WRITEBACK_JOBS
05cef0999b32 dm thin: fix use-after-free crash in dm_sm_register_threshold_callback
cb583ca6125a dm raid: fix address sanitizer warning in raid_status
71f601c779b3 dm raid: fix address sanitizer warning in raid_resume
2f2fa48c9f98 intel_th: pci: Add Meteor Lake-P support
ab1f9cb5001c intel_th: pci: Add Raptor Lake-S PCH support
0d8fd1fa178f intel_th: pci: Add Raptor Lake-S CPU support
8887ef07ff55 ext4: correct the misjudgment in ext4_iget_extra_inode
be9614e15eec ext4: correct max_inline_xattr_value_size computing
b9a2dfd1a0c8 ext4: fix extent status tree race in writeback error recovery path
b10b2122d709 ext4: update s_overhead_clusters in the superblock during an on-line resize
9d1468732118 ext4: fix use-after-free in ext4_xattr_set_entry
41ff115b14b6 ext4: make sure ext4_append() always allocates new block
748d17d47687 ext4: add EXT4_INODE_HAS_XATTR_SPACE macro in xattr.h
025604c7023b btrfs: reset block group chunk force if we have to wait
cf8927ce6619 tpm: eventlog: Fix section mismatch for DEBUG_SECTION_MISMATCH
61a1793b058a kexec, KEYS, s390: Make use of built-in and secondary keyring for signature verification
37690cb8662c spmi: trace: fix stack-out-of-bound access in SPMI tracing functions
91d11a3376e0 x86/olpc: fix 'logical not is only applied to the left hand side'
42afeecce25e scsi: qla2xxx: Fix erroneous mailbox timeout after PCI error injection
d2e82c78e352 scsi: qla2xxx: Turn off multi-queue for 8G adapters
83cb0fb8482b scsi: qla2xxx: Fix discovery issues in FC-AL topology
bc98764d80ee scsi: zfcp: Fix missing auto port scan and thus missing target ports
eacb50f17336 video: fbdev: s3fb: Check the size of screen before memset_io()
53198b81930e video: fbdev: arkfb: Check the size of screen before memset_io()
d71528ccdc7a video: fbdev: vt8623fb: Check the size of screen before memset_io()
09777c16a0f4 tools/thermal: Fix possible path truncations
a249e1b89ca2 video: fbdev: arkfb: Fix a divide-by-zero bug in ark_set_pixclock()
46513b4a8038 x86/numa: Use cpumask_available instead of hardcoded NULL check
26d2d13d9fc3 scripts/faddr2line: Fix vmlinux detection on arm64
563ffb782da7 genelf: Use HAVE_LIBCRYPTO_SUPPORT, not the never defined HAVE_LIBCRYPTO
9813d27d596b powerpc/pci: Fix PHB numbering when using opal-phbid
6a119c1a584a kprobes: Forbid probing on trampoline and BPF code areas
cc53477d8926 perf symbol: Fail to read phdr workaround
f388643657cd powerpc/cell/axon_msi: Fix refcount leak in setup_msi_msg_address
d99733ad47a6 powerpc/xive: Fix refcount leak in xive_get_max_prio
14329d29a048 powerpc/spufs: Fix refcount leak in spufs_init_isolated_loader
3ec50b8a0128 powerpc/pci: Prefer PCI domain assignment via DT 'linux,pci-domain' and alias
44a43b65d7e1 powerpc/32: Do not allow selection of e5500 or e6500 CPUs on PPC32
ddaa8cc5a6bb video: fbdev: sis: fix typos in SiS_GetModeID()
49a4c1a87ef8 video: fbdev: amba-clcd: Fix refcount leak bugs
a9286ff4c19f watchdog: armada_37xx_wdt: check the return value of devm_ioremap() in armada_37xx_wdt_probe()
ba406e310041 ASoC: audio-graph-card: Add of_node_put() in fail path
bb1cc434df08 fuse: Remove the control interface for virtio-fs
083984627411 ASoC: qcom: q6dsp: Fix an off-by-one in q6adm_alloc_copp()
3edcd1348ba7 s390/zcore: fix race when reading from hardware system area
50be644f7ddd iommu/arm-smmu: qcom_iommu: Add of_node_put() when breaking out of loop
b948ff8a9e9a mfd: max77620: Fix refcount leak in max77620_initialise_fps
8d01edaf9eea mfd: t7l66xb: Drop platform disable callback
b45bcdf627a9 kfifo: fix kfifo_to_user() return type
8ee5d40ae29e rpmsg: qcom_smd: Fix refcount leak in qcom_smd_parse_edge
9a87a532848a iommu/exynos: Handle failed IOMMU device registration properly
44913ccfa1d5 tty: n_gsm: fix missing corner cases in gsmld_poll()
ae9bfcbfd76a tty: n_gsm: fix DM command
b625b745497f tty: n_gsm: fix wrong T1 retry count handling
373343d8a796 vfio/ccw: Do not change FSM state in subchannel event
51642e132859 remoteproc: qcom: wcnss: Fix handling of IRQs
fbf979564682 tty: n_gsm: fix race condition in gsmld_write()
597bec4a4cc0 tty: n_gsm: fix packet re-transmission without open control channel
ba10f6c2f079 tty: n_gsm: fix non flow control frames during mux flow off
8b355d6b1fcf profiling: fix shift too large makes kernel panic
8791703eddf4 ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV
ba4d971fe11a ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV
34734e4c526a serial: 8250_dw: Store LSR into lsr_saved_flags in dw8250_tx_wait_empty()
79f566907d27 ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe
4f97b5bb81be ASoC: codecs: da7210: add check for i2c_add_driver
b488ceb23369 ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
d6d41f04640d ASoC: mediatek: mt8173: Fix refcount leak in mt8173_rt5650_rt5676_dev_probe
d3f15a4be209 opp: Fix error check in dev_pm_opp_attach_genpd()
fa5b65d39332 jbd2: fix assertion 'jh->b_frozen_data == NULL' failure when journal aborted
fc1ec67ba503 ext4: recover csum seed of tmp_inode after migrating to extents
36a88efe8747 jbd2: fix outstanding credits assert in jbd2_journal_commit_transaction()
242303bf7fe0 null_blk: fix ida error handling in null_add_dev()
b348e204a531 RDMA/rxe: Fix error unwind in rxe_create_qp()
38403d143d1f mm/mmap.c: fix missing call to vm_unacct_memory in mmap_region
d3beb91c99d1 platform/olpc: Fix uninitialized data in debugfs write
358db0ebec41 USB: serial: fix tty-port initialized comments
06f56d9e7470 PCI: tegra194: Fix link up retry sequence
f916f6e03955 PCI: tegra194: Fix Root Port interrupt handling
ed44d9ce8c37 HID: alps: Declare U1_UNICORN_LEGACY support
46f545821144 mmc: cavium-thunderx: Add of_node_put() when breaking out of loop
d0cc1ba2be1c mmc: cavium-octeon: Add of_node_put() when breaking out of loop
b100b0b0026a gpio: gpiolib-of: Fix refcount bugs in of_mm_gpiochip_add_data()
2f90813f1c21 RDMA/hfi1: fix potential memory leak in setup_base_ctxt()
11edf0bba15e RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event
fb9193af53a3 RDMA/hns: Fix incorrect clearing of interrupt status register
414849317b36 usb: gadget: udc: amd5536 depends on HAS_DMA
bc6f609401c4 scsi: smartpqi: Fix DMA direction for RAID requests
b1b803495374 mmc: sdhci-of-at91: fix set_uhs_signaling rewriting of MC1R
9d8b911fe3c3 memstick/ms_block: Fix a memory leak
830c38ec9aca memstick/ms_block: Fix some incorrect memory allocation
4c472a2c9ed6 mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
6bb0f109660a staging: rtl8192u: Fix sleep in atomic context bug in dm_fsync_timer_callback
b5d924cb4c7b intel_th: msu: Fix vmalloced buffers
d81195c47465 intel_th: msu-sink: Potential dereference of null pointer
859342220acc intel_th: Fix a resource leak in an error handling path
3771ee6c46ad soundwire: bus_type: fix remove and shutdown support
2fcb7182dee9 clk: qcom: camcc-sdm845: Fix topology around titan_top power domain
7dc9eb967a47 clk: qcom: ipq8074: set BRANCH_HALT_DELAY flag for UBI clocks
5780dde5104f clk: qcom: ipq8074: fix NSS port frequency tables
15f4d52835b7 usb: host: xhci: use snprintf() in xhci_decode_trb()
7cfb3120ecf2 clk: qcom: clk-krait: unlock spin after mux completion
8191b6cd9ada driver core: fix potential deadlock in __driver_attach
be8f7c44d5af misc: rtsx: Fix an error handling path in rtsx_pci_probe()
507cabdb3692 clk: mediatek: reset: Fix written reset bit offset
9ecabd76bfc7 usb: xhci: tegra: Fix error check
65d36ec409b6 usb: ohci-nxp: Fix refcount leak in ohci_hcd_nxp_probe
8cbc3870ff35 usb: host: Fix refcount leak in ehci_hcd_ppc_of_probe
8e88b4257532 fpga: altera-pr-ip: fix unsigned comparison with less than zero
44ffee3979d6 mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
f3cc27198c5d mtd: partitions: Fix refcount leak in parse_redboot_of
a1cdbd344f86 mtd: sm_ftl: Fix deadlock caused by cancel_work_sync in sm_release
519ff31a6ddd HID: cp2112: prevent a buffer overflow in cp2112_xfer()
1367f4a3e6b5 mtd: rawnand: meson: Fix a potential double free issue
80b1465b2ae8 mtd: maps: Fix refcount leak in ap_flash_init
9124d51e0123 mtd: maps: Fix refcount leak in of_flash_probe_versatile
e0012773af09 clk: renesas: r9a06g032: Fix UART clkgrp bitsel
51fb8c2c106b dccp: put dccp_qpolicy_full() and dccp_qpolicy_push() in the same lock
d3b292263731 net: rose: fix netdev reference changes
34b88491b4de netdevsim: Avoid allocation warnings triggered from user space
9d9e0d55601d iavf: Fix max_rate limiting
50a7949fd9ea crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of
439297ec5c05 net/mlx5e: Fix the value of MLX5E_MAX_RQ_NUM_MTTS
878e7f39803a wifi: libertas: Fix possible refcount leak in if_usb_probe()
5cca5f714fe6 wifi: iwlwifi: mvm: fix double list_add at iwl_mvm_mac_wake_tx_queue
52b11a48cf07 wifi: wil6210: debugfs: fix uninitialized variable use in `wil_write_file_wmi()`
becbc82919bc i2c: mux-gpmux: Add of_node_put() when breaking out of loop
6d9f3128c0ee i2c: cadence: Support PEC for SMBus block read
80df14022cec Bluetooth: hci_intel: Add check for platform_driver_register
26168f0656a3 can: pch_can: pch_can_error(): initialize errc before using it
a025f6ca15b2 can: error: specify the values of data[5..7] of CAN error frames
61bcc556ff8c can: usb_8dev: do not report txerr and rxerr during bus-off
d8833eaa5f37 can: kvaser_usb_leaf: do not report txerr and rxerr during bus-off
a37e2bad7635 can: kvaser_usb_hydra: do not report txerr and rxerr during bus-off
80b135a02389 can: sun4i_can: do not report txerr and rxerr during bus-off
d20bf7e76136 can: hi311x: do not report txerr and rxerr during bus-off
e94369cdc038 can: sja1000: do not report txerr and rxerr during bus-off
5b9d4919a7d7 can: rcar_can: do not report txerr and rxerr during bus-off
4cb29f25b215 can: pch_can: do not report txerr and rxerr during bus-off
ecbdb2985e08 selftests/bpf: fix a test for snprintf() overflow
e134d998a98c wifi: p54: add missing parentheses in p54_flush()
6942c45a2270 wifi: p54: Fix an error handling path in p54spi_probe()
60c998342516 wifi: wil6210: debugfs: fix info leak in wil_write_file_wmi()
72d9ce5b085a fs: check FMODE_LSEEK to control internal pipe splicing
8cf6e837dcfc selftests: timers: clocksource-switch: fix passing errors from child
2f243fe8db21 selftests: timers: valid-adjtimex: build fix for newer toolchains
8ebe6121e7cc libbpf: Fix the name of a reused map
fd35e34ece33 tcp: make retransmitted SKB fit into the send window
6296d09d2b21 drm/exynos/exynos7_drm_decon: free resources when clk_set_parent() failed.
1ae9edf7e875 mediatek: mt76: mac80211: Fix missing of_node_put() in mt76_led_init()
e86a88d39cc7 media: platform: mtk-mdp: Fix mdp_ipi_comm structure alignment
cf411bcc657b crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
2e34d6c8180a drm/msm/mdp5: Fix global state lock backoff
5d4128a163a9 drm: bridge: sii8620: fix possible off-by-one
3a7ebe131ca9 drm/mediatek: dpi: Only enable dpi after the bridge is enabled
42c8e38e8620 drm/mediatek: dpi: Remove output format of YUV
0f214563ab6d drm/rockchip: Fix an error handling path rockchip_dp_probe()
3345fd35335f drm/rockchip: vop: Don't crash for invalid duplicate_state()
9f64fb45514a crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE
b53cbaf9b3b3 drm/vc4: dsi: Correct DSI divider calculations
120161c12731 drm/vc4: plane: Fix margin calculations for the right/bottom edges
84f638fbf83c drm/vc4: plane: Remove subpixel positioning check
59340f399c0a media: hdpvr: fix error value returns in hdpvr_read
87c35bbefdfa drm/mcde: Fix refcount leak in mcde_dsi_bind
289079d6c5f0 drm: bridge: adv7511: Add check for mipi_dsi_driver_register
73304c759408 wifi: iwlegacy: 4965: fix potential off-by-one overflow in il4965_rs_fill_link_cmd()
e9e21206b8ea ath9k: fix use-after-free in ath9k_hif_usb_rx_cb
fef3261630eb media: tw686x: Register the irq at the end of probe
871a1e94929a i2c: Fix a potential use after free
127ecd6b1f17 drm: adv7511: override i2c address of cec before accessing it
8cdf42c7baa6 drm/mediatek: Add pull-down MIPI operation in mtk_dsi_poweroff function
db1a9add3f90 drm/radeon: fix potential buffer overflow in ni_set_mc_special_registers()
6a5ade10a38e drm/mipi-dbi: align max_chunk to 2 in spi_transfer
f52b31ecaf59 wifi: rtlwifi: fix error codes in rtl_debugfs_set_write_h2c()
c59876f8c982 ath10k: do not enforce interrupt trigger type
08cc3995fb6b dm: return early from dm_pr_call() if DM device is suspended
bc4e8b95c407 thermal/tools/tmon: Include pthread and time headers in tmon.h
91732a2794bb nohz/full, sched/rt: Fix missed tick-reenabling bug in dequeue_task_rt()
35f9e861d9b9 regulator: of: Fix refcount leak bug in of_get_regulation_constraints()
52e1f85bf7de blk-mq: don't create hctx debugfs dir until q->debugfs_dir is created
bee4d2ab4db5 erofs: avoid consecutive detection for Highmem memory
62060951ccb9 arm64: dts: mt7622: fix BPI-R64 WPS button
850167439429 bus: hisi_lpc: fix missing platform_device_put() in hisi_lpc_acpi_probe()
3d698238584c ARM: dts: qcom: pm8841: add required thermal-sensor-cells
bc73c72a856c soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register
a530fa52d4fd cpufreq: zynq: Fix refcount leak in zynq_get_revision
c4f92af7fc8c ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
935035cf97c8 ARM: OMAP2+: Fix refcount leak in omapdss_init_of
b95e19f1ec73 ARM: dts: qcom: mdm9615: add missing PMIC GPIO reg
1f0448cb8a44 soc: fsl: guts: machine variable might be unset
1e9cc69eae6d ARM: dts: ast2600-evb: fix board compatible
4a4bb53e635b ARM: dts: ast2500-evb: fix board compatible
0b7f674c12c0 x86/pmem: Fix platform-device leak in error path
5afe042c8894 ARM: bcm: Fix refcount leak in bcm_kona_smc_init
6b28bf3e044f meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init
ef5102a0a724 ARM: findbit: fix overflowing offset
c7835f93db67 spi: spi-rspi: Fix PIO fallback on RZ platforms
90bdf50ae70c selinux: Add boundary check in put_entry()
3c48d3067eaf PM: hibernate: defer device probing when resuming from hibernation
930e7b260e6a ARM: shmobile: rcar-gen2: Increase refcount for new reference
a770da1866ac arm64: dts: allwinner: a64: orangepi-win: Fix LED node name
5f1510dd2fc9 arm64: dts: qcom: ipq8074: fix NAND node name
308bb82c61b7 ACPI: LPSS: Fix missing check in register_device_clock()
b61119d0850e ACPI: PM: save NVS memory for Lenovo G40-45
81abef841f32 ACPI: EC: Remove duplicate ThinkPad X1 Carbon 6th entry from DMI quirks
3e505298a75f ARM: OMAP2+: display: Fix refcount leak bug
749ee1c4c35a spi: synquacer: Add missing clk_disable_unprepare()
f7e6740e1e45 ARM: dts: imx6ul: fix qspi node compatible
5db7e1796d41 ARM: dts: imx6ul: fix lcdif node compatible
82cff0cf7141 ARM: dts: imx6ul: fix csi node compatible
667023a28419 ARM: dts: imx6ul: change operating-points to uint32-matrix
a6e620361617 ARM: dts: imx6ul: add missing properties for sram
bd80dd86f9bf wait: Fix __wait_event_hrtimeout for RT/DL tasks
3fb368c0ae39 genirq: Don't return error on missing optional irq_request_resources()
b3f423683818 ext2: Add more validity checks for inode counts
04549063d570 arm64: fix oops in concurrently setting insn_emulation sysctls
fa09c3926583 arm64: Do not forget syscall when starting a new thread.
c5940c082185 x86: Handle idle=nomwait cmdline properly for x86_idle
cf2db24ec4b8 epoll: autoremove wakers even more aggressively
a452bc3deb23 netfilter: nf_tables: fix null deref due to zeroed list head
4dad1c820771 netfilter: nf_tables: do not allow RULE_ID to refer to another chain
fab2f61cc3b0 netfilter: nf_tables: do not allow SET_ID to refer to another table
cc525d667b3f arm64: dts: uniphier: Fix USB interrupts for PXs3 SoC
57e2c8444529 ARM: dts: uniphier: Fix USB interrupts for PXs2 SoC
5d952c7ae339 USB: HCD: Fix URB giveback issue in tasklet function
e9205d8dd1ca coresight: Clear the connection field properly
274e44e21234 MIPS: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
dbd005901840 powerpc/powernv: Avoid crashing if rng is NULL
5b8f55bc0526 powerpc/ptdump: Fix display of RW pages on FSL_BOOK3E
28a6d14ba60a powerpc/fsl-pci: Fix Class Code of PCIe Root Port
9293b7ee5297 PCI: Add defines for normal and subtractive PCI bridges
8c3ae6b1d76c ia64, processor: fix -Wincompatible-pointer-types in ia64_get_irr()
ce839b9331c1 md-raid10: fix KASAN warning
ecd489683a74 serial: mvebu-uart: uart2 error bits clearing
d11e3f4fdc90 fuse: limit nsec
ed43fb20d3d1 iio: light: isl29028: Fix the warning in isl29028_remove()
a5b8aad54824 drm/amdgpu: Check BO's requested pinning domains against its preferred_domains
8afbf206aa3d drm/nouveau: fix another off-by-one in nvbios_addr
5557e9469b8e drm/gem: Properly annotate WW context on drm_gem_lock_reservations() error
b8f3830cd905 parisc: io_pgetevents_time64() needs compat syscall in 32-bit compat mode
d7ba24d3a893 parisc: Fix device names in /proc/iomem
a7573260ad0d ovl: drop WARN_ON() dentry is NULL in ovl_encode_fh()
8b4588b8b00b usbnet: Fix linkwatch use-after-free on disconnect
2afb553d6825 fbcon: Fix boundary checks for fbcon=vc:n1-n2 parameters
6f9cd356eb27 thermal: sysfs: Fix cooling_device_stats_setup() error code path
a698d2fa85be fs: Add missing umask strip in vfs_tmpfile
e2a231454e2b vfs: Check the truncate maximum size in inode_newsize_ok()
cc9e874dace0 tty: vt: initialize unicode screen buffer
9e274a4f6029 ALSA: hda/realtek: Add quirk for another Asus K42JZ model
495f153c1587 ALSA: hda/cirrus - support for iMac 12,1 model
f4f2d3742b97 ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model
79e522101cf4 mm/mremap: hold the rmap lock in write mode when moving page table entries.
731436e1eee2 KVM: x86: Set error code to segment selector on LLDT/LTR non-canonical #GP
914a274320e5 KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
78359865870d KVM: nVMX: Let userspace set nVMX MSR to any _host_ supported value
68e1313bb880 KVM: SVM: Don't BUG if userspace injects an interrupt with GIF=0
e40bde8a28ed KVM: nVMX: Snapshot pre-VM-Enter DEBUGCTL for !nested_run_pending case
c841dfce0b0d KVM: nVMX: Snapshot pre-VM-Enter BNDCFGS for !nested_run_pending case
717c93c7f6c4 HID: wacom: Don't register pad_input for touch switch
0ca140b28425 HID: wacom: Only report rotation for art pen
d14b6fe91149 add barriers to buffer_uptodate and set_buffer_uptodate
6f3342a5e83c wifi: mac80211_hwsim: use 32-bit skb cookie
4f4bf4e52b5a wifi: mac80211_hwsim: add back erroneously removed cast
84014008bc7f wifi: mac80211_hwsim: fix race condition in pending packet
ae52cf801a14 igc: Remove _I_PHY_ID checking
05e0bb8c3c4d ALSA: bcd2000: Fix a UAF bug on the error path of probing
58e337d27f8a scsi: Revert "scsi: qla2xxx: Fix disk failure to rediscover"
013acaa59752 x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments
635e8e6f6837 Makefile: link with -z noexecstack --no-warn-rwx-segments
(From OE-Core rev: ddfc3eebd96197fec56ac781fcf9d7da0c9eca27)
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 upstream qemu recipe uses host's pkg-config files as a solution to
detecting host's SDL. This has a side effect of using other host
libraries that are later queried by the configure script. This can get
into a situation when the host provides libnfs (for example) and because
later this dependency is not in place anymore, qemu will fail at
runtime.
This change adds a PACKAGECONFIG definition for libnfs that is disabled
by default, in turn disabling the pkgconfig autodetection in configure.
(From OE-Core rev: 9badcf0261f6b735d65a5498bb8fbb9979d7a07f)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42b364a25fdbc987c85dd46b8427045033924d99)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Includes fixes for CVE-2022-3099 and CVE-2022-3134.
(From OE-Core rev: 46ba253059738dbd4de4bc7a7ac02a2585c498f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d042923262130b6b96f703b5cd4184f659caeb92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
backport fix for:
CVE-2022-1920
CVE-2022-1921
CVE-2022-1922
CVE-2022-1923
CVE-2022-1924
CVE-2022-1925
CVE-2022-2122
also set ignore at gstreamer1.0_1.16.3.bb
(From OE-Core rev: c852d3e6742fe82b9f4ec84b077d6e1b0bfd021e)
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>
systemd defines a default set of fallback DNS servers in
https://github.com/systemd/systemd/blob/v251/meson_options.txt#L328-L330
By adding a PACKAGECONFIG knob providing a convenient way to opt out,
and then adding that value to systemd's PACKAGECONFIG, the output from
runtime 'resolvectl status' command no longer contains the following
line:
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google
(From OE-Core rev: 2b300d6b9ec6288a99d9dacb24a86949caf99e55)
(From OE-Core rev: 834ccad676b3d8d58d1a66bbe813a331599435b4)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.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>
Commit 8089cefed8 ("systemd: Add
PACKAGECONFIG for sysvinit") decoupled enabling of systemd's sysvinit
handling behavior behind a distinct PACKAGECONFIG feature.
This new option affects among other things the installing of
tmpfiles.d/legacy.conf, which is responsible for creating /run/lock
directory, which is pointed to by /var/lock symlink provided by
base-files package.
In case the option is not enabled, then base-files provided /var/lock
is a dangling symlink on resulting rootfs, causing problems with
certain Linux userspace components that rely on existence of writable
/var/lock directory. As an example:
# fw_printenv
Error opening lock file /var/lock/fw_printenv.lock
Since Filesystem Hierarchy Standard Version 3.0 states in
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s09.html that
Lock files should be stored within the /var/lock directory structure.
Ensure the /run/lock directory is always created, so that lock files
can be stored under /var/lock also when 'sysvinit' handling is
disabled.
(From OE-Core rev: 85e5ee2c35cf5778c3aefda45f526e8f6a511131)
(From OE-Core rev: b8aa4d53b636bec55ad0ff4de764222662647859)
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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 can have multiple processes reading the database at the same time, and
cursors only release their locks when they're garbage collected.
This might be the cause of random sqlite errors on the autobuilder, so
explicitly close the cursors when we're done with them.
(From OE-Core rev: 48742ddf4d0acd419c8ffb8f22124ed525efc2d9)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
(cherry picked from commit 5d2e90e4a58217a943ec21140bc2ecdd4357a98a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE check database needs to have a shared lock acquired on it before
it is accessed. This to prevent cve-update-db-native from deleting the
database file out from underneath it.
[YOCTO #14899]
(From OE-Core rev: 374dd13db2c4fa92793f12c93d68d09304f77c17)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 20a9911b73df62a0d0d1884e57085f13ac5016dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If there is insufficent space to change the interpreter, we were
printing an error here but the overall script did not return an error
code, and thus the SDK installation appeared to succeed - but some of
the binaries will not be in a working state. Allow the relocation to
proceed (so we still get a full list of the failures) but error out at
the end so that the installation is halted.
(From OE-Core rev: 345193f36d08cfe4899c65e8edf3f79db09c50d2)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c5a9a448e462d3e5457e8403c5a1a54148ecd224)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patch to fix:
| cryptodev-module/1.10-r0/git/ioctl.c:875:4: error: implicit declaration of function 'ksys_close'; did you mean 'ksys_chown'? [-Werror=implicit-function-declaration]
| 875 | ksys_close(fd);
| | ^~~~~~~~~~
| | ksys_chown
| cc1: some warnings being treated as errors
(From OE-Core rev: 653b03aa6fc8effd3b2215a7a0ba005979e78e9f)
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:
de0cd3ea700d Linux 5.4.210
b58882c69f66 x86/speculation: Add LFENCE to RSB fill sequence
f2f41ef0352d x86/speculation: Add RSB VM Exit protections
3a0ef79c6abe macintosh/adb: fix oob read in do_adb_query() function
54e1abbe8560 media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
17c2356e467f selftests: KVM: Handle compiler optimizations in ucall
170465715a60 KVM: Don't null dereference ops->destroy
6098562ed9df selftests/bpf: Fix "dubious pointer arithmetic" test
6a9b3f0f3bad selftests/bpf: Fix test_align verifier log patterns
9d6f67365d9c bpf: Test_verifier, #70 error message updates for 32-bit right shift
751f05bc6f95 selftests/bpf: Extend verifier and bpf_sock tests for dst_port loads
7c1134c7da99 bpf: Verifer, adjust_scalar_min_max_vals to always call update_reg_bounds()
a8ba72bbeda5 ACPI: APEI: Better fix to avoid spamming the console with old error logs
fa829bd4af43 ACPI: video: Shortening quirk list by identifying Clevo by board_name only
8ed6e5c5e23c ACPI: video: Force backlight native for some TongFang devices
828f4c31684d thermal: Fix NULL pointer dereferences in of_thermal_ functions
(From OE-Core rev: 2663435831c0ef953fb7fe6c883f42cf0c86ae43)
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>
Since we're keeping cve-check aligned between the active branches,
and dunfell is supported on Python 3.5, we can't use f-strings.
(From OE-Core rev: 4cc681fd66031c8355f69e53443536b31377eba9)
Signed-off-by: Ernst Sjöstrand <ernstp@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1821cf7464cbba521b55a9c128fe8812c0cc5eca)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Source: https://github.com/golang/go
MR: 120634
Type: Security Fix
Disposition: Backport from 703c8ab7e5
ChangeID: 3ade323dd52a6b654358f6738a0b3411ccc6d3f8
Description:
CVE-2022-32189 golang: math/big: decoding big.Float and big.Rat types can panic if the encoded message is too short, potentially allowing a denial of service.
(From OE-Core rev: 9b3420c9a91059eb55754078bb1e733972e94489)
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>
Source: https://gitlab.com/libtiff/libtiff
MR: 120545
Type: Security Fix
Disposition: Backport from 275735d035
ChangeID: 4c781586f7aba27420a7adc0adc597cc68495387
Description:
CVE-2022-34526 libtiff: A stack overflow was discovered in the _TIFFVGetField function of Tiffsplit.
(From OE-Core rev: 462d4a55a460c60a7b8c36fe3899e66f13835761)
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>
Pass additional arguments in the fileslocked() context manager to the
underlying lockfile() function. This allows the context manager to be
used for any types of locks (non-blocking, shared, etc.) that the
lockfile() function supports.
(Bitbake rev: 048d682b031644fb9f0d41a489bacb873aa27bd7)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
numa is an existing machine feature, add it to the list so that users
are aware of it.
(From yocto-docs rev: d9931a04bccd115f854275cd46c8195c3fa1d391)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The user does need to be told about this but it isn't really a warning,
just something they may need to be aware of. Drop the level accordingly.
(Bitbake rev: 3b719e8e115b7fde869f62ddc180e045c1b51cdf)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent new tasks from being scheduled if the memory pressure is above
a certain threshold, specified through the "BB_MAX_PRESSURE_MEMORY"
variable in the conf/local.conf file. This is an extension to the
following commit and hence regulates pressure in the same way:
48a6d84de1 bitbake: runqueue: add cpu/io pressure regulation
Memory pressure is experienced when time is spent swapping, refaulting
pages from the page cache or performing direct reclaim. This is why
memory pressure is rarely seen but might be useful as a last resort to
prevent OOM errors.
(Bitbake rev: 44c395434c7be8dab968630a610c8807f512920c)
(Bitbake rev: 82b683f8c7a559f4fcab68f6a0fa7dc3dc20fa05)
Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Randy Macleod <Randy.Macleod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prevent the scheduler from starting new tasks if the current cpu or io
pressure is above a certain threshold and there is at least one active
task. This threshold can be specified through the
"BB_PRESSURE_MAX_{CPU|IO}" variables in conf/local.conf.
The threshold represents the difference in "total" pressure from the
previous second. The pressure data is discussed in this oe-core commit:
061931520b buildstats.py: enable collection of /proc/pressure data
where one can see that the average and "total" values are available.
>From tests, it was seen that while using the averaged data was somewhat
useful, the latency in regulating builds was too high. By taking the
difference between the current pressure and the pressure seen in the
previous second, better regulation occurs. Using a shorter time period
is appealing but due to fluctations in pressure, comparing the current
pressure to 1 second ago achieves a reasonable compromise. One can look
at the buildstats logs, that usually sample once per second, to decide a
sensible threshold.
If the thresholds aren't specified, pressure is not monitored and hence
there is no impact on build times. Arbitary lower limit of 1.0 results
in a fatal error to avoid extremely long builds. If the limits are higher
than 1,000,000, then warnings are issued to inform users that the specified
limit is very high and unlikely to result in any regulation.
The current bitbake scheduling algorithm requires that at least one
task be active. This means that if high pressure is seen, then new tasks
will not be started and pressure will be checked only for as long as at
least one task is active. When there are no active tasks, an additional task
will be started and pressure checking resumed. This behaviour means that
if an external source is causing the pressure to exceed the threshold,
bitbake will continue to make some progress towards the requested target.
This violates the intent of limiting pressure but, given the current
scheduling algorithm as described above, there seems to be no other option.
In the case where only one bitbake build is running, the implications of
the scheduler requirement will likely result in pressure being higher
than the threshold. More work would be required to ensure that
the pressure threshold is never exceeded, for example by adding pressure
monitoring to make and ninja.
(Bitbake rev: 502e05cbe67fb7a0e804dcc2cc0764a2e05c014f)
(Bitbake rev: 66741d216e9d4343e82a94f00cd39751632a5b96)
Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com>
Signed-off-by: Randy Macleod <randy.macleod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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>
BitBake is licensed under the GNU General Public License version 2.0. See
LICENSE.GPL-2.0-only for further details.
Individual files contain the following style tags instead of the full license text:
SPDX-License-Identifier: GPL-2.0-only
This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/
The following external components are distributed with this software:
* The Toaster Simple UI application is based upon the Django project template, the files of which are covered by the BSD license and are copyright (c) Django Software
Foundation and individual contributors.
* Twitter Bootstrap (including Glyphicons), redistributed under the MIT license
* jQuery is redistributed under the MIT license.
* Twitter typeahead.js redistributed under the MIT license. Note that the JS source has one small modification, so the full unminified file is currently included to make it obvious where this is.
* jsrender is redistributed under the MIT license.
* QUnit is redistributed under the MIT license.
* Font Awesome fonts redistributed under the SIL Open Font License 1.1
* simplediff is distributed under the zlib license.
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.")
__version__ = "1.46.0"
if __name__ == "__main__":
if __version__ != bb.__version__:
sys.exit("Bitbake core version and program version mismatch!")
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.")
# Users shouldn't be running this code directly
if len(sys.argv) != 2 or not sys.argv[1].startswith("decafbad"):
print("bitbake-worker is meant for internal execution by bitbake itself, please don't use it standalone.")
sys.exit(1)
profiling = False
if sys.argv[1].startswith("decafbadbad"):
profiling = True
try:
import cProfile as profile
except:
import profile
# Unbuffer stdout to avoid log truncation in the event
# of an unorderly exit as well as to provide timely
# TODO: add argument to automatically keep local-only refs, since they
# can't be easily restored with a git fetch.
parser = argparse.ArgumentParser(description='Remove the history of the specified revisions, then optionally filter the available refs to those specified.')
parser.add_argument('--ref', '-r', metavar='REF', action='append', dest='refs', help='remove all but the specified refs (cumulative)')
parser.add_argument('--shrink', '-s', action='store_true', help='shrink the git repository by repacking and pruning')
echo "Failed migrations, aborting system start" 1>&2
return $retval
fi
# Make sure that checksettings can pick up any value for TEMPLATECONF
export TEMPLATECONF
$MANAGE checksettings --traceback || retval=1
if [ $retval -eq 1 ]; then
printf "\nError while checking settings; aborting\n"
return $retval
fi
return $retval
}
webserverKillAll()
{
local pidfile
if [ -f ${BUILDDIR}/.toastermain.pid ] ; then
custom_extention web_stop_postpend
else
custom_extention noweb_stop_postpend
fi
for pidfile in ${BUILDDIR}/.toastermain.pid ${BUILDDIR}/.runbuilds.pid; do
if [ -f ${pidfile} ]; then
pid=`cat ${pidfile}`
while kill -0 $pid 2>/dev/null; do
kill -SIGTERM $pid 2>/dev/null
sleep 1
done
rm ${pidfile}
fi
done
}
webserverStartAll()
{
# do not start if toastermain points to a valid process
if ! cat "${BUILDDIR}/.toastermain.pid" 2>/dev/null | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
fi
retval=0
# check the database
databaseCheck || return 1
echo "Starting webserver..."
$MANAGE runserver --noreload "$ADDR_PORT" \
</dev/null >>${BUILDDIR}/toaster_web.log 2>&1 \
& echo $! >${BUILDDIR}/.toastermain.pid
sleep 1
if ! cat "${BUILDDIR}/.toastermain.pid" | xargs -I{} kill -0 {} ; then
retval=1
rm "${BUILDDIR}/.toastermain.pid"
else
echo "Toaster development webserver started at http://$ADDR_PORT"
echo -e "\nYou can now run 'bitbake <target>' on the command line and monitor your build in Toaster.\nYou can also use a Toaster project to configure and run a build.\n"
$('#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+'.');
# Supoprt URIs relative to the user's home directory, with
# the tilde syntax. (E.g. <sftp://example.com/~/foo.diff>).
ifpath[:3]=='/~/':
path=path[3:]
remote='%s%s:%s'%(user,urlo.hostname,path)
cmd='%s%s%s%s'%(basecmd,port,remote,lpath)
bb.fetch2.check_network_access(d,cmd,ud.url)
runfetchcmd(cmd,d)
returnTrue
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.