[PATCH] ARM: mm: avoid attempting to flush the gate_vma with VIVT caches
Gilles Chanteperdrix
gilles.chanteperdrix at xenomai.org
Sat Jul 21 09:18:35 EDT 2012
On 07/20/2012 10:41 PM, Gilles Chanteperdrix wrote:
> Being 0 or 1 whether we want to flush the vector page (I believe we do
> not want to flush it, but am not sure).
Actually, I believe we want to flush the vector page, at least on
systems with VIVT cache: on systems with VIVT cache, the vector page is
writeable in kernel mode, so may have been modified, and the address
used by elf_core_dump is not the vectors address, but the address in the
kernel direct-mapped RAM region where the vector page was allocated, so
there is a cache aliasing issue.
--
Gilles.
More information about the linux-arm-kernel
mailing list