AR# 76560

|

2020.x - 2021.x Linux: Device tree overlay warning messages are observed while loading overlay

描述

In version 5.4 and newer releases of Linux, Device tree overlay warning messages are observed while loading or unloading the overlay:

xilinx-k26-starterkit-2020_2:~$ [ 590.448684] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-full/firmware-name
[ 590.458777] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-full/fpga-config-from-dmabuf
[ 590.469732] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /fpga-full/resets
[ 590.479256] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/status
[ 590.490383] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/clocks
[ 590.501507] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/clock-names
[ 590.513070] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/xlnx,bridge
[ 590.524641] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/zynqmp_dp_snd_pcm0/status
[ 590.537420] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/zynqmp_dp_snd_pcm1/status
[ 590.550194] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/zynqmp_dp_snd_card/status
[ 590.562975] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /amba/zynqmp-display@fd4a0000/zynqmp_dp_snd_codec0/status
[ 590.576417] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/overlay0
[ 590.586250] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/overlay1
[ 590.596084] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/afi0
[ 590.605570] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/clocking0
[ 590.615483] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/overlay2
[ 590.625310] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/dp_port
[ 590.635048] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/dp_encoder
[ 590.645048] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/overlay7
[ 590.654874] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/misc_clk_0
[ 590.664876] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/misc_clk_1
[ 590.674881] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/misc_clk_2
[ 590.684882] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/overlay8
[ 590.694715] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/ap1302_clk
[ 590.704721] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/ap1302_vdd
[ 590.714723] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/ap1302_vaa
[ 590.724725] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/ap1302_vddio
[ 590.734904] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/axi_iic
[ 590.744643] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/i2c_mux
[ 590.754382] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/ap1302
[ 590.764036] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/isp_out
[ 590.773782] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/isp_csiss
[ 590.783695] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/isp_csiss_out
[ 590.793956] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/isp_csiss_in
[ 590.804138] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/sw_conv_out
[ 590.814231] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/sw_conv_in
[ 590.824232] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/isp_fb_wr_csi
[ 590.834499] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/isp_vcap_csi_in
[ 590.844933] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/overlay9
[ 590.854760] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/dp_video_clk
[ 590.864948] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/v_tc
[ 590.874428] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/v_mix
[ 590.883995] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/mixer_port
[ 590.894002] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/mixer_crtc
[ 590.904002] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/xx_mix_overlay_0display_pipeline_v_mix_0
[ 590.916616] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/xx_mix_overlay_1display_pipeline_v_mix_0
[ 590.929226] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/xx_mix_overlay_2display_pipeline_v_mix_0
[ 590.941839] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/xx_mix_overlay_3display_pipeline_v_mix_0
[ 590.954451] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/xx_mix_overlay_4display_pipeline_v_mix_0
[ 590.967065] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/xx_mix_overlay_5display_pipeline_v_mix_0
[ 590.979676] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/overlay10
[ 590.989596] OF: overlay: WARNING: memory leak will occur if overlay removed, property: /_symbols_/zocl
[ 591.019923] debugfs: Directory '4-003c' with parent 'regmap' already present!
[ 597.948288] zocl-drm amba:zyxclmm_drm: IRQ index 8 not found
DFX-MGRD> Loaded kv260-defect-detect successfully

解决方案

This is the default behavior in release 5.4 and newer of the Kernel. Adding any properties to an an existing device tree node will cause memory leak warnings.

These warnings will not impact the overlay functionality and will not prevent the overlay from being applied or removed.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
76526 PetaLinux 2021.1 - Product Update Release Notes and Known Issues N/A N/A
AR# 76560
日期 06/21/2021
状态 Active
Type 综合文章
器件 More Less
Tools
Boards & Kits
People Also Viewed