]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agostrace: update to 5.8 (fix build against v5.8 uapi headers)
Bruce Ashfield [Thu, 6 Aug 2020 20:17:34 +0000 (16:17 -0400)]
strace: update to 5.8 (fix build against v5.8 uapi headers)

Updating strace to the 5.8 release. The signficant change in this
release is fixes to build against the v5.8 kernel.

Noteworthy changes from the strace site:

 - Changes in behaviour

    - Modified %process class to contain system calls associated with
      process lifecycle (creation, exec, termination):
      kill, tkill, tgkill, pidfd_send_signal and rt_sigqueueinfo are added,
      arch_prctl and unshare are removed.

 - Improvements
    - Implemented decoding of faccessat2 syscall.
    - Implemented decoding of LOOP_CONFIGURE ioctl command.
    - Updated decoding of io_uring_setup syscall to match Linux 5.8.
    - Updated lists of AUDIT_*, BPF_*, CAP_*, ETH_*, INET_DIAG_*, IORING_*,
      KEYCTL_*, KVM_*, LOOP_*, NDA_*, RTC_*, TCA_*, STATX_*, and *_MAGIC
      constants.
    - Updated lists of ioctl commands from Linux 5.8.

 - Bug fixes

    - Added statx syscall to %fstat trace class.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-yocto: enhance configuration queue analysis capabilities
Bruce Ashfield [Thu, 6 Aug 2020 19:57:25 +0000 (15:57 -0400)]
kernel-yocto: enhance configuration queue analysis capabilities

Enable the kernel-yocto bbclass to use enhanced capabilities from
the kern-tools symbol_why.pl.

We bump the kern-tools SRCREV to pickup the reworking of symbol_why,
which uses Kconfiglib to provide analysis on configuration values.

This is useful for debugging why a symbol specified in a fragment
did not end up in the final .config.

We introduce two ways to interact with the new symbol_why:

 1) a replacement of the existing kconf_check script
 2) a dedicated task that is explicitly invoked to dump details
    on the configuration.

The kconf_check replacement is transparent to the user, and is
run in exactly the same way as it was previously. But we get better
output and more detailed diagnostics if there are symbols that
don't make it into the final .config

The second way to interact with symbol why is via the new task
do_config_analysis. This is invoked like any other task, and by
default will provide a full configuration analysis and point the
user at files to look at for details.

If a more targetted analysis is desired, then specific symbols
can be set in the CONFIG_ANALYSIS variable. When this variable
is set, the task will only run for the given symbols and provide
per-variable links to the user. This variable can be set like
any other, including specification in the local.conf:

  CONFIG_ANALYSIS_pn-linux-yocto-dev = 'NF_CONNTRACK LOCALVERSION'

Which produces output as follows:

   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration analysis executed, see: tmp/work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/NF_CONNTRACK-config-analysis.txt for details
   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration audit executed, see: tmp/work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/NF_CONNTRACK-config-audit.txt for details
   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration analysis executed, see: tmp/work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/LOCALVERSION-config-analysis.txt for details
   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration audit executed, see: work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/LOCALVERSION-config-audit.txt for details

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocml1: Add the option to choose the .config root dir
Diego Sueiro [Thu, 6 Aug 2020 10:37:51 +0000 (11:37 +0100)]
cml1: Add the option to choose the .config root dir

Introduce the KCONFIG_CONFIG_ROOTDIR variable to allow recipes
which the .config file is not under the ${B} to select the root
directory location for the config file.

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools: Upgrade 49.2.0 -> 49.2.1
zangrc [Thu, 6 Aug 2020 21:10:53 +0000 (05:10 +0800)]
python3-setuptools: Upgrade 49.2.0 -> 49.2.1

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibinput: Upgrade 1.15.6 -> 1.16.0
zangrc [Thu, 6 Aug 2020 21:10:52 +0000 (05:10 +0800)]
libinput: Upgrade 1.15.6 -> 1.16.0

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap: Upgrade 2.41 -> 2.42
zangrc [Thu, 6 Aug 2020 21:10:51 +0000 (05:10 +0800)]
libcap: Upgrade 2.41 -> 2.42

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemu : fix CVE-2020-15863
Lee Chee Yang [Thu, 6 Aug 2020 09:46:18 +0000 (17:46 +0800)]
qemu : fix CVE-2020-15863

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoghostscript: fix CVE-2020-15900
Lee Chee Yang [Thu, 6 Aug 2020 09:46:17 +0000 (17:46 +0800)]
ghostscript: fix CVE-2020-15900

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogrub: set CVE_PRODUCT to grub2
Chen Qi [Thu, 6 Aug 2020 08:26:25 +0000 (16:26 +0800)]
grub: set CVE_PRODUCT to grub2

grub and grub-efi recipes' CVE_PRODUCT should be grub2.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoxf86-video-intel: Fix build with -fno-common
Khem Raj [Thu, 6 Aug 2020 04:41:54 +0000 (21:41 -0700)]
xf86-video-intel: Fix build with -fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agooeqa/selftest/imagefeatures: Add testcase for fitImage
Usama Arif [Wed, 29 Jul 2020 14:41:18 +0000 (15:41 +0100)]
oeqa/selftest/imagefeatures: Add testcase for fitImage

This testcase generates the Image Tree Source and
the corresponding fitImage containing a kernel and
a ramdisk. It then checks if the these files exist
and if the right fields are present in the right
order in the Image Tree Source.

Tested with: oe-selftest -r  imagefeatures.ImageFeatures.test_fit_image

Signed-off-by: Usama Arif <usama.arif@arm.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-fitimage: build configuration for image tree when dtb is not present
Usama Arif [Mon, 20 Jul 2020 17:18:21 +0000 (18:18 +0100)]
kernel-fitimage: build configuration for image tree when dtb is not present

