From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3FC729E11A for ; Tue, 18 Aug 2026 10:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787047345; cv=none; b=dLbrO03cU63TE8+vvwTsIvF4DdCbZb5slKwFpc1eh5yUMRVHsmloIcNSfn+rUFD9MUzk+S9Rhd3wpjnYDnSatDutYncKRIPPKOWtvv9ufeIVWEbBi1GFkWt0Z35kd6mF/tEwN6nM6Zc067+rovtqxph5Zi16g0j1IMgQANwc/Ys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787047345; c=relaxed/simple; bh=BZqcWaqu+rq5FB9tqXK3e4Bntj8NSh8srxUuMqjzxEA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=C6XOEOI+SMflCnBQ3sSRKDR2Oc7qqX3YZPD2xu2OlzBswwkPUVxD6kBSraJW4JH3ggghic/F6ycOBo3WqM0stQwdbFLLfpMAAfupPiHS94sarsmSddIupXMc2n82NbaBveA7G5w6p94wmRXDwF6eRTWZZ1keXnJRk4hcQZn+nYc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=mBJigU4s; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=h57GfnhO; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="mBJigU4s"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="h57GfnhO" 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 67I8BNhH1270935 for ; Tue, 18 Aug 2026 10:02:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= gKtcZjbBOfHo3Kkb7BtMQ73HlCTfqy+fk/1E8Z1N6Xg=; b=mBJigU4sVcEo/i0B jSrWWvtdyhApq8UdbdXXExhZr5FQF8dPZULE0kY2hrihDqkDTI+sfFKSLs8eIlhN ouACxr9VBTgsIb1cWuziMGllA/Aai8zjDNQEcDllYglxezMNQFRUqLeI2CQZJF7z MvhRXssijPE2Ow3uhvLVfgWnTLB73T4U9gFJq7lbjSglMuJwst8a1Eiwex8QsiD3 +Dy25i+R2fXUBUNnHaBSdK81HiKhdBoGqwVMsxQzG0WOryPeZQLNrMwMUwGgGiWC PgvA4cu2xjoZnvI7s+EDZPNVbmlkkVh3QWh+XkDySGsPm7sG70NhfQ2ayOnYuqom OshV9w== Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g4dcn22pm-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 18 Aug 2026 10:02:22 +0000 (GMT) Received: by mail-vs1-f71.google.com with SMTP id ada2fe7eead31-7530aaa7212so12476137.3 for ; Tue, 18 Aug 2026 03:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787047341; x=1787652141; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=gKtcZjbBOfHo3Kkb7BtMQ73HlCTfqy+fk/1E8Z1N6Xg=; b=h57GfnhO16f2OkrQU+Yp2ZabOI/zzXD2UhiA/IZNIVTZBLJE/UMlYOZv/UVKvw+3uF 2I+hBdyD9JidASgdwtR09ASuUVeBJmfGWDPZ+gnMUjCstk0SQKzRocMRsg71qsosDnIJ QTRj/lTar9M+Z6GP5rY0ONuM6isTlmo4ThjxXDdbvHbmovNqPezp9LwME9l8bTZVy0Wp e/VxRE5IK/eYRhhBEVT3GydXXu/LE/1RBL6RZlszAeUJHd4Q1aLMyWxwbfkKG/ZH5Dmi HEv0ugDwwGZGQievBYzW6IXrePPqKJrbwQlFX2rW1MT5y4u7ofJMelvUyc1PDWINmOY0 pE9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787047341; x=1787652141; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=gKtcZjbBOfHo3Kkb7BtMQ73HlCTfqy+fk/1E8Z1N6Xg=; b=ovdceA7j3Ss9C+xezVNHYnoBOfGK+kyuH/z5zRGArm6uMPaZ6ToHJ1EO1F/Upq6uqV 9nh0kjH/sGo6+Wkj3kfnQFvf2ufOzby2JZ3OvCFoRNQL8xaoQypoCz6pjQd1BhK0YIZr 91Bq/vu6J5I61l+auW3WIXrruA7ZpWbcjK8P+4aH3ttNE/5w3+QMSh2Hz3FbWy6/1wMB upqMacjbuVKqVvDxUAeZYmDr3M/ZXkAbFXg+b9Yr3vUGrFHoHEU1sLpHfi8DR69AKcii bh51oeA4vxIfdAHbZ5XqotyQmoVbDYQ1YvJ3PpQ3/c3oLW0+Re9tTxXN2sU8ODxZtxx+ Yp7Q== X-Forwarded-Encrypted: i=1; AHgh+Rrz1pkui6IVDuzLZyb/Kv+xByX0rjGP5QZ3UGjLNSOeBT9GJfSrwKJzL65TKK/9j3ouSvVfF/ha3j5YSdI=@vger.kernel.org X-Gm-Message-State: AOJu0Yy7K+2KHOQS9Rsa1oxcmSeiliGgXaWvKAaHlKjPYKX7CprogcIo luRXr+FqF6OSa1nYE1NwCyAvi1WorNkR2zRV3eo31rli2vcIR9WPBMT9DUTvgmxzZGG+gL4AlNg w+WZ5viqahPmkWzj2S1KdEdS3yk6hjgs92SHJs1JKOFGoIx50VfQp6wVjpIGiNR3CpBY= X-Gm-Gg: AR+sD11XCKvEHoyivWXxJB2omhRmMZxnWlIboBdu0pTaJLCmG3bGDtHikxOa0u+P07t t2RmNiXRBbxHb0mpRCOp1xpCXEQMbM49pUR1JlrBWbd2V+O7uEcVfR7zxfq77qgWxmT50OSXEUU d4XgJCaDUJR2oC7IB/a3xumpnYuL5CQrSXc5OzNmF8bkq6KJBqLkYpTz90/svItwTrBPZ1mrA0g 6IYBHKr53RlnhDv0T76hl6gyMMVx5n1OMWFQIpHu7MfQJ20bZRIlaP/9pfCGAifhEfnhv0xZBDg 0ftn68xd54btOLelq6oChENNSnCDzUeoGHXJGuIiz7KoT5H1EIE6+MFuzD5UTguetkBLH0Rc3mg LOrUPmvCj8iZ9uVT+z1ZDJznM X-Received: by 2002:a05:6102:5091:b0:72f:6669:286a with SMTP id ada2fe7eead31-76f2c540eb2mr2244169137.2.1787047341597; Tue, 18 Aug 2026 03:02:21 -0700 (PDT) X-Received: by 2002:a05:6102:5091:b0:72f:6669:286a with SMTP id ada2fe7eead31-76f2c540eb2mr2244135137.2.1787047340715; Tue, 18 Aug 2026 03:02:20 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6a3d8596d4csm1517213a12.22.2026.08.18.03.02.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2026 03:02:19 -0700 (PDT) Message-ID: Date: Tue, 18 Aug 2026 12:02:14 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 06/10] usb: chipidea: msm: keep the glue device runtime-active To: Dmitry Baryshkov , Bartosz Golaszewski , Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Greg Kroah-Hartman , Xu Yang , Peng Fan , Vinod Koul , Neil Armstrong , Peter Chen , Pavankumar Kondeti , Stephen Boyd , Konrad Dybcio Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-phy@lists.infradead.org, Greg Kroah-Hartman , Peter Chen References: <20260810-msm8974-usb-hsic-v1-0-e5f93ea76ffa@oss.qualcomm.com> <20260810-msm8974-usb-hsic-v1-6-e5f93ea76ffa@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260810-msm8974-usb-hsic-v1-6-e5f93ea76ffa@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: f735Q4NiT0ZoZB89e3WvfxGTZAuLJp_y X-Authority-Analysis: v=2.4 cv=Gs5yPE1C c=1 sm=1 tr=0 ts=6a842dae cx=c_pps a=P2rfLEam3zuxRRdjJWA2cw==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=GzGGmIZ6zSJ6oW9ANs4A:9 a=QEXdDO2ut3YA:10 a=ODZdjJIeia2B_SHc_B0f:22 X-Proofpoint-GUID: f735Q4NiT0ZoZB89e3WvfxGTZAuLJp_y X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODE4MDA3MyBTYWx0ZWRfX6/o6mYQVgrVD 7Z9czQchJ2KHmDsXRi/D42XTtlyiEfQjxH6hQ2jDmxgucBHFfCoHgKrQ6LlsmeR06IyrbR4VCnj 6HNtjbZUlBxkpvqe0oTtz1zCqLqRbZgvFYZQ1Q2FJVLG5wEoLdxylEBzJNnkmk/MKLWjn/8KVK3 sPjTMoXcvakTZyBEZnQGbbB4Yte+jjB1HgfjNhfdldMWUqqAvIXfEVNSP3UXEOMaDYA59skktMc uHrIhX7Ty1khcFZjXsFws34ekj4mslqq0T8IcUmbKxuGfbf5RApUDSFC1a3wE62LiCsxJarA3/s TpIQbYApn0ZgS74YXqcRfyvHTwRKV3wcyIeaw9gCZqCZFDb3s4SYKVCcXp8S4fBJsKs5o4of03b wU1QI3vml9EGYH4NHJ6iqR7Koc5SB28xmtd/shV3sSJcGh9lDU3D9pK65K8ThNknsF9jNRqWZeD OnLo2oV39evPu+AyaEw== X-Proofpoint-Spam-Info: AW1haW4tMjYwODE4MDA3MyBTYWx0ZWRfX+YMEhmEtpt3R 4T0ijOJekSTr8TcAj57CD9QIv7Nnu/T5Xsb5R3ybna7WmCQZwZzNWc5kHgpJYiNktKoUiZDadqK SvA3nQcIQvHvpJaJYDyRL72RXb1+cGc= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-17_04,2026-08-12_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 phishscore=0 adultscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608180073 On 8/10/26 5:42 PM, Dmitry Baryshkov wrote: > The msm chipidea glue enables runtime PM with pm_runtime_no_callbacks() > and nothing pinning it active. Right after a successful probe the > driver core's pm_request_idle() runtime-suspends the glue (the ci core > child has runtime PM disabled, so it does not hold its parent), and > when the glue sits in a power domain - the HSIC instances live in the > USB_HS_HSIC GDSC on msm8974 - genpd then powers the domain off > underneath the running controller. The EHCI register file reads back > zeroes, an onboard hub's connect is never seen, and subsequent bus > accesses into the unpowered block wedge the interconnect, eventually > taking the whole SoC down. > > Pin the glue runtime-active so the domain stays powered for the > lifetime of the controller. Proper low-power handling can later be > built on the child's runtime PM together with the HSIC wakeup > interrupt. > > Fixes: 2d0cdcc5a0e4 ("USB: gadget: Implement runtime PM for MSM bus glue driver") > Assisted-by: Claude:claude-fable-5 > Signed-off-by: Dmitry Baryshkov > --- FWIW downstream seems to implement "real" runpm, so perhaps your agent can have some fun with that Reviewed-by: Konrad Dybcio Konrad