From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARMv7: Flush the vectors page using the base address
Date: Tue, 15 Mar 2011 18:45:20 +0000 [thread overview]
Message-ID: <20110315184519.GA3620@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20110315181314.26384.97754.stgit@e102109-lin.cambridge.arm.com>
On Tue, Mar 15, 2011 at 06:13:15PM +0000, Catalin Marinas wrote:
> With the domains removal patch, the vectors page is populated using the
> kernel linear mapping address. However, the flush_icache_range()
> function must be called on the high vectors address because the I-cache
> is allowed to have aliases (or can even be ASID-tagged VIVT).
This is exactly one of the issues I raised when we went down this hacky
path of always doing this crap.
What you're now doing is missing the D-cache flush in the case of an
aliasing D-cache. It's no better than it was before.
next prev parent reply other threads:[~2011-03-15 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-15 18:13 [PATCH] ARMv7: Flush the vectors page using the base address Catalin Marinas
2011-03-15 18:45 ` Russell King - ARM Linux [this message]
2011-03-15 22:42 ` Catalin Marinas
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=20110315184519.GA3620@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).