This patch adds support for adding configuration node even
when dtb is not part of the FIT image. The conf and default
node number are therefore changed to point to kernel ID rather
than dtb ID when dtb does not exist.

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobinutils: Upgrade to 2.35 release
Khem Raj [Thu, 30 Jul 2020 07:53:43 +0000 (00:53 -0700)]
binutils: Upgrade to 2.35 release

assembler supports dwarf-5 format line numbers
linker has -M -MP gcc-like option

for detailed release notes see [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00008.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolttng-modules: update to 2.12.2 (fixes v5.8+ builds)
Bruce Ashfield [Wed, 5 Aug 2020 14:04:55 +0000 (10:04 -0400)]
lttng-modules: update to 2.12.2 (fixes v5.8+ builds)

Updating to the 2.12.2 lttng-modules release. This is the standard
collection of bug fixes as well as changes to support building against
the v5.8 kernel.

Changelog follows:

 2020-08-04 (National Chocolate Chip Cookie Day) LTTng modules 2.12.2
         * Fix: Lock metadata cache on session destroy
         * Fix: metadata stream leak, missing list removal and locking
         * Fix: coherent state not changed atomically with metadata written
         * fix: include module.h for EXPORT_SYMBOL_GPL
         * fix: __lttng_vmalloc_node_range const caller introduced in v3.6
         * fix: version range for overflow_callback
         * fix: global_dirty_limit was introduced in v3.1
         * fix: wrapper_uprobe_unregister is a void function
         * fix: prior to v4.0, __vmalloc_node_range had no vm_flags param
         * fix: vmalloc on v5.8 without KALLSYMS
         * Detect missing symbols used with kallsyms_lookup at compile time
         * Use exported symbol bdevname() instead of disk_name()
         * Add git-review config
         * fix: mm: remove vmalloc_sync_(un)mappings() (v5.8)
         * fix: mm/writeback: discard NR_UNSTABLE_NFS, use NR_WRITEBACK (v5.8)
         * fix: block: remove the error argument to the block_bio_complete (v5.8)
         * fix: pipe_buf_operations rework (v5.8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-devsrc: fix x86 (32bit) on target module build
Bruce Ashfield [Wed, 5 Aug 2020 15:42:57 +0000 (11:42 -0400)]
kernel-devsrc: fix x86 (32bit) on target module build

The previous devsrc v5.8 on target build fixup [532ae127c
kernel-devsrc: fix on-target module build for v5.8+], missed
on condition: the defconfig

On 32bit x86 the arch can be queried differently on the host
and target. We aren't building against the defconfig, so we
remove it from auto.conf.cmd and we can again prepare to build
modules on target.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosystemtap: update to 4.3 latest
Bruce Ashfield [Wed, 5 Aug 2020 19:07:45 +0000 (15:07 -0400)]
systemtap: update to 4.3 latest

Updating systemtap to the latest of the 4.3 release branch. Without
this update we cannot pass on-target sanity tests with a 5.8
kernel.

Changelog is as follows:

    82b8e1a07 (HEAD -> master, origin/master, origin/HEAD) Make dtrace generated code work with LTO (take 2)
    03a6c471a Fix --enable-http build errors by always using MHD_Result
    87344e948 PR26307: rhel6 porting tweak redux
    24810e5ac PR26307: rhel6 porting tweak
    327956981 java/HelperSDT.c: correct 32-bit pointer cast warnings
    2f3580f40 PR26307: adapt to kernel module_sect_attr changes in 5.8+
    84bc64ff1 systemtap.spec: let -testsuite subrpm require elfutils-debuginfod
    27b087e7f PR26249: "%p" -> "0x%lx" pointer formatting in *conversions.stp error messages
    5e1ef9d7f PR25568 / RHBZ1857749: sdt_buildid.exp test case
    e90530877 PR25568 / RHBZ1857749: buildid/uprobes/inode rework, task_finder etc. side
    40dbe72af PR26234: stapbpf should warn about other unsupported derived_probe types
    82f358beb testsuite: shrink output
    a9a0131eb rhbz1857749: uprobes-inode regression in sdt semaphore setting
    ce0fa621e configury: make systemtap buildable with gcc -flto
    e5a63d9c0 Make dtrace generated code work with LTO
    e8070f260 Revert "Make dtrace generated code work with LTO"
    b26a86bfb systemtap.spec: comment syntax tweak
    8212024da Make dtrace generated code work with LTO
    601778117 PR26234: stapbpf should warn about unsupported utrace_derived_probes
    c7d4f550e testsuite: block listing_mode_sanity large tests on small machine
    046fa017d RHBZ1847676 cont'd: one more uprobes-inode/onthefly concurrency control
    a8351c3dc runtime: startup dmesg %p decloaking
    65d6fbd21 run-stap.in: forget about bundled elfutils build mode
    57c76ab3f PR25549: format tweak
    143974310 PR25549: statement probe visibility for openmp / lto binaries
    c6831f14e testuite: More @cast() fallout
    a4d7b3797 README: modernize
    f1a9bb064 Tapset and testsuite updates against @cast() change 00ee19ff03
    4ccdfe453 RHBZ1847676 cont'd: more uprobes-inode/onthefly concurrency controls
    487d6b6e8 tapset: *user_string* formatting directive tweaks
    b266d0bf8 PR26142: Adapt to linux/vermagic.h file hiding ... but with proper include order
    79000b42e PR26142: Adapt to linux/vermagic.h file hiding ... but not on rhel6
    37066e2c3 PR26142: adapt to linux mmap_sem api transition
    6af5df835 PR26142: Adapt to linux/vermagic.h file hiding
    403e92779 PR26181: Use explicit @cast() within get_ip_from_client()
    4bb36e7fb Exclude some __NR_compat_* defines for newer aarch64 kernels
    a948c291c Use explicit @cast() operators pointing to kernel for tapsets
    469d20e8b PR26131: garbled data might appear in staprun data channel output
    36430614d Use kernel.trace("sched:sched_process_fork") for kprocess.create when possible
    b2d18cb3a Use explicit @cast() operators for semop-watch.stp example.
    3d922919d Use explicit @cast() operators for periodic.stp
    9a2cd427a PR24758: increase stack size for BPF userspace interpreter
    3040d4e8d Use explicit @cast() operators for stapgames/pingpong.stp tapset.
    9eb37102d Use explicit @cast() operators for pfiles.stp and ioctl_handler.stp
    7a28529f6 Remove the unneeded test_support check the lwtools meta info
    717b7dddd Use explicit @cast() operators to fslatency-nd.stp and fsslower-nd.stp
    2b2b6a622 Fix sizeof.stp to explicitly use kernel debuginfo if one not specified
    db91f0291 bpf.exp: tentative fix for bigmap1.stp hang on RHEL8
    11c39a737 RHBZ1847676: uprobes-inode tweaks redux
    0a281a96d Make sizeof.stp runnable with the bpf backend.
    5b8f6c174 remove comment
    fb59e8c75 PR26123: fixed memory leaks in vma map for kernels without CONFIG_UTRACE.
    cc7b62017 Add overcommit.stp to examples that can run in bpf.
    ac8f2b7c9 configury: post-release version bump
    7a7016a12 Avoid exceeding space constraints for the BPF environment in mmfilepage.stp
    c488859d6 Avoid exceeding space constraints for BPF environment in mmwriteback.stp

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agowic: fix typo
Daniel Ammann [Wed, 5 Aug 2020 10:52:43 +0000 (12:52 +0200)]
wic: fix typo

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agominicom: Fix build when using -fno-common
Khem Raj [Wed, 5 Aug 2020 07:03:26 +0000 (00:03 -0700)]
minicom: Fix build when using -fno-common

gcc10 defaults to -fno-common which flags the multiple global variables
as errors, these patches ( from fedora ) fixes the issue

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomusl: Upgrade to latest release 1.2.1
Alejandro Hernandez [Wed, 5 Aug 2020 05:38:20 +0000 (22:38 -0700)]
musl: Upgrade to latest release 1.2.1

Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoallarch: Add missing allarch ttf-bitstream-vera
Daniel Gomez [Wed, 5 Aug 2020 14:13:00 +0000 (16:13 +0200)]
allarch: Add missing allarch ttf-bitstream-vera

allarch is missing in ttf-bitstream-vera recipe. Add it and include the
recipe in the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS list.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: make copyFrom scp command non-fatal
Matthew [Wed, 5 Aug 2020 18:51:33 +0000 (14:51 -0400)]
ltp: make copyFrom scp command non-fatal

[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.

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibacpi: Fix build with -fno-common
Khem Raj [Wed, 5 Aug 2020 19:08:19 +0000 (12:08 -0700)]
libacpi: Fix build with -fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodistcc: Fix build with -fno-common
Khem Raj [Wed, 5 Aug 2020 17:50:11 +0000 (10:50 -0700)]
distcc: Fix build with -fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokexec-tools: Fix build with -fno-common
Khem Raj [Wed, 5 Aug 2020 17:50:10 +0000 (10:50 -0700)]
kexec-tools: Fix build with -fno-common

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibomxil: Use -fcommon compiler option
Khem Raj [Wed, 5 Aug 2020 17:50:09 +0000 (10:50 -0700)]
libomxil: Use -fcommon compiler option

This ensures that when compiler defaults become -fno-common it still
keeps compiling

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinetutils: Fix build with -fno-common
Khem Raj [Wed, 5 Aug 2020 17:50:08 +0000 (10:50 -0700)]
inetutils: Fix build with -fno-common

Fixes errors like

telnetd/state.c:69: multiple definition of `not42'; utility.o:/usr/src/debug/inetutils/1.9.4-r0/build/telnetd/../../inetutils-1.9.4/telnetd/utility.c:66: first defined here
| clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel-devicetree: Fix intermittent build failures caused by DTB builds
Tyler Hicks [Wed, 5 Aug 2020 16:56:12 +0000 (11:56 -0500)]
kernel-devicetree: Fix intermittent build failures caused by DTB builds

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.

Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodhcp: Use -fcommon compiler option
Khem Raj [Wed, 5 Aug 2020 06:14:49 +0000 (23:14 -0700)]
dhcp: Use -fcommon compiler option

This ensures -fcommon is still used when compiler defaults to
-fno-common in gcc10 and clang11

Fixes
dhcp-4.4.2/server/mdb.c:70: multiple definition of `dhcp_type_host'; dhcpd-omapi.o:/usr/src/debug/dhcp/4.4.2-r0/dhcp-4.4.2/server/omapi.c:50: first defined here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibunwind: Backport a fix for -fno-common option to compile
Khem Raj [Wed, 5 Aug 2020 16:52:15 +0000 (09:52 -0700)]
libunwind: Backport a fix for -fno-common option to compile

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4: update to v5.4.54
Bruce Ashfield [Wed, 5 Aug 2020 12:47:36 +0000 (08:47 -0400)]
linux-yocto/5.4: update to v5.4.54

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    58a12e3368db Linux 5.4.54
    c15d59b94511 ath9k: Fix regression with Atheros 9271
    e6eb815beccc ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
    6d4448ca54bc dm integrity: fix integrity recalculation that is improperly skipped
    2ca71b807383 ASoC: topology: fix tlvs in error handling for widget_dmixer
    a4fd00dd8299 ASoC: topology: fix kernel oops on route addition error
    e60e53e685d9 ASoC: qcom: Drop HAS_DMA dependency to fix link failure
    8f64dc9e1d49 ASoC: rt5670: Add new gpio1_is_ext_spk_en quirk and enable it on the Lenovo Miix 2 10
    697bd3e4aa4b x86, vmlinux.lds: Page-align end of ..page_aligned sections
    c89af82f64a0 parisc: Add atomic64_set_release() define to avoid CPU soft lockups
    d1bab3cf71dd drm/amd/powerplay: fix a crash when overclocking Vega M
    33ab3f2dc444 drm/amdgpu: Fix NULL dereference in dpm sysfs handlers
    c3de96686db9 mmc: sdhci-of-aspeed: Fix clock divider calculation
    615f44e04792 io-mapping: indicate mapping failure
    40c5836b4a48 khugepaged: fix null-pointer dereference due to race
    95750e1edbcd mm: memcg/slab: fix memory leak at non-root kmem_cache destroy
    db949f60d983 mm/memcg: fix refcount error while moving and swapping
    549bfc142706 mm/mmap.c: close race between munmap() and expand_upwards()/downwards()
    5835e6d5988f Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
    23e8b741c8a1 vt: Reject zero-sized screen buffer size.
    028b478f2231 fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins.
    bf331efc8ea4 /dev/mem: Add missing memory barriers for devmem_inode
    3c52751df236 serial: 8250_mtk: Fix high-speed baud rates clamping
    af811869db06 serial: 8250: fix null-ptr-deref in serial8250_start_tx()
    fb8d832978bb serial: tegra: fix CREAD handling for PIO
    c76a1dacc28d staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
    178a09b0fb0d staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
    7ee8d78bc12b staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
    747558b1c737 staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
    c9afe420c53a staging: wlan-ng: properly check endpoint types
    a44c859323c2 tty: xilinx_uartps: Really fix id assignment
    f32718cfa5db iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU
    3e84602475f7 Revert "cifs: Fix the target file was deleted when rename failed."
    86894c3797ed usb: xhci: Fix ASM2142/ASM3142 DMA addressing
    1d91547f2fc8 usb: xhci-mtk: fix the failure of bandwidth allocation
    93f1e16af4a5 binder: Don't use mmput() from shrinker function.
    35728cac176a RISC-V: Upgrade smp_mb__after_spinlock() to iorw,iorw
    5345ede4acde drivers/perf: Prevent forced unbinding of PMU drivers
    0821295b23cc asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible()
    90e78ec7d725 x86: math-emu: Fix up 'cmp' insn for clang ias
    679fe09188c1 arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
    7fc7942f52cf drivers/perf: Fix kernel panic when rmmod PMU modules during perf sampling
    347f735ca82b ALSA: hda/realtek - fixup for yet another Intel reference board
    30a17b51d80d hwmon: (scmi) Fix potential buffer overflow in scmi_hwmon_probe()
    76361edb5559 platform/x86: asus-wmi: allow BAT1 battery name
    41a7fdf90ce2 platform/x86: ISST: Add new PCI device ids
    ace6e8b448b9 hwmon: (nct6775) Accept PECI Calibration as temperature source for NCT6798D
    6627a265c598 drm/amdgpu: fix preemption unit test
    ffb5604d2043 drm/amdgpu/gfx10: fix race condition for kiq
    c04a48251314 hwmon: (adm1275) Make sure we are reading enough data for different chips
    a2a380bd4575 usb: cdns3: trace: fix some endian issues
    103a90ad4e64 usb: cdns3: ep0: fix some endian issues
    89fe6eba178d usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init()
    74ec2cc5bfff usb: dwc3: pci: add support for the Intel Jasper Lake
    c4c6363b8e68 usb: dwc3: pci: add support for the Intel Tiger Lake PCH -H variant
    4f5eb2735fa3 Input: elan_i2c - only increment wakeup count on touch
    186d3fe73e27 Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen
    460c0dafea92 dmaengine: ioat setting ioat timeout as module parameter
    493aed3263ca dmaengine: fsl-edma: fix wrong tcd endianness for big-endian cpu
    6a3015ae35f5 hwmon: (aspeed-pwm-tacho) Avoid possible buffer overflow
    01d7bd8903d8 regmap: dev_get_regmap_match(): fix string comparison
    bbc0b6e18405 spi: mediatek: use correct SPI_CFG2_REG MACRO
    126a0ab6b83b ARM: dts: n900: remove mmc1 card detect gpio
    80fed4024c39 Input: add `SW_MACHINE_COVER`
    db886ec71fe4 dmaengine: tegra210-adma: Fix runtime PM imbalance on error
    5cbe437d5968 HID: apple: Disable Fn-key key-re-mapping on clone keyboards
    2c179ece3bfb HID: steam: fixes race in handling device list.
    5d273c566f7b HID: alps: support devices with report id 2
    08696a4ac9f6 HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override
    9ab9cfcc2d8f scripts/gdb: fix lx-symbols 'gdb.error' while loading modules
    22508bc315eb scripts/decode_stacktrace: strip basepath from all paths
    1e63d569fd2d serial: exar: Fix GPIO configuration for Sealevel cards based on XR17V35X
    a86abef1558a geneve: fix an uninitialized value in geneve_changelink()
    89b4f204ba43 bonding: check return value of register_netdevice() in bond_newlink()
    93bb40b79e84 i2c: i2c-qcom-geni: Fix DMA transfer race
    58637b3027db i2c: rcar: always clear ICSAR to avoid side effects
    e8b86b4d87e3 enetc: Remove the mdio bus on PF probe bailout
    9f2c2928b939 nfsd4: fix NULL dereference in nfsd/clients display code
    a44625dc0bd3 Revert "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"
    9e3e96aa9a2e net: ethernet: ave: Fix error returns in ave_init
    eb2c32de1ce6 ipvs: fix the connection sync failed in some cases
    592614918431 qed: suppress false-positives interrupt error messages on HW init
    641bd96bd0ac qed: suppress "don't support RoCE & iWARP" flooding on HW init
    8d416c038a91 netdevsim: fix unbalaced locking in nsim_create()
    99a5e865cbe4 net: dsa: microchip: call phy_remove_link_mode during probe
    4997b311c01e net: hns3: fix error handling for desc filling
    107ea66643bd net: ag71xx: add missed clk_disable_unprepare in error path of probe
    34e93385c416 ionic: fix up filter locks and debug msgs
    42f5c49f7bbb ionic: use offset for ethtool regs data
    eac87543368c mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
    9b52f23ad648 bonding: check error value of register_netdevice() immediately
    d11a27411c65 net: smc91x: Fix possible memory leak in smc_drv_probe()
    a2cdb4ebd84e drm: sun4i: hdmi: Fix inverted HPD result
    988e5d2179e4 ieee802154: fix one possible memleak in adf7242_probe
    7bf93c95a9b9 net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration
    e2e31a0bf7a1 ASoC: Intel: bytcht_es8316: Add missed put_device()
    613e7c52aaaa RDMA/mlx5: Use xa_lock_irq when access to SRQ table
    d0d394c71604 ax88172a: fix ax88172a_unbind() failures
    ad49d766612e vsock/virtio: annotate 'the_virtio_vsock' RCU pointer
    f826efa1c381 hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
    570b1c92cb48 fpga: dfl: fix bug in port reset handshake
    c73188295841 fpga: dfl: pci: reduce the scope of variable 'ret'
    57393e695a10 bnxt_en: Fix completion ring sizing with TPA enabled.
    9cc322773b20 bnxt_en: Fix race when modifying pause settings.
    38a66f3cdab4 btrfs: fix page leaks after failure to lock page for delalloc
    b04805a7e8a5 btrfs: fix mount failure caused by race with umount
    e333df0e4ac6 btrfs: fix double free on ulist after backref resolution failure
    f668e822950d ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
    0f87dabe4415 ALSA: info: Drop WARN_ON() from buffer NULL sanity check
    aad343d571ae ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung Notebook Pen S
    ee2f6a6b39be uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix GDB regression
    ee08663380ff btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway balance
    044ca910276b btrfs: reloc: fix reloc root leak and NULL pointer dereference
    cb1225707041 SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO compeletion")
    02140e85d8e4 drm/amd/display: Check DMCU Exists Before Loading
    722c6e954c90 dmabuf: use spinlock to access dmabuf->name
    44838b956304 ARM: dts: imx6qdl-gw551x: fix audio SSI
    593221ce16af ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link'
    36f735554572 irqdomain/treewide: Keep firmware node unconditionally allocated
    8676732c3337 fuse: fix weird page warning
    96002e7485be drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
    d0e40e510aa7 dm: use bio_uninit instead of bio_disassociate_blkg
    0ff9fce4abee scsi: dh: Add Fujitsu device to devinfo and dh lists
    3959567d870d scsi: mpt3sas: Fix error returns in BRM_status_show
    0c1337e94a54 drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
    fb50c5cf2105 net: sky2: initialize return of gm_phy_read
    b4397143da53 ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
    e50116e51281 drivers/net/wan/lapbether: Fixed the value of hard_header_len
    0eced7636001 scsi: mpt3sas: Fix unlock imbalance
    0edfdefc0a9c xtensa: update *pos in cpuinfo_op.next
    df5b65f5df3e xtensa: fix __sync_fetch_and_{and,or}_4 declarations
    806ffec1a93a scsi: scsi_transport_spi: Fix function pointer check
    65c835ebe2cd mac80211: allow rx of mesh eapol frames with default rx key
    f55550d566e4 pinctrl: amd: fix npins for uart0 in kerncz_groups
    de0d953ee787 gpio: arizona: put pm_runtime in case of failure
    52083907ebfa gpio: arizona: handle pm_runtime_get_sync failure case
    4f80cb2c787f soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokernel/yocto: allow dangling KERNEL_FEATURES
Bruce Ashfield [Mon, 3 Aug 2020 12:30:27 +0000 (08:30 -0400)]
kernel/yocto: allow dangling KERNEL_FEATURES

KERNEL_FEATURES are explicitly checked by the kern-tools, and trigger
and error when not present. This is since the KERNEL_FEATURES are
specified by layers or BSPs as elements that are requied for correct
operation.

That being said, in order to support more kernel recipes that are using
fragments, but not necessarily the yocto kernel-cache for meta-data,
this change introduces: KERNEL_DANGLING_FEATURES_WARN_ONLY

As you'd expect, when set, missing kernel features only print a
message and warn that runtime issues may occur, but otherwise allow
the kernel configuration and build process to continue.

This was noticed/required when meta-virtualization adopted a more
generic kernel bbappend (to serve the needs of more layers in the
ecosystem), but also specifies some KERNEL_FEATURES. If layers using
a recipe derived from kernel-yocto, but not the main kernel-cache,
used meta-virtualization and error would be thrown due to missing
features. We now can both allow them to continue, and also provide
a more useful message to resolve the issue.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4: fix perf build with binutils 2.35
Bruce Ashfield [Mon, 3 Aug 2020 12:30:26 +0000 (08:30 -0400)]
linux-yocto/5.4: fix perf build with binutils 2.35

Integrating the following commit(s) to linux-yocto/5.4:

    1fe4ee7f680c libtraceevent: Fix build with binutils 2.35

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolinux-yocto/5.4: update to v5.4.53
Bruce Ashfield [Mon, 3 Aug 2020 12:30:25 +0000 (08:30 -0400)]
linux-yocto/5.4: update to v5.4.53

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

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson.bbclass: add a cups-config entry
Alexander Kanavin [Tue, 4 Aug 2020 08:25:49 +0000 (10:25 +0200)]
meson.bbclass: add a cups-config entry

This is required by newer meson versions in cross builds, as
acknowledgement that the tool in PATH is ok to use.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonet-tools: fix upstream version check
Alexander Kanavin [Sat, 1 Aug 2020 21:23:35 +0000 (23:23 +0200)]
net-tools: fix upstream version check

There is no tag other than ancient 1.60, so bypass
the check for now.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibcap: update 2.36 -> 2.41
Alexander Kanavin [Sat, 1 Aug 2020 21:23:34 +0000 (23:23 +0200)]
libcap: update 2.36 -> 2.41

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: update 20.1.2 -> 20.1.4
Alexander Kanavin [Sat, 1 Aug 2020 21:23:33 +0000 (23:23 +0200)]
mesa: update 20.1.2 -> 20.1.4

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agologrotate: update 3.16.0 -> 3.17.0
Alexander Kanavin [Sat, 1 Aug 2020 21:23:32 +0000 (23:23 +0200)]
logrotate: update 3.16.0 -> 3.17.0

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agovala: update 0.48.6 -> 0.48.7
Alexander Kanavin [Sat, 1 Aug 2020 21:23:31 +0000 (23:23 +0200)]
vala: update 0.48.6 -> 0.48.7

Remove patch, as issue fixed upstream.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorsync: update 3.2.1 -> 3.2.2
Alexander Kanavin [Sat, 1 Aug 2020 21:23:30 +0000 (23:23 +0200)]
rsync: update 3.2.1 -> 3.2.2

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglib-2.0: correct build with latest meson
Alexander Kanavin [Sat, 1 Aug 2020 21:23:29 +0000 (23:23 +0200)]
glib-2.0: correct build with latest meson

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonasm: update 2.14.02 -> 2.15.03
Alexander Kanavin [Sat, 1 Aug 2020 21:23:28 +0000 (23:23 +0200)]
nasm: update 2.14.02 -> 2.15.03

Remove backported patches, rebase the rest.

Switch to using (mostly) standard autotools build.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomeson: update 0.54.3 -> 0.55.0
Alexander Kanavin [Sat, 1 Aug 2020 21:23:27 +0000 (23:23 +0200)]
meson: update 0.54.3 -> 0.55.0

Rebase patches.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogo: update 1.14.4 -> 1.14.6
Alexander Kanavin [Sat, 1 Aug 2020 21:23:26 +0000 (23:23 +0200)]
go: update 1.14.4 -> 1.14.6

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agognu-config: update to latest revision
Alexander Kanavin [Sat, 1 Aug 2020 21:23:25 +0000 (23:23 +0200)]
gnu-config: update to latest revision

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agokbd: update 2.2.0 -> 2.3.0
Alexander Kanavin [Sat, 1 Aug 2020 21:23:24 +0000 (23:23 +0200)]
kbd: update 2.2.0 -> 2.3.0

Drop ptest support: upstream has rewritten the tests in GNU autotest,
which is another m4 monstrosity entirely incompatible with the idea of
installing tests to the target system.

All dropped patches are either merged upstream, or made for ptest.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosysvinit: update 2.96 -> 2.97
Alexander Kanavin [Sat, 1 Aug 2020 21:23:23 +0000 (23:23 +0200)]
sysvinit: update 2.96 -> 2.97

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agosudo:upgrade 1.9.1 -> 1.9.2
zangrc [Fri, 31 Jul 2020 17:22:40 +0000 (01:22 +0800)]
sudo:upgrade 1.9.1 -> 1.9.2

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agostress-ng:upgrade 0.11.15 -> 0.11.17
zangrc [Fri, 31 Jul 2020 17:22:39 +0000 (01:22 +0800)]
stress-ng:upgrade 0.11.15 -> 0.11.17

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoconf/machine: set UBOOT_MACHINE for qemuarm and qemuarm64
Ross Burton [Fri, 31 Jul 2020 12:56:33 +0000 (13:56 +0100)]
conf/machine: set UBOOT_MACHINE for qemuarm and qemuarm64

These machines support booting U-Boot, so set the machine appropriately.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoltp: remove OOM tests from runtest/mm
Matthew [Thu, 30 Jul 2020 03:56:36 +0000 (23:56 -0400)]
ltp: remove OOM tests from runtest/mm

Remove the OOM tests, since they might cause oeqa ssh
connection lost.

[YOCTO #13802]

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/package_manager: Fix missing imports
Richard Purdie [Thu, 30 Jul 2020 22:01:06 +0000 (23:01 +0100)]
lib/package_manager: Fix missing imports

The package_manager code rearranging had some issues with module imports that
were now missing. Fix all the ones I could spot from quick inspection.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoqemumips: Use 34Kf CPU emulation
Khem Raj [Wed, 29 Jul 2020 02:28:52 +0000 (19:28 -0700)]
qemumips: Use 34Kf CPU emulation

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibwpe: update to 1.7.1
Oleksandr Kravchuk [Wed, 29 Jul 2020 08:46:23 +0000 (10:46 +0200)]
libwpe: update to 1.7.1

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agonativesdk-rpm: adjust RPM_CONFIGDIR paths dynamically
hongxu [Wed, 29 Jul 2020 08:22:06 +0000 (01:22 -0700)]
nativesdk-rpm: adjust RPM_CONFIGDIR paths dynamically

While installing/extracting SDK to a non-default dir(not /opt),
run rpm failed:
$ python3 -c "import rpm"
|error: Unable to open /opt/windriver/wrlinux-graphics/20.31/sysroots/
x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or
directory.

This patch adds a flexible way to configure RPM_CONFIGDIR in SDK.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopbzip2: extend for nativesdk
Yi Zhao [Wed, 29 Jul 2020 07:12:57 +0000 (15:12 +0800)]
pbzip2: extend for nativesdk

Make pzip2 available in nativesdk to speedup file compression.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoflex: Refresh patch
zangrc [Wed, 29 Jul 2020 01:31:22 +0000 (09:31 +0800)]
flex: Refresh patch

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
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolib/oe/reproducible.py: Fix git HEAD check
Joshua Watt [Tue, 28 Jul 2020 16:14:26 +0000 (11:14 -0500)]
lib/oe/reproducible.py: Fix git HEAD check

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.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoRevert "lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler"
Richard Purdie [Wed, 29 Jul 2020 10:33:56 +0000 (11:33 +0100)]
Revert "lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler"

This reverts commit 312fb3c86a3d84e60867b132666c01859f73ceb2 as this
wasn't meant to merge as yet.

4 years agolib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler
Chris Laplante [Tue, 28 Jul 2020 01:35:55 +0000 (21:35 -0400)]
lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler

This progress handler intercepts log output, stripping any ANSII color
escape codes. Then the stripped output is fed to the underlying progress
handler which will render the progress bar as usual.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopopt: upgrade to 1.18
Ross Burton [Tue, 28 Jul 2020 12:49:43 +0000 (13:49 +0100)]
popt: upgrade to 1.18

All our patches are upstreamed so drop them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocogl-1.0: correct X11 dependencies
Matt Madison [Tue, 28 Jul 2020 12:04:40 +0000 (05:04 -0700)]
cogl-1.0: correct X11 dependencies

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.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogtk-icon-cache.bbclass: add features_check
Changqing Li [Wed, 8 Jul 2020 07:13:31 +0000 (15:13 +0800)]
gtk-icon-cache.bbclass: add features_check

'bitbake world -k' when DISTRO_FEATURES don't have x11 and wayland,
report errors:
Nothing PROVIDES 'gtk+3'
Nothing RPROVIDES 'blueman'

gtk+3 set ANY_OF_DISTRO_FEATURES, so add it here too
since we DEPENDS on it

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogcc: Fix mangled patch
Richard Purdie [Mon, 27 Jul 2020 21:48:02 +0000 (22:48 +0100)]
gcc: Fix mangled patch

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agollvm: upgrade 9.0.1 -> 10.0.1
Trevor Gamblin [Mon, 27 Jul 2020 12:53:51 +0000 (08:53 -0400)]
llvm: upgrade 9.0.1 -> 10.0.1

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogit: update 2.28.0
Oleksandr Kravchuk [Mon, 27 Jul 2020 19:19:17 +0000 (21:19 +0200)]
git: update 2.28.0

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolayer.conf: fix adwaita-icon-theme signature change problem
Changqing Li [Thu, 23 Jul 2020 06:51:20 +0000 (14:51 +0800)]
layer.conf: fix adwaita-icon-theme signature change problem

allarch package adwaita-icon-theme inherit both allarch and
gtk-icon-cache, since commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62
[gtk-icon-cache.bbclass: add runtime dependency], it start depend on
non-allarch packages gdk-pixbuf and gtk+3, which make it's signature
changes when machine changed.

like for task do_prepare_recipe_sysroot:
"Hash for dependent task
gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_populate_sysroot changed from
a72aba8432699c8ce4ca1f71833ef14a89ffde0ea4063e37b9d819fdb1e407f4 to
1ad4e1bd76921b71482657f3b017184e9ade8e2a0b9f43ad64ed2dda83b1520f"

the only way to fix this is remove the task dependency.
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS not work in class, so add it in
layer.conf.

Maybe we have other recipes under other layers have similar problem, we
can only add one by one to its layer.conf, seems not a good idea. but
add *->pixbuf will influence other packages

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodeb: Move package manager to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:41 +0000 (16:42 +0200)]
deb: Move package manager to its own dir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoipk: Move package manager to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:40 +0000 (16:42 +0200)]
ipk: Move package manager to its own dir

This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: Move package manager to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:39 +0000 (16:42 +0200)]
rpm: Move package manager to its own dir

This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodeb: Move sdk to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:38 +0000 (16:42 +0200)]
deb: Move sdk to its own dir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoipk: Move sdk to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:37 +0000 (16:42 +0200)]
ipk: Move sdk to its own dir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: Move sdk to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:36 +0000 (16:42 +0200)]
rpm: Move sdk to its own dir

