From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/10] ARM: hotplug cpu: setup 1:1 map for entire kernel image for secondary CPUs
Date: Mon, 4 Oct 2010 19:34:50 +0100 [thread overview]
Message-ID: <20101004183450.GA25241@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <alpine.LFD.2.00.1010041417470.3107@xanadu.home>
On Mon, Oct 04, 2010 at 02:20:47PM -0400, Nicolas Pitre wrote:
> On Mon, 4 Oct 2010, Russell King - ARM Linux wrote:
>
> > +static inline void identity_mapping_add(pgd_t *pgd, unsigned long start,
> > + unsigned long end)
> > +{
> > + unsigned long addr, prot;
> > + pmd_t *pmd;
> > +
> > + prot = PMD_TYPE_SECT | PMD_SECT_AP_WRITE;
> > + if (cpu_architecture() <= CPU_ARCH_ARMv5TEJ && !cpu_is_xscale())
> > + prot |= PMD_BIT4;
>
> Is there any SMP capable implementation where the above test is
> useful?
Probably not, but if someone decides to clean that up (and copy it
into arch/arm/mm/mmu.c for setup_mm_for_reboot()) I'd rather it be
there.
prev parent reply other threads:[~2010-10-04 18:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-04 17:09 [PATCH 02/10] ARM: hotplug cpu: setup 1:1 map for entire kernel image for secondary CPUs Russell King - ARM Linux
2010-10-04 18:20 ` Nicolas Pitre
2010-10-04 18:34 ` Russell King - ARM Linux [this message]
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=20101004183450.GA25241@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).