From: Joerg Roedel <joerg.roedel@amd.com>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: LKML <linux-kernel@vger.kernel.org>,
<iommu@lists.linux-foundation.org>,
USB list <linux-usb@vger.kernel.org>
Subject: Re: nommu warning message
Date: Mon, 14 Nov 2011 12:42:13 +0100 [thread overview]
Message-ID: <20111114114213.GC14704@amd.com> (raw)
In-Reply-To: <4EBD65F5.8090808@lwfinger.net>
On Fri, Nov 11, 2011 at 12:14:13PM -0600, Larry Finger wrote:
> For the driver rtl8192cu (a USB wireless device), the current
> version loads the 15KB firmware asynchronously one 32-bit quantity
> at a time. Although inefficient. this method works with USB 1.1 and
> USB 2.0 adapters; however, it fails on at least one USB 3.0 adapter
> with "xhci_hcd 0000:05:00.0: ERROR no room on ep ring" errors.
>
> These errors are believed to arise from small, fixed-size ep rings.
> There is a vendor driver that works with that same hardware. The
> major difference is that it uses synchronous block writes of 254
> bytes. When I tried this with the in-kernel driver, each block write
> yields a warning as shown below:
>
> nommu_map_single: overflow 41000340d020+254 of device mask ffffffff
Strange. This means that your system uses the nommu DMA driver. But for
your hardware the GART or SWIOTLB should be used.
Even more strange is the address used for the device. I don't believe is
is correct, otherwise your Laptop would have a very huge amount of RAM
:)
The I think there are two issues here: Why is your system using nommu
and not GART? Can you check that GART and SWIOTLB are enabled in your
kernel config? Second, why is your system using the wrong address? This
looks like some kind of driver bug to mee.
Joerg
--
AMD Operating System Research Center
Advanced Micro Devices GmbH Einsteinring 24 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Landkr. Muenchen; Registerger. Muenchen, HRB Nr. 43632
next prev parent reply other threads:[~2011-11-14 11:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-11 18:14 nommu warning message Larry Finger
2011-11-14 11:42 ` Joerg Roedel [this message]
2011-11-15 0:03 ` Larry Finger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111114114213.GC14704@amd.com \
--to=joerg.roedel@amd.com \
--cc=Larry.Finger@lwfinger.net \
--cc=iommu@lists.linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox