Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp775394pxp; Wed, 16 Mar 2022 16:54:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwI0ChvngQYV09wg5/1po82HJDCumb1+Sk2a6yy1Z84QRlsDBzXHkqoMruy9i65Qdq2KjYU X-Received: by 2002:a17:902:e806:b0:151:ca94:7563 with SMTP id u6-20020a170902e80600b00151ca947563mr2288272plg.151.1647474865798; Wed, 16 Mar 2022 16:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647474865; cv=none; d=google.com; s=arc-20160816; b=vBYPbQBqFuFtIPq8GRba7E0PMGhBtJzh+etTuh5G2zq47keenr93WtUuq85OvZ+crV Cl3jmyJd1J1+ak6z2PLwGCaAeOgUECRX48lAUCtTbE+ZIPt9Vq559MMVKrVMw/+Wfq3L uG+Go/eUDRz7P98Z4wybbp3kuL9TA1Gtug/cQhmnc5t4ZOYGRsnpTLlfVXF6xr768LsH JPniCQF95/lMcfgDlWvKb+i/yHh5qOGxdJ7nlfAVLWTnURO9iXZqrSjjNGWl8E1AjDuY yOz6im1VGM/Gf4SVtNx1aQ9ZdoWatsDVCLpDIMOecVx+HE+h9gmlEmmFL0uYi3BaXOVM Utpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=i2Lo6xuTrSwDCA3BPZyQewuVo4NMGVzCLhFPiL+eabU=; b=E94NS43U/tZpYxG6tN4lqFnb9uSy3bo7eYoc57qvh7uizUfQHx9Dj9aRXt3laWS5Qv cOhe+FU0Artr5ReYvn23sgc/N4Go/6v7pshPVdwWT4faqVLxcNJlo7PxMEDIbVa6PRCx uDTAqZpae8Al0jQEm5tWPhscSUFDnkFPtHYAt1qSgDM0GmfEPJpQ8ZQjGgIIYr6+OvDe Hwc76e8XoDEJXZVCU85T6YYKiGNJusrCQW3lF90Yn6S44QUz9l+cWrlxI3n/Rwaa28Fi N383VZ/BMjf390JPp0Q1Hp09ytU4r6oGawAOVsbRm8qlGUkmeM2zH8TJtTkQlLMfeyJl daSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nIhM10Lf; 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 m3-20020a17090aab0300b001bf1e011e98si695212pjq.171.2022.03.16.16.54.12; Wed, 16 Mar 2022 16:54:25 -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=nIhM10Lf; 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 S1346480AbiCOJSV (ORCPT + 99 others); Tue, 15 Mar 2022 05:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346552AbiCOJSQ (ORCPT ); Tue, 15 Mar 2022 05:18:16 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38E734BBAF for ; Tue, 15 Mar 2022 02:17:04 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id u7so25489326ljk.13 for ; Tue, 15 Mar 2022 02:17:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=i2Lo6xuTrSwDCA3BPZyQewuVo4NMGVzCLhFPiL+eabU=; b=nIhM10LfMIRJB/Hg50GqpBCiNFIYIrOegxfHrfvFLun8xMRbC9m6B/tzAUNbiWUdAj 2xlivjfUROnSWnJksS/v1800CME/nmAsBu3GPhEl09pcOP25fNEvcRQwuCmInvf3ewhJ cJr7Mtj3sEuSipWbyfISFDUdu54sQGA3Js4xR9KOdnxyfXB6OKwOWyz1LKiUpNA81wMw ULAq3S6R2Snijv1eQvBum7pNZnLnvC+FOK8qQ6qhHYI6wJ2ZVOpQu+PPc5jSC2f1qsSg 019WxYJnfr3/0mosfLJDOwmcDwjOEh1WCe5W4gWga8zbEeycfKPO9qpQrYSIiPwEFHBq VOhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=i2Lo6xuTrSwDCA3BPZyQewuVo4NMGVzCLhFPiL+eabU=; b=W+FJ1yWLIJh/qsJavqr70tUNQlM2KBZMEXzUd/O+e8VAInjwHLke+giaECw/V0bw0e RYie6z++wB1mBvdBDnXbQJzJpRpXcHIHvhHylknKJlGbpwKuQoIctsl14inU7q0YNljg SuHWzCYCZ6YVNTN0LgGmx8GGNvLF3u3BzGSeLju8DrC0bo8vf/2F2ZWaxtuVSOTq/dIn AzHnieHA1F/cujumaQbe0IQ5Q77/4jahw0I9p/P2iNqn83d0pyOiG8fwjPPcyYCGEnQk wkN8ZgR2Hn/du7CvDepMQ1UmPPbpX3V420IxPbuQ5TES57NNjSKKrdHrD5TWvupvmn4f 0WqQ== X-Gm-Message-State: AOAM5338ivK0IHpcUvjLsSdru8u+91nEM/UMvEJgTo2tSPbReuPVQLHn 0yEuYKeUaafvphtSLYbKbaGBeQ== X-Received: by 2002:a2e:5748:0:b0:249:23b0:fab with SMTP id r8-20020a2e5748000000b0024923b00fabmr10057576ljd.265.1647335822419; Tue, 15 Mar 2022 02:17:02 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id v7-20020a2e9f47000000b0024802e6f480sm4313997ljk.130.2022.03.15.02.17.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 02:17:02 -0700 (PDT) Message-ID: <945434d4-1083-7aca-d290-847ccee15194@linaro.org> Date: Tue, 15 Mar 2022 12:17:00 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [LTP] arm64: db845c: cpuhotplug: WARNING: CPU: 3 PID: 26 at kernel/irq/manage.c:1887 free_irq+0x348/0x370 Content-Language: en-GB To: Naresh Kamboju , open list , LTP List Cc: Nicolas Dechesne , Viresh Kumar , Thomas Gleixner , Vincent Guittot References: From: Dmitry Baryshkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 14/03/2022 16:37, Naresh Kamboju wrote: > [ 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? This should be fixed by the series at https://lore.kernel.org/linux-arm-msm/20220309223938.3819715-1-dmitry.baryshkov@linaro.org/ > > [ 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 > -- With best wishes Dmitry