Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2573159imm; Mon, 10 Sep 2018 03:20:09 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYeq/Ja9In6rmwhOEJkvaN8jKzfw8bXNMPUickklZU+gHVIHz3N+RRFNAcF4wmX7NvhNQ4Z X-Received: by 2002:a17:902:528a:: with SMTP id a10-v6mr20790173pli.199.1536574809238; Mon, 10 Sep 2018 03:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536574809; cv=none; d=google.com; s=arc-20160816; b=K0wCmcEtu+QK9M/ak1a/52dGvRG3ecnXGYpucVvPv7BCgbkNRxtoOQF+3sxD2GGt+K AQA8nhzAU9LRGfjG1dpao4LZ4v2MSQtirFmVM16YdF83aEsq+zylS8EtXi4RIzYl/+o9 ytMoCw+h/oRB2wNIomP2tXCb/iFPGwq6D7NORafg/hMyJQ7x/DV5G11VMm0UL5nkL2ie S8DqvdO0b/sHn0/57v9Nogr4hF+uW2YbsegG1unKDJNdGaWa8XU1JGX2o6o9nRGkoKGg VJCZEwpWJ6yYCpgoYRr6tEhUbKKa+kBeIWPwrn74wgSz1oOdKZrqGhl7gQHiDxGspAQ7 wRhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=udinb8VpztlapO2YHlsgjbUk4tw4uwUry3IBUvM2P9A=; b=Nab8Ck0R9nNWBVaUrbFIRilQjX8HhxgoIdjf9r/nzuGb+3bwtWahNHW0M5ow/RgBYC vDpjbzphvUyYAAUn174EgCNwiOVvoMndIDWmlUm39meaq/7KJ5TKpDg4uw7/T2fYx2U8 1g+VEsrbyubxD6KHLBU2dF/xeAZw/81KZuLpH3gCH1oorY1+OVRxCzKseC5RJ+8WeV3C bJF8Sdkfh5u3SkMNvndhoWEmX0gI7LPsLaKkGbCpwYQ6Tw5DuuLf0nRNaShOIOkA9bh/ yblzM9gfgJn933Z3SCsVvdiOkkn8+wJrM2B76PV/5hYaDYnqJo8fKgh8B+jblS3jmHPb Wt/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=Kk7wzPwo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a20-v6si16293093pgi.184.2018.09.10.03.19.53; Mon, 10 Sep 2018 03:20:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=Kk7wzPwo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728328AbeIJPLr (ORCPT + 99 others); Mon, 10 Sep 2018 11:11:47 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:39614 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728224AbeIJPLq (ORCPT ); Mon, 10 Sep 2018 11:11:46 -0400 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 2EAA410C1458; Mon, 10 Sep 2018 03:18:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1536574706; bh=qMJ2NaEptd2dsNb7UAO7Q+I07g2t8L/hfgI5s8b5Vpw=; h=From:To:CC:Subject:Date:References:From; b=Kk7wzPwo38XLd0VLjDp6qgjrEgYkGUgGuMy6lYSeXRNZlhbGEAF9gPUhCEWyZydDb E7BwuCi1MeHWS0w/vosy8xZmiKEpmNox6bBRF43Qeii8+pbesBIpTHxVEnfoDewsH0 MCDakyqwxT9BR1Tk9+w5RocjXEdg2ZkboIbnsEnyqLMuRSe7UEeZVyED5WR26GHl5Q tsE55S0wuOWt5627jXQQBpGn6KA7bZAz/rYdz57CPFCK05Wm4dbqRW3LjeE+Pacib2 LWx5W0QLsfpJWjXt/HvBOwJi+K9V+rfE+m0WBUVoKMi91TlHISpCgE0HbZWnMyAx8T lozwfoIQ9eoDA== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 099AB5442; Mon, 10 Sep 2018 03:18:26 -0700 (PDT) Received: from AM04WEHTCB.internal.synopsys.com (10.116.16.192) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 10 Sep 2018 03:18:25 -0700 Received: from AM04WEMBXB.internal.synopsys.com ([fe80::1006:bcdd:1b7:579b]) by am04wehtcb.internal.synopsys.com ([::1]) with mapi id 14.03.0361.001; Mon, 10 Sep 2018 14:18:23 +0400 From: Artur Petrosyan To: Amelie Delaunay , Minas Harutyunyan , Felipe Balbi , "Greg Kroah-Hartman" CC: "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , Fabrice Gasnier Subject: Re: [PATCH 0/4] usb: dwc2: fix host mode external vbus supply management Thread-Topic: [PATCH 0/4] usb: dwc2: fix host mode external vbus supply management Thread-Index: AQHURQ1adYNtxHiM6kqO8x8tizZ/tg== Date: Mon, 10 Sep 2018 10:18:22 +0000 Message-ID: <3AD91E696667BF4BA728303C178E8A63532A5150@am04wembxb.internal.synopsys.com> References: <1536147605-26279-1-git-send-email-amelie.delaunay@st.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.116.105.29] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi,=0A= =0A= On 9/5/2018 15:41, Amelie Delaunay wrote:=0A= > This patchset fixes and improves host mode external vbus supply managemen= t,=0A= > mainly around suspend/resume use cases. It also avoid 'vbus regulator"=0A= > to be requested lots of times upon each call to dwc2_vbus_supply_init(),= =0A= > especially when pm runtime is enabled.=0A= > =0A= > Fabrice Gasnier (4):=0A= > usb: dwc2: get optional vbus-supply regulator once=0A= > usb: dwc2: fix a race with external vbus supply=0A= > usb: dwc2: fix call to vbus supply exit routine, call it unlocked=0A= > usb: dwc2: fix unbalanced use of external vbus-supply=0A= > =0A= > drivers/usb/dwc2/hcd.c | 45 ++++++++++++++++++++++++++++++++++----= -------=0A= > drivers/usb/dwc2/platform.c | 8 ++++++++=0A= > 2 files changed, 42 insertions(+), 11 deletions(-)=0A= > =0A= Tested-by: Artur Petrosyan =0A= =0A= The patchset has been tested on Synopsys HAPS-DX platform.=0A= =0A= Thanks,=0A= Artur=0A=