Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626AbdCHLG6 (ORCPT ); Wed, 8 Mar 2017 06:06:58 -0500 Received: from mga14.intel.com ([192.55.52.115]:46935 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752410AbdCHLGz (ORCPT ); Wed, 8 Mar 2017 06:06:55 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,262,1486454400"; d="scan'208";a="941958592" Subject: Re: [PATCH 1/2] usb: xhci-mtk: check hcc_params after adding primary hcd To: Chunfeng Yun References: <1488857543-9384-1-git-send-email-chunfeng.yun@mediatek.com> <58BECD83.9000205@linux.intel.com> <1488934285.14325.8.camel@mhfsdcap03> Cc: Mathias Nyman , Matthias Brugger , Felipe Balbi , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-mediatek@lists.infradead.org, Greg Kroah-Hartman , Thierry Reding From: Mathias Nyman Message-ID: <58BFE626.6030107@linux.intel.com> Date: Wed, 8 Mar 2017 13:08:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: <1488934285.14325.8.camel@mhfsdcap03> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 22 On 08.03.2017 02:51, Chunfeng Yun wrote: > On Tue, 2017-03-07 at 17:10 +0200, Mathias Nyman wrote: >> On 07.03.2017 05:32, Chunfeng Yun wrote: >>> hcc_params is set in xhci_gen_setup() called from usb_add_hcd(), >>> so checks the Maximum Primary Stream Array Size in the hcc_params >>> register after adding primary hcd. >>> >>> Signed-off-by: Chunfeng Yun >> >> Thanks. >> Looks like streams check has never worked for Mediatek xHC hosts, >> >> Do you know if this has caused any issues? >> looks like it should go usb-linus and maybe stable kernels as well. > No issues on mt8173, because it doesn't support bulk stream. But it > causes a issue on the newest SoC which is not upstreamed, so I think it > needn't go stable kernels. > Ok, thanks, skipping stable -Mathias