While running LTP cpuhotplug the following kernel warning was noticed on arm64 Thundercomm Dragonboard 845c device.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
metadata: git_ref: master git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline git_sha: 88084a3df1672e131ddc1b4e39eeacfd39864acf git_describe: v5.19-rc5 kernel_version: 5.19.0-rc5 kernel-config: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh/config build-url: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline/-/pipelines/5... artifact-location: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh vmlinux.xz: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh/vmlinux.xz System.map: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh/System.map toolchain: gcc-11
steps to reproduce: # cd /opt/ltp # ./runltp -p -q -f cpuhotplug
cpuhotplug04 1 TPASS: System prevented us from offlining the last CPU - cpu7 cpuhotplug04 2 TPASS: Success [ 37.419206] Detected VIPT I-cache on CPU0 [ 37.419326] GICv3: CPU0: found redistributor 0 region 0:0x0000000017a60000 [ 37.419473] CPU0: Booted secondary processor 0x0000000000 [0x517f803c] [ 37.477891] ------------[ cut here ]------------ [ 37.482610] Unbalanced enable for IRQ 131 [ 37.486730] WARNING: CPU: 0 PID: 17 at kernel/irq/manage.c:789 __enable_irq+0x58/0x90 [ 37.494722] Modules linked in: snd_soc_hdmi_codec lontium_lt9611 venus_enc venus_dec mcp251xfd videobuf2_dma_contig can_dev hci_uart btqca btbcm qcom_pon qcom_spmi_adc5 qcom_spmi_temp_alarm rtc_pm8xxx qcom_vadc_common crct10dif_ce snd_soc_sdm845 snd_soc_rt5663 snd_soc_qcom_common snd_soc_rl6231 bluetooth soundwire_bus msm reset_qcom_pdc qcom_camss gpu_sched videobuf2_dma_sg drm_dp_aux_bus i2c_qcom_geni v4l2_fwnode drm_display_helper v4l2_async videobuf2_memops i2c_qcom_cci camcc_sdm845 venus_core v4l2_mem2mem spi_geni_qcom videobuf2_v4l2 videobuf2_common ath10k_snoc gpi qcom_rng ath10k_core ath mac80211 xhci_pci xhci_pci_renesas qcom_q6v5_mss qrtr qcom_q6v5_pas qcom_pil_info slim_qcom_ngd_ctrl qcom_q6v5 pdr_interface qcom_sysmon cfg80211 qcom_common icc_osm_l3 rfkill qcom_glink_smem display_connector lmh qmi_helpers slimbus qcom_wdt mdt_loader drm_kms_helper rmtfs_mem drm socinfo fuse [ 37.574852] CPU: 0 PID: 17 Comm: cpuhp/0 Not tainted 5.19.0-rc5 #1 [ 37.581155] Hardware name: Thundercomm Dragonboard 845c (DT) [ 37.586916] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 37.593999] pc : __enable_irq+0x58/0x90 [ 37.597937] lr : __enable_irq+0x58/0x90 [ 37.601862] sp : ffff800008223cb0 [ 37.605247] x29: ffff800008223cb0 x28: 0000000000000000 x27: ffff1a0201cdce18 [ 37.612531] x26: 0000000000000000 x25: ffffcde3da0e4000 x24: ffff1a0201cdcc20 [ 37.619813] x23: ffffcde3d9b53308 x22: ffffcde3d9b70fc8 x21: 0000000000000000 [ 37.627095] x20: 0000000000000083 x19: ffff1a02002a1600 x18: ffffffffffffffff [ 37.634373] x17: 0000000009a60b40 x16: 000000009e1ad4d3 x15: 0720072007200720 [ 37.641653] x14: 0720072007200720 x13: 0720072007200720 x12: 0720072007200720 [ 37.648933] x11: 0720072007200720 x10: ffffcde3d9bca7a8 x9 : ffffcde3d7321528 [ 37.656213] x8 : 00000000ffffefff x7 : ffffcde3d9bca7a8 x6 : 0000000000000000 [ 37.663489] x5 : 000000000000bff4 x4 : 0000000000000000 x3 : 0000000000000000 [ 37.670766] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff1a0200342080 [ 37.678043] Call trace: [ 37.680552] __enable_irq+0x58/0x90 [ 37.684135] enable_irq+0x54/0xb0 [ 37.687539] qcom_cpufreq_ready+0x2c/0x40 [ 37.691649] cpufreq_online+0x550/0xa04 [ 37.695582] cpuhp_cpufreq_online+0x1c/0x2c [ 37.699857] cpuhp_invoke_callback+0x16c/0x5b0 [ 37.704407] cpuhp_thread_fun+0xd0/0x1c4 [ 37.708419] smpboot_thread_fn+0x1ec/0x220 [ 37.712607] kthread+0x100/0x110 [ 37.715924] ret_from_fork+0x10/0x20 [ 37.719597] ---[ end trace 0000000000000000 ]--- [ 37.778938] Detected VIPT I-cache on CPU1
Full test log: https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v5.19-rc5/tes... https://lkft.validation.linaro.org/scheduler/job/5238386#L4318
-- Linaro LKFT https://lkft.linaro.org