From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARMv8: bug fix of mmu setup and code optimization
Date: Fri, 27 Mar 2015 16:42:28 +0100 [thread overview]
Message-ID: <20150327164228.483ae603@lilith> (raw)
In-Reply-To: <1422694937-42639-1-git-send-email-fenghua@phytium.com.cn>
Hello fenghua at phytium.com.cn,
On Sat, 31 Jan 2015 17:02:17 +0800, fenghua at phytium.com.cn
<fenghua@phytium.com.cn> wrote:
> From: David Feng <fenghua@phytium.com.cn>
>
> 1. Fix a bug of mmu_setup that variable i and j should be
> type long instead of int.
> 2. Give mmu_setup weak attribute so that other implementation
> can redfine it.
> 3. A more common set_pgtable_section().
> 4. Give device memory PXN and UXN attribute. CPU may speculatively
> prefetch instructions from device memory, but the IO subsystem of
> some implementation may not support this operation. The two
> attributes prevent this behavior.
>
> Signed-off-by: David Feng <fenghua@phytium.com.cn>
> ---
> arch/arm/cpu/armv8/cache_v8.c | 73 +++++++++++++++++++++++-------------
> arch/arm/cpu/armv8/fsl-lsch3/cpu.c | 22 +++++------
> arch/arm/include/asm/armv8/mmu.h | 71 +++++++++++++++++++----------------
> 3 files changed, 95 insertions(+), 71 deletions(-)
This patch does not apply on current ARM tree; at least part
of it must be rewritten.
Amicalement,
--
Albert.
prev parent reply other threads:[~2015-03-27 15:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-31 9:02 [U-Boot] [PATCH] ARMv8: bug fix of mmu setup and code optimization fenghua at phytium.com.cn
2015-03-27 15:42 ` Albert ARIBAUD [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=20150327164228.483ae603@lilith \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/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