]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
3 years agoMerge pull request #994 from Freescale/topic/warn-old-overrides
Otavio Salvador [Thu, 3 Mar 2022 14:07:56 +0000 (11:07 -0300)]
Merge pull request #994 from Freescale/topic/warn-old-overrides

Ensure we fail if old SoC overrides are in use

3 years agoEnsure we fail if old SoC overrides are in use topic/warn-old-overrides 994/head
Otavio Salvador [Wed, 2 Mar 2022 23:21:54 +0000 (20:21 -0300)]
Ensure we fail if old SoC overrides are in use

To assist existing layers to convert to the new BSP-specific
overrides. Besides failing the parsing of the recipes where it is in
use, we provide a script to automate most of it.

Fixes: #990.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoMerge pull request #993 from fabioestevam/master
Otavio Salvador [Wed, 2 Mar 2022 19:01:39 +0000 (16:01 -0300)]
Merge pull request #993 from fabioestevam/master

conf: imx7ulpevk: Remove unrelated imx7ulp-com.dtb entry

3 years agoconf: imx7ulpevk: Remove unrelated imx7ulp-com.dtb 993/head
Fabio Estevam [Wed, 2 Mar 2022 18:37:54 +0000 (15:37 -0300)]
conf: imx7ulpevk: Remove unrelated imx7ulp-com.dtb

The imx7ulp-com.dtb describes a completely different board: the Embedded
Artists i.MX7ULP COM board, which has no relationship with the NXP
i.MX7ULP EVK board.

Remove the imx7ulp-com.dtb entry.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
3 years agoMerge pull request #992 from thochstein/master
Otavio Salvador [Wed, 2 Mar 2022 16:06:48 +0000 (13:06 -0300)]
Merge pull request #992 from thochstein/master

dynamic-layers: Update SOC overrides

3 years agodynamic-layers: Update SOC overrides 992/head
Tom Hochstein [Wed, 2 Mar 2022 15:52:09 +0000 (09:52 -0600)]
dynamic-layers: Update SOC overrides

Fix dynamic layer overrides missed by the script.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoMerge pull request #986 from boundarydevices/master
Otavio Salvador [Fri, 25 Feb 2022 13:06:05 +0000 (10:06 -0300)]
Merge pull request #986 from boundarydevices/master

linux-imx-headers: whitelist version.h header (Fixes Hantro VPU for honister/master)

3 years agolinux-imx-headers: whitelist version.h header 986/head
Gary Bisson [Fri, 25 Feb 2022 10:37:42 +0000 (11:37 +0100)]
linux-imx-headers: whitelist version.h header

As some recipes, like imx-vpu-hantro, need to know the imx kernel
version instead of the toolchain header version.
As an example, Honister toolchain uses 5.14 kernel headers. In that
case, imx-vpu-hantro believes it needs to use dmabuf allocation
mechanism although this latter will only be enabled in upcoming NXP
kernel 5.15.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
3 years agoMerge pull request #985 from thochstein/optee
Otavio Salvador [Fri, 25 Feb 2022 00:45:56 +0000 (21:45 -0300)]
Merge pull request #985 from thochstein/optee

Optee: Upgrade 3.10.0.imx -> 3.15.0.imx

3 years agooptee-test: Add runtime dependency on optee-os 985/head
Tom Hochstein [Fri, 25 Feb 2022 00:08:37 +0000 (18:08 -0600)]
optee-test: Add runtime dependency on optee-os

The TAs in optee-os are required.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-client: Fix incorrect packaging logic
Tom Hochstein [Mon, 21 Feb 2022 19:04:46 +0000 (13:04 -0600)]
optee-client: Fix incorrect packaging logic

- The logic for the tee-supplicant package doesn't work and the package
ends up empty. In fact, tee-supplicant belongs in the main package anyway.
- The main package already contains ${libdir}, so drop the redundant
assignment.
- The headers belong in the -dev package, so drop them from the main.
- Drop the un-necessary INSANE_SKIP settings.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-*: For i.MX, require machine feature optee
Tom Hochstein [Wed, 16 Feb 2022 18:40:17 +0000 (12:40 -0600)]
optee-*: For i.MX, require machine feature optee

The optee software should be enabled by the machine feature. If the
machine feature is not there, but optee is built anyway, then something
is wrong and the build should fail.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-test: Use openssl embedded in optee-test
Tom Hochstein [Fri, 18 Feb 2022 23:07:08 +0000 (17:07 -0600)]
optee-test: Use openssl embedded in optee-test

Building against openssl from Yocto results in a build break:

```
| /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/git/host/xtest/regression_8100.c:133:17: error: 'ERR_get_error_line' is deprecated: Since OpeSL 3.0 [-Werror=deprecated-declarations]
|   133 |                 e = ERR_get_error_line(&f, &l);
|       |                 ^
| In file included from /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/git/host/xtest/regression_8100.c:18:
| /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/recipe-sysroot/usr/include/openssl/err.h:411:15: note: declared here
|   411 | unsigned long ERR_get_error_line(const char **file, int *line);
|       |               ^~~~~~~~~~~~~~~~~~
```

Configure optee-test to build with its own openssl.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-test: Add missing license GPL-2.0
Tom Hochstein [Fri, 18 Feb 2022 22:59:22 +0000 (16:59 -0600)]
optee-test: Add missing license GPL-2.0

