staticinlinevoid ppc_after_tlbiel_barrier(void)
{ asmvolatile("ptesync": : :"memory"); /* * POWER9, POWER10 need a cp_abort after tlbiel to ensure the copy is * invalidated correctly. If this is not done, the paste can take data * from the physical address that was translated at copy time. * * POWER9 in practice does not need this, because address spaces with * accelerators mapped will use tlbie (which does invalidate the copy) * to invalidate translations. It's not possible to limit POWER10 this * way due to local copy-paste.
*/ asmvolatile(ASM_FTR_IFSET(PPC_CP_ABORT, "", %0) : : "i" (CPU_FTR_ARCH_31) : "memory");
} #endif/* __ASSEMBLY__ */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.