|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: arm: zero EL2 pagetable pages before use
Hi, On 11/03/2016 20:24, Andrew Cooper wrote: On 11/03/16 13:13, Jan Beulich wrote:On 11.03.16 at 13:56, <andrew.cooper3@xxxxxxxxxx> wrote:On 11/03/16 11:29, Jan Beulich wrote:On 10.03.16 at 23:00, <shankerd@xxxxxxxxxxxxxx> wrote: The frame table size is always aligned to 2MB/32MB. However, the frame table may not use all the entries in a level 2 page table (which cover 1GB of memory). Those unused entries will be unknown if we don't clear them. Keeping them unknown is not a problem as long as nobody is trying to access the underlying virtual address. In the case of setup_frametable_mappings, Xen is still running with a single processor and the frame_table is not access until after create_mappings is called. The function should nuke all the TLBs at the end, so it looks like to me that zeroed the entries will hide the real problem. Nonetheless, I would invalidate all the entries in the table to avoid polluting the TLBs with bogus entries and get a better crash. 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 |