[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 1/4] arm: remove incorrect dcache flush at start of day.
At 09:42 +0100 on 23 Apr (1366710155), Ian Campbell wrote: > On Mon, 2013-04-22 at 18:43 +0100, Julien Grall wrote: > > On 04/22/2013 05:43 PM, Ian Campbell wrote: > > > > > flush_xen_dcache flushes by virtual address and at this point boot_ttbr > > > contains a physical address. > > > > I think this part of the comment is wrong. flush_xen_dcache will flush > > the address of boot_ttbr, not the one contains in the variable. > > Ah yes. this is a macro which takes &argument and flushes that. > > However the global variable boot_ttbr is also part of the following > flush_xen_dcache_va_range so I think the removal itself is correct I don't think the removal is correct. This is the _unrelocated_ copy of boot_ttbr we're flushing here, and we do mean to flush the variable itself, for the benefit of the other CPUs which will use it when they turn on paging. Tim. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |