From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] [ARM] mm: add memory type for inner-writeback
Date: Tue, 3 Aug 2010 08:41:37 +0100 [thread overview]
Message-ID: <20100803074137.GC11987@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1280803369-13362-4-git-send-email-gking@nvidia.com>
On Mon, Aug 02, 2010 at 07:42:48PM -0700, Gary King wrote:
> This change uses the currently-unused mapping 5 (TEX[0]=1, C=0, B=1)
> in the tex remapping tables as an inner-writeback-write-allocate, outer
> non-cacheable memory type, so that this mapping will be available to
> clients which will benefit from the reduced L2 maintenance.
No. This is not "free for use". Mapping 5 is unused because it's not
architecturally defined - CPU implementations may not implement it.
This is what the ARM ARM says:
For seven of the eight possible combinations of the TEX[0], C and B bits,
a field in the PRRR defines the corresponding memory region as being
Normal, Device or Strongly-ordered memory a field in the NMRR defines
the Inner cache attributes that apply if the PRRR field identifies the
region as Normal memory a second field in the NMRR defines the Outer
cache attributes that apply if the PRRR field identifies the region as
Normal memory.
The meaning of the eighth combination for the TEX[0], C and B bits is
IMPLEMENTATION DEFINED
So we can't be sure that the PRRR and NMRR bits which correspond with
mapping 5 even exist.
next prev parent reply other threads:[~2010-08-03 7:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 2:42 [PATCH 0/4] Add support for page alloc w/ custom cache attributes Gary King
2010-08-03 2:42 ` [PATCH 1/4] [ARM] mmu: add option to map lowmem with page mappings Gary King
2010-08-03 2:42 ` [PATCH 2/4] [ARM] mm: add page allocator for customizing cache attributes Gary King
2010-08-03 2:42 ` [PATCH 3/4] [ARM] mm: add memory type for inner-writeback Gary King
2010-08-03 7:41 ` Russell King - ARM Linux [this message]
2010-08-03 15:24 ` Gary King
2010-08-03 2:42 ` [PATCH 4/4] [ARM] dma-mapping: add support for inner-writeback pages Gary King
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=20100803074137.GC11987@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).