From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Kettenis Date: Tue, 23 Feb 2021 11:36:28 +0100 (CET) Subject: [EXT] USB3 XHCI crashing with USB 3 hub on Octeon In-Reply-To: <0ea6ed68cb34a5173adcc899c5d6315b05567e30.camel@suse.de> (message from Nicolas Saenz Julienne on Tue, 23 Feb 2021 10:23:04 +0100) References: <2145668.3ZeAukHxDK@flash> <2860584.0vhOF50zNu@flash> <0ea6ed68cb34a5173adcc899c5d6315b05567e30.camel@suse.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Nicolas Saenz Julienne > Date: Tue, 23 Feb 2021 10:23:04 +0100 > > On Tue, 2021-02-23 at 09:15 +0100, Stefan Roese wrote: > > Hi Bin, > > Hi Aaron, > > > > I've added Nicolas to Cc, as he also recently did some work on the > > physical vs virtual addresses in the xHCI driver. > > > > On 23.02.21 09:07, Bin Meng wrote: > > > Hi Aaron, > > > > > > On Tue, Feb 23, 2021 at 3:31 PM Aaron Williams wrote: > > > > > > > > I have a follow-up. USB is working on our OcteonTX boards running 2020.10. It > > > > may be something specific to the Octeon port. Note that I did see a problem > > > > where the scratchpad memory is using direct pointers instead of physical > > > > addresses (which will not work on MIPS). As far as I know, however, the Octeon > > > > XHCI controller does not use the scratchpad memory. > > > > > > > > > > Do you plan to send a patch to convert the scratchpad pointer to > > > physical address? > > > > Nicolas, did your patch also address the scratchpad area (sorry for not > > looking myself). > > Yes, my patch took care of that :). Ah cool. I missed that patch. Looks like this is exactly what I need to cater for the translation done by the IOMMU on the Apple M1. Won't be sending that patch then ;)