From: dirk.behme@gmail.com (Dirk Behme)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: add DSB after icache flush in __flush_icache_all()
Date: Sun, 09 Feb 2014 07:09:49 +0100 [thread overview]
Message-ID: <52F71BAD.80607@gmail.com> (raw)
In-Reply-To: <1391592782-18576-1-git-send-email-vkale@apm.com>
Am 05.02.2014 10:33, schrieb Vinayak Kale:
> Add DSB after icache flush to complete the cache maintenance operation.
>
> Signed-off-by: Vinayak Kale <vkale@apm.com>
Should this go to -stable, too?
I haven't looked into the details, but at least it seems to apply
cleanly on a 3.8 kernel.
Best regards
Dirk
> ---
>
> PS:
> - This patch is tested for ARM-v7.
>
> arch/arm/include/asm/cacheflush.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
> index ee753f1..ab91ebb 100644
> --- a/arch/arm/include/asm/cacheflush.h
> +++ b/arch/arm/include/asm/cacheflush.h
> @@ -212,6 +212,7 @@ extern void copy_to_user_page(struct vm_area_struct *, struct page *,
> static inline void __flush_icache_all(void)
> {
> __flush_icache_preferred();
> + dsb();
> }
>
> /*
>
next prev parent reply other threads:[~2014-02-09 6:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 9:33 [PATCH] arm: add DSB after icache flush in __flush_icache_all() Vinayak Kale
2014-02-05 13:26 ` Catalin Marinas
2014-02-09 6:09 ` Dirk Behme [this message]
2014-02-10 10:43 ` Catalin Marinas
2014-02-10 17:07 ` Dirk Behme
2014-02-11 8:59 ` Vinayak Kale
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=52F71BAD.80607@gmail.com \
--to=dirk.behme@gmail.com \
--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).