As the license file states, the client applications (optee_test/host/*)
are provided under the GPL-2.0 license.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-test: Upgrade 3.10.0.imx -> 3.15.0.imx
Tom Hochstein [Wed, 16 Feb 2022 17:54:36 +0000 (11:54 -0600)]
optee-test: Upgrade 3.10.0.imx -> 3.15.0.imx

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-test: Cleanup install and FILES
Tom Hochstein [Fri, 18 Feb 2022 23:04:22 +0000 (17:04 -0600)]
optee-test: Cleanup install and FILES

- Use variables properly for the install and FILES
- Simplify the FILES update with an append

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-client: Upgrade 3.10.0.imx -> 3.15.0.imx
Tom Hochstein [Wed, 16 Feb 2022 17:54:14 +0000 (11:54 -0600)]
optee-client: Upgrade 3.10.0.imx -> 3.15.0.imx

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-os: Install embedded TAs
Tom Hochstein [Wed, 16 Feb 2022 19:01:04 +0000 (13:01 -0600)]
optee-os: Install embedded TAs

optee-os has some embedded TAs like AVB or PKCS11 that must be installed
in the filesystem.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-os: Use variable for includedir install
Tom Hochstein [Wed, 16 Feb 2022 18:46:36 +0000 (12:46 -0600)]
optee-os: Use variable for includedir install

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-os: Use tee-raw.bin binary
Tom Hochstein [Wed, 16 Feb 2022 18:38:52 +0000 (12:38 -0600)]
optee-os: Use tee-raw.bin binary

During the optee-os compilation, the gen_tee_bin.py script generates
a tee-raw.bin that is more space efficient and could replace
the tee.bin binary manually generated in the optee-os recipe
by objcpy.

This patch greatly reduces the size of tee.bin. On 64 bits platforms, we
observe a size descrease of ~68%, and on 32 bits platforms, a size
decrease of ~45%.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agooptee-os: Upgrade 3.10.0.imx -> 3.15.0.imx
Tom Hochstein [Wed, 16 Feb 2022 17:53:44 +0000 (11:53 -0600)]
optee-os: Upgrade 3.10.0.imx -> 3.15.0.imx

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoMerge pull request #984 from Freescale/topic/simplify-mx8x
Otavio Salvador [Thu, 24 Feb 2022 12:47:53 +0000 (09:47 -0300)]
Merge pull request #984 from Freescale/topic/simplify-mx8x

imx8x: The mx8x override is handled in extender so drop it

3 years agoimx8x: The mx8x override is handled in extender so drop it topic/simplify-mx8x 984/head
Otavio Salvador [Thu, 24 Feb 2022 12:19:40 +0000 (09:19 -0300)]
imx8x: The mx8x override is handled in extender so drop it

Refs: 9b9f9bb1 ("imx-base.inc: Add missing mx8x overrides")
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoMerge pull request #983 from thochstein/mx8x
Otavio Salvador [Thu, 24 Feb 2022 11:43:30 +0000 (08:43 -0300)]
Merge pull request #983 from thochstein/mx8x

imx-base.inc: Add missing mx8x overrides

3 years agoimx-base.inc: Add missing mx8x overrides 983/head
Tom Hochstein [Thu, 24 Feb 2022 00:55:59 +0000 (18:55 -0600)]
imx-base.inc: Add missing mx8x overrides

The i.MX 8QXP and 8DXL are in the 8X family, but the override was
missed in the new SOC override rework. This causes do_compile for
imx-boot to fail:

```
cp: cannot stat '/.../build/tmp/deploy/images/imx8qxpmek/imx8qm_m4_TCM_power_mode_switch_m40.bin': No such file or directory
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoMerge pull request #982 from Freescale/topic/better-nip-support
Otavio Salvador [Thu, 24 Feb 2022 00:58:12 +0000 (21:58 -0300)]
Merge pull request #982 from Freescale/topic/better-nip-support

imx-base.inc: Add support to include extra data for NIP devices

3 years agoimx-base.inc: Add support to include extra data for NIP devices topic/better-nip-support 982/head
Otavio Salvador [Wed, 23 Feb 2022 23:57:49 +0000 (20:57 -0300)]
imx-base.inc: Add support to include extra data for NIP devices

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoMerge pull request #980 from Freescale/topic/generalize-soc-overrides
Otavio Salvador [Wed, 23 Feb 2022 13:16:14 +0000 (10:16 -0300)]
Merge pull request #980 from Freescale/topic/generalize-soc-overrides

Generalize overrides subsystem for NXP and Mainline support

3 years agoMerge pull request #981 from YoeDistro/yoe/mut
Otavio Salvador [Tue, 22 Feb 2022 10:41:41 +0000 (07:41 -0300)]
Merge pull request #981 from YoeDistro/yoe/mut

layers: Bump to use kirkstone

3 years agolayers: Bump to use kirkstone 981/head
Khem Raj [Thu, 17 Feb 2022 20:44:39 +0000 (12:44 -0800)]
layers: Bump to use kirkstone

its not going to be backward ABI compatible with honister due to variable renaming.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agooptee-os: Use SoC override for i.MX6UL, i.MX6ULL and i.MX6ULZ topic/generalize-soc-overrides 980/head
Otavio Salvador [Mon, 21 Feb 2022 22:57:01 +0000 (19:57 -0300)]
optee-os: Use SoC override for i.MX6UL, i.MX6ULL and i.MX6ULZ

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoRework machine definitions to reduce duplication
Otavio Salvador [Mon, 21 Feb 2022 22:55:41 +0000 (19:55 -0300)]
Rework machine definitions to reduce duplication

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoimx-base.inc: reduce code using imx-{mainline,nxp}-bsp overrides
Otavio Salvador [Sun, 20 Feb 2022 20:51:14 +0000 (17:51 -0300)]
imx-base.inc: reduce code using imx-{mainline,nxp}-bsp overrides

We reduce the code size using the new overrides to improve code
clearness and reduce boilerplate.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoimx-gpu-viv: Remove comment code which was unused
Otavio Salvador [Sat, 19 Feb 2022 17:40:16 +0000 (14:40 -0300)]
imx-gpu-viv: Remove comment code which was unused

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoRework recipes to use imx-nxp-bsp more extensively
Otavio Salvador [Sat, 19 Feb 2022 01:47:37 +0000 (22:47 -0300)]
Rework recipes to use imx-nxp-bsp more extensively

This rework the recipes making use of new imx-nxp-bsp override; it
has been applied to:

 - gstreamer1.0
 - gstreamer1.0-plugins-bad
 - gstreamer1.0-plugins-base
 - gstreamer1.0-plugins-good
 - imx-alsa-plugins
 - imx-codec
 - imx-gst1.0-plugin
 - imx-parser
 - libdrm
 - libimxdmabuffer
 - linux-fslc-imx
 - linux-imx
 - optee-client
 - optee-test

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agou-boot-imx: Restrict recipe for i.MX6, i.MX7 and i.MX8
Otavio Salvador [Sat, 19 Feb 2022 01:40:51 +0000 (22:40 -0300)]
u-boot-imx: Restrict recipe for i.MX6, i.MX7 and i.MX8

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agou-boot-fslc-mxsboot: Restrict recipe for mxs-generic-bsp override
Otavio Salvador [Sat, 19 Feb 2022 01:24:23 +0000 (22:24 -0300)]
u-boot-fslc-mxsboot: Restrict recipe for mxs-generic-bsp override

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoimx-atf: Use mx8-generic-bsp as COMPATIBLE_MACHINE
Otavio Salvador [Sat, 19 Feb 2022 01:21:19 +0000 (22:21 -0300)]
imx-atf: Use mx8-generic-bsp as COMPATIBLE_MACHINE

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoimx-vpu-hantro: Mark PACKAGE_ARCH as MACHINE_SOCARCH
Otavio Salvador [Sat, 19 Feb 2022 01:09:34 +0000 (22:09 -0300)]
imx-vpu-hantro: Mark PACKAGE_ARCH as MACHINE_SOCARCH

The compilation vary depending on the target SoC we wish to use so we
must ensure it doesn't end in generic architecture feed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoRework recipes to use imx-generic-bsp more extensively
Otavio Salvador [Sat, 19 Feb 2022 00:49:11 +0000 (21:49 -0300)]
Rework recipes to use imx-generic-bsp more extensively

This rework the recipes making use of new imx-generic-bsp override; it
has been applied to:

 - alsa-state
 - firmware-imx
 - imx-kobs
 - imx-test
 - imx-uuc
 - linux-fslc
 - linux-fslc-lts
 - packagegroup-fsl-mfgtool
 - u-boot-fslc
 - uuu

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agofirmware-imx-8m: Use mx8m-generic-bsp as COMPATIBLE_MACHINE
Otavio Salvador [Sat, 19 Feb 2022 00:46:18 +0000 (21:46 -0300)]
firmware-imx-8m: Use mx8m-generic-bsp as COMPATIBLE_MACHINE

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoGeneralize overrides subsystem for NXP and Mainline support
Otavio Salvador [Fri, 18 Feb 2022 22:43:56 +0000 (19:43 -0300)]
Generalize overrides subsystem for NXP and Mainline support

Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.

So, for example, the mx8mq override is split into:

- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP

- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP

- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP

- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP

The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.

Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).

To convert an existing layer, the following script can be used:

```sh
  git ls-files classes recipes-* \
      | xargs sed -i \
              -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
              -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
              -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
              -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
              \
              -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
              -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
              -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(vf\w*\),:\1-generic-bsp,g' \
              -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
              -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
              -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
              -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
              \
              -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
              -e 's,(\(imx\)),(\1-nxp-bsp),g' \
              -e 's,\(imx\)|,\1-nxp-bsp|,g' \
              -e 's,|\(imx\)),|\1-nxp-bsp),g'

  for d in $(find -type d | egrep '/mx[6-8]w*'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/imx$'); do
      git mv $d $d-nxp-bsp
  done

  for d in $(find -type d | egrep '/mx[5s]w*'); do
      git mv $d $d-generic-bsp
  done
```

Fixes: #791.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoclasses/machine-overrides-extender: Postpone filter out
Otavio Salvador [Thu, 17 Feb 2022 21:36:55 +0000 (18:36 -0300)]
classes/machine-overrides-extender: Postpone filter out

The overrides ought to allow the filter out execution even for overrides
included during the extension, for this to work we need to postpone it.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoclasses/machine-overrides-extender: Allow filter out without an override
Otavio Salvador [Thu, 17 Feb 2022 21:32:25 +0000 (18:32 -0300)]
classes/machine-overrides-extender: Allow filter out without an override

We should be able to use a single MACHINEOVERRIDES_EXTENDER_FILTER_OUT
definition, without an override, to reduce code duplication.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agokernel-module-imx-gpu-viv: 6.4.0.p2.4+fslc -> 6.4.3.p2.4+fslc
Otavio Salvador [Mon, 21 Feb 2022 22:10:29 +0000 (19:10 -0300)]
kernel-module-imx-gpu-viv: 6.4.0.p2.4+fslc -> 6.4.3.p2.4+fslc

This includes folowing versions updates:

410ce59 Import 6.4.3.p2.4 original version
e879a17 Import 6.4.3.p2.2 original version
ae0f3be gc_hal_kernel_platform_imx.config: remove build time/user macros
8f1bf96 Import 6.4.3.p2.0 original version
4d97bab Import 6.4.3.p1.2 original version
b0a9229 Import 6.4.3.p1.0 original version
b4bed32 Import 6.4.3.p0.0 original version

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoMerge pull request #979 from zandrey/optee-fix-bsd-license
Otavio Salvador [Fri, 18 Feb 2022 11:36:18 +0000 (08:36 -0300)]
Merge pull request #979 from zandrey/optee-fix-bsd-license

optee-imx: clarify BSD license

3 years agooptee-imx: clarify BSD license 979/head
Andrey Zhizhikin [Fri, 18 Feb 2022 09:26:58 +0000 (09:26 +0000)]
optee-imx: clarify BSD license

Since upstream commit 14d4c007c4 ("common-licences: remove ambiguous
"BSD" license"), ambiguous "BSD" license has been removed from OE-Core.

This triggers the warning message in QA:
do_populate_lic_deploy: QA Issue: The license listed BSD was not in the
licenses collected for recipe optee-os [license-file-missing]

OP-TEE is licensed under "BSD-2-Clause" and license text clearly
identifies it.

Correct LICENSE variable to indicate proper License SPDX identifier.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agoMerge pull request #978 from YoeDistro/yoe/mut
Otavio Salvador [Sat, 12 Feb 2022 22:25:54 +0000 (19:25 -0300)]
Merge pull request #978 from YoeDistro/yoe/mut

imx-g2d-samples: Ping to imxgpu2d machines

3 years agoimx-g2d-samples: Ping to imxgpu2d machines 978/head
Khem Raj [Sat, 12 Feb 2022 22:09:39 +0000 (14:09 -0800)]
imx-g2d-samples: Ping to imxgpu2d machines

It depends on imx-gpu-g2d recipe which is specific to imxgpu2d machine
types

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agoMerge pull request #976 from sean-anderson-seco/crconf
Otavio Salvador [Fri, 11 Feb 2022 21:01:29 +0000 (18:01 -0300)]
Merge pull request #976 from sean-anderson-seco/crconf

Fix building crconf with usrmerge

3 years agoMerge pull request #977 from thochstein/master
Otavio Salvador [Fri, 11 Feb 2022 20:59:49 +0000 (17:59 -0300)]
Merge pull request #977 from thochstein/master

weston-init: Set bindir properly in weston.ini

3 years agoweston-init: Set bindir properly in weston.ini 977/head
Tom Hochstein [Fri, 11 Feb 2022 19:43:47 +0000 (13:43 -0600)]
weston-init: Set bindir properly in weston.ini

The customized weston.ini is installed in the rootfs with an unresolved
bindir variable.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agocrconf: Don't set FILES 976/head
Sean Anderson [Fri, 11 Feb 2022 17:28:52 +0000 (12:28 -0500)]
crconf: Don't set FILES

Documentation should be installed in the documentation package, not the
main package. The latter two directories are already added to FILES by
meta/conf/bitbake.conf.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
3 years agocrconf: Set SBINDIR and MANDIR
Sean Anderson [Fri, 11 Feb 2022 17:26:37 +0000 (12:26 -0500)]
crconf: Set SBINDIR and MANDIR

The default values of these variables are not appropriate when using
usrmerge. This fixes the following error:

ERROR: crconf-git-r0 do_package: QA Issue: crconf: Files/directories were installed but not shipped in any package:
  /sbin/crconf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
3 years agoMerge pull request #975 from thochstein/master
Otavio Salvador [Thu, 10 Feb 2022 15:25:51 +0000 (12:25 -0300)]
Merge pull request #975 from thochstein/master

Upgrade imx-vpu-hantro

3 years agoimx-vpu-hantro-daemon: Upgrade to 1.1.1 975/head
Tom Hochstein [Tue, 18 Jan 2022 20:30:35 +0000 (14:30 -0600)]
imx-vpu-hantro-daemon: Upgrade to 1.1.1

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoimx-vpu-hantro: Upgrade to 1.24.0
Tom Hochstein [Tue, 18 Jan 2022 20:30:07 +0000 (14:30 -0600)]
imx-vpu-hantro: Upgrade to 1.24.0

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoMerge pull request #965 from thochstein/master
Otavio Salvador [Thu, 10 Feb 2022 14:10:34 +0000 (11:10 -0300)]
Merge pull request #965 from thochstein/master

Update graphics for L5.10.72-2.2.0

3 years agoMerge pull request #973 from tprrt/tprrt/fix-imx-atf-ccache
Otavio Salvador [Sat, 5 Feb 2022 20:49:23 +0000 (17:49 -0300)]
Merge pull request #973 from tprrt/tprrt/fix-imx-atf-ccache

imx-atf: add mark quotation to prevent build issue with ccache

3 years agoMerge pull request #974 from thochstein/imx-vpu-hantro
Otavio Salvador [Fri, 4 Feb 2022 21:30:35 +0000 (18:30 -0300)]
Merge pull request #974 from thochstein/imx-vpu-hantro

Revert imx-vpu-hantro and imx-vpu-hantro-daemon due to package fetch failure

3 years agoRevert "imx-vpu-hantro: Upgrade to 1.24.0" 974/head
Tom Hochstein [Fri, 4 Feb 2022 19:44:05 +0000 (13:44 -0600)]
Revert "imx-vpu-hantro: Upgrade to 1.24.0"

The latest imx-vpu-hantro-daemon fails to download and has been reverted
to the previous version, so revert this version as well.

This reverts commit ddbc40ac9cb001f1e16da218a08f3a3a43b29dbb.

3 years agoRevert "imx-vpu-hantro-daemon: Upgrade to 1.1.1"
Tom Hochstein [Fri, 4 Feb 2022 19:42:46 +0000 (13:42 -0600)]
Revert "imx-vpu-hantro-daemon: Upgrade to 1.1.1"

The new package fails to download, so revert this for now.

$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//imx-vpu-hantro-daemon-1.1.1.tar.gz
--2022-02-04 13:19:34-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//imx-vpu-hantro-daemon-1.1.1.tar.gz
Resolving www.nxp.com (www.nxp.com)... 104.94.208.185
Connecting to www.nxp.com (www.nxp.com)|104.94.208.185|:443... connected.
HTTP request sent, awaiting response... 304 Not Modified
2022-02-04 13:19:35 ERROR 304: Not Modified.

This reverts commit 4d713c80302466a3d4d2b33e071cfeeb866aa548.

3 years agoimx-atf: add mark quotation to prevent build issue with ccache 973/head
Thomas Perrot [Thu, 3 Feb 2022 08:54:43 +0000 (09:54 +0100)]
imx-atf: add mark quotation to prevent build issue with ccache

Otherwise, when ccache is enable the following issue occurs:
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 CROSS_COMPILE=aarch64-oe-linux- PLAT=imx8qx LD=aarch64-oe-linux-ld CC=ccache aarch64-oe-linux-gcc bl31
| make: *** No rule to make target 'aarch64-oe-linux-gcc'.  Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
3 years agoMerge pull request #970 from tprrt/tprrt/fix-optee-overrides
Otavio Salvador [Wed, 2 Feb 2022 13:52:37 +0000 (10:52 -0300)]
Merge pull request #970 from tprrt/tprrt/fix-optee-overrides

optee: fix override syntax

3 years agoMerge pull request #972 from tprrt/tprrt/fix-optee-test-depends
Otavio Salvador [Wed, 2 Feb 2022 13:50:43 +0000 (10:50 -0300)]
Merge pull request #972 from tprrt/tprrt/fix-optee-test-depends

optee-test: replace old pycrypto with pycryptodome

3 years agoMerge pull request #968 from YoeDistro/yoe/mut
Otavio Salvador [Wed, 2 Feb 2022 13:47:36 +0000 (10:47 -0300)]
Merge pull request #968 from YoeDistro/yoe/mut

kernel-module-nxp89xx: Pin to imx machine kernel

3 years agooptee-test: replace old pycrypto with pycryptodome 972/head
Thomas Perrot [Wed, 2 Feb 2022 11:29:20 +0000 (12:29 +0100)]
optee-test: replace old pycrypto with pycryptodome

For security reason, pycrypto is no longer available, but it can be replaced by
pycryptodome.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
3 years agooptee-test: correct TA_DEV_KIT_DIR 970/head
Thomas Perrot [Wed, 2 Feb 2022 11:05:21 +0000 (12:05 +0100)]
optee-test: correct TA_DEV_KIT_DIR

The value is either ${STAGING_INCDIR}/optee/export-user_ta_arm32/ or
${STAGING_INCDIR}/optee/export-user_ta_arm64/

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
3 years agooptee-os: fix an override syntax
Thomas Perrot [Wed, 2 Feb 2022 09:36:25 +0000 (10:36 +0100)]
optee-os: fix an override syntax

Correct a forgotten change when switching to the new syntax.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
3 years agooptee-client: fix an override syntax
Thomas Perrot [Wed, 2 Feb 2022 09:35:59 +0000 (10:35 +0100)]
optee-client: fix an override syntax

Correct a forgotten change when switching to the new syntax.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
3 years agokernel-module-nxp89xx: Pin to imx machine kernel 968/head
Khem Raj [Wed, 2 Feb 2022 05:42:20 +0000 (21:42 -0800)]
kernel-module-nxp89xx: Pin to imx machine kernel

It fails to build with linux-yocto 5.15 e.g.

TOPDIR/build/tmp/work/qemumips-yoe-linux/kernel-module-nxp89xx/git-r0/git/mxm_wifiex/wlan_src/mlinux/moal_shim.c:1405:49: error: 'RX_PKT_FATE_DRV_DROP_NOBUFS' undeclared (first use in this function)
 1405 |                                                 RX_PKT_FATE_DRV_DROP_NOBUFS,
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 years agoMerge pull request #967 from angolini/add_nxp89xx
Otavio Salvador [Tue, 1 Feb 2022 16:24:57 +0000 (13:24 -0300)]
Merge pull request #967 from angolini/add_nxp89xx

Add nxp89xx

3 years agoimx-base: Install the driver when nxp8987 in MACHINE_FEATURES 967/head
Daiane Angolini [Tue, 1 Feb 2022 13:47:50 +0000 (10:47 -0300)]
imx-base: Install the driver when nxp8987 in MACHINE_FEATURES

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
3 years agokernel-module-nxp89xx: Add recipe based on NXP lf-5.10.72_2.2.0
Daiane Angolini [Tue, 1 Feb 2022 13:40:17 +0000 (10:40 -0300)]
kernel-module-nxp89xx: Add recipe based on NXP lf-5.10.72_2.2.0

NXP Wi-Fi driver for module 88w8997/8987 is not available as part of the
kernel tree on the 5.10-based BSP releases, only via recipe.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
3 years agoweston-init: Enable screen sharing 965/head
Tom Hochstein [Sat, 29 Jan 2022 21:28:05 +0000 (15:28 -0600)]
weston-init: Enable screen sharing

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoweston: Adjust base patch for fork
Tom Hochstein [Fri, 28 Jan 2022 17:25:21 +0000 (11:25 -0600)]
weston: Adjust base patch for fork

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoweston: Upgrade to L5.10.72-2.2.0 release
Tom Hochstein [Fri, 28 Jan 2022 00:22:53 +0000 (18:22 -0600)]
weston: Upgrade to L5.10.72-2.2.0 release

Fixes:
```
26da63a4 screen-share: weston screen-share poor performance with g2d-renderer
f8ce046f g2d-renderer: weston screenshare fail to work on rdp-backend with g2d-renderer
74ae3012 drm-backend: rename NV12_10LE40 to NV15
78e17706 backend-fbdev: MIPI display recovery slowly after suspend resume
e73c641e LF-4317 launcher-logind: weston sometimes failed to start when booting up from eMMC
d5ad97f2 g2d-renderer: use dmabuf.attributes.stride for video stride
23166110 LF-3992 state-propose: fix chromium cannot show on 8mq platform
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoweston: Update base portion of recipe
Tom Hochstein [Thu, 27 Jan 2022 23:59:12 +0000 (17:59 -0600)]
weston: Update base portion of recipe

Update the base portion of the i.MX fork recipe to the latest OE-core
recipe c8aa0222ce2be647911114aaebcbb0d55d7caf87.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoweston: Rework SRC_URI
Tom Hochstein [Thu, 27 Jan 2022 23:28:45 +0000 (17:28 -0600)]
weston: Rework SRC_URI

Rework the i.MX SRC_URI override so it's clear what is changed and what
is inherited.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agowayland-protocols: Upgrade to 1.22.imx
Tom Hochstein [Thu, 27 Jan 2022 19:11:25 +0000 (13:11 -0600)]
wayland-protocols: Upgrade to 1.22.imx

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoimx-gpu-apitrace: Upgrade to 10.0.0
Tom Hochstein [Thu, 27 Jan 2022 18:14:29 +0000 (12:14 -0600)]
imx-gpu-apitrace: Upgrade to 10.0.0

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoimx-g2d-samples: New recipe for G2D sample apps
Tom Hochstein [Wed, 26 Jan 2022 23:39:29 +0000 (17:39 -0600)]
imx-g2d-samples: New recipe for G2D sample apps

The G2D sample apps are now available as source. Note that the package
is currently limited to GPU-based G2D and is not compatible with
DPU-based G2D. A future release will add DPU support.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoimx-gpu-g2d: Upgrade to 6.4.3.p2.4
Tom Hochstein [Wed, 26 Jan 2022 23:35:43 +0000 (17:35 -0600)]
imx-gpu-g2d: Upgrade to 6.4.3.p2.4

This version has the sample apps removed, available now in the new
recipe imx-g2d-samples.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoimx-g2d: Consolidate G2D recipes in single folder
Tom Hochstein [Wed, 26 Jan 2022 22:29:32 +0000 (16:29 -0600)]
imx-g2d: Consolidate G2D recipes in single folder

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agokernel-module-isp-vvcam: Upgrade to 4.2.2.16.0
Tom Hochstein [Wed, 26 Jan 2022 21:57:03 +0000 (15:57 -0600)]
kernel-module-isp-vvcam: Upgrade to 4.2.2.16.0

b2321c0 compand compress curve update
724df72 BSLRM865-189:Image quality with HDR mode is worse than Linear mode
16ffd85 BSLRM865-200: sensor_driver: Sensor api change because 5.15 kernel change
1bedecf Update Release P16 20211003 from Verisilicon
841f438 Update Release P15 from Verisilicon

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agokernel-module-imx-gpu-viv: Upgrade to 6.4.3.p2.4
Tom Hochstein [Wed, 26 Jan 2022 21:48:52 +0000 (15:48 -0600)]
kernel-module-imx-gpu-viv: Upgrade to 6.4.3.p2.4

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoimx-gpu-viv: Upgrade to 6.4.3.p2.4
Tom Hochstein [Wed, 26 Jan 2022 20:48:42 +0000 (14:48 -0600)]
imx-gpu-viv: Upgrade to 6.4.3.p2.4

- x11 is no longer supported
- dri is no longer supported
- remove vestiges of 64-bit framebuffer on Wayland, which is no longer supported

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agolibdrm: Upgrade to 2.4.107.imx
Tom Hochstein [Tue, 25 Jan 2022 18:44:06 +0000 (12:44 -0600)]
libdrm: Upgrade to 2.4.107.imx

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
3 years agoMerge pull request #962 from Freescale/topic/fix-multilib-support
Otavio Salvador [Tue, 25 Jan 2022 20:11:36 +0000 (17:11 -0300)]
Merge pull request #962 from Freescale/topic/fix-multilib-support

fsl-vivante-kernel-driver-handler.bbclass: Fix multilib support

3 years agofsl-vivante-kernel-driver-handler.bbclass: Fix multilib support topic/fix-multilib-support 962/head
Otavio Salvador [Tue, 25 Jan 2022 12:55:52 +0000 (09:55 -0300)]
fsl-vivante-kernel-driver-handler.bbclass: Fix multilib support

Building core-image-weston with multilib support and builtin graphics
fails:

```
ERROR: Nothing PROVIDES 'virtual/arm-oelmllib32-linux-gnueabi-binutils'. Close matches:
  virtual/lib32-arm-oelmllib32-linux-gnueabi-binutils
  virtual/lib32-arm-oelmllib32-linux-gnueabi-go-runtime
  virtual/lib32-arm-oelmllib32-linux-gnueabi-rust
ERROR: Nothing PROVIDES 'virtual/arm-oelmllib32-linux-gnueabi-gcc'. Close matches:
  virtual/lib32-arm-oelmllib32-linux-gnueabi-g++
  virtual/lib32-arm-oelmllib32-linux-gnueabi-gcc
  virtual/lib32-arm-oelmllib32-linux-gnueabi-rust
```

This is the configuration added in local.conf:

```
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"
IMAGE_INSTALL:append = " lib32-glibc lib32-libgcc lib32-libstdc++"
MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE = "0"
```

This commit fixes the provides so BitBake can properly handle the
dependencies.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
3 years agoMerge pull request #958 from zandrey/kernel-update-master
Otavio Salvador [Sun, 23 Jan 2022 22:14:24 +0000 (19:14 -0300)]
Merge pull request #958 from zandrey/kernel-update-master

Consolidated Kernel update (v5.10.93 + 5.15.16)

3 years agoMerge pull request #957 from MaxKrummenacher/master
Otavio Salvador [Sat, 22 Jan 2022 23:02:12 +0000 (20:02 -0300)]
Merge pull request #957 from MaxKrummenacher/master

opencv: imx. prevent warnings

3 years agolinux-fslc-imx: update to v5.10.93 958/head
Andrey Zhizhikin [Sat, 22 Jan 2022 21:31:25 +0000 (21:31 +0000)]
linux-fslc-imx: update to v5.10.93

Kernel repository has been upgraded up to v5.10.93 from stable korg.

Following upstream commits are included in this version:
----
fd187a492557 Linux 5.10.93
bed97c903621 mtd: fixup CFI on ixp4xx
f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS
68c1aa82be00 ALSA: hda/realtek: Re-order quirk entries for Lenovo
4d15a17d065d ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
d7b41464f1b7 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
87246ae94b73 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
9c27e513fb33 ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
4c7fb4d519e5 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
6b8c3a185377 firmware: qemu_fw_cfg: fix kobject leak in probe error path
889c73305b48 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
ff9588cf1592 firmware: qemu_fw_cfg: fix sysfs information leak
358a4b054abe rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
93c4506f9f8b media: uvcvideo: fix division by zero at stream start
4c3f70be6f3a video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
161e43ab8cc1 9p: only copy valid iattrs in 9P2000.L setattr implementation
0e6c0f3f4055 KVM: s390: Clarify SIGP orders versus STOP/RESTART
413b427f5fff KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
723acd75a062 perf: Protect perf_guest_cbs with RCU
eadde287a62e vfs: fs_context: fix up param length parsing in legacy_parse_param
c5f38277163e remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
5d88e24b23af orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
0084fefe2960 devtmpfs regression fix: reconfigure on each mount
ee40594c95ae kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test
----

Link: https://lore.kernel.org/r/20220118160451.233828401@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/531
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agolinux-fslc-imx: update to v5.10.92
Andrey Zhizhikin [Sat, 22 Jan 2022 21:30:44 +0000 (21:30 +0000)]
linux-fslc-imx: update to v5.10.92

Kernel repository has been upgraded up to v5.10.92 from stable korg.

Following upstream commits are included in this version:
----
c982c1a83932 Linux 5.10.92
c0091233f3d8 staging: greybus: fix stack size warning with UBSAN
66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
2d4fda471dc3 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
3609fed7ac8b media: Revert "media: uvcvideo: Set unique vdev name based in type"
9b3c761e78d5 random: fix crash on multiple early calls to add_bootloader_randomness()
61cca7d191c7 random: fix data race on crng init time
3de9478230c3 random: fix data race on crng_node_pool
43c494294f30 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
45221a57b609 can: isotp: convert struct tpcon::{idx,len} to unsigned int
bd61ae808b15 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
f68e60001735 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
5f76445a31b7 veth: Do not record rx queue hint in veth_xmit
ddfa53825f3d mmc: sdhci-pci: Add PCI ID for Intel ADL
2e691f9894cc ath11k: Fix buffer overflow when scanning with extraie
a87cecf94375 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
15982330b61d USB: core: Fix bug in resuming hub's handling of wakeup requests
413108ce3b56 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
b6dd07023699 Bluetooth: bfusb: fix division by zero in send path
869e1677a058 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
c20021ce945f Bluetooth: btusb: Add support for Foxconn MT7922A
83493918380f Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
294c0dd80d8a Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
35ab8c9085b0 bpf: Fix out of bounds access from invalid *_or_null type verification
c84fbba8a945 workqueue: Fix unbind_workers() VS wq_worker_running() race
c39d68ab3836 md: revert io stats accounting
----

Link: https://lore.kernel.org/r/20220114081542.698002137@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/526
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agolinux-fslc-imx: update to v5.10.91
Andrey Zhizhikin [Sat, 22 Jan 2022 21:30:12 +0000 (21:30 +0000)]
linux-fslc-imx: update to v5.10.91

Kernel repository has been upgraded up to v5.10.91 from stable korg.

Following upstream commits are included in this version:
----
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
----

Link: https://lore.kernel.org/r/20220110071817.337619922@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/521
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agolinux-fslc-lts: update to v5.10.93
Andrey Zhizhikin [Sat, 22 Jan 2022 21:27:02 +0000 (21:27 +0000)]
linux-fslc-lts: update to v5.10.93

Kernel repository has been upgraded up to v5.10.93 from stable korg.

Following upstream commits are included in this version:
----
fd187a492557 Linux 5.10.93
bed97c903621 mtd: fixup CFI on ixp4xx
f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS
68c1aa82be00 ALSA: hda/realtek: Re-order quirk entries for Lenovo
4d15a17d065d ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
d7b41464f1b7 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
87246ae94b73 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
9c27e513fb33 ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
4c7fb4d519e5 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
6b8c3a185377 firmware: qemu_fw_cfg: fix kobject leak in probe error path
889c73305b48 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
ff9588cf1592 firmware: qemu_fw_cfg: fix sysfs information leak
358a4b054abe rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
93c4506f9f8b media: uvcvideo: fix division by zero at stream start
4c3f70be6f3a video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
161e43ab8cc1 9p: only copy valid iattrs in 9P2000.L setattr implementation
0e6c0f3f4055 KVM: s390: Clarify SIGP orders versus STOP/RESTART
413b427f5fff KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
723acd75a062 perf: Protect perf_guest_cbs with RCU
eadde287a62e vfs: fs_context: fix up param length parsing in legacy_parse_param
c5f38277163e remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
5d88e24b23af orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
0084fefe2960 devtmpfs regression fix: reconfigure on each mount
ee40594c95ae kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test
----

Link: https://lore.kernel.org/r/20220118160451.233828401@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/529
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agolinux-fslc-lts: update to v5.10.92
Andrey Zhizhikin [Sat, 22 Jan 2022 21:26:28 +0000 (21:26 +0000)]
linux-fslc-lts: update to v5.10.92

Kernel repository has been upgraded up to v5.10.92 from stable korg.

Following upstream commits are included in this version:
----
c982c1a83932 Linux 5.10.92
c0091233f3d8 staging: greybus: fix stack size warning with UBSAN
66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
2d4fda471dc3 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
3609fed7ac8b media: Revert "media: uvcvideo: Set unique vdev name based in type"
9b3c761e78d5 random: fix crash on multiple early calls to add_bootloader_randomness()
61cca7d191c7 random: fix data race on crng init time
3de9478230c3 random: fix data race on crng_node_pool
43c494294f30 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
45221a57b609 can: isotp: convert struct tpcon::{idx,len} to unsigned int
bd61ae808b15 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
f68e60001735 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
5f76445a31b7 veth: Do not record rx queue hint in veth_xmit
ddfa53825f3d mmc: sdhci-pci: Add PCI ID for Intel ADL
2e691f9894cc ath11k: Fix buffer overflow when scanning with extraie
a87cecf94375 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
15982330b61d USB: core: Fix bug in resuming hub's handling of wakeup requests
413108ce3b56 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
b6dd07023699 Bluetooth: bfusb: fix division by zero in send path
869e1677a058 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
c20021ce945f Bluetooth: btusb: Add support for Foxconn MT7922A
83493918380f Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
294c0dd80d8a Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
35ab8c9085b0 bpf: Fix out of bounds access from invalid *_or_null type verification
c84fbba8a945 workqueue: Fix unbind_workers() VS wq_worker_running() race
c39d68ab3836 md: revert io stats accounting
----

Link: https://lore.kernel.org/r/20220114081542.698002137@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/524
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agolinux-fslc-lts: update to v5.10.91
Andrey Zhizhikin [Sat, 22 Jan 2022 21:25:50 +0000 (21:25 +0000)]
linux-fslc-lts: update to v5.10.91

Kernel repository has been upgraded up to v5.10.91 from stable korg.

Following upstream commits are included in this version:
----
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
----

Link: https://lore.kernel.org/r/20220110071817.337619922@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/519
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agolinux-fslc: update to v5.15.16
Andrey Zhizhikin [Sat, 22 Jan 2022 21:22:29 +0000 (21:22 +0000)]
linux-fslc: update to v5.15.16

Kernel repository has been upgraded up to v5.15.16 from stable korg.

Following upstream commits are included in this version:
----
63dcc388662c Linux 5.15.16
ce2e7b97e588 mtd: fixup CFI on ixp4xx
9dada19e1096 ALSA: hda/realtek: Re-order quirk entries for Lenovo
4942295ec2af ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
f76d5f9391a5 ALSA: hda/tegra: Fix Tegra194 HDA reset failure
7c452ca7bc7b ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
8b046b2a63c6 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
5b57c0efec9a ALSA: hda/realtek: Use ALC285_FIXUP_HP_GPIO_LED on another HP laptop
c104edbb5a3f ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
3a1e48069798 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
adf791cf905a perf annotate: Avoid TUI crash when navigating in the annotation of recursive functions
8840daa2f629 firmware: qemu_fw_cfg: fix kobject leak in probe error path
db3337ba6e4a firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
bb08a4d10164 firmware: qemu_fw_cfg: fix sysfs information leak
898e91c32d04 rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
c671cb0b0087 media: uvcvideo: fix division by zero at stream start
e2ece45f9450 video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
7760404e8487 9p: only copy valid iattrs in 9P2000.L setattr implementation
c2e7561ba7a8 remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP
252435941c33 KVM: s390: Clarify SIGP orders versus STOP/RESTART
6e8b6dcec07c KVM: x86: don't print when fail to read/write pv eoi memory
19f2dfb1a1f6 KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
07667f43f8a8 KVM: x86: Register perf callbacks after calling vendor's hardware_setup()
18c16cef8179 perf: Protect perf_guest_cbs with RCU
e192ccc17ecf vfs: fs_context: fix up param length parsing in legacy_parse_param
c78c39a91dd4 remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
b07490067dbc orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
ce258c74f8d9 drm/amd/display: explicitly set is_dsc_supported to false before use
d5df26479c82 devtmpfs regression fix: reconfigure on each mount
----

Link: https://lore.kernel.org/r/20220118160451.879092022@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/528
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
3 years agolinux-fslc: update to v5.15.15
Andrey Zhizhikin [Sat, 22 Jan 2022 21:22:03 +0000 (21:22 +0000)]
linux-fslc: update to v5.15.15

Kernel repository has been upgraded up to v5.15.15 from stable korg.

Following upstream commits are included in this version:
----
760a85303c5a Linux 5.15.15
54a457ad2c97 staging: greybus: fix stack size warning with UBSAN
48d56b00c352 drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
e29bd72f5c76 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
46c7ff13dfe8 media: Revert "media: uvcvideo: Set unique vdev name based in type"
e0bb3bf81cc4 platform/x86/intel: hid: add quirk to support Surface Go 3
26b66120a896 random: fix crash on multiple early calls to add_bootloader_randomness()
2d5b4a96a60e random: fix data race on crng init time
f5aaea746b36 random: fix data race on crng_node_pool
3fbbf56948b2 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
1079b56de4af can: isotp: convert struct tpcon::{idx,len} to unsigned int
1026f710bd55 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
72bd750d1122 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
78a19e506bdc veth: Do not record rx queue hint in veth_xmit
3a29fd88f3ad Bluetooth: btbcm: disable read tx power for MacBook Air 8,1 and 8,2
7b8a6d60e0d5 Bluetooth: btbcm: disable read tx power for some Macs with the T2 Security chip
d5eeefa335af Bluetooth: add quirk disabling LE Read Transmit Power
49e63682cb3b mmc: sdhci-pci: Add PCI ID for Intel ADL
6f4da584ec4e ath11k: Fix buffer overflow when scanning with extraie
02f3458289d2 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
0284c0ca3db6 USB: core: Fix bug in resuming hub's handling of wakeup requests
0544baa4f761 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
402aff59a748 Bluetooth: bfusb: fix division by zero in send path
db74ee79c9f7 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
c6bd1c35bd84 Bluetooth: btintel: Fix broken LED quirk for legacy ROM devices
a366a81dcbb1 Bluetooth: btusb: Add support for Foxconn MT7922A
5e1b03c32535 Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
e81cef21ea8a Bluetooth: btusb: Add one more Bluetooth part for WCN6855
f39825f4fc35 fget: clarify and improve __fget_files() implementation
edaf018b898f Bluetooth: btusb: Add the new support IDs for WCN6855
a053e9619bb9 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
e36a4d9c0bb8 Bluetooth: btusb: enable Mediatek to support AOSP extension
dcfa2d7a9a9f Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
4a5557693f07 Bbluetooth: btusb: Add another Bluetooth part for Realtek 8852AE
a1e59284193b Bluetooth: btusb: Add support for IMC Networks Mediatek Chip(MT7921)
fe9ddfd236a6 Bluetooth: btusb: Add the new support ID for Realtek RTL8852A
3f502147ffc3 Bluetooth: btusb: Add protocol for MediaTek bluetooth devices(MT7922)
e8efe8369944 bpf: Fix out of bounds access from invalid *_or_null type verification
f39ffc6f9c60 staging: r8188eu: switch the led off during deinit
cf5b6bd2c792 workqueue: Fix unbind_workers() VS wq_worker_running() race
0ed0be755276 s390/kexec: handle R_390_PLT32DBL rela in arch_kexec_apply_relocations_add()
----

Link: https://lore.kernel.org/r/20220114081545.158363487@linuxfoundation.org
Link: https://github.com/Freescale/linux-fslc/pull/523
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>