[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V13 5/7] xen/arm: Instruction prefetch abort (X) mem_event handling
On Mon, Mar 23, 2015 at 5:47 PM, Tamas K Lengyel <tamas.lengyel@xxxxxxxxxxxx> wrote:
Ian, according to the ARM ARM v8 split TLB is possible, see section TLB matching (page 1826): "In some cases, the TLB can hold two mappings for the same address". In fact, it seems like some hardware can even detect such cases and cause a Data-abort or Prefetch abort with error code TLB Conflict (see section TLB conflict aborts, page 1827). They did indeed deprecate the separate maintenance operations but that doesn't really effect the problem I'm describing. It's unfortunate we can't make the MMU get us the translation as if doing a prefetch, only as a data access. It's also unfortunate that during a Permission fault we don't get the IPA associated with the fault, only the GVA. I looked at the KVM code and they seem to query HPFAR_EL2 if the fault is during s1ptw, but otherwise they do exactly what we do here. So, IMHO doing a TLB flush here would prevent a primed DTLB becoming a problem. Not sure if that helps if the ITLB is primed however as we would have no way to replicate the translation that is cached.. Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |