Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3185798pxp; Mon, 14 Mar 2022 12:49:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwonrc4JJdJ0Tsql9REBKaV1YdenO4x2HJaif6GFcr6bmcQC0b9ce7SFbwr8GWzcaW5ntr1 X-Received: by 2002:a17:906:4e8a:b0:6da:a1df:98fe with SMTP id v10-20020a1709064e8a00b006daa1df98femr19757197eju.66.1647287372892; Mon, 14 Mar 2022 12:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647287372; cv=none; d=google.com; s=arc-20160816; b=0MaAChu9ZBvvZJ2UpU5AS7AV49HDtm5VT1cBgveI4cC5pu6fep/xC/5wMDKZnjNHJ3 GOQtJl6WAYUixLUDp+orPIJM4Dys5GlHo8GTqOoefUj62ej0DNiRE6wCWrFENSBTwynA cMMODjFQt4cfAuMo6C3aAv01K3a8R1kbflhS27cihmyO1o2ZD2SWYEh6HT7hf9izzMwP 5sgLTtREMet4E4dJBQ8ZMJ2LVGfM9h4eIARIfG1JK19MSu66X4kL7NF9WuS1N+EJKM18 jl5/rkDYs1wd6dfSLTH4nLvvlvnCXeqQ4ohyvakdd/dInpCjptkaKlpKMDZGP4mTBxUk /4XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=p9QUWUXMG6CjpUa+HzP2gwo+3axAKzjFQF2ULzEJvO4=; b=V5aRnANody0T209hoHL1JiOeSNhuIbXOWRSIb8JwjmBjL8bymnG8TTD4VxI0AS7P5g r5RdUyxhz6xAoP1frhJ2A9FkezAaI4fNOydPvXo3boMVWVLgibHGbPYju/CEa2G+SuMV NYn0fhN09vvb+bGBxCixRxxchzJjryxQr9ytJ4UzWltDQGB/78rNq4U4nOecr9nLWVB+ djcS24anIeb34Wpf2SlCPPWOFVQ/bcbrVafPvePuJeVq1IHWBDBWMJ8lgs+pQUfBBrFP 6uo1Ac9vcaUZdGzYbemHUAqfdhWCPv9IWWjbe2LTKN0fz6B99Z4nCM9u42SuFjzujhwQ ARbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OqXQdGYS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bl6-20020a170906c24600b006d144942cd6si9875674ejb.438.2022.03.14.12.49.07; Mon, 14 Mar 2022 12:49:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OqXQdGYS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240818AbiCNNit (ORCPT + 99 others); Mon, 14 Mar 2022 09:38:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233110AbiCNNis (ORCPT ); Mon, 14 Mar 2022 09:38:48 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9613724F22 for ; Mon, 14 Mar 2022 06:37:38 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id g1so30821103ybe.4 for ; Mon, 14 Mar 2022 06:37:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=p9QUWUXMG6CjpUa+HzP2gwo+3axAKzjFQF2ULzEJvO4=; b=OqXQdGYSKt/Y+45NDlpunpMVZd2kEZF7WXE9Q9tng6Cg9jVQGqDGOH2gsx53zcB9XZ ML1J1mo1+DLdiB3TFDWD2H0I0zidksAtZptRXHzPqN1f+Sy7f8p0Mk8FA5yxVcgqbkHE I6/n7m89DuSXzvazl1bCtuvMOueSUaCL4J/wyr2mE6KrTXnDLnH9cQfNB3dBbFu278b5 ncckrkXJULIIaqRB8cV9YCr7dgGDj7v08PNTyfdUppPv+j0umwaLtwZ/15WA1ytclqip I10Y33/qT6YFVzbgbtvjJlp2Cuq7xdEtJS6mcgdnR5yRJRHwQgyWXSCvolwo7mpj7l8A 4+eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=p9QUWUXMG6CjpUa+HzP2gwo+3axAKzjFQF2ULzEJvO4=; b=WvYA5FQLMH1f8cfPhv88S2QhHxuXc8wBZborNeKXVSzG9j6GPxbRMd+IlvFAm4i11t mT/l6AIpe8BJket6Q3qyQU1FS07eoBcYjmb4TLGVu7MC5nVVdGXFd8NOOEgCu/lboxS4 7kDfLWjL/PPMamJ0cuRStAj2BMbsR26tdOe3+8rlMXAPz7pUGsdcM0RdPcLUGuUPb0Rh 1iU1MRTTLv+S9KtHJjWVqOwCjiyl6sFvrxM6ENVNtdcl89mIv1rupgl/icKn0cAJ1Hv2 7N7t3QhKc9GNpGz4q9bagBE1YVfcWzZw8xBKdvwaoPKe7pGhAlmevWX3NDi1BlJajOnl xFRQ== X-Gm-Message-State: AOAM532mDz/GNcynhN1B66T+vqLiS8RgNkQTIjIuhIsTRwYQQ95yJ5M7 U4JcIHLn+xhSoKmjt+qFjYYvWq/SoJEzRGL2BVjwYb43tbmbEeOI X-Received: by 2002:a25:be05:0:b0:629:1f49:b782 with SMTP id h5-20020a25be05000000b006291f49b782mr17321983ybk.88.1647265056161; Mon, 14 Mar 2022 06:37:36 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 14 Mar 2022 19:07:24 +0530 Message-ID: Subject: arm64: db845c: cpuhotplug: WARNING: CPU: 3 PID: 26 at kernel/irq/manage.c:1887 free_irq+0x348/0x370 To: open list , LTP List Cc: Thomas Gleixner , Nicolas Dechesne , Viresh Kumar , Vincent Guittot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ please ignore this email if it is already reported ] While running LTP cpuhotplug04 tests on linux mainline 5.17.0-rc8 on the arm64 db845c device the following kernel warning was noticed [1] & [2]. This is not a regression but this warning was noticed for a while. /opt/ltp/testcases/bin/cpuhotplug03.sh: line 40: 929 Killed cpuhotplug_do_spin_loop > /dev/null 2>&1 cpuhotplug03 1 TPASS: 1 cpuhotplug_do_spin_loop processes found on CPU1 Name: cpuhotplug04 Date: Thu Jan 1 00:00:43 UTC 1970 Desc: Does it prevent us from offlining the last CPU? [ 34.409899] psci: CPU0 killed (polled 0 ms) [ 34.589257] psci: CPU1 killed (polled 0 ms) [ 34.748788] migrate_one_irq: 30 callbacks suppressed [ 34.748834] IRQ169: set affinity failed(-22). [ 34.748867] IRQ171: set affinity failed(-22). [ 34.748911] IRQ183: set affinity failed(-22). [ 34.748929] IRQ184: set affinity failed(-22). [ 34.748945] IRQ185: set affinity failed(-22). [ 34.748964] IRQ186: set affinity failed(-22). [ 34.748981] IRQ187: set affinity failed(-22). [ 34.748999] IRQ188: set affinity failed(-22). [ 34.749014] IRQ189: set affinity failed(-22). [ 34.749031] IRQ190: set affinity failed(-22). [ 34.757748] psci: CPU2 killed (polled 0 ms) [ 34.973881] ------------[ cut here ]------------ [ 34.978667] WARNING: CPU: 3 PID: 26 at kernel/irq/manage.c:1887 free_irq+0x348/0x370 [ 34.986579] Modules linked in: snd_soc_hdmi_codec venus_dec venus_enc lontium_lt9611 videobuf2_dma_contig qcom_spmi_adc5 qcom_spmi_temp_alarm qcom_pon rtc_pm8xxx qcom_vadc_common qcom_camss snd_soc_sdm845 crct10dif_ce videobuf2_dma_sg snd_soc_rt5663 snd_soc_qcom_common v4l2_fwnode hci_uart venus_core snd_soc_rl6231 v4l2_async btqca soundwire_bus v4l2_mem2mem btbcm i2c_qcom_geni videobuf2_memops bluetooth msm camcc_sdm845 videobuf2_v4l2 reset_qcom_pdc i2c_qcom_cci videobuf2_common gpu_sched spi_geni_qcom qcom_rng qcom_q6v5_mss ath10k_snoc ath10k_core ath xhci_pci mac80211 xhci_pci_renesas qrtr display_connector slim_qcom_ngd_ctrl cfg80211 qcom_wdt rfkill qcom_q6v5_pas pdr_interface qcom_pil_info qcom_q6v5 icc_osm_l3 lmh slimbus qcom_sysmon drm_kms_helper qcom_common qcom_glink_smem qmi_helpers mdt_loader socinfo drm rmtfs_mem fuse [ 35.061476] CPU: 3 PID: 26 Comm: cpuhp/3 Not tainted 5.17.0-rc8 #1 [ 35.067760] Hardware name: Thundercomm Dragonboard 845c (DT) [ 35.073506] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 35.080582] pc : free_irq+0x348/0x370 [ 35.084328] lr : free_irq+0x300/0x370 [ 35.088073] sp : ffff800008263c90 [ 35.091457] x29: ffff800008263c90 x28: 0000000000000003 x27: ffff65e489bac000 [ 35.098720] x26: 0000000000000000 x25: ffff287f41e51edc x24: ffff287f41e51f90 [ 35.105981] x23: 0000000000000000 x22: 00000000000000ad x21: ffff287f40d06b00 [ 35.113242] x20: ffff287f41e51e00 x19: ffff287f42bc7300 x18: ffffc29b34722b00 [ 35.120504] x17: ffffc29b34722b18 x16: ffffc29b31d22ca4 x15: 0000000000050088 [ 35.127762] x14: 0000000000000010 x13: ffff287f41fbd958 x12: 0005008800000000 [ 35.135019] x11: 0000000000000040 x10: ffffc29b34401eb8 x9 : ffffc29b32ebc62c [ 35.142278] x8 : ffff287f40400270 x7 : 0000000000000000 x6 : 0000000000000000 [ 35.149535] x5 : ffff287f40400248 x4 : ffff287f40400378 x3 : 0000000000000000 [ 35.156796] x2 : 0000000002030200 x1 : ffff287f41e51e00 x0 : ffff287f42a57000 [ 35.164056] Call trace: [ 35.166558] free_irq+0x348/0x370 [ 35.169955] qcom_cpufreq_hw_cpu_exit+0x80/0xd0 [ 35.174584] cpufreq_offline.isra.0+0x26c/0x2b0 [ 35.179202] cpuhp_cpufreq_offline+0x1c/0x30 [ 35.183561] cpuhp_invoke_callback+0x16c/0x5b0 [ 35.188094] cpuhp_thread_fun+0xd0/0x1c4 [ 35.192090] smpboot_thread_fn+0x1ec/0x220 [ 35.196287] kthread+0x100/0x110 [ 35.199607] ret_from_fork+0x10/0x20 [ 35.203273] ---[ end trace 0000000000000000 ]--- Reported-by: Linux Kernel Functional Testing metadata: git_describe: v5.17-rc8 git_ref: master git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline git_sha: 09688c0166e76ce2fb85e86b9d99be8b0084cdf9 kernel-config: https://builds.tuxbuild.com/26LbWSfZlShbqStTOvXGslR1RBI/config build: https://builds.tuxbuild.com/26LbWSfZlShbqStTOvXGslR1RBI/ steps to reproduce: # cd /opt/ltp # ./runltp -s cpuhotplug04 -- Linaro LKFT https://lkft.linaro.org [1] https://lkft.validation.linaro.org/scheduler/job/4715107#L4147 [2] https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v5.17-rc8/testrun/8446603/suite/linux-log-parser/test/check-kernel-warning-4715107/log