summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-01-20bitbake.conf: Add BB_TASK_NETWORK to enable task network globallyrbt/networkRobert Yang
The NIS or icecc can't work when task network is dissable, add BB_TASK_NETWORK to enable network globally for such exceptions. Note, enable nscd on the build machine might be a solution, but that isn't reliable since it depends on whether the network function has been cached or not. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2022-01-19build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19crate-fetch: Switch to version contained in bitbakeRichard Purdie
This avoids various sstate fetch errors from weird silent failures in the sstate archive testing code caused by lack of srcrev support in the crate fetcher. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19abi_version: Bump HASHEQUIV_HASH_VERSIONRichard Purdie
After the changes to the native outhash files to ensure populate_sysroot for native recipes correctly accounts for runtime dependencies, this doesn't reset the target output namespace and means reproducibility issues are still triggering on our test infrastructure. Bump the version being used for hashequiv to ensure we avoid these issues with a new namespace. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19sstate: Improve failure to obtain archive message/handlingRichard Purdie
The bb.fatal() case where sstate failed to find/use an archive in setcene tasks is suboptimal. Bitbakes handling of setscene tasks will be to warn but the fatal will turn this into an error, despite the real task being rerun. In these failure cases other messages would usually have been printed so turn this into a warning and raise a handled exception status so that bitbake knows to fail the task but not print more messages. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19sstate: Show better exception information for failuresRichard Purdie
Errors like SState: cannot test file://universal/5f/10/sstate:m4-native:x86_64-linux:1.4.19:r0:x86_64:7:5f108b175274798b17950b5ee686bf61445e90fb204d7f795e5b879b5603e88b_deploy_source_date_epoch.tar.zst: 'GIT_SSL_CAINFO' aren't useful, try and improve on this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19build-appliance-image: Update to master head revisionRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19oeqa/runtime/stap: increase buffer sizeRoss Burton
We're seeing random failures in the SystemTap tests in qemuarm on kernel 5.10. This might be related to the buffer between user and kernel space being too small, so explicitly set the size. If this cures the problem it should be considered a workaround and not the solution. [ YOCTO #14673 ] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19expat: Simplify ptest-runnerRichard Purdie
Upstream mentioned our ptest-runner could likely be simplified. I had a look at the output and yes, most of the code in the runner is now obsolete as upstream output is compatible with what we need. Simplify accordingly. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19iproute2: update 5.15.0 to 5.16.0Changhyeok Bae
0001-lib-fix-ax25.h-include-for-musl.patch is the fix for musl and comes from upstream. Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-19mtd-utils: upgrade 2.1.3 -> 2.1.4Denys Dmytriyenko
https://lore.kernel.org/all/c31dba4f-42a8-ba48-7df2-b56bf4699a4c@sigma-star.at/t/ Roughly half a year after the last release, this is a smaller, patch level release that primarily consists of a hand full of fixes that have accumulated since then. This includes some fixes regarding the user space ports of mtd-tests using the wrong page size, and most recently a fix regarding a missing jffs2 kernel header in the last release tarball, causing build failures on some systems. Changes from 2.1.3 to 2.1.4: Features: - ubiscan debugging and statistics utility Fixes: - Some mtd-tests erroneously using sub-pages instead of the full page size - Buffer overrun in fectest - Missing jffs2 kernel header in the last release, leading to build failures on some systems. Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18strace: upgrade 5.15 -> 5.16wangmy
License-Update: year updated to 2022. Changelog: ========= Improvements ----------- -Implemented --secontext=mismatch option to find mismatches in SELinux contexts. -Implemented decoding of futex_waitv syscall introduced in Linux 5.16. -Implemented decoding of BPF_LINK_GET_NEXT_ID and BPF_LINK_GET_FD_BY_ID bpf syscall commands. -Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD bpf syscall commands. -Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command. -Updated lists of AUDIT_*, BPF_*, BTRFS_*, DEVCONF_*, FAN_*, ETH_P_*, IPV4_DEVCONF_*, KVM_*, NDA_*, SO_*, and V4L2_* constants. -Updated lists of ioctl commands from Linux 5.16. Bug fixes --------- -Fixed build for older Android. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18python3-numpy: upgrade 1.22.0 -> 1.22.1wangmy
License-Update: year updated to 2022. Changelog: ========= The NumPy 1.22.1 is maintenance release that fixes bugs discovered after the 1.22.0 release. Notable fixes are: Fix f2PY docstring problems Fix reduction type problems Fix various typing bugs. The Python versions supported for this release are 3.8-3.10. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18python3-git: upgrade 3.1.24 -> 3.1.26wangmy
Changelog: ========= Fixes a leaked file descriptor when reading the index, which would cause make writing a previously read index on windows impossible. See https://github.com/gitpython-developers/GitPython/issues/1395 for details. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18mesa: upgrade 21.3.3 -> 21.3.4wangmy
Changelog: ========== Bug fixes --------- i965: gen5 exposes EXT_texture_integer incorrectly [radeonsi, regression, bisected]: Rendering issues with Factorio mesa >= 21.x (with llvmpipe) will break the game JVGS Panfrost - RK3399 - FACTORIO - glitches everywhere Baldurs Gate 3 (Patch 6) - ribbon-like artifacts on textures Game Starsector crashes under certain circumstances with mesa 21.3.+ FreeSpace models incorrectly rendered on Polaris cards, causing system freeze Incomplete evaluation of nested DEFINE macros [r300g, bisected] piglit glsl-fs-discard-04 fails Panfrost G52 Firefox terrible glitches on youtube playback Changes ------- pan/bi: Fix load_const of 1-bit booleans gallium/util: Add pixel->blocks box helper lima,panfrost: Correct pixel vs block mismatches radv: Set optimal copy alignment to 1. microsoft/compiler: Fix dxil_nir_create_bare_samplers() ir3/ra: Fix logic bug in compress_regs_left ir3: Bump type mismatch penalty to 3 aco: don't allow SDWA on VOP3P instructions aco: validate VOP3P opsel correctly tu: fix workaround for depth bounds test without depth test intel/genxml/gen4-5: fix more Raster Operation in BLT to be a uint crocus: fail resource allocation properly. freedreno/afuc: Disable the disassembler on 32-bit builds. i915g: Turn off FP16 in the vertex shaders. r300: Fix omod failing to increase the number of channels stored. nir_to_tgsi: Fix a bug in TXP detection after backend lowering. pick_status.json: Update to 8a78706643ecad8a1f303cc9358873abc29978b4 pick_status.json: Mark 00bea38242d97e7ace1954f1bc7d32cbf0ce3ee0 as denominated pick_status.json: Mark 2a0253b9b5d21c7571555abe3a1d851468a18740 as denominated r300: fix handling swizzle in transform_source_conflicts intel/compiler/test: Fix build with GCC 7 i965: Disable EXT_texture_integer on Gfx4 and Gfx5 Revert "anv: Stop doing too much per-sample shading" anv: don't leave anv_batch fields undefined anv: limit compiler valid color outputs using NIR variables intel/dev: fixup chv workaround etnaviv: initialize vertex attributes on context reset etnaviv: drm: fix size limit in etna_cmd_stream_realloc etnaviv: drm: properly handle reviving BOs via a lookup zink: fix -Warray-bounds warning radv: fix xfb query copy param ordering zink: always unset vertex shader variant key data when changing last vertex stage zink: add extra synchronization for buffer descriptor binds zink: use device-local heap for sparse backing allocations r300: Remove broken optimization in rc_transform_KILL radeonsi/gfx8: use the proper dcc clear size vbo/dlist: fix loopback crash vbo/dlist: add vertices to incomplete primitives radeonsi/gfx10: fix si_texture_get_offset for mipmapped tex glapi: should not add alias function to static_data.py aco: remove pack_half_2x16(a, 0) optimization intel/fs: OpImageQueryLod does not support arrayed images as an operand v3dv: Hotfix: Rename remaining V3DV_HAS_SURFACE->V3DV_USE_WSI_PLATFORM radv: add drirc radv_disable_htile_layers and enable it for F1 2021 iris: unref syncobjs and free r/w dependencies array for slab entries mesa: free idalloc storage for display lists mesa: free vbo_save_vertex_list store prims glsl/glcpp: make sure to expand new token after concatenation venus: subtract appended header size in vn_CreatePipelineCache Fix compilation on armv7l with gcc 11.2.0 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18hdparm: upgrade 9.62 -> 9.63wangmy
Changelog: ========= new --sanitize-overwrite-passes flag applied "Plurals patch" Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18libsdl2: upgrade 2.0.18 -> 2.0.20wangmy
0001-Fix-build-against-wayland-1.20.patch removed since it is included in 2.0.20 License-Update: year updated to 2022. Changelog: ========= General: SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can cast color data in SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this parameter. Improved accuracy of horizontal and vertical line drawing when using OpenGL or OpenGLES Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line drawing used, to select speed, correctness, and compatibility. Fixed hotplug controller detection, broken in 2.0.18 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18u-boot: upgrade 2021.10 -> 2022.01Marek Vasut
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-18tune-cortexa73: Introduce cortexa73-crypto tuneKevin Hao
The crypto extension is optional for the Cortex-A73 processor, so we shouldn't enable the crypto by default for the cortexa73 tune. Introduce the cortexa73-crypto for the processors which do have the cryptography unit. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17expat: Drop unneeded libtool patch, we use cmakeRichard Purdie
This patch is old. We use cmake for building expat now and libtool isn't even used. The upstream author asked questions about it and can clearly be dropped so do so. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17pigz: fix one failure of command "unpigz -l"Changqing Li
Refer [1], "unpigz -l" failed with error: $ ./unpigz -l test.txt.gz compressed original reduced name 228799 209715200 99.9% test.txt unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy) unpigz: abort: internal threads error or $ ./unpigz -l test.txt.gz unpigz: skipping: test.txt.gz unrecognized format unpigz: can't destroy locked resource (pigz.c:2622:mutex_destroy) unpigz: abort: internal threads error [1] https://github.com/madler/pigz/issues/96 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17lighttpd: backport a fix for CVE-2022-22707Ross Burton
Backport the fix for CVE-2022-22707, a buffer overflow in mod_extforward. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17vim: update to include latest CVE fixesRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17expat: Upgrade 2.4.2 -> 2.4.3Richard Purdie
Primarily a security fix release which includes: CVE-2021-45960 CVE-2021-46143 CVE-2022-22822 CVE-2022-22823 CVE-2022-22824 CVE-2022-22825 CVE-2022-22826 CVE-2022-22827 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17python3-hypothesis: upgrade 6.34.1 -> 6.35.0Tim Orling
6.35.0 - 2022-01-08¶ This release disallows using typing.ClassVar with from_type() and register_type_strategy(). Why? Because ClassVar can only be used during class definition. We don’t generate class attributes. It also does not make sense as a runtime type on its own. 6.34.2 - 2022-01-05¶ This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17speex: fix CVE-2020-23903Kai Kang
Backport patch to fix CVE-2020-23903. CVE: CVE-2020-23903 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17multilib.bbclass: set rpm file color for 32-bit multilib imageKai Kang
The default rpm file color is 2 that Elf64 is preferred according to OE-Core commit 56fa74497393a10f751d01c600c1936761e00294. For 32-bit multilib image such as lib32-core-image-sato, Elf32 should be preferred. Set it in multilib.bbclass. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17bootchart2: Add missing python3-math dependencyMarek Vasut
Without this dependency, generating the bootchart may fail with: " ModuleNotFoundError: No module named 'random' " 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: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-17classes/native: Propagate dependencies to outhashJoshua Watt
Native task outputs are directly run on the build system during the build after being built. Even if the output of a native recipe doesn't change, a change in one of its dependencies may cause a change in the output it generates (e.g. rpm output depends on the output of its dependent zstd library). This can cause poor interactions with hash equivalence, since this recipe's output-changing dependency is "hidden" and downstream tasks only see that this recipe has the same outhash and therefore is equivalent. This can result in different output in different cases and issues with reproducible builds in parcular (e.g. rpm compression changes for the same content). To resolve this, unhide the output-changing dependency by adding it's unihash to this tasks outhash calculation. Unfortunately, we don't know specifically know which dependencies are output-changing, so we have to add all of them. [YOCTO #14685] Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15linux-yocto-rt/5.15: update to -rt22Bruce Ashfield
Integrating the following commit(s) to linux-yocto-rt/5.15: 799919ec2113 v5.15.5-rt22 4745560a36e7 v5.15.3-rt21 9b4d36e0fbeb v5.15.2-rt20 d156320aca54 net: sched: gred: dynamically allocate tc_gred_qopt_offload d36603e0d213 v5.15.2-rt19 7ddf3a205fa3 mm/vmalloc: Remove unused `cpu' variable. 3f8e7f777049 v5.15.2-rt18 7b0fd383bb9a printk: fixup -stable merge to -rt Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15linux-yocto/5.10: update to v5.10.91Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: df395c763ba0 Linux 5.10.91 674071c9eb26 Input: zinitix - make sure the IRQ is allocated before it gets enabled ef81f7d406c2 ARM: dts: gpio-ranges property is now required f63fa1a0d4df ipv6: raw: check passed optlen before reading cf07884e6bec drm/amd/display: Added power down for DCN10 10b9ccd0674d mISDN: change function names to avoid conflicts dd8a09cfbb99 atlantic: Fix buff_ring OOB in aq_ring_rx_clean c2f4bb251eb4 net: udp: fix alignment problem in udp4_seq_show() f82b48d1d86b ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate 8c87a83ef891 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown() b798b677f94d usb: mtu3: fix interval value for intr and isoc 498d77fc5e38 ipv6: Do cleanup if attribute validation fails in multipath route 72b0d14a0a88 ipv6: Continue processing multipath route even if gateway attribute is invalid 5a7d650bb181 power: bq25890: Enable continuous conversion for ADC at charging 4f260ea5537d phonet: refcount leak in pep_sock_accep 61952934608c rndis_host: support Hytera digital radios 62cbde77d9c1 power: reset: ltc2952: Fix use of floating point literals 998d157e3b2a power: supply: core: Break capacity loop 16d8568378f9 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate aa606b82cdfb net: ena: Fix error handling when calculating max IO queues number e7f5480978fd net: ena: Fix undefined state when tx request id is out of bounds 2de3d961f8e7 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc 4c34d5fd8c96 batman-adv: mcast: don't send link-local multicast to mcast routers f403b5f96e9a lwtunnel: Validate RTA_ENCAP_TYPE attribute length 48d5adb08d60 ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route 173bfa2782fa ipv6: Check attribute length for RTA_GATEWAY in multipath route 914420a2a6c5 ipv4: Check attribute length for RTA_FLOW in multipath route a8fe915be6c2 ipv4: Check attribute length for RTA_GATEWAY in multipath route 786a335fef18 ftrace/samples: Add missing prototypes direct functions c859c4de0bd7 i40e: Fix incorrect netdev's real number of RX/TX queues d0ad64438fb5 i40e: Fix for displaying message regarding NVM version 32845aa60203 i40e: fix use-after-free in i40e_sync_filters_subtask() f7edb6b9438b sfc: The RX page_ring is optional 2b3f34da0d79 mac80211: initialize variable have_higher_than_11mbit 16e5cad6eca1 RDMA/uverbs: Check for null return of kmalloc_array a7c2cae997db netrom: fix copying in user data in nr_setsockopt beeb0fdedae8 RDMA/core: Don't infoleak GRH fields 3ca132e6b065 iavf: Fix limit of total number of queues to active queues of VF 396e3016905d i40e: Fix to not show opcode msg on unsuccessful VF MAC change 7f13d14e563c ieee802154: atusb: fix uninit value in atusb_set_extended_addr 7db1e245cb71 tracing: Tag trace_percpu_buffer as a percpu pointer 760c6a625506 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf() c1e2da4b3f72 selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv() 384111e12367 f2fs: quota: fix potential deadlock Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15linux-yocto/5.15: update to v5.15.14Bruce Ashfield
Updating linux-yocto/5.15 to the latest korg -stable release that comprises the following commits: d114b082bef7 Linux 5.15.14 b8a1293e3850 drm/amd/pm: keep the BACO feature enabled for suspend 19070d812e13 Revert "drm/amdgpu: stop scheduler when calling hw_fini (v2)" b228924bb619 Input: zinitix - make sure the IRQ is allocated before it gets enabled 1917ace18375 ARM: dts: gpio-ranges property is now required 2f66e0976b4a userfaultfd/selftests: fix hugetlb area allocations ec33da9ae072 ipv6: raw: check passed optlen before reading 04d945934362 drm/amd/display: Added power down for DCN10 9b1df8dab312 drm/amd/display: fix B0 TMDS deepcolor no dislay issue 9964f0840a82 mISDN: change function names to avoid conflicts f55383e6b92b drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform 3c196f056666 drm/amdgpu: always reset the asic in suspend (v2) fbabb82b11b4 drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume 80f229009b59 atlantic: Fix buff_ring OOB in aq_ring_rx_clean cf8f0e76c4ce net: udp: fix alignment problem in udp4_seq_show() 294f3fc9dc27 ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate 847050d40dc0 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown() 6ebb6853108f usb: mtu3: fix interval value for intr and isoc 12a4c1092ae7 drm/amd/pm: Fix xgmi link control on aldebaran 31d95ff41cdf drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify 4ed66cdc542f auxdisplay: charlcd: checking for pointer reference before dereferencing 8a7520c49994 ipv6: Do cleanup if attribute validation fails in multipath route c1de618c95e9 ipv6: Continue processing multipath route even if gateway attribute is invalid 5aec746bf7f2 power: bq25890: Enable continuous conversion for ADC at charging b4391e49ac1d drm/amdgpu: disable runpm if we are the primary adapter fa3d8456f7cd fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb 9ca97a693aa8 phonet: refcount leak in pep_sock_accep d57da5185def net ticp:fix a kernel-infoleak in __tipc_sendmsg() 75d840c0f5d7 gpio: gpio-aspeed-sgpio: Fix wrong hwirq base in irq handler 7601a265696c rndis_host: support Hytera digital radios b381e0f98711 reset: renesas: Fix Runtime PM usage 550acd770f9f power: reset: ltc2952: Fix use of floating point literals be816676f38b power: supply: core: Break capacity loop b0e72ba9e520 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate 800f02fa8a51 i2c: mpc: Avoid out of bounds memory access e24c6a48c6ea Revert "i2c: core: support bus regulator controlling in adapter" 43fa0b3639c5 cgroup: Use open-time cgroup namespace for process migration perm checks 50273128d640 cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv c6ebc3529884 cgroup: Use open-time credentials for process migraton perm checks 247b6244d40e KVM: x86: Check for rmaps allocation a08275570392 EDAC/i10nm: Release mdev/mbase when failing to detect HBM 3400aa7eda64 md/raid1: fix missing bitmap update w/o WriteMostly devices 15fb002977f6 net: ena: Fix error handling when calculating max IO queues number c4c20dc24e09 net: ena: Fix wrong rx request id by resetting device bf8263c71420 net: ena: Fix undefined state when tx request id is out of bounds 6511f8074b70 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc 9b8bbe489ced batman-adv: mcast: don't send link-local multicast to mcast routers 9f00a2a0c139 sctp: hold endpoint before calling cb in sctp_transport_lookup_process 3c5c81d1e350 selftests: net: udpgro_fwd.sh: explicitly checking the available ping feature 41844e68eb92 lwtunnel: Validate RTA_ENCAP_TYPE attribute length ca0097c543fc ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route 00e8b9f313b2 ipv6: Check attribute length for RTA_GATEWAY in multipath route bb471784ca85 ipv4: Check attribute length for RTA_FLOW in multipath route 72971eaad6ea ipv4: Check attribute length for RTA_GATEWAY in multipath route 5cb0bd07125f ftrace/samples: Add missing prototypes direct functions 61169d6c77de i40e: Fix incorrect netdev's real number of RX/TX queues 7b177d34a123 i40e: Fix for displaying message regarding NVM version 3f4c2ade4d65 i40e: fix use-after-free in i40e_sync_filters_subtask() 8fbbc33cf018 sfc: The RX page_ring is optional 03fb6db4ad61 mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh 18b224910edc mac80211: initialize variable have_higher_than_11mbit 0ea8bb0811ba RDMA/uverbs: Check for null return of kmalloc_array 6716b40d162f netrom: fix copying in user data in nr_setsockopt 21a18420ae2d Revert "net: usb: r8152: Add MAC passthrough support for more Lenovo Docks" e1e354771812 RDMA/core: Don't infoleak GRH fields 607f126d4a21 iavf: Fix limit of total number of queues to active queues of VF fda95797fc50 i40e: Fix to not show opcode msg on unsuccessful VF MAC change deb65735b5b1 ieee802154: atusb: fix uninit value in atusb_set_extended_addr c44979ace49b Revert "RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow" 21f8a3b110f2 tracing: Tag trace_percpu_buffer as a percpu pointer be134e7c5b38 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf() 3cf50a37286c selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv() ef3047fca111 fscache_cookie_enabled: check cookie is valid before accessing it Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15linux-yocto/5.10: amdgpu: updates for CVE-2021-42327Bruce Ashfield
Integrating the following commit(s) to linux-yocto/5.10: fd84b99a8ccb drm/amd/display: Don't allow partial copy_from_user 024f4ff63d55 drm/amdgpu: Fix even more out of bound writes from debugfs Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15lttng-modules: update to 2.13.1Bruce Ashfield
Bumping lttng-modules to 2.13.1, which fixes the build against 5.16+ kernels. We drop two previously backported patches. The following commits are part of this update: 8c0aec7e Version 2.13.1 533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16) 2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16) 9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16) 036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16) a029f2a3 fix: isystem: delete global -isystem compile option (v5.16) d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16) 4fabf854 Fix: syscall tracing: missing trigger actions 38b35aff Warn on event registration/unregistration failure e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15) 8be4c8a3 fix: cpu/hotplug: Remove deprecated CPU-hotplug functions. (v5.15) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15linux-yocto/5.15: fix arm defconfig warningsBruce Ashfield
Integrating the following commit(s) to linux-yocto/5.15: 02bf23d26bc4 arm64: defconfig: cleanup config options 05914e2c87e5 arm: defconfig: drop unused POWER_AVS option Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15oeqa/runtime/stap: rewrite testRoss Burton
There's no need to copy files to the target when stap can take the short probe directly. Add more has-package decorators for the kernel source and GCC symlinks. Remove the test dependencies as it's not a hard dependency. Change the probe to print a message with some minimal logic, and verify that the message was correctly constructed in the output. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15systemtap: fix vsprintf errorsRoss Burton
In some configurations (such as 32-bit arm), using printf() causes gcc errors. Backport a patch from upstream to fix this. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15sstate: Preserve permissions when extracting tar archiveJacob Kroon
This is done by default when tar is run by the superuser, but for native recipes the corresponding task is not run as root under pseudo, so pass the flag explicitly. Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-15valgrind: Avoid accessing network in ptest taskKhem Raj
Avoid calling docs validation and manpages validation to avoid it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14go: fix building without SECURITY_LDFLAGSDmitry Baryshkov
Commit 9985b17a30bb ("go: correctly set debug-prefix-map and build directory") has changed CGO_LDFLAGS to the manually crafted version of LDFLAGS to strip out DEBUG_PREFIX_MAP contents. However this manually crafted version includes ${SECURITY_LDFLAGS}. If security_flags.inc is not included, the variable is not defined, thus CGO_LDFLAGS will include the '${SECURITY_LDFLAGS}' literally. When building the recipe, the build would break with the follwing message: aarch64-linaro-linux-gcc: error: ${SECURITY_LDFLAGS}: No such file or directory So, instead of manually specifying variable contents, perform the expected action: filter offending arguments out of LDFLAGS. Cc: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14sanity: Drop TUNEABI, TUNEABI_WHITELIST, TUNEABI_OVERRIDERichard Purdie
These were added nearly a decade ago but there are no users in OE-Core. I checked with the likely users and they seem to have no current usage either. Therefore remove them. If needed for some prebuilt library somewhere, they could be implemented in the layer using them instead but I doubt these are in use any longer. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14grub-efi: Add xen_boot support when 'xen' is in DISTRO_FEATURES for aarch64Kamil Dziezyk
'xen-boot' module is available only for aarch64. Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14systemd: Avoid a Python deprecation warningPeter Kjellerstedt
This avoids the following warning: WARNING: .../meta/recipes-core/systemd/systemd_250.1.bb: Var <do_install>:1: DeprecationWarning: invalid escape sequence \$ seen when doing `devtool finish --force-patch-refresh systemd meta`. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-14epiphany: update 41.0 -> 41.3Khairul Rohaizzat Jamaluddin
Includes fix patches for epiphany CVE. CVE: CVE-2021-45085 CVE-2021-45086 CVE-2021-45087 CVE-2021-45088 Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13tune-cortexa72: Drop the redundant cortexa72-crc tuneKevin Hao
We have enabled the crc extension by default for cortexa72 in patch ("tune-cortexa72: Enable the crc extension by default for cortexa72"), then the cortexa72-crc seems redundant. So drop it. We also rename the cortexa72-crc-crypto to cortexa72-crypto. With these changes, it will break the BSPs which used these two tunes, but it should be easy to fix. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13create-spdx: Add kernel work-shared sourceSaul Wold
Since the kernel source is stored in work-shared, we need to add it to the search path so the kernel and kernel-modules source code can be found correctly. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13package: Add support for kernel strippingSaul Wold
Extend runstrip() to accept additional argument to enable sharing it with the kernel do_strip() so that KERNEL_IMAGE_STRIP_EXTRA_SECTIONS can be passed. Since is_elf() understands kernel modules there is no need to keep a seperate list for kernmodules or hardcode the values to runstrip. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13kernel.bbclass: use common strip()Saul Wold
Re-use the runstrip() code from oe.packaging, for the kernel stripping process. Since runstrip() is python the kernel do_strip() need to be converted to Python also. The stripped kernel image will be used for deployment in do_deploy(). This will allow the package.bbclass to split an unstripped kernel binary for the debug information and extended packagedata. The extended package data is used by create-spdx. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13armv9a/tune: Add the support for the Neoverse N2 coreKevin Hao
This adds the support for the Neoverse N2 core, even though the Neoverse N2 core implements the Arm v9.0-A architecture, but the support of it in GCC is based on the Arm v8.5-A architecture. Please see the commit 50d9db203bc3 ("aarch64: Add support for Neoverse N2 CPU") in GCC for more detail. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-13arch-armv8-5a.inc: Add tune include for armv8.5aKevin Hao
This adds support for the armv8.5a architecture and the crypto extension. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>