From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ARMv7 MMU shareability issue
Date: Mon, 14 Dec 2015 12:10:25 +0100 [thread overview]
Message-ID: <201512141210.25450.marex@denx.de> (raw)
In-Reply-To: <20151214074815.GA16903@amd>
On Monday, December 14, 2015 at 08:48:16 AM, Pavel Machek wrote:
> Hi!
>
> > This patch has several effects:
> >
> > - it selects proper ARMv7 translation table level 1 bit definitions;
> > - it provides proper ARMv7 definitions for WT/WB/WA;
> > - it selects proper ARMv7 settings for TTBR0.
> >
> > All these are correct as per the docs I have (although I may have missed
> > something during the readings (and cross-readings with Marek) of these
> > last hours/days.
> >
> > Now, one specific effect goes against performance, and it is the
> > setting of bit S in all TT entries. This bit makes the corresponding
> > region shareable, but for all I know, in U-Boot we don't have more than
> > one core accessing the same memory or registers sets so -- at least for
> > the major part of its execution -- there is no reason for any region to
> > be shareable.
>
> Well, I'm currently working on AMP patch, which will mean two
> processors at the same time in u-boot.
>
> Also... we provide memory modify operations for the user. User may
> be trying to communicate with second core.
You have a special usecase, so you should tweak your U-Boot for that using
some sort of config option.
> > /That/ effect I certainly don't want.
>
> How big is the slowdown from S bit?
30-40% .
Best regards,
Marek Vasut
next prev parent reply other threads:[~2015-12-14 11:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 13:43 [U-Boot] [PATCH] arm: Replace test for CONFIG_ARMV7 with CONFIG_CPU_V7 Marek Vasut
2015-12-09 8:09 ` [U-Boot] ARMv7 MMU shareability issue (was: [PATCH] arm: Replace test for CONFIG_ARMV7 with CONFIG_CPU_V7) Albert ARIBAUD
2015-12-09 13:02 ` [U-Boot] ARMv7 MMU shareability issue Stefan Roese
2015-12-09 14:09 ` Marek Vasut
2015-12-10 2:27 ` Tom Rini
2015-12-10 3:53 ` Marek Vasut
2015-12-14 7:25 ` Albert ARIBAUD
2015-12-14 7:48 ` Pavel Machek
2015-12-14 11:10 ` Marek Vasut [this message]
2015-12-14 11:26 ` Albert ARIBAUD
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=201512141210.25450.marex@denx.de \
--to=marex@denx.de \
--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