From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8A6516CD07; Mon, 22 Jul 2024 12:56:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721653007; cv=none; b=etwR7QgQjTtAxQE7To3Q0/x3LlzIoILN/+va8xXghvnzjnOOffo2sUjz4hQhb5qG+Dao4CODm+8/5dOUED7OPwrLOsVYdeZ5deBn1dLJqTBfLKsicSH3ot40U8h4KQJVGTreMp6hac0mf+CtyekQGikyb/Fa0QpniB8a9Z/HsyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721653007; c=relaxed/simple; bh=HfstLFI3f83x/yebpktBh7JO8BugbhGwTNzmrBVimpQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GldRRHSI8ii2hingFpAiHJXixn7Kmg5JRZrM4s+XBTwsMocbwMItGeDT/scmP1pG+6sFZQT6q/AB1+7a9gc+fYgi0dghDl80tyr9OxMwoxu0ylRcCWqLVJSlAIuYAu01uc++FJKEpEE94aTpSJkdHoY3M7JSEciJgSr8wmDiEHA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UlZG2EiL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UlZG2EiL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AD40C116B1; Mon, 22 Jul 2024 12:56:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721653007; bh=HfstLFI3f83x/yebpktBh7JO8BugbhGwTNzmrBVimpQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UlZG2EiL5eTY32qhPvTTFBhIxZBSDAQv/PAgNxqkI0D1o53LJli2h4bpcK8EY1SWA oi0JZ45OX0uIHt8EYXr0WICXlfswAnyiaJTtKyxmHB5dyGANVTFJuaSljayF0Oe0G1 1/mlXcRAjJpk/bTk3w8QJOjeBnsBgW91hw92pQXb6BpE0vi5DslcOTFaZLOSEIyHkX vaMzoy6yQvUg2mReOvGes/DnJ53oR7tnzcYWe9D2Rcrqq0Y3ScEr0FGfPS1ojiIhta 2uGxXeqizaoXvoofkyg3rmkngB4hZthlXg1Xmjn2phMZ8gMvIxT1kmkMK3TSRJYhgU uaq5BkQ+3B0dg== Date: Mon, 22 Jul 2024 08:56:45 -0400 From: Sasha Levin To: Johan Hovold Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Krishna Kurapati , Bjorn Andersson , Thinh Nguyen , Johan Hovold , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: Re: [PATCH AUTOSEL 6.8 15/24] usb: dwc3: core: Access XHCI address space temporarily to read port info Message-ID: References: <20240605115101.2962372-1-sashal@kernel.org> <20240605115101.2962372-15-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: On Wed, Jun 05, 2024 at 01:54:12PM +0200, Johan Hovold wrote: >On Wed, Jun 05, 2024 at 07:50:25AM -0400, Sasha Levin wrote: >> From: Krishna Kurapati >> >> [ Upstream commit 921e109c6200741499ad0136e41cca9d16431c92 ] >> >> All DWC3 Multi Port controllers that exist today only support host mode. >> Temporarily map XHCI address space for host-only controllers and parse >> XHCI Extended Capabilities registers to read number of usb2 ports and >> usb3 ports present on multiport controller. Each USB Port is at least HS >> capable. >> >> The port info for usb2 and usb3 phy are identified as num_usb2_ports >> and num_usb3_ports and these are used as iterators for phy operations >> and for modifying GUSB2PHYCFG/ GUSB3PIPECTL registers accordingly. >> >> Signed-off-by: Krishna Kurapati >> Reviewed-by: Bjorn Andersson >> Acked-by: Thinh Nguyen >> Reviewed-by: Johan Hovold >> Tested-by: Johan Hovold >> Link: https://lore.kernel.org/r/20240420044901.884098-3-quic_kriskura@quicinc.com >> Signed-off-by: Greg Kroah-Hartman >> Signed-off-by: Sasha Levin > >Same here. Not a fix. Please drop. I'll drop the ones you've pointed out, thanks! -- Thanks, Sasha