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 1/5] ARM: P2V: separate PHYS_OFFSET from platform definitions
Date: Wed, 5 Jan 2011 00:04:44 +0000	[thread overview]
Message-ID: <20110105000444.GA1085@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20110104212359.GH25121@pengutronix.de>

On Tue, Jan 04, 2011 at 10:23:59PM +0100, Uwe Kleine-K?nig wrote:
> Hello Russell,
> 
> On Tue, Jan 04, 2011 at 08:22:17PM +0000, Russell King - ARM Linux wrote:
> > This uncouple PHYS_OFFSET from the platform definitions, thereby
> > facilitating run-time computation of the physical memory offset.
> > 
> > Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> > ---
> >  arch/arm/include/asm/memory.h                  |    2 ++
> >  arch/arm/kernel/tcm.c                          |    2 +-
> >  arch/arm/mach-aaec2000/include/mach/memory.h   |    2 +-
> >  arch/arm/mach-at91/include/mach/memory.h       |    2 +-
> >  arch/arm/mach-bcmring/include/mach/hardware.h  |    2 +-
> >  arch/arm/mach-bcmring/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-clps711x/include/mach/memory.h   |    2 +-
> >  arch/arm/mach-cns3xxx/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-davinci/include/mach/memory.h    |    4 ++--
> >  arch/arm/mach-dove/include/mach/memory.h       |    2 +-
> >  arch/arm/mach-ebsa110/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-ep93xx/include/mach/memory.h     |   10 +++++-----
> >  arch/arm/mach-footbridge/include/mach/memory.h |    2 +-
> >  arch/arm/mach-h720x/include/mach/memory.h      |    2 +-
> >  arch/arm/mach-integrator/include/mach/memory.h |    2 +-
> >  arch/arm/mach-iop13xx/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-iop32x/include/mach/memory.h     |    2 +-
> >  arch/arm/mach-iop33x/include/mach/memory.h     |    2 +-
> >  arch/arm/mach-ixp2000/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-ixp23xx/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-ixp4xx/include/mach/memory.h     |    2 +-
> >  arch/arm/mach-kirkwood/include/mach/memory.h   |    2 +-
> >  arch/arm/mach-ks8695/include/mach/memory.h     |    2 +-
> >  arch/arm/mach-lh7a40x/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-loki/include/mach/memory.h       |    2 +-
> >  arch/arm/mach-lpc32xx/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-mmp/include/mach/memory.h        |    2 +-
> >  arch/arm/mach-msm/board-msm7x30.c              |    2 +-
> >  arch/arm/mach-msm/include/mach/memory.h        |   10 +++++-----
> >  arch/arm/mach-mv78xx0/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-mx3/mach-kzm_arm11_01.c          |    2 +-
> >  arch/arm/mach-netx/include/mach/memory.h       |    2 +-
> >  arch/arm/mach-nomadik/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-ns9xxx/include/mach/memory.h     |    2 +-
> >  arch/arm/mach-nuc93x/include/mach/memory.h     |    2 +-
> >  arch/arm/mach-orion5x/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-pnx4008/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-pxa/include/mach/memory.h        |    2 +-
> >  arch/arm/mach-realview/include/mach/memory.h   |    4 ++--
> >  arch/arm/mach-rpc/include/mach/memory.h        |    2 +-
> >  arch/arm/mach-s3c2400/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s3c2410/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s3c24a0/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s3c64xx/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s5p6442/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s5p64x0/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s5pc100/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s5pv210/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-s5pv310/include/mach/memory.h    |    2 +-
> >  arch/arm/mach-sa1100/include/mach/memory.h     |    2 +-
> >  arch/arm/mach-shark/include/mach/memory.h      |    2 +-
> >  arch/arm/mach-shmobile/include/mach/memory.h   |    2 +-
> >  arch/arm/mach-tegra/include/mach/memory.h      |    2 +-
> >  arch/arm/mach-u300/include/mach/memory.h       |    6 +++---
> >  arch/arm/mach-u300/u300.c                      |    2 +-
> >  arch/arm/mach-ux500/include/mach/memory.h      |    2 +-
> >  arch/arm/mach-versatile/include/mach/memory.h  |    2 +-
> >  arch/arm/mach-vexpress/include/mach/memory.h   |    2 +-
> >  arch/arm/mach-w90x900/include/mach/memory.h    |    2 +-
> >  arch/arm/plat-omap/include/plat/memory.h       |    4 ++--
> >  arch/arm/plat-spear/include/plat/memory.h      |    2 +-
> >  arch/arm/plat-stmp3xxx/include/mach/memory.h   |    2 +-
> >  arch/arm/plat-tcc/include/mach/memory.h        |    2 +-
> >  63 files changed, 77 insertions(+), 75 deletions(-)
> You didn't touch arch/arm/plat-mxc/include/mach/memory.h which defines
> PHYS_OFFSET, too.  I assume you just missed these?

Grr.

That's because it didn't match the '#define *PHYS_OFFSET' regexp I used
to find all the definitions.  This is exactly why being different from
everyone else is a bad idea - you get missed.

  reply	other threads:[~2011-01-05  0:04 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 20:20 [RFC 0/5] runtime P2V translations Russell King - ARM Linux
2011-01-04 20:22 ` [RFC 1/5] ARM: P2V: separate PHYS_OFFSET from platform definitions Russell King - ARM Linux
2011-01-04 21:10   ` Nicolas Pitre
2011-01-05 22:30     ` Russell King - ARM Linux
2011-01-04 21:23   ` Uwe Kleine-König
2011-01-05  0:04     ` Russell King - ARM Linux [this message]
2011-01-05  6:25       ` Uwe Kleine-König
2011-01-05  3:28   ` viresh kumar
2011-01-05 17:04   ` H Hartley Sweeten
2011-01-06  5:02   ` Magnus Damm
2011-02-07 15:57     ` Tony Lindgren
2011-02-07 16:36   ` Jean-Christophe PLAGNIOL-VILLARD
2011-02-08 11:22   ` Wan ZongShun
2011-02-17  5:33   ` Kukjin Kim
2011-02-17 15:16   ` Eric Miao
2011-02-17 18:07     ` JD (Jiandong) Zheng
2011-01-04 20:22 ` [RFC 2/5] ARM: P2V: avoid initializers and assembly using PHYS_OFFSET Russell King - ARM Linux
2011-01-04 21:12   ` Nicolas Pitre
2011-01-06  8:51   ` Sascha Hauer
2011-01-06  9:08     ` Russell King - ARM Linux
2011-02-07 15:59       ` Tony Lindgren
2011-02-07 16:51   ` Uwe Kleine-König
2011-02-07 16:52     ` Uwe Kleine-König
2011-02-17  5:36   ` Kukjin Kim
2011-02-17 14:11   ` Russell King - ARM Linux
2011-02-17 16:19     ` David Brown
2011-02-17 15:16   ` Eric Miao
2011-01-04 20:22 ` [RFC 3/5] ARM: P2V: make head.S use PLAT_PHYS_OFFSET Russell King - ARM Linux
2011-01-04 21:13   ` Nicolas Pitre
2011-02-07 16:12     ` Tony Lindgren
2011-01-04 20:23 ` [RFC 4/5] ARM: P2V: introduce phys_to_virt/virt_to_phys runtime patching Russell King - ARM Linux
2011-01-04 21:27   ` Nicolas Pitre
2011-01-05  0:08     ` Russell King - ARM Linux
2011-02-07 16:15       ` Tony Lindgren
2011-02-09 12:17   ` Jamie Iles
2011-02-09 13:06     ` Russell King - ARM Linux
2011-01-04 20:23 ` [RFC 5/5] ARM: P2V: extend to 16-bit translation offsets Russell King - ARM Linux
2011-01-04 21:41   ` Nicolas Pitre
2011-01-05  0:15     ` Russell King - ARM Linux
2011-01-04 23:14   ` David Brown
2011-01-04 23:18   ` David Brown
2011-01-05  0:13     ` Russell King - ARM Linux
2011-02-07 16:19       ` Tony Lindgren
2011-02-17 14:15 ` [RFC 0/5] runtime P2V translations Russell King - ARM Linux

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=20110105000444.GA1085@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).