diff options
| author | Paul Burton <[email protected]> | 2019-02-02 01:43:27 +0000 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2019-02-04 18:56:35 +0000 |
| commit | 535113896e802e9f8f92c05a887d1761c34ae903 (patch) | |
| tree | 4d0b573a5ad008f478f806e585aec22db77e03cc /arch/mips/lib/dump_tlb.c | |
| parent | MIPS: mm: Add set_cpu_context() for ASID assignments (diff) | |
| download | kernel-535113896e802e9f8f92c05a887d1761c34ae903.tar.gz kernel-535113896e802e9f8f92c05a887d1761c34ae903.zip | |
MIPS: Add GINVT instruction helpers
Add a family of ginvt_* functions making it easy to emit a GINVT
instruction to globally invalidate TLB entries. We make use of the
_ASM_MACRO infrastructure to support emitting the instructions even if
the assembler isn't new enough to support them natively.
An associated STYPE_GINV definition & sync_ginv() function are added to
emit a sync instruction of type 0x14, which operates as a completion
barrier for these new GINVT (and GINVI) instructions.
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Diffstat (limited to 'arch/mips/lib/dump_tlb.c')
0 files changed, 0 insertions, 0 deletions
