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>
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:
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>
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.
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>
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>
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>
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,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
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>
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>
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>
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
----
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
----
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
----
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
----
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
----
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
----
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
----
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()
----
Andrey Zhizhikin [Sat, 22 Jan 2022 21:21:27 +0000 (21:21 +0000)]
linux-fslc: update to v5.15.14
Kernel repository has been upgraded up to v5.15.14 from stable korg.
Following upstream commits are included in this version:
---- d114b082bef7 Linux 5.15.14 b8a1293e3850 drm/amd/pm: keep the BACO feature enabled for suspend 19070d812e13 Revert "drm/amdgpu: stop scheduler when calling hw_fini (v2)" b228924bb619 Input: zinitix - make sure the IRQ is allocated before it gets enabled 1917ace18375 ARM: dts: gpio-ranges property is now required 2f66e0976b4a userfaultfd/selftests: fix hugetlb area allocations ec33da9ae072 ipv6: raw: check passed optlen before reading 04d945934362 drm/amd/display: Added power down for DCN10 9b1df8dab312 drm/amd/display: fix B0 TMDS deepcolor no dislay issue 9964f0840a82 mISDN: change function names to avoid conflicts f55383e6b92b drm/amdgpu: put SMU into proper state on runpm suspending for BOCO capable platform 3c196f056666 drm/amdgpu: always reset the asic in suspend (v2) fbabb82b11b4 drm/amd/pm: skip setting gfx cgpg in the s0ix suspend-resume 80f229009b59 atlantic: Fix buff_ring OOB in aq_ring_rx_clean cf8f0e76c4ce net: udp: fix alignment problem in udp4_seq_show() 294f3fc9dc27 ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate 847050d40dc0 scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown() 6ebb6853108f usb: mtu3: fix interval value for intr and isoc 12a4c1092ae7 drm/amd/pm: Fix xgmi link control on aldebaran 31d95ff41cdf drm/amdgpu: fix dropped backing store handling in amdgpu_dma_buf_move_notify 4ed66cdc542f auxdisplay: charlcd: checking for pointer reference before dereferencing 8a7520c49994 ipv6: Do cleanup if attribute validation fails in multipath route c1de618c95e9 ipv6: Continue processing multipath route even if gateway attribute is invalid 5aec746bf7f2 power: bq25890: Enable continuous conversion for ADC at charging b4391e49ac1d drm/amdgpu: disable runpm if we are the primary adapter fa3d8456f7cd fbdev: fbmem: add a helper to determine if an aperture is used by a fw fb 9ca97a693aa8 phonet: refcount leak in pep_sock_accep d57da5185def net ticp:fix a kernel-infoleak in __tipc_sendmsg() 75d840c0f5d7 gpio: gpio-aspeed-sgpio: Fix wrong hwirq base in irq handler 7601a265696c rndis_host: support Hytera digital radios b381e0f98711 reset: renesas: Fix Runtime PM usage 550acd770f9f power: reset: ltc2952: Fix use of floating point literals be816676f38b power: supply: core: Break capacity loop b0e72ba9e520 xfs: map unwritten blocks in XFS_IOC_{ALLOC,FREE}SP just like fallocate 800f02fa8a51 i2c: mpc: Avoid out of bounds memory access e24c6a48c6ea Revert "i2c: core: support bus regulator controlling in adapter" 43fa0b3639c5 cgroup: Use open-time cgroup namespace for process migration perm checks 50273128d640 cgroup: Allocate cgroup_file_ctx for kernfs_open_file->priv c6ebc3529884 cgroup: Use open-time credentials for process migraton perm checks 247b6244d40e KVM: x86: Check for rmaps allocation a08275570392 EDAC/i10nm: Release mdev/mbase when failing to detect HBM 3400aa7eda64 md/raid1: fix missing bitmap update w/o WriteMostly devices 15fb002977f6 net: ena: Fix error handling when calculating max IO queues number c4c20dc24e09 net: ena: Fix wrong rx request id by resetting device bf8263c71420 net: ena: Fix undefined state when tx request id is out of bounds 6511f8074b70 sch_qfq: prevent shift-out-of-bounds in qfq_init_qdisc 9b8bbe489ced batman-adv: mcast: don't send link-local multicast to mcast routers 9f00a2a0c139 sctp: hold endpoint before calling cb in sctp_transport_lookup_process 3c5c81d1e350 selftests: net: udpgro_fwd.sh: explicitly checking the available ping feature 41844e68eb92 lwtunnel: Validate RTA_ENCAP_TYPE attribute length ca0097c543fc ipv6: Check attribute length for RTA_GATEWAY when deleting multipath route 00e8b9f313b2 ipv6: Check attribute length for RTA_GATEWAY in multipath route bb471784ca85 ipv4: Check attribute length for RTA_FLOW in multipath route 72971eaad6ea ipv4: Check attribute length for RTA_GATEWAY in multipath route 5cb0bd07125f ftrace/samples: Add missing prototypes direct functions 61169d6c77de i40e: Fix incorrect netdev's real number of RX/TX queues 7b177d34a123 i40e: Fix for displaying message regarding NVM version 3f4c2ade4d65 i40e: fix use-after-free in i40e_sync_filters_subtask() 8fbbc33cf018 sfc: The RX page_ring is optional 03fb6db4ad61 mac80211: mesh: embedd mesh_paths and mpp_paths into ieee80211_if_mesh 18b224910edc mac80211: initialize variable have_higher_than_11mbit 0ea8bb0811ba RDMA/uverbs: Check for null return of kmalloc_array 6716b40d162f netrom: fix copying in user data in nr_setsockopt 21a18420ae2d Revert "net: usb: r8152: Add MAC passthrough support for more Lenovo Docks" e1e354771812 RDMA/core: Don't infoleak GRH fields 607f126d4a21 iavf: Fix limit of total number of queues to active queues of VF fda95797fc50 i40e: Fix to not show opcode msg on unsuccessful VF MAC change deb65735b5b1 ieee802154: atusb: fix uninit value in atusb_set_extended_addr c44979ace49b Revert "RDMA/mlx5: Fix releasing unallocated memory in dereg MR flow" 21f8a3b110f2 tracing: Tag trace_percpu_buffer as a percpu pointer be134e7c5b38 tracing: Fix check for trace_percpu_buffer validity in get_trace_buf() 3cf50a37286c selftests: x86: fix [-Wstringop-overread] warn in test_process_vm_readv() ef3047fca111 fscache_cookie_enabled: check cookie is valid before accessing it
----
Max Krummenacher [Fri, 21 Jan 2022 19:59:18 +0000 (20:59 +0100)]
opencv: imx: stop fetching tiny-dnn
With commit f7ca9ef27 ("cleanup: drop dnn_modern") [1] tiny-dnn is no
longer used by any module. There is no need to prefetch it.
This was part of OpenCV 3.4.2.
Prevents:
| WARNING: opencv-4.5.2.imx-r0 do_unpack: QA Issue: opencv: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol [src-uri-bad]
Tom Hochstein [Thu, 13 Jan 2022 23:56:08 +0000 (17:56 -0600)]
imx-boot,u-boot-imx: Add bootloader image size to SD card image
Append a tag to the bootloader image used in the SD card image. The tag
contains the size of the bootloader image so UUU can easily find the end of
the bootloader in the SD card image.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Andrey Zhizhikin [Tue, 18 Jan 2022 22:08:55 +0000 (22:08 +0000)]
conf: machine: imx8mq-evk: add mainline bsp support
Recent versions of upstream U-Boot and Kernel do provide support for
i.MX8MQ derivative, and it can be built using Mainline BSP.
Convert machine definition to include all parts, that are required to
build Mainline BSP:
- Drop hardcoded BSP flavor setting in machine configuration
- Add boot container machine override
- Split machine features
- Define ATF load address
- Add dependency to firmware package
- Provide extlinux configuration to utilize distro boot feature