From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM64: Kernel managed pages are only flushed
Date: Thu, 6 Mar 2014 06:53:39 +0000 [thread overview]
Message-ID: <20140306065339.GA2975@localhost> (raw)
In-Reply-To: <1394018446-16738-1-git-send-email-Bharat.Bhushan@freescale.com>
On Wed, Mar 05, 2014 at 04:50:46PM +0530, Bharat Bhushan wrote:
> Kernel can only access pages which maps to managed memory.
> So flush only valid kernel pages.
>
> I observed kernel crash direct assigning a device using VFIO
> and found that it was caused because of accessing invalid page
I don't get this. Could you please share some kernel crash message to
see the backtrace? The __sync_icache_dcache() function is called from
set_pte_at() if the pte is valid, user and exec. If these are correct,
why does it crash? Actually, does the cache maintenance crash or
page_mapping()?
--
Catalin
next prev parent reply other threads:[~2014-03-06 6:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-05 11:20 [PATCH] ARM64: Kernel managed pages are only flushed Bharat Bhushan
2014-03-06 6:53 ` Catalin Marinas [this message]
2014-03-06 9:33 ` Bharat.Bhushan at freescale.com
2014-03-12 14:41 ` Bharat.Bhushan at freescale.com
2014-03-12 14:56 ` Will Deacon
2014-03-12 16:03 ` Catalin Marinas
2014-03-12 17:26 ` Catalin Marinas
2014-03-12 20:12 ` Laura Abbott
2014-03-13 11:00 ` Bharat.Bhushan at freescale.com
2014-03-26 3:16 ` Bharat.Bhushan at freescale.com
2014-03-27 10:55 ` 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=20140306065339.GA2975@localhost \
--to=catalin.marinas@arm.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).