From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91A83C4361B for ; Fri, 11 Dec 2020 01:55:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A63D23D5A for ; Fri, 11 Dec 2020 01:55:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A63D23D5A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Date:To:From: Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gFPYrE9PcBPinP6i2B8FVAVnmAgOvV5QuAs8X9o8rPg=; b=VAIQ98SOI7lxn+J7kdmVHKHsW 5+sqXidADTBaEWEdTutDs/dc/Cw1G9m7QVQ2DfKDP4gxlMqddqwMlnjVHQwwqIMB/yIrwucm6/7BP lB3kT5DCMu/EyRr/CdTSDtD27n1IyMqO3YytAZsmEsNwgdHxV4CyxxexfSqhjP2IMwueYDUqe86d5 MX19DNk72P4nH1E3j0DqtqjQ4DkPG2DqsO8wlN5NECzruD2AGgqDVls+awWArulOEhDObiU4UhA9p VVFxTfof1Uq9Qa0r5KvJ+b0m2p53mxAS1525m1wac13v+C/bxyugnotbM2O3d6KKjcB3RlsE8G57k Th+Gan2fg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1knXd4-0003Lf-7p; Fri, 11 Dec 2020 01:53:54 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1knXd1-0003L2-6u; Fri, 11 Dec 2020 01:53:53 +0000 X-UUID: a2848c089b454281ac4f915fe8b32435-20201210 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=qiCfZEZ3utNxxmHWGfGh34+yKs77RY7j+UgNQieD2iM=; b=UCv3WRaMJotfggjQOcCIiFYQCtZqZpadui5jx6xskQIY6VBcqnoToHJmEjQg2J6Ufb0D/IOsivyfTkisFa+/523HRqrkFOzx1IQsWA7XrZ91OnWh8lxvSaeEOUBi7MbWhuyn29h7Mz/1g+9WI2hPBOer1ww/seiUC85nomdwWy0=; X-UUID: a2848c089b454281ac4f915fe8b32435-20201210 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1152687346; Thu, 10 Dec 2020 17:53:42 -0800 Received: from MTKMBS31N1.mediatek.inc (172.27.4.69) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 10 Dec 2020 17:53:07 -0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 11 Dec 2020 09:53:03 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 11 Dec 2020 09:53:03 +0800 Message-ID: <1607651584.23328.20.camel@mhfsdcap03> Subject: Re: [PATCH v2 0/3] Release allocated periodic bandwidth data from reset_bandwidth() From: Chunfeng Yun To: Ikjoon Jang Date: Fri, 11 Dec 2020 09:53:04 +0800 In-Reply-To: <20201210104747.3416781-1-ikjn@chromium.org> References: <20201210104747.3416781-1-ikjn@chromium.org> X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: BAE8BD74BBC1CF0448432855EAE02B439FBC9EF825838CBF95CE85B076B729932000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201210_205352_268842_0EE1F618 X-CRM114-Status: GOOD ( 13.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhanyong Wang , Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Tianping Fang , linux-mediatek@lists.infradead.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 2020-12-10 at 18:47 +0800, Ikjoon Jang wrote: > xhci-mtk releases allocated TT bandwidth data only when whole > endpoints of a device are dropped as there're only {add|drop}_endpoint() > hooks are defined. This patchset adds more hooks and releases all > bandwidth data from reset_bandwidth() path, not drop_endpoint(). > > > Changes in v2: > - fix a 0-day warning from unused variable > - split one big patch into three patches > - bugfix in hw flags > > Ikjoon Jang (3): > usb: xhci-mtk: code cleanups in getting bandwidth table > usb: xhci-mtk: delay association of tt and ep > usb: xhci-mtk: fix unreleased bandwidth data > > drivers/usb/host/xhci-mtk-sch.c | 180 ++++++++++++++++++++------------ > drivers/usb/host/xhci-mtk.h | 13 +++ > drivers/usb/host/xhci.c | 9 ++ > 3 files changed, 133 insertions(+), 69 deletions(-) Thanks for your patch, I'll test it and check it with our DE > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel