Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2937274imm; Mon, 24 Sep 2018 12:34:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV62o4kUGJ58D46nBHcUYkJwAYYJ8v75NDETm3xZ3sIZ2dsCOZ0+WFO5vxOYMNE6nKzugxyjQ X-Received: by 2002:a17:902:6f10:: with SMTP id w16-v6mr249957plk.216.1537817667212; Mon, 24 Sep 2018 12:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537817667; cv=none; d=google.com; s=arc-20160816; b=XnF0RdIgrZdBUQ326L/qd9AyOeqmQwUAIgLvN+a9yMndogEFwIMo5FNcFhpHVOgyKw UFff3Ktn8247PbuN0QRaFoXBANR7LsRO9jhaRrtcJ4ivXQInjBCz36WeBfzOgWI+EQg0 95BIjj7FY+t3G3G4RNHJsD/TH42aIXhVWORz6ITqGgQAqwpRv+iaDf8j8U5B62BBGgE1 gDT4HXGO0TS1O7mSoLZUN9aC2fXFXoSEtGRA2Bdchae7ddpnf7NjY2LG97FGdf0eMoU2 rW2WchEt0dj3lRaXKIl5yUZvvU5txydPlsQBCYVvjsRHad6Q4L3i3cHjLB4nrZ1wPVXD x3Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=F5hwQIp5QDwCNz13gbUW1hiWFpLR0PBEgPghhdRvnLw=; b=lJ0QQ5gehpFXQcm3eUoKJemKQaZvshqq84eyIO8YcYBvbAu4Uq71nF1Izl0WS/aYWF P8GSbs7sHeceMFSut7ikjeGJ5TouVMcc8Dc/b2JysqzYc8wPyzR2tq8sYZaC3C4G7CAJ qoYD7qEI6rjXQdZ7A/FID+eFcqyXQC58ljVO98JKsOXVuHjcfKN6RBUv8KSwT72V3W0X XdViU0C1zTBk2ue5PyfgcetQC/twnza50KbJSpmztQqTqTPPCiMcHZsBO9VgMGOtuWR2 cMmx5tl1MlIYfQCX38ZQ2VMyBbm422yWu2NKWla1TztFuAom/JQ6AU5DPgvxhDOULrD6 9lSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RVg4niwU; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j16-v6si126953pgm.501.2018.09.24.12.34.11; Mon, 24 Sep 2018 12:34:27 -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=@linaro.org header.s=google header.b=RVg4niwU; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729798AbeIYAz1 (ORCPT + 99 others); Mon, 24 Sep 2018 20:55:27 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39358 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728493AbeIYAz0 (ORCPT ); Mon, 24 Sep 2018 20:55:26 -0400 Received: by mail-wr1-f65.google.com with SMTP id s14-v6so20741480wrw.6 for ; Mon, 24 Sep 2018 11:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=F5hwQIp5QDwCNz13gbUW1hiWFpLR0PBEgPghhdRvnLw=; b=RVg4niwUYnFXiXf35v9I/xiGB83UkqLT3Cy7tMJx2Ju/+bjVTmDS7w1cGpohziMO1Y NyV8S3QNgytyQyRT7YzFyPMhQYK7KKO62z4gPF4mELDqcjZn7TzxxHC83mUetglsvDJd f5HMCc5HpsKXp6PVi/bslWMZWuMAKPRcDOjw8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=F5hwQIp5QDwCNz13gbUW1hiWFpLR0PBEgPghhdRvnLw=; b=hIzdFht0VcgcFjH87kyvx9KqcIFVmm9Ps9cYt9u0/JjnnahBgd3rJeGQCZMl9HU9dL gDMYFctld7y53jqcFkrAyh5IlEpjDmLA9ofE5IdB6Zh/C7ahiQgosmKhwgMa3T0JeIK1 0Uoql4W6Ic4ufnv1O0Mh92ucgwj7zX5UTay5ViY5p4ZzEn6TANuGu6TD0NNVZ9tsA2vL Hvl8fzMunOTy50CU/RuS5Hm5d8jtNSndZAlBooYBNTV409yq0SywQ8GBQvNw55bJh51J 8+czPfj9ccslKYyVlIOGJymedFlDR90LAT2Rqd/bqAjPZmPoLMkZm4hkhGsMItC0/D1Y MDSQ== X-Gm-Message-State: ABuFfog1T903wEb0w3eHst7/bZYzuNHLzI/vqiHTFcgm3F0Z4wuSe33N eJy4Wre/4mY3/HRaqSl5xlbdGY3bF2pJcwOyOYxWLA== X-Received: by 2002:a5d:484f:: with SMTP id n15-v6mr109106wrs.234.1537815113200; Mon, 24 Sep 2018 11:51:53 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:b485:0:0:0:0:0 with HTTP; Mon, 24 Sep 2018 11:51:52 -0700 (PDT) In-Reply-To: <3AD91E696667BF4BA728303C178E8A63532AB36A@am04wembxb.internal.synopsys.com> References: <1526690943-8211-1-git-send-email-john.stultz@linaro.org> <410670D7E743164D87FA6160E7907A5601313531E1@am04wembxa.internal.synopsys.com> <410670D7E743164D87FA6160E7907A560131356C4E@am04wembxa.internal.synopsys.com> <3AD91E696667BF4BA728303C178E8A63532AAF6D@am04wembxb.internal.synopsys.com> <3AD91E696667BF4BA728303C178E8A63532AB36A@am04wembxb.internal.synopsys.com> From: John Stultz Date: Mon, 24 Sep 2018 11:51:52 -0700 Message-ID: Subject: Re: [PATCH] usb: dwc2: Fix HiKey regression caused by power_down feature To: Artur Petrosyan Cc: Minas Harutyunyan , lkml , John Youn , Felipe Balbi , "linux-usb@vger.kernel.org" , Manivannan Sadhasivam Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 23, 2018 at 10:57 PM, Artur Petrosyan wrote: > Hi John, > > On 9/21/2018 05:05, John Stultz wrote: >> On Thu, Sep 20, 2018 at 7:17 AM, Artur Petrosyan >> wrote: >>> On 5/23/2018 01:57, John Stultz wrote: >>>> Its done automatically, when the OTG cable is detected it the host >>>> ports are disabled and when the OTG port is empty the host ports are >>>> enabled. >>>> >>>> Let me know if you need anything else! >>>> >>> >>> Please apply the patch set with this cover letter "[PATCH 0/3] usb: >>> dwc2: Fix hibernation for switching between host and device modes." >> >> Sorry, can you send the patches to me, or point me to a git tree? I'm >> not seeing that thread in my mailbox or on google. >> >>> Enable the power down on his devices. Let me know if you still see any >>> issue. If there is no issue, please provide Tested-by tag. >> >> Would be happy to test it, thought I'm traveling tomorrow, so I may >> not be able to validate till monday. >> >> thanks >> -john >> > > You can find the patch set following to this link. > > https://marc.info/?l=linux-usb&m=153745139408236&w=2 I applied those three patches, and it seems to work ok. Just to be clear, was there anything else I was needing to do while testing it? Otherwise, Tested-by: John Stultz #On HiKey thanks -john