Wind River Support Network

HomeDefectsLINCD-4163
Fixed

LINCD-4163 : kmemleak (el0_sync+0x174/0x180) found on xilinx-zynqmp BSP target

Created: Jan 21, 2021    Updated: Mar 17, 2021
Resolved Date: Feb 22, 2021
Found In Version: 10.21.5.0
Fix Version: 10.21.9.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: BSP

Description

Fixed by the commit:

commit a7e02f7796c1
Author: Quanyang Wang <quanyang.wang@windriver.com>
Date: Tue Feb 2 14:41:21 2021 +0800

drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable

Steps to Reproduce

* Build project

$ /lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=xilinx-zynqmp --templates feature/test --templates feature/test feature/linux-yocto-dev feature/userspace-next feature/toolchain-next --accept-eula=yes --dl-layers

$ source environment-setup-x86_64-wrlinuxsdk-linux

$ source oe-init-build-env

$ vi conf/local.conf

$ cat << _EOF >> conf/local.conf
 DISTRO ?= "wrlinux-graphics"
 PREFERRED_PROVIDER_virtual/mesa_xilinx-zynqmp = "mesa-gl"
 PREFERRED_PROVIDER_virtual/libgl_xilinx-zynqmp = "mesa-gl"
 PREFERRED_PROVIDER_virtual/libgles1_xilinx-zynqmp = "libmali-xlnx"
 PREFERRED_PROVIDER_virtual/libgles2_xilinx-zynqmp = "libmali-xlnx"
 PREFERRED_PROVIDER_virtual/egl_xilinx-zynqmp = "libmali-xlnx"
 PNWHITELIST_xilinx += "libmali-xlnx"
 PNWHITELIST_xilinx += 'kernel-module-mali'
 LICENSE_FLAGS_WHITELIST += "xilinx"
 _EOF

$ bitbake wrlinux-image-std-sato
 * Load image to the target (#29130)
 * Run the following command on the target

# /opt/wr-test/testcases/bts/graphic_show_status/runtest.sh -k DP-1

 

 
Live chat
Online