|
@@ -1013,16 +1013,9 @@ alternative_else_nop_endif
|
|
orr \tmp, \tmp, #USER_ASID_FLAG
|
|
orr \tmp, \tmp, #USER_ASID_FLAG
|
|
msr ttbr1_el1, \tmp
|
|
msr ttbr1_el1, \tmp
|
|
/*
|
|
/*
|
|
- * We avoid running the post_ttbr_update_workaround here because the
|
|
|
|
- * user and kernel ASIDs don't have conflicting mappings, so any
|
|
|
|
- * "blessing" as described in:
|
|
|
|
- *
|
|
|
|
- * http://lkml.kernel.org/r/56BB848A.6060603@caviumnetworks.com
|
|
|
|
- *
|
|
|
|
- * will not hurt correctness. Whilst this may partially defeat the
|
|
|
|
- * point of using split ASIDs in the first place, it avoids
|
|
|
|
- * the hit of invalidating the entire I-cache on every return to
|
|
|
|
- * userspace.
|
|
|
|
|
|
+ * We avoid running the post_ttbr_update_workaround here because
|
|
|
|
+ * it's only needed by Cavium ThunderX, which requires KPTI to be
|
|
|
|
+ * disabled.
|
|
*/
|
|
*/
|
|
.endm
|
|
.endm
|
|
|
|
|