[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] arm: Missing memset in setup_frametable_mappings
Hello Ian, Stefano, I believe there is a bug in setup_frametable_mappings() where the function allocates pages for pagetables via alloc_boot_pages() but does not zero them out. This results in a crash on Qualcomm systems when prefetching is enabled since the processor is free to prefetch a location for which it finds a 'valid' translation in the page tables, but actually holds uninitialized memory. A memset to 0 of the variable 'second' for the nr_second pages that were allocated fixes the problem. I didn't see a fix in master branch but may have missed a bug report on the mailing list. Thanks, Vikram Qualcomm Technologies Inc, on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |