[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm32: mm: Avoid cleaning the cache for secondary CPUs page-tables
commit 9bd8d268d8b586ad6948feb42f709df39271d7c4 Author: Julien Grall <julien.grall@xxxxxxx> AuthorDate: Sun Apr 21 19:53:12 2019 +0100 Commit: Julien Grall <julien.grall@xxxxxxx> CommitDate: Thu Jun 13 13:07:58 2019 +0100 xen/arm32: mm: Avoid cleaning the cache for secondary CPUs page-tables The page-table walker is configured by TCR_EL2 to use the same shareability and cacheability as the access performed when updating the page-tables. This means cleaning the cache for secondary CPUs runtime page-tables is unnecessary. Signed-off-by: Julien Grall <julien.grall@xxxxxxx> Reviewed-by: Andrii Anisov <andrii_anisov@xxxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> --- xen/arch/arm/mm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index 8751d763fb..7ed8400993 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -738,9 +738,6 @@ int init_secondary_pagetables(int cpu) write_pte(&first[first_table_offset(DOMHEAP_VIRT_START+i*FIRST_SIZE)], pte); } - clean_dcache_va_range(first, PAGE_SIZE); - clean_dcache_va_range(domheap, DOMHEAP_SECOND_PAGES*PAGE_SIZE); - per_cpu(xen_pgtable, cpu) = first; per_cpu(xen_dommap, cpu) = domheap; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |