linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ppc32: panic in map_page() via mpic_alloc()
@ 2012-04-24 15:13 Morton, Jonathan
  0 siblings, 0 replies; only message in thread
From: Morton, Jonathan @ 2012-04-24 15:13 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1763 bytes --]

We're trying to bring Linux up on a custom board based on the P2020 SoC.  We've got U-Boot and a devicetree put together, but the kernel is panicing in map_page() due to apparently finding duplicate ioremaps.  This happens quite early - the MPIC seems to be the first real device to be initialised.

I added a printk in map_page() to figure out what is going on, and there don't actually seem to be any genuine duplicates.  The last three calls are setting up the MPIC GREG, CPU and IRQ areas - the IRQ one triggers the panic.  This is presumably well-tested code given the variety of PowerPC platforms supported, so the failure is surprising.

I have already added some code to MPIC to avoid the same panic while setting up the TIMER area, which is within the mapping set up for the GREG area.  This failure is probably related to the same problem.

I've attached gzipped kernel log (extracted from RAM buffer with a BDI debugger), config and devicetree.

Any insight into what is going on, and how to make it work as designed, would be appreciated.

 - Jonathan Morton


============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================

[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 3641 bytes --]

[-- Attachment #3: klog.txt.gz --]
[-- Type: application/x-gzip, Size: 2348 bytes --]

[-- Attachment #4: p2020.dts.gz --]
[-- Type: application/x-gzip, Size: 1762 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-24 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24 15:13 ppc32: panic in map_page() via mpic_alloc() Morton, Jonathan

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).