This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodeb: Move rootfs to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:35 +0000 (16:42 +0200)]
deb: Move rootfs to its own dir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoipk: Move rootfs to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:34 +0000 (16:42 +0200)]
ipk: Move rootfs to its own dir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: Move rootfs to its own dir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:33 +0000 (16:42 +0200)]
rpm: Move rootfs to its own dir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodeb: Move deb manifest to its own subdir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:32 +0000 (16:42 +0200)]
deb: Move deb manifest to its own subdir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoipk: Move ipk manifest to its own subdir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:31 +0000 (16:42 +0200)]
ipk: Move ipk manifest to its own subdir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorpm: Move manifest to its own subdir
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:30 +0000 (16:42 +0200)]
rpm: Move manifest to its own subdir

This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopackage_manager: Move to package_manager/__init__.py
Fredrik Gustafsson [Fri, 24 Jul 2020 14:42:29 +0000 (16:42 +0200)]
package_manager: Move to package_manager/__init__.py

This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agojson-c: update to 0.15
Oleksandr Kravchuk [Mon, 27 Jul 2020 09:00:35 +0000 (11:00 +0200)]
json-c: update to 0.15

Remove upstreamed patch.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopatch.py: Change to more strictly fuzz detection
Naoto Yamaguchi [Sun, 26 Jul 2020 22:39:34 +0000 (07:39 +0900)]
patch.py: Change to more strictly fuzz detection

