linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: tim@krieglstein.org (Tim Sander)
To: linux-arm-kernel@lists.infradead.org
Subject: set_fiq_handler: Bad mode in data abort handler detected
Date: Thu, 24 Apr 2014 16:33:38 +0200	[thread overview]
Message-ID: <2181550.Duxpmd4GvD@dabox> (raw)
In-Reply-To: <20140424103136.GI26756@n2100.arm.linux.org.uk>

Hi Russell and List
<snip>
> In years gone by, I'd have recommended that the kernel mappings for
> this stuff were done via static mappings, but with DT, that's no
> longer acceptable.  So I guess we have a problem...
To verify that your very plausible hypothesis is right i tried:
timer_memory = __arm_ioremap(0x4280000>>PAGE_SHIFT,0x1000,MT_MEMORY); //also tried MT_DEVICE

the memory at early boot in "zynq_init_late". But this fails and gives 
the following error:

WARNING: CPU: 0 PID: 1 at arch/arm/mm/ioremap.c:301 __arm_ioremap_pfn_caller+0x100/0x184()
which seems to be the only WARN_ON which shows that the pfn is invalid.

Any hints why this call to __arm_ioremap fails?

Also i tried to map with ioremap_nocache during module load but i 
guess this information also gets propagated lazy so it also didn't
work.

Best regards
Tim

  parent reply	other threads:[~2014-04-24 14:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2527501.cXAbiV8bqS@dabox>
2014-04-24 10:31 ` set_fiq_handler: Bad mode in data abort handler detected Russell King - ARM Linux
2014-04-24 11:57   ` Tim Sander
2014-04-24 14:33   ` Tim Sander [this message]
2014-04-24 19:01     ` Russell King - ARM Linux
2014-04-25 13:36       ` Tim Sander
2014-04-25 13:51         ` Russell King - ARM Linux
2014-05-12  7:02           ` set_fiq_handler: Bad mode in data abort handler detected (mmu translation fault) Tim Sander
2014-05-12 19:06             ` Nicolas Pitre

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=2181550.Duxpmd4GvD@dabox \
    --to=tim@krieglstein.org \
    --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).