Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9586960pxu; Mon, 28 Dec 2020 22:29:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGym9HgkKizXvp+GNWPeBcZkGvCh4u4wbJ7Ik2sAfXcGXJSVhadfmV7h1gDI5OTLcNwDR+ X-Received: by 2002:a05:6402:1714:: with SMTP id y20mr44469183edu.2.1609223340487; Mon, 28 Dec 2020 22:29:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609223340; cv=none; d=google.com; s=arc-20160816; b=YsA1BJtX5vlf0tUNlP80ivMhyDo8gG/9S9q9Q6UUtUdsgQX2Ay5Yk4Njc/Nl+AHdEp qstOCOWQlOxfPViTv0j8vbky0VbaeyjVeZ6btXX2GP2xG1anq46OZqj0jbVXPzB7qpvx JbmEXD2uxlur6bRDXAgT51gU5xVWt0+VJnToLVz4I70+aCLh43p9BihthldiBcDbBKJA uFdP9k5At3QcZ89kZMs/sZQv4mAkKM39S/yf4zmDGmQr+7AYSKV66F2yc8LgMwOYGsOU eI9uuDcIj1AKSE399nPRFVibcmOoUQN1MVkL0ztUV1WlsMHyy5WuNGjiGrx5EAaofXHU qpfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=GgdE70V3wvBcQA9RrpEicG3Yu8LjbkyE0wwy+vna/fc=; b=ujBsRZzbbP18Sm7qPg5TvQDIES3Q9YPpbZvql68YZtQpjC9oG0hzyzj0bQJ+8EOXfh d6AIBDMjEhJT7qpPp6hL3eakZ9UEpWgIi3ny2poWKAAOwoD1ZGZa4GyiwKXa6h9pSYXT x5c48LBYXCRlQSny09hc4Q5jaKDPiUQokup/lS4KvWWmbSNcP24EYUyf4Nxf40tJdnBF LHDVWyPY3ZSKvVuucn0Q43dZvThjA4XvlhwqEBO+mTYggIB2/xkEbSWSoXWuSpNLhgBl abHi1BzVc1nlDySNo6nsIti4UyniYnqxS1X2W4ZQJEOFyJq56zWjT5GxvA0Q4Bt4eEaa nNZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Hy1pUncb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si21150667edq.66.2020.12.28.22.28.38; Mon, 28 Dec 2020 22:29:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Hy1pUncb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgL2G2C (ORCPT + 99 others); Tue, 29 Dec 2020 01:28:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726244AbgL2G2B (ORCPT ); Tue, 29 Dec 2020 01:28:01 -0500 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 991D8C0613D6 for ; Mon, 28 Dec 2020 22:27:21 -0800 (PST) Received: by mail-pj1-x102b.google.com with SMTP id l23so1014141pjg.1 for ; Mon, 28 Dec 2020 22:27:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GgdE70V3wvBcQA9RrpEicG3Yu8LjbkyE0wwy+vna/fc=; b=Hy1pUncbifpEXVsZ1rsp7zn/GHtS/pfJxMXLP7gCdNqoS60q+g86Q+kirTATC7Hpu5 74SRiPMwZYMyG2XLA7t6/dFFbP6mJslDrTM3Sl29r8GPdFbYyAQT4nvNid7acab/2/oc /OaeMPAHeYduzH616k6Piw74wCmANekupEIY8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GgdE70V3wvBcQA9RrpEicG3Yu8LjbkyE0wwy+vna/fc=; b=q5Y6h9TMyCRaxGFsfoxivFNaPG7O7xSKaFAShJXjqGYt0fPHMRseKbBGuSG6c4YChX ighzTx+anASh8EpixD9b1or2CQuZm88m2vtmh8rTm9Ot8EEWi1Ykdf5iw6kNz0SzVLk4 hRW+8ISTArGbmjDUKP1sDDDHim/DH/opqRk/mkUQ5tCBdnIDGLBZmlPnDAUkzABxzWG4 b99hQqVCyojWR67hF6IR8E9jxLQU13rVODjolmCSFzm5qVgxsc0hI4g+yu/nHTK4tay8 Y2vHRnapLZPOOmUCgpgTusUteXzXHZ58pckTQctek3X4OmR60BUxGfW9z++Hht889ar/ gYvQ== X-Gm-Message-State: AOAM531RxwAL4sn0KD9Jichw5eV+45i+vmmyaygqzC0TwEgyycKN/kGP GF1JxmH7jwWRXgdLnV3uE/yiMh428ujvEd37xpeSnA== X-Received: by 2002:a17:90b:1c10:: with SMTP id oc16mr2628210pjb.144.1609223241122; Mon, 28 Dec 2020 22:27:21 -0800 (PST) MIME-Version: 1.0 References: <20201214131640.v3.1.Id0d31b5f3ddf5e734d2ab11161ac5821921b1e1e@changeid> <20201214163945.v4.1.Id0d31b5f3ddf5e734d2ab11161ac5821921b1e1e@changeid> In-Reply-To: From: Ikjoon Jang Date: Tue, 29 Dec 2020 14:27:10 +0800 Message-ID: Subject: Re: [PATCH v4] usb: xhci-mtk: fix unreleased bandwidth data To: Greg Kroah-Hartman Cc: "moderated list:ARM/Mediatek SoC support" , linux-usb@vger.kernel.org, Chunfeng Yun , Zhanyong Wang , Tianping Fang , Mathias Nyman , Matthias Brugger , "moderated list:ARM/Mediatek SoC support" , open list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 28, 2020 at 10:34 PM Greg Kroah-Hartman wrote: > > On Mon, Dec 14, 2020 at 04:39:53PM +0800, Ikjoon Jang wrote: > > xhci-mtk has hooks on add_endpoint() and drop_endpoint() from xhci > > to handle its own sw bandwidth managements and stores bandwidth data > > into internal table every time add_endpoint() is called, > > so when bandwidth allocation fails at one endpoint, all earlier > > allocation from the same interface could still remain at the table. > > > > This patch adds two more hooks from check_bandwidth() and > > reset_bandwidth(), and make mtk-xhci to releases all failed endpoints > > from reset_bandwidth(). > > > > Fixes: 4b0f7a77fb3c ("usb: xhci-mtk: supports bandwidth scheduling with multi-TT") > > This is not a git commit id that is in Linus's tree :( > Oops, I apologize, I sent a new v5 patch with Fixes: 08e469de87a2 ("usb: xhci-mtk: supports bandwidth scheduling with multi-TT")