When applying patch subject is including a " fuzz ", do_patch_qa detect
Fuzz.

After the patch is applied, the following log message appears.

  Applying: meson: treat all fuzz cases as unit tests

The current Fuzz detection checks for the presence of "fuzz" in this
log message.  The log in this example will be treated as Fuzz,
despite its success.

This patch change to more strictly fuzz detection.
if log message is including " fuzz " and "Hunk " in log message,
it will be treated as Fuzz.

Signed-off-by: Naoto Yamaguchi <wata2ki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agodiffoscope: update to 153
Oleksandr Kravchuk [Sun, 26 Jul 2020 19:48:17 +0000 (21:48 +0200)]
diffoscope: update to 153

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agore2c: update to 2.0
Oleksandr Kravchuk [Sun, 26 Jul 2020 19:42:13 +0000 (21:42 +0200)]
re2c: update to 2.0

CVE patch dropped as a backport present in the nre release.

RP: Remove dropped CVE patch
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3: update to 3.8.5
Oleksandr Kravchuk [Sat, 25 Jul 2020 23:41:09 +0000 (01:41 +0200)]
python3: update to 3.8.5

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agocve-update: handle baseMetricV2 as optional
Konrad Weihmann [Sun, 26 Jul 2020 14:10:06 +0000 (16:10 +0200)]
cve-update: handle baseMetricV2 as optional

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

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agobash-completion: update to 2.11
Oleksandr Kravchuk [Sun, 26 Jul 2020 13:39:01 +0000 (15:39 +0200)]
bash-completion: update to 2.11

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoperl: Avoid race continually rebuilding miniperl
Richard Purdie [Sun, 26 Jul 2020 14:02:20 +0000 (15:02 +0100)]
perl: Avoid race continually rebuilding miniperl

When we run "make install" we notice miniperl rebuilding multiple times.
Usually this is harmless however sometimes race issues occur such as
miniperl not being executable.

The issue is that crosspatch is a phony target so it always rebuilds.
Adding this as a dependency of miniperl means miniperl always rebuilds
too.

Avoid this by injecting a direct dependency avoiding the phony target.
miniperl is then only rebuilt when its input changes as desired.

Patch submitted to upstream perl-cross.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agochecklayer: check layer in BBLAYERS before test
Lee Chee Yang [Fri, 24 Jul 2020 04:16:24 +0000 (12:16 +0800)]
checklayer: check layer in BBLAYERS before test

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]

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agompg123:upgrade 1.26.2 -> 1.26.3
zangrc [Fri, 24 Jul 2020 01:18:07 +0000 (09:18 +0800)]
mpg123:upgrade 1.26.2 -> 1.26.3

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agolibevdev:upgrade 1.9.0 -> 1.9.1
zangrc [Fri, 24 Jul 2020 01:18:06 +0000 (09:18 +0800)]
libevdev:upgrade 1.9.0 -> 1.9.1

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agotune-cortexa55.inc: switch to using armv8.2a include file
Dmitry Baryshkov [Fri, 24 Jul 2020 14:43:06 +0000 (17:43 +0300)]
tune-cortexa55.inc: switch to using armv8.2a include file

