linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC,PATCH 3/3] arm: remove machine_desc.io_pg_offst and .phys_io
Date: Wed, 21 Jul 2010 09:50:24 +0100	[thread overview]
Message-ID: <20100721085024.GD6009@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1279629158.27276.29.camel@pororo.lan>

On Tue, Jul 20, 2010 at 02:32:38PM +0200, Jeremy Kerr wrote:
> Hi all,
> 
> > OK, so I should request Stephen to add this branch to linux-next,
> > including the fixups?
> > 
> 
> Hm, before I do that I should probably work out what to do in the
> CONFIG_DEBUG_ICEDCC case. How about returning 0x0 as the phys address in
> this case (ie, addruart -> mov \rp, #0), and skip setting up the mapping
> if addruart gives this zero address?

It's extremely unlikely to have a UART at address 0 (because that's by
default where the CPU jumps to on reset.)  That's not to say it could
never happen - it's possible to hard-wire the CPU into 'hivec' mode
where it'll instead jump to 0xffff0000.  In that case, if you're sane
you'd put your SDRAM at 0x00000000.

  reply	other threads:[~2010-07-21  8:50 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-14  2:09 [RFC,PATCH 0/3] Allow late mdesc detection, v2 Jeremy Kerr
2010-07-14  2:09 ` [RFC,PATCH 2/3] arm: use addruart macro to establish debug mappings Jeremy Kerr
2010-07-14  3:58   ` [RFC, PATCH " Nicolas Pitre
2010-07-14  9:42     ` [RFC,PATCH " Jeremy Kerr
2010-07-14 12:38       ` [RFC, PATCH " Nicolas Pitre
2010-07-14  2:09 ` [RFC,PATCH 3/3] arm: remove machine_desc.io_pg_offst and .phys_io Jeremy Kerr
2010-07-20  9:14   ` [RFC, PATCH " Eric Miao
2010-07-20  9:22     ` Fwd: [RFC,PATCH " Eric Miao
2010-07-20 10:04     ` Russell King - ARM Linux
2010-07-20 10:21       ` Jeremy Kerr
2010-07-20 12:32         ` Jeremy Kerr
2010-07-21  8:50           ` Russell King - ARM Linux [this message]
2010-07-21  9:09             ` Jeremy Kerr
2010-07-22  9:46               ` Russell King - ARM Linux
2010-07-22 10:06                 ` Jeremy Kerr
2010-07-22 10:21                   ` Russell King - ARM Linux
2010-07-22 14:01                     ` Jeremy Kerr
2010-07-22 10:35                   ` Russell King - ARM Linux
2010-07-21 10:28             ` [RFC, PATCH " Nicolas Pitre
2010-07-22 11:42   ` [RFC,PATCH " Russell King - ARM Linux
2010-07-14  2:09 ` [RFC, PATCH 1/3] arm: return both physical and virtual addresses from addruart Jeremy Kerr
2010-07-15  2:48 ` [RFC,PATCH 0/3] Allow late mdesc detection, v2 Jeremy Kerr
2010-07-15  3:06   ` Eric Miao

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=20100721085024.GD6009@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).