target/loongarch/cpu.c | 11 +++++-- target/loongarch/helper.h | 1 + target/loongarch/internals.h | 2 ++ target/loongarch/tcg/csr_helper.c | 26 ++++++++++++++-- .../tcg/insn_trans/trans_privileged.c.inc | 1 + target/loongarch/tcg/tlb_helper.c | 35 ++++++++++++++++++++-- 6 files changed, 68 insertions(+), 8 deletions(-)