Re: [PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-26 Thread Chunfeng Yun
On Tue, 2021-01-26 at 16:27 +0200, Mathias Nyman wrote: > On 26.1.2021 16.13, Greg Kroah-Hartman wrote: > > On Wed, Jan 13, 2021 at 06:05:11PM +0800, Ikjoon Jang wrote: > >> xhci-mtk needs XHCI_MTK_HOST quirk functions in add_endpoint() and > >> drop_endpoint() to handle its own sw bandwidth

Re: [PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-26 Thread Chunfeng Yun
On Tue, 2021-01-26 at 15:12 +0100, Greg Kroah-Hartman wrote: > On Tue, Jan 26, 2021 at 02:02:00PM +0800, Chunfeng Yun wrote: > > Hi Ikjoon, > > > > Can I put this patch into my patch series about bandwidth scheduler? > > the series also include "[RFC PATCH v3 1/5] usb: xhci-mtk: improve > >

Re: [PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-26 Thread Chunfeng Yun
Hi Ikjoon, Can I put this patch into my patch series about bandwidth scheduler? the series also include "[RFC PATCH v3 1/5] usb: xhci-mtk: improve bandwidth scheduling with multi-TT", put them together will help to fix dependence issue, meanwhile I try to build xhci-mtk-sch.c into xhci-mtk.ko

Re: [PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-26 Thread Mathias Nyman
On 26.1.2021 16.13, Greg Kroah-Hartman wrote: > On Wed, Jan 13, 2021 at 06:05:11PM +0800, Ikjoon Jang wrote: >> xhci-mtk needs XHCI_MTK_HOST quirk functions in add_endpoint() and >> drop_endpoint() to handle its own sw bandwidth management. >> >> It stores bandwidth data into an internal table

Re: [PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-26 Thread Greg Kroah-Hartman
On Wed, Jan 13, 2021 at 06:05:11PM +0800, Ikjoon Jang wrote: > xhci-mtk needs XHCI_MTK_HOST quirk functions in add_endpoint() and > drop_endpoint() to handle its own sw bandwidth management. > > It stores bandwidth data into an internal table every time > add_endpoint() is called, and drops those

Re: [PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-26 Thread Greg Kroah-Hartman
On Tue, Jan 26, 2021 at 02:02:00PM +0800, Chunfeng Yun wrote: > Hi Ikjoon, > > Can I put this patch into my patch series about bandwidth scheduler? > the series also include "[RFC PATCH v3 1/5] usb: xhci-mtk: improve > bandwidth scheduling with multi-TT", put them together will help to fix >

[PATCH v6] usb: xhci-mtk: fix unreleased bandwidth data

2021-01-13 Thread Ikjoon Jang
xhci-mtk needs XHCI_MTK_HOST quirk functions in add_endpoint() and drop_endpoint() to handle its own sw bandwidth management. It stores bandwidth data into an internal table every time add_endpoint() is called, and drops those in drop_endpoint(). But when bandwidth allocation fails at one