Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1306234

Re: [RESEND PATCH v2] usb: xhci-mtk: fix AHB bus hang up caused by roothubs polling

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Mathias Nyman <mathias.nyman@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH v2] usb: xhci-mtk: fix AHB bus hang up caused by roothubs polling
Date Mon, 11 Jan 2016 15:00:03 +0100
Message-ID <qPLaP-38k-27@gated-at.bofh.it> (permalink)
References <qOu2n-7SE-17@gated-at.bofh.it>
X-Original-To Chunfeng Yun <chunfeng.yun@mediatek.com>, Mathias Nyman <mathias.nyman@intel.com>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.20,553,1444719600"; d="scan'208";a="890813430"
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 21
Organization linux.* mail to news gateway
X-Original-Cc Matthias Brugger <matthias.bgg@gmail.com>, Felipe Balbi <balbi@ti.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-mediatek@lists.infradead.org, Daniel Kurtz <djkurtz@chromium.org>, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>
X-Original-Date Mon, 11 Jan 2016 16:01:44 +0200
X-Original-Message-ID <5693B5C8.6090201@linux.intel.com>
X-Original-References <1452216517-3765-1-git-send-email-chunfeng.yun@mediatek.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1306234

Show key headers only | View raw


On 08.01.2016 03:28, Chunfeng Yun wrote:
> when ip fails to enter sleep mode, register access protection will
> be disabled, at the same time if all clocks are disabled, access
> register will hang up AHB bus.
> the common case causes ip sleep failure is that after all ports
> enter U3 but before ip enters sleep mode, a port receives a resume
> signal('K'). this will happens when such as clicks mouse to try to
> do remote-wakeup to stop system enter suspend.
> so stop polling root hubs to avoid access xHCI register on bus
> suspend, and restart it when bus resumes.
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
> ---
>   drivers/usb/host/xhci-mtk.c | 23 +++++++++++++++++++++++

The xhci Mediatek (xhci-mtk etc) support is in usb-next and should be available first time
in 4.5-rc1 kernel.

I'll forward fixes for it once 4.5-rc1 is out, they should end up in final 4.5

-Mathias

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND PATCH v2] usb: xhci-mtk: fix AHB bus hang up caused by roothubs polling Chunfeng Yun <chunfeng.yun@mediatek.com> - 2016-01-08 02:30 +0100
  Re: [RESEND PATCH v2] usb: xhci-mtk: fix AHB bus hang up caused by  roothubs polling Mathias Nyman <mathias.nyman@linux.intel.com> - 2016-01-11 15:00 +0100
    Re: [RESEND PATCH v2] usb: xhci-mtk: fix AHB bus hang up caused by  roothubs polling chunfeng yun <chunfeng.yun@mediatek.com> - 2016-01-12 02:50 +0100

csiph-web