Since Cortex-A55 is an ARMv8.2 core, switch to using arch-armv8-2a.inc
file.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoarch-armv8-2a.inc: add tune include for armv8.2a
Dmitry Baryshkov [Fri, 24 Jul 2020 14:43:05 +0000 (17:43 +0300)]
arch-armv8-2a.inc: add tune include for armv8.2a

Add tune include for armv8.2a. This adds support only for bare armv8.2a
(and for crypto extension). There is no support for additional
instructions added by architecture extensions (except the main crypto
extension support).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agomesa: enable freedreno Vulkan driver if freedreno is enabled
Dmitry Baryshkov [Fri, 24 Jul 2020 14:42:53 +0000 (17:42 +0300)]
mesa: enable freedreno Vulkan driver if freedreno is enabled

If freedreno is enabled in PACKAGECONFIG, enable respective Vulkan
driver.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinitscripts: Fix populate-volatile.sh bug when file/dir exists
Andrei Gherzan [Fri, 24 Jul 2020 17:12:05 +0000 (18:12 +0100)]
initscripts: Fix populate-volatile.sh bug when file/dir exists

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.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoinitscripts: Fix various shellcheck warnings in populate-volatile.sh
Andrei Gherzan [Fri, 24 Jul 2020 17:12:04 +0000 (18:12 +0100)]
initscripts: Fix various shellcheck warnings in populate-volatile.sh

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agopython3-setuptools: update to 49.2.0
Oleksandr Kravchuk [Sat, 25 Jul 2020 09:54:23 +0000 (11:54 +0200)]
python3-setuptools: update to 49.2.0

Rebased patch and got rid of the .inc file as Python 2 is not supported
anymore.

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agogconf: use python3
Joe Slater [Fri, 24 Jul 2020 22:34:15 +0000 (15:34 -0700)]
gconf: use python3

Modify gsettings-schema-convert to use python3.  Also
add RDEPEND on python3-xml.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agorootfs-post: remove traling blanks from tasks
Konrad Weihmann [Wed, 8 Jul 2020 11:09:35 +0000 (13:09 +0200)]
rootfs-post: remove traling blanks from tasks

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

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4 years agoglibc: Secruity fix for CVE-2020-6096
Armin Kuster [Mon, 20 Jul 2020 21:49:36 +0000 (14:49 -0700)]
glibc: Secruity fix for CVE-2020-6096

Source: glibc.org
MR: 104799
Type: Security Fix
Disposition: Backport from  beea361050728138b82c57dda0c4810402d342b9
ChangeID: 29df826fb697fdd2742c3bace33388bda962c5f1
Description:

Signed-off-by: Armin Kuster <akuster@gmvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>