All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3 v3] ARM Realview PCIX map include file changes
Date: Fri, 7 Oct 2011 14:26:33 +0200	[thread overview]
Message-ID: <201110071426.34833.arnd@arndb.de> (raw)
In-Reply-To: <CAHkRjk5MQUWiF3jmZJ_SBHdtmunoajR4eHftwdnFCKjeDxQDKA@mail.gmail.com>

On Friday 07 October 2011, Catalin Marinas wrote:
> > However, after changing both __io() and pcibios_min_io as Arnd suggested the boot still hangs after " Uncompressing Linux... done, booting the kernel."
> 
> I haven't followed the patch series in detail but the __io() is also
> used by __io_address() in the RealView code and the former is just
> expected to do some type casting. By doing some arithmetic on the
> pointer, the static mappings for various peripherals (GIC etc.) are
> wrong.
> 
> So if you convert __io() as per Arnd's suggestion, make sure that
> __io_address() is redefined, something like below:
> 
> #define __io_address(n)         __typesafe_io(IO_ADDRESS(n))

Ah, right. That definitely explains why it would not boot.
 
> Alternatively we could leave __io() as in the original kernel and
> define RealView specific in*/out* macros.

I wouldn't recommend that, since that would just have to be reverted
as we get closer to having a single zimage across platforms.
Your suggested fix above should be enough.

	Arnd

  reply	other threads:[~2011-10-07 12:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 13:09 [PATCH 0/3 v3] ARM Realview PCIX preparation Colin Tuckley
2011-08-22 13:09 ` [PATCH 1/3 v3] ARM Realview PCIX map include file changes Colin Tuckley
2011-09-05 14:35   ` Arnd Bergmann
2011-09-05 15:06     ` Arnd Bergmann
2011-09-08  9:09     ` Russell King - ARM Linux
2011-09-08 10:06       ` Colin Tuckley
2011-10-06 14:00     ` Colin Tuckley
2011-10-06 14:23       ` Russell King - ARM Linux
2011-10-06 14:50         ` Colin Tuckley
2011-10-06 15:57           ` Arnd Bergmann
2011-10-07 11:25           ` Catalin Marinas
2011-10-07 12:26             ` Arnd Bergmann [this message]
2011-08-22 13:10 ` [PATCH 2/3 v3] ARM Realview PCIX IRQ " Colin Tuckley
2011-08-22 13:10 ` [PATCH 3/3 v3] RM Realview PCIX board " Colin Tuckley

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=201110071426.34833.arnd@arndb.de \
    --to=arnd@arndb.de \
    --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 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.