Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1223932ybk; Thu, 14 May 2020 03:44:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiw1p+OHkhC7KQoiDXODy9TACYTOJxrLHB51xvDYHnzexopexFjXXIXZ7fA08hfKGzCw/q X-Received: by 2002:a17:906:1389:: with SMTP id f9mr3070989ejc.209.1589453060512; Thu, 14 May 2020 03:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589453060; cv=none; d=google.com; s=arc-20160816; b=MWsIByBENSplFloqwiUuKDzXDtvXaitRN+V1CaBF7QAJQ9ZDMFUoIVh8s1Wh06eRC3 FFw3xAk1ExNpPXFF5g3B/s6X1IdtK54IArcJAxILWuuxerjowCXRgD6imH9GYfXnXFdM M6rlL9Idth4JKVg2WDzeWN4H5OhZ/jzQflB+IxYyQVQ51g5w4m0CRuK+TIrZlt1hBfBL RK8HzPfx+xs+W7w4lQVTmmmVrFGf/+QSO+mwpROUcG30933hmKksGsVY+aSS239hgXBc CXHr/ys+oFfVJv/kWB/z+itH2zLTTUhINLDExfsWkDLoQbO+b6vuh8D96+V0WAyoBJPl rHxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=ADFIiIM1Fe26/cRjvae/xxSYwcERBybNKGMvOKxuFr4=; b=ePALOJNlkONK0lQfWyGhhgfdQ6OH8KHQdOF6x90ELWXXknvn1c7doF/w8FHRHpc1EU 4vXoFfb+4mY9y76ce6qTi+EZpPhfyj0+xxMA6O7G/YuoLumRPmWaEF+jTq7lnuC4Vh2g bMm2i8pkpmxxqPRW+tMRk+CZ/yuCbtVdswSkzTrSEOhQ/Lye8A6+sqkDPqV3B2YrvUL+ 9sqIEGUaCn6/LLCqNYTC16Jnsad1NIIrGYuuf7POoHUKYiIkeNw9wvls3i/ST1ufKeM/ uDcrVdkLihlA4Eb6ldr2P7DerpUQlVCoqDscpUT4n60E7GWjNd8l1FwBB27ZUECtpOVe wF4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bcftHwOb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bd19si1284029edb.28.2020.05.14.03.43.56; Thu, 14 May 2020 03:44:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bcftHwOb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726389AbgENKkp (ORCPT + 99 others); Thu, 14 May 2020 06:40:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbgENKkp (ORCPT ); Thu, 14 May 2020 06:40:45 -0400 Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEBF1C061A0C; Thu, 14 May 2020 03:40:44 -0700 (PDT) Received: by mail-lj1-x243.google.com with SMTP id u15so2971295ljd.3; Thu, 14 May 2020 03:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=ADFIiIM1Fe26/cRjvae/xxSYwcERBybNKGMvOKxuFr4=; b=bcftHwObq2STzO4ObxkD57BKbGME8uRmzC1DIuh1WNyRkLm+RpMqlj3oJPYjCecTdW qeixtywBTxIDWfCvWYfh6os9aQTjruOLHMxBvxna9zosjgHtlR1/HY7bSv6sut/GXHX/ pvBhPQC5M7xC+15QOoDF3w/ZH6a+Q5ovj01Yfxu4WBSwXYK/8LH0K0nuDiZBTb1GM2Op kut8C6pqAxf65Gbn1I1gPekBSdzo6C9L843PuLCd0XUjd5VwwJ4mXYVJRxyMNgSNo2xE ft3y4XmwxVLHPMgkYWzu8iztz4kyeJKaUSLTK9qY4Wctvx+DlxXKnwfKcOQXZdBCBvpa 3OlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :date:message-id:mime-version; bh=ADFIiIM1Fe26/cRjvae/xxSYwcERBybNKGMvOKxuFr4=; b=b5dEz1obOCW315NuUCYtA6851gEfcQ8HLoRH+VrhMUW/wk0llCMMROD5GusiKViyVR R8M15biqvnh7kj3tCg0QvVU2QGVObfoJmWfxWQi8xiGGgSCk09+dRjr2vzxO3Yrpa3d5 W8M5dm7jUMOuu/34gJpX4QlL5OChEbG4gCQ9kWL9nzzw1BmqW8CLFtGSriL2fbCSJAkC Hqi1XvQDeK/A6k9S+wWQUead+kMdg0jx5iASy7UksYMK7SePFAAs5aHmcAmQnZpRoEG5 MOgCF+NIaMHpRmJFfGcJg+gWBzYEM9uZUE8SZn0iamIGF1vRSPGN3YyOtRFQsbJuiX/w AR9Q== X-Gm-Message-State: AOAM531uffqI4NmcQff2Uzv95UmZXF+AVQFS6zkgVj+XL8Go21PvhFlW cQ1xhs3ajHV9WoacLNnVv8dnZpuHvXPMgg== X-Received: by 2002:a2e:a417:: with SMTP id p23mr2491094ljn.19.1589452842932; Thu, 14 May 2020 03:40:42 -0700 (PDT) Received: from saruman (91-155-214-58.elisa-laajakaista.fi. [91.155.214.58]) by smtp.gmail.com with ESMTPSA id f24sm1534475lfc.43.2020.05.14.03.40.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 May 2020 03:40:42 -0700 (PDT) From: Felipe Balbi To: Martin Kepplinger , Roger Quadros Cc: gregkh@linuxfoundation.org, sergei.shtylyov@cogentembedded.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] usb: dwc3: support continuous runtime PM with dual role In-Reply-To: References: <20200319100207.19957-1-martin.kepplinger@puri.sm> Date: Thu, 14 May 2020 13:40:37 +0300 Message-ID: <87lflu4x5m.fsf@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Martin Kepplinger writes: > On 24.04.20 09:48, Roger Quadros wrote: >>=20 >>=20 >> On 19/03/2020 12:02, Martin Kepplinger wrote: >>> The DRD module calls dwc3_set_mode() on role switches, i.e. when a >>> device is >>> being plugged in. In order to support continuous runtime power >>> management when >>> plugging in / unplugging a cable, we need to call >>> pm_runtime_get_sync() in >>> this path. >>> >>> Signed-off-by: Martin Kepplinger >>=20 >> Reviewed-by: Roger Quadros >>=20 >>=20 > > thank you very much Roger. Anything else that is holding this back? Merge window is holding it back :-) It has been in my tree for weeks: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git/commit/?h=3Dt= esting/next&id=3Dc2cd3452d5f8b66d49a73138fba5baadd5b489bd Gotta wait for the next merge window for new features to be merged. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAl69ICUACgkQzL64meEa mQZ7VQ/+Mq0/5vRDJKOzvBdxMlyHYA9lUQr02QNKN8h1S0qAap4a0JZ01VhuIf3Y XBALfQgHg0ljjY3THqZ6MjDNEjGPDm8ENsdXInXt6jrwlDucrJxBHTKG8ZBq/brC WMS5hA/uL1LWywn0ybeNCtuvl8tn3vIV7iNKATt0YtijfZxBt/IP+fd+4rlkEyPk tN41d1HZo4uh7RNBiUgFX3L36j1yrdadSdnLv383yRmUQoxpdsmsVs3Jp1PHYalb bIPjNTlgJfyQ8vikb+1/OQSOe4ARIIXkViDeQG4MODjzU/cwiy4spipcwXk7HMQG VeeBXFXyZyljxddSWGLMHOSmBKl0s5o20ClnjmPGBpDnAsgt96tPqwC6Tb+jb0R4 hpJDVn0MFRpcAk/4plccqKVE9behUXNWHLzyMGuwKkQ8Js/0oNOIw6KW0oUynMnw 3rFvADz3+fct78F7M/zr82adrCtSF7l0gw4WvfpCqImu+59PApGg6ivv+F+ALwkZ 7UDGevdubjw23+8tfZH7muURNJJDMleyl2E0ZDOwHtb/XB5FKVs8DxXSv9zUFEZq kUx1qbMjze8hONtM3Mzuy4vnpU68K1/r2OdAOtbPmAGbSRZNw9Gf/TPjHi0TVubg wbs8QRbxrd69glmDuH7pnb5uWphtUItieKQ5P9+Xsq0w99kNprM= =CQVk -----END PGP SIGNATURE----- --=-=-=--