From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796011092; b=QAPtv4wI6JYSjro9DaowvW/SbZYRuB9wERf4deCNireXoCCk5vO9vE/ed/duMzz+Wc6l os5juU17fClB5+tCmb+eYIgMfRwV4s3obLglvtuav8oFE5Q65SZ0InkO1B5XEIph+PrUT E/eRKL7O2UhHIdkOIVBFYjNGpFBCnbKF25Jx0FFp23q1G+mtEYaN+g4Gr9NpA//OfKv0h imMzx1rh2Fxx2u743pTMeZa3gQRgCohJ+0tLzNS9ZHTvVu5gxqFJ6JUI99IgGST3MPE0+ V/+PfQWkcuDoVWXmFUEzEE8KDLZHHuNdxTTU189AZoi8paQN6Nhh5qpJj1Fa7UhICIQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796011092; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Date:From: To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-GUID:X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID: X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=G7XS2+/tmvypvMDSlw4swzZoqEbERm2ixD+cPF53TDw=; b=fDWpZE6IJ6kiMRet2C0At0bf4uhw9XyKF4mRQ/GlBqNfgx4bSth8lTnGBBk2YnyIkdXC 9jT7gqVgCf3Jc3tJjeadlpZmQgiH7e6/SxdtIa1SPDTeXAPjA+/QLDUCmiGc3EWfp54B5 Ih/Xl1fYk75Q3cwsrpXdliKYwiC7a/pUuJ8azVbarbllYTNAB2T5ahdjhwAg4ZTzoO6oB nq8YKesS+8Y15+FCtMi2hFDvXjI2GOwlhPb0KH8YZXny4CgyOFkbdTU1Wf1yIDrCaTg2p /rsbrpukc4TTAp0Y+IjCCm7SbcXyTafnewwF6AP9LxGMRvpnuvZ0790wvHYvv8Hvbfg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=g2eq4ycb; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=InUs+AHN; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFDF1606A325 for ; Mon, 30 Nov 2026 03:58:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org EFDF1606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=g2eq4ycb; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=InUs+AHN Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AU0kOEn1464744 for ; Mon, 30 Nov 2026 03:58:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=G7XS2+/tmvypvMDSlw4swzZo qEbERm2ixD+cPF53TDw=; b=g2eq4ycbQ1zRCfJZobuCIoRmnIOPBKwxWbfqhB/y bpNQo53C2IwNfoda/znRPIv0DTN0w/TI3iKpD6WROenKcl+251VeqbwKaf2Y7WMO cPP6XBpELmJwh13kRALWGz75495BYyEorRzaMomkqd8eyuriCI0t0Rv2HNMZIZnP NYVpop0zqs6Q0prd3XDmmIsxdQnvigePYPJ6pLSF8CB3isHiHxyLVhbq/B+7czrw wM8KGxCsuGDLMuwSeBfpt++hrgp3gX4AyYwKAVvAGh5uBOfXCe0M05SC30HWJ6Gr VXgpyONDIUw2dFOt/j5zywPCfrBqhDexNi/AI3Fi8MyQzg== Received: from mail-dl1-f70.google.com (mail-dl1-f70.google.com [74.125.82.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j7nwsvsea-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 03:58:11 +0000 (GMT) Received: by mail-dl1-f70.google.com with SMTP id a92af1059eb24-16bc6f3fdb1so6629414c88.0 for ; Sun, 29 Nov 2026 19:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796011090; x=1796615890; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=G7XS2+/tmvypvMDSlw4swzZoqEbERm2ixD+cPF53TDw=; b=InUs+AHNA0fJoFVxVW4UotLqsbXz6u5Kr1TwW6FQfyKP4FD+LUl+d29YVVmvfQBcA3 h7S2eM3tAjsLp4XcMyZdF6YuCX+naEn44xXeKjxy2IKnTJykzaBWN0EwpcyGe4Lxr6Ga 6kxujU/K5LSzBBbEfuA5jPj5d9DU/jWTgEnSKfpf2FZaYAyw7/DtDwborEue+AfUQKji V48PTLRFyUUHj37gt0eFC0EUxw05owesc8AtL1HfmNKeF22le1cYdB9dy90++a4g3amU c5HIHrcfIrUjhNmA8aTJ8kB3gVoMDrLzLQVCGmia++mjVMmAKhpIDTP/yJUHtOZOqxhs dvKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796011090; x=1796615890; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=G7XS2+/tmvypvMDSlw4swzZoqEbERm2ixD+cPF53TDw=; b=aKBB9hfhm3TmDnEr07NcEnJMGwFCrrp99rYx4JI60SaRFlX2ta8Vh/eNIv3oNKc/+8 rhCyLFEy6eD2rOoJ7WDwrKA+LVnxd7tX/5xLGmU4+ZmNMwDztRi/+HLR4RIQ18vxQefT LRYV6YykQY6vApSJY+25JiNpwrIC3Ye7pJZ4u9CHw3z5ITf7a8Zvu4OB6APGih1JuUCx SZ2STFfqv6S1B1QGYjJXaoyDHXpK7LiCT4sxfUfp4xoAugMnTbxJF9yKBotGHw+THTPh MMnUx14ybSw+RPxv0R6nIHvW6PFe1pnxXPNvOXY3teBOPoXontZfOJqU1y2ygIj1/yhR sHaQ== X-Forwarded-Encrypted: i=1; AL+hErFaALYxZEPJ7TBuf6+tx0CN6bVR0dRHpZKdyWLimvPxiXOe4Gy4DuqEte2EMI1OWyhBYf1gadxNgTL28GI=@vger.kernel.org X-Gm-Message-State: APuU4Z9bPcRUlf5HlAQkTsOK1QB7Em+J/BQsA9odBel7jdgXVqqdqPjk ipsnssfgt7OT1m/FAe+9oqvbol5JCaT+V2WDUOvCQydVt4V9Dlq68ve93ZDGmPliGVlrwv2brAN tPJrQ+QlYAWxKKwGPBlxaUKtb+7B/0/15x2GMlRIbck68Sn2vKbzbE2T9MEAnJ9DUu3Q= X-Gm-Gg: AZFdTZcKGv1iVLYUA0MVlDoi5oWkKGgHUrcLhHVuN2GKAkKcKiTe1zwFB//zcXutrk5 zw+iHXjRVQqWnUDTsTvXh4R5dypBO8YrpuTVHjd1YprXbAd90UPzO/PIP+fTE4iUpH/ou1cFuoQ uDXF4jdE8FuGdrxFwULC7VCudhefyKFUWntPhEBIinIsFCKFXLLQt2n46qE5lzfRCnl1WIrsdg7 YVNY7mY0SGwsu0pvmTaBCGpeCgAWLZhc7ghzdT0mYjSLW4kJahthFxbuUA23wIE7bBmPbi6zZAY 9H2Abm1P0dCnzDbV7ZP3V62FEkPeBTYPjocCF2d8hHJIdyH422NUf+PykRmUgje2B1Rp08EXuHy vOnu/p0DPVqVJ43GVEAVCobw+dJMV5hKhpBhb/k5s/F/b9VDeUET46UhcNKDPZH+IoixdQQ27T7 RrNH97jXSQp0us0d3x X-Received: by 2002:a05:701b:280c:b0:1b5:6441:a323 with SMTP id a92af1059eb24-1b56441a60fmr21127588c88.9.1796011090208; Sun, 29 Nov 2026 19:58:10 -0800 (PST) X-Received: by 2002:a05:701b:280c:b0:1b5:6441:a323 with SMTP id a92af1059eb24-1b56441a60fmr21127564c88.9.1796011089517; Sun, 29 Nov 2026 19:58:09 -0800 (PST) Received: from QCOM-aGQu4IUr3Y (i-global052.qualcomm.com. [199.106.103.52]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b5568592adsm72008731c88.15.2026.11.29.19.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 19:58:09 -0800 (PST) Date: Mon, 30 Nov 2026 11:58:04 +0800 From: Shawn Guo To: Anandu Krishnan E Cc: Srinivas Kandagatla , Amol Maheshwari , Arnd Bergmann , Greg Kroah-Hartman , Jorge Ramirez-Ortiz , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, stable@kernel.org, Srinivas Kandagatla Subject: Re: [PATCH v2] misc: fastrpc: fix context leak and hang on signal-interrupted invoke Message-ID: References: <20260701-master-v2-1-566bf8b7bd16@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260701-master-v2-1-566bf8b7bd16@oss.qualcomm.com> X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDAxNSBTYWx0ZWRfX/uS97KW1p51J PoGJCwzT4ymAHeKZ5MHkEujGD5Z62baTAhc7K6c/WRE2p701wTXT6WyOhS4mpKhFDOk9FQUTTzq As91JY2WT8Vr9gzHRiGCNR/VFtWwFkZAU1Q4ICEmhZH4e7CV5GQpIzLDP5iH22EuVcLhyQRYxuK KqMNqW8O/vF3WYItCIWR5bAEw8IrqC9ntLiXXx0WJL2vGRCetddzLbDkdgnF8hg0cEyW3OLQxfx lfVji+42f9v6R4w9xspyX8kBZ6QkMbNm6JtP7mRckDIH51mQCpn6Ps28BACHykEKWzIFP8rfygI jrpI/YKpuSN8INIUefdUxwPEev+p/a68oFxurxZADb4ycLzzS1JJCGSTGqydpY4JIhSBSnGe4xS 0KQqzobBfmZudUjF4dG+auIco5RAc1JVuLnibIh02tBSETBZxA+xCT+8l1LvnEYFego/dUJhGvo bx7QYV2dG9bkjlRIFDg== X-Proofpoint-GUID: 4vLNhzxvyN8bVlbViccILlba0caa85CX X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDAxNSBTYWx0ZWRfX6gI/Jcj8jel4 QsOV9K2FiPanmg8Veu9cS3Gl4lUP16VXF2Y9rTr/q2lRgWBdPKjJ5zSo/8uC2K3P2BYE92DSq6o 4tW7s4KkhE4ExPxWrlxPthZp1Nt4T0U= X-Proofpoint-ORIG-GUID: 4vLNhzxvyN8bVlbViccILlba0caa85CX X-Authority-Analysis: v=2.4 cv=To1zFzXh c=1 sm=1 tr=0 ts=6b0cf453 cx=c_pps a=SvEPeNj+VMjHSW//kvnxuw==:117 a=b9+bayejhc3NMeqCNyeLQQ==:17 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=yMKP8dSb_V_plQyUy90A:9 a=CjuIK1q_8ugA:10 a=Kq8ClHjjuc5pcCNDwlU0:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_01,2026-11-27_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 malwarescore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611300015 On Wed, Jul 01, 2026 at 01:41:25PM +0530, Anandu Krishnan E wrote: > fastrpc invokes work by sending an RPC message to the DSP and blocking > in wait_for_completion_interruptible() until the DSP responds. If a > signal arrives during this wait, the syscall returns -ERESTARTSYS and > the invoke context which holds the in-flight DMA buffers and > completion state is left stranded in fl->pending. > > On the next syscall attempt (either auto-restarted by the kernel via > SA_RESTART or manually retried by user-space after EINTR), a fresh > context is allocated and the RPC message is re-sent to the DSP. This > has two consequences: > > - The original context leaks in fl->pending until the file is closed. > - The DSP receives a duplicate invocation. If the DSP was mid-way > through processing the first request and had issued a reverse RPC > call back to the host, the retry sends a new forward request > instead of the expected reverse-RPC response. The DSP thread > waiting for that response is never woken, causing a hang. > > Fix this by saving the interrupted context to a new fl->interrupted > list on -ERESTARTSYS. When the same thread retries the invoke with a > matching sc, restore the context and jump directly to the wait, > skipping context allocation and message re-send. > > Three additional bugs are also fixed: > > 1. fastrpc_context_save_interrupted() did not drop the extra kref that > fastrpc_invoke_send() took, so the worker's put only reached 1 and > the context was never freed. Drop the reference in save_interrupted() > so the worker's put reaches 0 and triggers context_free. > > 2. The bail path skipped context cleanup on -ETIMEDOUT, leaking the > context. Remove the -ETIMEDOUT exception so timed-out contexts are > freed like any other error path. > > 3. fastrpc_context_free() did not remove the context from fl->interrupted > before freeing it. A context freed via a racing channel removal left > a dangling node in the list. Add list_del_init() guarded by fl->lock > before releasing resources. > > Also drain fl->interrupted on process exit, complete any sleeping > contexts with -EPIPE and schedule put_wq to drop the worker ref when > the rpmsg channel is removed, and add dev_warn() on TIMEOUT and > ERESTARTSYS to aid post-mortem debugging. > > Remove the obsolete invoke_interrupted_mmaps mechanism from > fastrpc_channel_ctx; context resources are now kept alive through the > context refcount rather than by migrating mmaps to a channel-level list. > > Fixes: 387f625585d1 ("misc: fastrpc: handle interrupted contexts") > Cc: stable@kernel.org > Co-developed-by: Srinivas Kandagatla > Signed-off-by: Srinivas Kandagatla > Signed-off-by: Anandu Krishnan E This causes a regression on Nord with stopping adsp, and I sent a patch[1] fixing it. root@qcom-armv8a:~# cat /proc/asound/cards 0 [NORDRIDE ]: nord - NORD-RIDE NORD-RIDE root@qcom-armv8a:~# echo stop > /sys/class/remoteproc/remoteproc1/state [ 69.280356] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: [ 69.286634] rcu: 6-...0: (1 GPs behind) idle=6fec/1/0x4000000000000000 softirq=1101/1102 fqs=1051 [ 69.295836] rcu: 16-....: (5256 ticks this GP) idle=6b9c/1/0x4000000000000000 softirq=444/444 fqs=1051 [ 69.305493] rcu: (detected by 9, t=5259 jiffies, g=769, q=3680 ncpus=18) [ 69.312480] Sending NMI from CPU 9 to CPUs 6: [ 79.317699] After 10 seconds, these CPUS still haven't responded to the NMI: 6 [ 79.325126] Sending NMI from CPU 9 to CPUs 16: [ 79.329707] NMI backtrace for cpu 16 [ 79.329718] CPU: 16 UID: 0 PID: 965 Comm: adsprpcd Not tainted 7.4.0-rc4-next-20261127-00140-gff94c7cf1444 #14 PREEMPT(full) [ 79.329721] Hardware name: Qualcomm Technologies, Inc. SA8797P Ride (DT) [ 79.329721] pstate: 01400005 (nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) [ 79.329723] pc : queued_spin_lock_slowpath+0x248/0x340 [ 79.329733] lr : _raw_spin_lock+0x5c/0x70 [ 79.329734] sp : ffff80008555bbe0 [ 79.329735] x29: ffff80008555bbe0 x28: ffff800083d35010 x27: ffff0008ada7ef00 [ 79.329737] x26: 0000000000000000 x25: 0000000000000000 x24: ffff0008ada7ef4c [ 79.329739] x23: 0000000000000000 x22: ffff0008aad45b00 x21: ffff800083d35028 [ 79.329740] x20: ffff0008aad45b74 x19: 00000000ffffffe0 x18: 0000000000000000 [ 79.329742] x17: 0000000000000000 x16: ffffa854539ee710 x15: ffff800083d35200 [ 79.329743] x14: ffff0008811e9080 x13: 0000000000000206 x12: ffff0008811e90a0 [ 79.329745] x11: 00000000000000c0 x10: 074fe19dde1917a1 x9 : ffff0008aad45b76 [ 79.329746] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000 [ 79.329747] x5 : 0000000000440000 x4 : ffff008fa85dbd40 x3 : ffff008fa85dbd40 [ 79.329749] x2 : ffffa854544a9d40 x1 : 0000000000440101 x0 : ffff0008aad45b74 [ 79.329750] Call trace: [ 79.329753] queued_spin_lock_slowpath+0x248/0x340 (P) [ 79.329756] fastrpc_internal_invoke+0xa8c/0x13e0 [fastrpc] [ 79.329764] fastrpc_device_ioctl+0x6e8/0x10c0 [fastrpc] [ 79.329766] __arm64_sys_ioctl+0xa4/0x100 [ 79.329771] invoke_syscall.constprop.0+0x40/0x100 [ 79.329776] el0_svc_common.constprop.0+0x38/0xe0 [ 79.329777] do_el0_svc+0x1c/0x28 [ 79.329779] el0_svc+0x38/0x1d0 [ 79.329783] el0t_64_sync_handler+0xa0/0xe4 [ 79.329785] el0t_64_sync+0x198/0x19c [ 79.493951] rcu: rcu_preempt kthread starved for 2542 jiffies! g769 f0x0 RCU_GP_DOING_FQS(6) ->state=R ->cpu=4 [ 79.504231] rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. [ 79.513615] rcu: RCU grace-period kthread stack dump: [ 79.518819] task:rcu_preempt state:I stack:0 pid:16 tgid:16 ppid:2 task_flags:0x208040 flags:0x00000010 [ 79.530163] Call trace: [ 79.532694] __switch_to+0xfc/0x1e0 (T) [ 79.536656] __schedule+0x3dc/0xe20 [ 79.540250] schedule+0x34/0xdc [ 79.543489] schedule_timeout+0x80/0x104 [ 79.547540] rcu_gp_fqs_loop+0x10c/0x450 [ 79.551586] rcu_gp_kthread+0x108/0x128 [ 79.555537] kthread+0x10c/0x120 [ 79.558869] ret_from_fork+0x10/0x20 [ 79.562567] rcu: Stack dump where RCU GP kthread last ran: [ 79.568216] Sending NMI from CPU 9 to CPUs 4: [ 79.572757] NMI backtrace for cpu 4 [ 79.572770] CPU: 4 UID: 0 PID: 0 Comm: swapper/4 Not tainted 7.4.0-rc4-next-20261127-00140-gff94c7cf1444 #14 PREEMPT(full) [ 79.572774] Hardware name: Qualcomm Technologies, Inc. SA8797P Ride (DT) [ 79.572776] pstate: 61400005 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) [ 79.572780] pc : cpuidle_enter_state+0xb0/0x380 [ 79.572792] lr : cpuidle_enter_state+0xa8/0x380 [ 79.572794] sp : ffff8000801a3d90 [ 79.572795] x29: ffff8000801a3d90 x28: 0000000000000000 x27: 0000000000000000 [ 79.572800] x26: 0000001286e2f8d2 x25: 0000000000000000 x24: 0000000000000000 [ 79.572803] x23: 0000000000000001 x22: ffff000884942080 x21: ffff008fa84a17f8 [ 79.572806] x20: 0000000000000001 x19: 0000001286e7cf05 x18: 0000000000000000 [ 79.572809] x17: 0000000000000005 x16: ffffa854539ee4e0 x15: ffff008fa84a1b34 [ 79.572812] x14: ffff008fa84a1870 x13: 0000000000000000 x12: 0000000000000002 [ 79.572815] x11: ffff008fa84a1b30 x10: 0000000000000001 x9 : 0000000000000001 [ 79.572818] x8 : ffff000884811438 x7 : ffff583b53ffa000 x6 : 0000000017f84251 [ 79.572821] x5 : 00ffffffffffffff x4 : 0000000000000015 x3 : 000000000106cd38 [ 79.572824] x2 : ffff583b53ffa000 x1 : ffff008fa84a2f80 x0 : 0000000000000000 [ 79.572827] Call trace: [ 79.572829] cpuidle_enter_state+0xb0/0x380 (P) [ 79.572832] cpuidle_enter+0x34/0x48 [ 79.572841] do_idle+0x148/0x300 [ 79.572847] cpu_startup_entry+0x34/0x40 [ 79.572849] secondary_start_kernel+0x13c/0x15c [ 79.572857] __secondary_switched+0xc0/0xc4 Shawn [1] https://lore.kernel.org/all/20261130035246.4119744-1-shengchao.guo@oss.qualcomm.com/