From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [ARM] head.S change broke platform device registration?
Date: Tue, 4 Dec 2012 22:18:51 +0000 [thread overview]
Message-ID: <20121204221851.GJ14363@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAHod+GdXfZb1OHapJBYpCD74svYyaGaiZpqHLPtjHbWGa-3eLA@mail.gmail.com>
On Tue, Dec 04, 2012 at 10:48:56PM +0100, Marko Kati? wrote:
> I have included the complete dmesg log of vanilla 3.7.0-rc7 in my
> previous mail.
> Here's a relevant snippet of it:
>
> Linux version 3.7.0-rc7+ (dromede at dromedary) (gcc version 4.7.2 (GCC)
> ) #63 PREEMPT Fri Nov 30 13:49:35 CET 2012
> CPU: XScale-PXA270 [69054117] revision 7 (ARMv5TE), cr=0000397f
> CPU: VIVT data cache, VIVT instruction cache
> Machine: SHARP Akita
> Memory policy: ECC disabled, Data cache writeback
> BUG: mapping for 0x00000000 at 0xff000000 out of vmalloc space
>
> ....
>
> Sharp Scoop Device found at 0x10800000 -> 0xc4846000
>
>
> It does seem that the kernel boots with the correct platform id.
> I doubt that the second scoop device somehow got registered
> and blocked those gpio numbers. It would fail to register, this would
> be visible in dmesg output. Also, the second scoop device starts at
> 0x08800040. So the above registered scoop device is scoop device 1.
Ok, so the correct boot ID throws my theory out, but I don't see
anything else that would claim those GPIOs and prevent the MAX device
registering its GPIOs.
You're going to have to boot -rc7, mount debugfs and read
/sys/kernel/debug/gpio to find out what is claiming those GPIOs that
the MAX device wants to use. There is only _one_ other device for PXA
for Sharp devices which is hard-coded to the same GPIO numbers and that's
the Scoop 2 device - but that's not registered for the !machine_is_akita()
case.
Everything you've reported points to machine_is_akita() being false, which
it won't be given your Machine: line above.
So.. I don't know, and no one can explain the behaviour you're seeing.
next prev parent reply other threads:[~2012-12-04 22:18 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 1:38 [ARM] head.S change broke platform device registration? Marko Katić
2012-11-30 10:28 ` Marc Zyngier
2012-11-30 12:20 ` Marko Katić
2012-11-30 13:45 ` Marc Zyngier
2012-11-30 14:34 ` Russell King - ARM Linux
2012-12-04 21:48 ` Marko Katić
2012-12-04 22:18 ` Russell King - ARM Linux [this message]
2012-12-05 22:18 ` Marko Katić
2012-12-05 23:58 ` Russell King - ARM Linux
2012-12-07 12:28 ` Russell King - ARM Linux
2012-12-07 13:49 ` Dave Martin
2012-12-10 17:23 ` Marko Katić
2012-12-10 17:31 ` Dave Martin
2012-12-10 17:21 ` Marko Katić
2012-12-11 0:25 ` Russell King - ARM Linux
2012-12-12 15:55 ` Richard Purdie
2012-12-12 17:22 ` Marko Katić
2012-12-12 17:59 ` Russell King - ARM Linux
2012-12-12 22:29 ` Richard Purdie
2012-11-30 12:17 ` Dave Martin
2012-11-30 12:28 ` Marko Katić
2012-11-30 12:40 ` Russell King - ARM Linux
2012-11-30 13:07 ` Marko Katić
2012-11-30 13:11 ` Marko Katić
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=20121204221851.GJ14363@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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;
as well as URLs for NNTP newsgroup(s).