From: slash.tmp@free.fr (Mason)
To: linux-arm-kernel@lists.infradead.org
Subject: Panic in quirk_usb_early_handoff
Date: Fri, 3 Mar 2017 23:09:22 +0100 [thread overview]
Message-ID: <45563021-b979-e35f-d039-f2a4cead124d@free.fr> (raw)
In-Reply-To: <38b8c9be-724b-0cfc-a941-76f2c62e1c58@arm.com>
On 03/03/2017 20:02, Robin Murphy wrote:
> On 03/03/17 17:15, Mason wrote:
>
>> [ 1.264893] Unable to handle kernel paging request at virtual address d08664f4
>
> Note that that's a reasonable approximation of a vmalloc address...
>
> ...and that specifically it's r0 + r3...
>
> ...and again. And always at the same PC, too. Looking at
> quirk_usb_early_handoff(), it mostly seems to go off poking bridge
> resources, so I'd hazard a guess that it's down to your host driver,
> with something uninitialised (or already freed) being used as an offset
> into some ioremapped resource (which given the consistency of r0 is
> probably allocated pretty early on).
When you say "host driver", do you mean the USB driver,
or the PCIe controller driver?
I am currently writing the PCIe controller driver, so I do
expect a large number of bugs there; but the USB driver is
just the generic XHCI driver. Although I now realize that
I wrote no DT node for the USB HW... Would that explain
the random weirdness?
> "addr2line -i -e vmlinux c039fe44", and work backwards from there ;) In
> particular I'd follow the provenance of r3.
I'll definitely take a closer look. Thanks for the disassembly.
Regards.
next prev parent reply other threads:[~2017-03-03 22:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 16:18 Panic in quirk_usb_early_handoff Mason
2017-03-03 17:10 ` Mason
2017-03-03 17:15 ` Mason
2017-03-03 19:02 ` Robin Murphy
2017-03-03 22:09 ` Mason [this message]
2017-03-04 0:24 ` Mason
2017-03-04 8:07 ` Ard Biesheuvel
2017-03-04 15:51 ` Alan Stern
2017-03-04 16:57 ` Mason
2017-03-04 17:16 ` Ard Biesheuvel
2017-03-04 17:29 ` Mason
2017-03-04 18:27 ` Ard Biesheuvel
2017-03-06 12:42 ` Mason
2017-03-06 13:49 ` Mason
2017-03-06 15:27 ` David Laight
2017-03-06 15:45 ` Mason
2017-03-06 15:58 ` David Laight
2017-03-06 14:30 ` Robin Murphy
2017-03-06 14:56 ` Mason
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=45563021-b979-e35f-d039-f2a4cead124d@free.fr \
--to=slash.tmp@free.fr \
--cc=linux-arm-kernel@lists.infradead.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