[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Bringing up sequence for non-boot CPU fails
On 02/18/2014 06:17 PM, Oleksandr Tyshchenko wrote: > Ian, Hello Oleksandr, > I have checked your suggestion with full cache flush. > For this purposes I have used ARMV7 specific function from our U-Boot. > This function performs clean and invalidation of the entire data cache > at all levels. Did you try to only clean the cache? When page table for the secondary CPU is created Xen only clean the cache for the specific range. I suspect it's not enough and we need to invalidate. It should be easy to try with this small patch: diff --git a/xen/include/asm-arm/page.h b/xen/include/asm-arm/page.h index e00be9e..5a8aba2 100644 --- a/xen/include/asm-arm/page.h +++ b/xen/include/asm-arm/page.h @@ -234,7 +234,7 @@ static inline void clean_xen_dcache_va_range(void *p, unsigned long size) void *end; dsb(); /* So the CPU issues all writes to the range */ for ( end = p + size; p < end; p += cacheline_bytes ) - asm volatile (__clean_xen_dcache_one(0) : : "r" (p)); + asm volatile (__clean_and_invalidate_xen_dcache_one(0) : : "r" (p)); dsb(); /* So we know the flushes happen before continuing */ } Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |