From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: tim@xen.org, Ian.Campbell@citrix.com,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: [PATCH v6 03/10] xen/arm: flush the entire dest_va 2MB mapping
Date: Tue, 15 Jan 2013 19:05:49 +0000 [thread overview]
Message-ID: <1358276756-6189-3-git-send-email-stefano.stabellini@eu.citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1301151901330.4978@kaball.uk.xensource.com>
At the beginning of setup_pagetables we modify a 2MB mapping but we only
flush the first 4KB of it.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
xen/arch/arm/mm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c
index 56361eb..2140777 100644
--- a/xen/arch/arm/mm.c
+++ b/xen/arch/arm/mm.c
@@ -245,7 +245,7 @@ void __init setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr)
dest_va = BOOT_MISC_VIRT_START;
pte = mfn_to_xen_entry(xen_paddr >> PAGE_SHIFT);
write_pte(xen_second + second_table_offset(dest_va), pte);
- flush_xen_data_tlb_range_va(dest_va, PAGE_SIZE);
+ flush_xen_data_tlb_range_va(dest_va, SECOND_SIZE);
/* Calculate virt-to-phys offset for the new location */
phys_offset = xen_paddr - (unsigned long) _start;
--
1.7.2.5
next prev parent reply other threads:[~2013-01-15 19:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 19:04 [PATCH v6 0/10] xen: ARM HDLCD video driver Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 01/10] xen/arm: add missing FIRST, SECOND and THIRD MASK and SIZE definitions Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 02/10] xen/arm: introduce flush_xen_data_tlb_range_va Stefano Stabellini
2013-01-15 19:05 ` Stefano Stabellini [this message]
2013-01-15 19:05 ` [PATCH v6 04/10] xen/arm: introduce early_ioremap Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 05/10] xen: infrastructure to have cross-platform video drivers Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 06/10] xen: introduce a generic framebuffer driver Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 07/10] xen/arm: move setup_mm right after setup_pagetables Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 08/10] xen/device_tree: introduce find_compatible_node Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 09/10] xen/arm: introduce vexpress_syscfg Stefano Stabellini
2013-01-15 19:05 ` [PATCH v6 10/10] xen/arm: introduce a driver for the ARM HDLCD controller Stefano Stabellini
2013-01-24 13:06 ` [PATCH v6 0/10] xen: ARM HDLCD video driver Ian Campbell
2013-02-14 11:36 ` Stefano Stabellini
2013-02-14 11:39 ` Ian Campbell
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=1358276756-6189-3-git-send-email-stefano.stabellini@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=tim@xen.org \
--cc=xen-devel@lists.xensource.com \
/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).