All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alan Stern <stern@rowland.harvard.edu>
To: John Donnelly <john.p.donnelly@oracle.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: ehci-pci : WARNING: CPU: 0 PID: 347 at kernel/dma/direct.c:34
Date: Tue, 31 Mar 2020 14:21:11 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44L0.2003311413040.17645-100000@netrider.rowland.org> (raw)
In-Reply-To: <86E5B81F-DD9D-42E8-A687-D4593FA734AE@oracle.com>

On Tue, 31 Mar 2020, John Donnelly wrote:

> Hi ,
> 
>  One more follow up question.
> 
> How does a X86 kernel know where to look for USB buses/control
> registers ?  I am aware PowerPC has a device-tree that is passed by
> reference from UBoot that contains known devices.

Some of the information comes from ACPI tables in the BIOS.  Other
parts of it come from the components on the motherboard (for example,
devices attached to a PCI bus can be discovered directly by the
system).

> For the BCM device :
> 
>    Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
> 
> Is there a corresponding register set I can examine ?

Yes.  For example, you can look at the files under 
/sys/kernel/debug/usb/uhci/.  You can also use lspci and other related 
PCI utilities.

Alan Stern


  reply	other threads:[~2020-03-31 18:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28  4:11 ehci-pci : WARNING: CPU: 0 PID: 347 at kernel/dma/direct.c:34 John Donnelly
2020-03-28  7:08 ` Greg KH
2020-03-28 15:34 ` Alan Stern
2020-03-28 15:37 ` Alan Stern
2020-03-28 18:05   ` John Donnelly
2020-03-30 18:36   ` John Donnelly
2020-03-30 19:41     ` Alan Stern
2020-03-30 20:11       ` John Donnelly
2020-03-31  2:10         ` John Donnelly
2020-03-31 14:17           ` Alan Stern
2020-03-31 16:07             ` John Donnelly
2020-03-31 17:43               ` John Donnelly
2020-03-31 18:21                 ` Alan Stern [this message]
2020-04-07 13:49             ` John Donnelly
2020-04-07 13:53               ` Alan Stern

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=Pine.LNX.4.44L0.2003311413040.17645-100000@netrider.rowland.org \
    --to=stern@rowland.harvard.edu \
    --cc=john.p.donnelly@oracle.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.