public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/8] arm: mvebu: don't hardcode a physical address in headsmp.S
Date: Wed, 5 Jun 2013 23:33:21 +0200	[thread overview]
Message-ID: <20130605233321.5936fcca@skate> (raw)
In-Reply-To: <alpine.LFD.2.03.1306051637020.18597@syhkavp.arg>

Dear Nicolas Pitre,

On Wed, 05 Jun 2013 16:42:20 -0400 (EDT), Nicolas Pitre wrote:

> You may simplify the above like this:
> 
> 	adr	r0, 1f
> 	ldr	r1, [r0]
> 	ldr	r0, [r0, r1]
> 	...,
> 1:	.long	coherency_phys_base - .

Ok, thanks, will try this. Note that the piece of code I've used was
shamelessly copied from other headsmp.S implementations, such as
plat-versatile, mach-ux500, mach-prima2 and mach-msm.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-06-05 21:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05  7:04 [PATCH 0/8] Support Marvell bootloaders remapping registers at different locations Thomas Petazzoni
2013-06-05  7:04 ` [PATCH 1/8] arm: mvebu: remove dependency of SMP init on static I/O mapping Thomas Petazzoni
2013-06-05  7:04 ` [PATCH 2/8] arm: mvebu: avoid hardcoded virtual address in coherency code Thomas Petazzoni
2013-06-05  7:04 ` [PATCH 3/8] arm: mvebu: move cache and mvebu-mbus initialization later Thomas Petazzoni
2013-06-05  7:04 ` [PATCH 4/8] arm: mvebu: remove hardcoded static I/O mapping Thomas Petazzoni
2013-06-05  7:04 ` [PATCH 5/8] arm: mvebu: don't hardcode a physical address in headsmp.S Thomas Petazzoni
2013-06-05 20:42   ` Nicolas Pitre
2013-06-05 21:33     ` Thomas Petazzoni [this message]
2013-06-06  9:13   ` Will Deacon
2013-06-06 10:27     ` Thomas Petazzoni
2013-06-06 10:24   ` [PATCH v2] " Thomas Petazzoni
2013-06-06 12:45     ` Will Deacon
2013-06-06 16:49     ` Nicolas Pitre
2013-06-06 17:59     ` Jason Cooper
2013-06-05  7:04 ` [PATCH 6/8] arm: mvebu: don't hardcode the physical address for mvebu-mbus Thomas Petazzoni
2013-06-05  7:05 ` [PATCH 7/8] arm: mvebu: add another earlyprintk Kconfig option Thomas Petazzoni
2013-06-05 13:45   ` Jason Cooper
2013-06-05 13:47     ` Thomas Petazzoni
2013-06-05 14:07       ` Jason Cooper
2013-06-05  7:05 ` [PATCH 8/8] arm: mvebu: disable DEBUG_LL/EARLY_PRINTK in defconfig Thomas Petazzoni
2013-06-05  8:34 ` [PATCH 0/8] Support Marvell bootloaders remapping registers at different locations Arnd Bergmann
2013-06-05 21:01 ` Jason Cooper
2013-06-06 18:02   ` Jason Cooper
2013-06-07  7:45     ` Thomas Petazzoni

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=20130605233321.5936fcca@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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