[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] arm/monitor: flush the icache during SMC traps
Hi Stefano, On 27/01/2017 19:27, Stefano Stabellini wrote: On Thu, 26 Jan 2017, Tamas K Lengyel wrote:On Thu, Jan 26, 2017 at 10:54 AM, Tamas K Lengyel <tamas.lengyel@xxxxxxxxxxxx> wrote:On Thu, Jan 26, 2017 at 4:30 AM, Julien Grall <julien.grall@xxxxxxx> wrote:So according to the manual (C5.3.9-10) IALLU and IALLUIS are not available from EL0. IVAU can be enabled to execute in EL0; however on my 4.1 kernel it generates a permission fault. I'm also not sure if IVAU would actually be a solution.I think there is a Linux syscall available for this kind of things, called cacheflush. See arch/arm/kernel/traps.c:arm_syscall. The cacheflush system is only implement on ARM32. And even thought, we have a domctl cacheflush for this purpose. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |