/arch/cris/arch-v32/mm/ |
D | init.c | 61 mmu_config = ( REG_STATE(mmu, rw_mm_cfg, we, on) | in cris_mmu_init() 62 REG_STATE(mmu, rw_mm_cfg, acc, on) | in cris_mmu_init() 63 REG_STATE(mmu, rw_mm_cfg, ex, on) | in cris_mmu_init() 64 REG_STATE(mmu, rw_mm_cfg, inv, on) | in cris_mmu_init() 66 REG_STATE(mmu, rw_mm_cfg, seg_f, page) | in cris_mmu_init() 67 REG_STATE(mmu, rw_mm_cfg, seg_e, page) | in cris_mmu_init() 68 REG_STATE(mmu, rw_mm_cfg, seg_d, linear) | in cris_mmu_init() 70 REG_STATE(mmu, rw_mm_cfg, seg_f, linear) | in cris_mmu_init() 71 REG_STATE(mmu, rw_mm_cfg, seg_e, linear) | in cris_mmu_init() 72 REG_STATE(mmu, rw_mm_cfg, seg_d, page) | in cris_mmu_init() [all …]
|
D | tlb.c | 19 tlb_sel = REG_FIELD(mmu, rw_mm_tlb_sel, idx, val); \ 48 int mmu; in __flush_tlb_all() local 59 for (mmu = 1; mmu <= 2; mmu++) { in __flush_tlb_all() 60 SUPP_BANK_SEL(mmu); /* Select the MMU */ in __flush_tlb_all() 63 mmu_tlb_sel = REG_FIELD(mmu, rw_mm_tlb_sel, idx, i); in __flush_tlb_all() 65 mmu_tlb_hi = (REG_FIELD(mmu, rw_mm_tlb_hi, pid, INVALID_PAGEID) in __flush_tlb_all() 66 | REG_FIELD(mmu, rw_mm_tlb_hi, vpn, i & 0xf)); in __flush_tlb_all() 82 int mmu; in __flush_tlb_mm() local 96 for (mmu = 1; mmu <= 2; mmu++) { in __flush_tlb_mm() 97 SUPP_BANK_SEL(mmu); in __flush_tlb_mm() [all …]
|
D | Makefile | 3 obj-y += mmu.o init.o tlb.o intmem.o
|
/arch/arc/mm/ |
D | tlb.c | 221 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu; in local_flush_tlb_all() local 229 for (entry = 0; entry < mmu->num_tlb; entry++) { in local_flush_tlb_all() 565 struct cpuinfo_arc_mmu *mmu = &cpuinfo_arc700[smp_processor_id()].mmu; in read_decode_mmu_bcr() local 586 mmu->ver = (tmp >> 24); in read_decode_mmu_bcr() 588 if (mmu->ver <= 2) { in read_decode_mmu_bcr() 590 mmu->pg_sz = PAGE_SIZE; in read_decode_mmu_bcr() 591 mmu->sets = 1 << mmu2->sets; in read_decode_mmu_bcr() 592 mmu->ways = 1 << mmu2->ways; in read_decode_mmu_bcr() 593 mmu->u_dtlb = mmu2->u_dtlb; in read_decode_mmu_bcr() 594 mmu->u_itlb = mmu2->u_itlb; in read_decode_mmu_bcr() [all …]
|
/arch/cris/arch-v32/kernel/ |
D | head.S | 67 move.d REG_FIELD(mmu, rw_mm_kbase_hi, base_e, 8) \ 68 | REG_FIELD(mmu, rw_mm_kbase_hi, base_c, 4) \ 69 | REG_FIELD(mmu, rw_mm_kbase_hi, base_d, 5) \ 70 | REG_FIELD(mmu, rw_mm_kbase_hi, base_b, 0xb), $r0 72 move.d REG_FIELD(mmu, rw_mm_kbase_hi, base_e, 8) \ 73 | REG_FIELD(mmu, rw_mm_kbase_hi, base_c, 4) \ 74 | REG_FIELD(mmu, rw_mm_kbase_hi, base_b, 0xb), $r0 78 move.d REG_FIELD(mmu, rw_mm_kbase_lo, base_4, 4) \ 79 | REG_FIELD(mmu, rw_mm_kbase_lo, base_0, 0), $r1 95 move.d REG_STATE(mmu, rw_mm_cfg, we, on) \ [all …]
|
/arch/metag/mm/ |
D | Makefile | 12 mmu-y := mmu-meta1.o 13 mmu-$(CONFIG_METAG_META21_MMU) := mmu-meta2.o 14 obj-y += $(mmu-y)
|
/arch/powerpc/kvm/ |
D | book3s_32_mmu.c | 419 struct kvmppc_mmu *mmu = &vcpu->arch.mmu; in kvmppc_mmu_book3s_32_init() local 421 mmu->mtsrin = kvmppc_mmu_book3s_32_mtsrin; in kvmppc_mmu_book3s_32_init() 422 mmu->mfsrin = kvmppc_mmu_book3s_32_mfsrin; in kvmppc_mmu_book3s_32_init() 423 mmu->xlate = kvmppc_mmu_book3s_32_xlate; in kvmppc_mmu_book3s_32_init() 424 mmu->reset_msr = kvmppc_mmu_book3s_32_reset_msr; in kvmppc_mmu_book3s_32_init() 425 mmu->tlbie = kvmppc_mmu_book3s_32_tlbie; in kvmppc_mmu_book3s_32_init() 426 mmu->esid_to_vsid = kvmppc_mmu_book3s_32_esid_to_vsid; in kvmppc_mmu_book3s_32_init() 427 mmu->ea_to_vp = kvmppc_mmu_book3s_32_ea_to_vp; in kvmppc_mmu_book3s_32_init() 428 mmu->is_dcbz32 = kvmppc_mmu_book3s_32_is_dcbz32; in kvmppc_mmu_book3s_32_init() 430 mmu->slbmte = NULL; in kvmppc_mmu_book3s_32_init() [all …]
|
D | book3s_emulate.c | 155 if (vcpu->arch.mmu.mfsrin) { in kvmppc_core_emulate_op_pr() 157 sr = vcpu->arch.mmu.mfsrin(vcpu, srnum); in kvmppc_core_emulate_op_pr() 167 if (vcpu->arch.mmu.mfsrin) { in kvmppc_core_emulate_op_pr() 169 sr = vcpu->arch.mmu.mfsrin(vcpu, srnum); in kvmppc_core_emulate_op_pr() 175 vcpu->arch.mmu.mtsrin(vcpu, in kvmppc_core_emulate_op_pr() 180 vcpu->arch.mmu.mtsrin(vcpu, in kvmppc_core_emulate_op_pr() 189 vcpu->arch.mmu.tlbie(vcpu, addr, large); in kvmppc_core_emulate_op_pr() 223 if (!vcpu->arch.mmu.slbmte) in kvmppc_core_emulate_op_pr() 226 vcpu->arch.mmu.slbmte(vcpu, in kvmppc_core_emulate_op_pr() 231 if (!vcpu->arch.mmu.slbie) in kvmppc_core_emulate_op_pr() [all …]
|
D | book3s_64_mmu.c | 658 struct kvmppc_mmu *mmu = &vcpu->arch.mmu; in kvmppc_mmu_book3s_64_init() local 660 mmu->mfsrin = NULL; in kvmppc_mmu_book3s_64_init() 661 mmu->mtsrin = kvmppc_mmu_book3s_64_mtsrin; in kvmppc_mmu_book3s_64_init() 662 mmu->slbmte = kvmppc_mmu_book3s_64_slbmte; in kvmppc_mmu_book3s_64_init() 663 mmu->slbmfee = kvmppc_mmu_book3s_64_slbmfee; in kvmppc_mmu_book3s_64_init() 664 mmu->slbmfev = kvmppc_mmu_book3s_64_slbmfev; in kvmppc_mmu_book3s_64_init() 665 mmu->slbie = kvmppc_mmu_book3s_64_slbie; in kvmppc_mmu_book3s_64_init() 666 mmu->slbia = kvmppc_mmu_book3s_64_slbia; in kvmppc_mmu_book3s_64_init() 667 mmu->xlate = kvmppc_mmu_book3s_64_xlate; in kvmppc_mmu_book3s_64_init() 668 mmu->reset_msr = kvmppc_mmu_book3s_64_reset_msr; in kvmppc_mmu_book3s_64_init() [all …]
|
/arch/um/kernel/skas/ |
D | mmu.c | 155 struct mm_context *mmu = &mm->context; in destroy_context() local 158 os_close_file(mmu->id.u.mm_fd); in destroy_context() 166 if (mmu->id.u.pid < 2) { in destroy_context() 168 mmu->id.u.pid); in destroy_context() 171 os_kill_ptraced_process(mmu->id.u.pid, 1); in destroy_context() 175 free_page(mmu->id.stack); in destroy_context() 177 free_ldt(mmu); in destroy_context()
|
D | Makefile | 6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o
|
/arch/m68k/kernel/ |
D | setup_mm.c | 407 const char *cpu, *mmu, *fpu; in show_cpuinfo() local 456 mmu = "68851"; in show_cpuinfo() 458 mmu = "68030"; in show_cpuinfo() 460 mmu = "68040"; in show_cpuinfo() 462 mmu = "68060"; in show_cpuinfo() 464 mmu = "Sun-3"; in show_cpuinfo() 466 mmu = "Apollo"; in show_cpuinfo() 468 mmu = "ColdFire"; in show_cpuinfo() 470 mmu = "unknown"; in show_cpuinfo() 480 cpu, mmu, fpu, in show_cpuinfo()
|
D | setup_no.c | 271 char *cpu, *mmu, *fpu; in show_cpuinfo() local 275 mmu = "none"; in show_cpuinfo() 285 cpu, mmu, fpu, in show_cpuinfo()
|
/arch/m32r/mm/ |
D | Makefile | 6 obj-y := init.o fault.o mmu.o extable.o ioremap.o cache.o page.o 8 obj-y := init.o fault-nommu.o mmu.o extable.o ioremap-nommu.o cache.o page.o
|
/arch/x86/kvm/ |
D | paging_tmpl.h | 131 static bool FNAME(is_rsvd_bits_set)(struct kvm_mmu *mmu, u64 gpte, int level) in FNAME() 135 return (gpte & mmu->rsvd_bits_mask[bit7][level-1]) | in FNAME() 136 ((mmu->bad_mt_xwr & (1ull << low6)) != 0); in FNAME() 148 static int FNAME(cmpxchg_gpte)(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, in FNAME() 175 if (FNAME(is_rsvd_bits_set)(&vcpu->arch.mmu, gpte, PT_PAGE_TABLE_LEVEL)) in FNAME() 208 struct kvm_mmu *mmu, in FNAME() 255 ret = FNAME(cmpxchg_gpte)(vcpu, mmu, ptep_user, index, orig_pte, pte); in FNAME() 269 struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, in FNAME() 288 walker->level = mmu->root_level; in FNAME() 289 pte = mmu->get_cr3(vcpu); in FNAME() [all …]
|
D | mmu.c | 1737 if (vcpu->arch.mmu.sync_page(vcpu, sp)) { in __kvm_sync_page() 1786 (vcpu->arch.mmu.sync_page(vcpu, s))) { in kvm_sync_pages() 1924 role = vcpu->arch.mmu.base_role; in kvm_mmu_get_page() 1930 if (!vcpu->arch.mmu.direct_map in kvm_mmu_get_page() 1931 && vcpu->arch.mmu.root_level <= PT32_ROOT_LEVEL) { in kvm_mmu_get_page() 1986 iterator->shadow_addr = vcpu->arch.mmu.root_hpa; in shadow_walk_init() 1987 iterator->level = vcpu->arch.mmu.shadow_root_level; in shadow_walk_init() 1990 vcpu->arch.mmu.root_level < PT64_ROOT_LEVEL && in shadow_walk_init() 1991 !vcpu->arch.mmu.direct_map) in shadow_walk_init() 1996 = vcpu->arch.mmu.pae_root[(addr >> 30) & 3]; in shadow_walk_init() [all …]
|
D | mmu.h | 99 if (likely(vcpu->arch.mmu.root_hpa != INVALID_PAGE)) in kvm_mmu_reload() 157 static inline bool permission_fault(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, in permission_fault() argument 182 return (mmu->permissions[index] >> pte_access) & 1; in permission_fault()
|
D | mmu_audit.c | 62 if (!VALID_PAGE(vcpu->arch.mmu.root_hpa)) in mmu_spte_walk() 65 if (vcpu->arch.mmu.root_level == PT64_ROOT_LEVEL) { in mmu_spte_walk() 66 hpa_t root = vcpu->arch.mmu.root_hpa; in mmu_spte_walk() 74 hpa_t root = vcpu->arch.mmu.pae_root[i]; in mmu_spte_walk() 125 "ent %llxn", vcpu->arch.mmu.root_level, pfn, in audit_mappings()
|
/arch/sh/mm/ |
D | Makefile | 17 mmu-y := nommu.o extable_32.o 18 mmu-$(CONFIG_MMU) := extable_$(BITS).o fault.o gup.o ioremap.o kmap.o \ 21 obj-y += $(mmu-y)
|
/arch/xtensa/mm/ |
D | Makefile | 6 obj-$(CONFIG_MMU) += fault.o mmu.o tlb.o
|
/arch/sparc/kernel/ |
D | wuf.S | 265 LEON_PI(lda [%g0] ASI_LEON_MMUREGS, %l5) ! read mmu-ctrl reg 266 SUN_PI_(lda [%g0] ASI_M_MMUREGS, %l5) ! read mmu-ctrl reg 281 LEON_PI(lda [%g0] ASI_LEON_MMUREGS, %twin_tmp1) ! load mmu-ctrl again 282 SUN_PI_(lda [%g0] ASI_M_MMUREGS, %twin_tmp1) ! load mmu-ctrl again
|
/arch/arm/lib/ |
D | Makefile | 18 mmu-y := clear_user.o copy_page.o getuser.o putuser.o \ 24 lib-$(CONFIG_MMU) += $(mmu-y)
|
/arch/frv/mm/ |
D | Makefile | 9 mmu-context.o dma-alloc.o elf-fdpic.o
|
/arch/arm64/mm/ |
D | Makefile | 3 ioremap.o mmap.o pgd.o mmu.o \
|
/arch/unicore32/mm/ |
D | Makefile | 5 obj-y := extable.o fault.o init.o pgd.o mmu.o
|