Home
last modified time | relevance | path

Searched refs:writable (Results 1 – 25 of 30) sorted by relevance

12

/arch/riscv/kvm/
A Dmmu.c39 unsigned long size, bool writable, bool in_atomic) in kvm_riscv_mmu_ioremap() argument
64 if (!writable) in kvm_riscv_mmu_ioremap()
172 bool writable; in kvm_arch_prepare_memory_region() local
191 writable = !(new->flags & KVM_MEM_READONLY); in kvm_arch_prepare_memory_region()
219 if (writable && !(vma->vm_flags & VM_WRITE)) { in kvm_arch_prepare_memory_region()
242 writable, false); in kvm_arch_prepare_memory_region()
329 bool writable; in kvm_riscv_mmu_map() local
395 &writable, &page); in kvm_riscv_mmu_map()
409 writable = false; in kvm_riscv_mmu_map()
416 if (writable) { in kvm_riscv_mmu_map()
[all …]
A Dvcpu_sbi_sta.c89 bool writable; in kvm_sbi_sta_steal_time_set_shmem() local
114 hva = kvm_vcpu_gfn_to_hva_prot(vcpu, shmem >> PAGE_SHIFT, &writable); in kvm_sbi_sta_steal_time_set_shmem()
115 if (kvm_is_error_hva(hva) || !writable) in kvm_sbi_sta_steal_time_set_shmem()
A Dvcpu_exit.c21 bool writable; in gstage_page_fault() local
28 hva = gfn_to_hva_memslot_prot(memslot, gfn, &writable); in gstage_page_fault()
31 (trap->scause == EXC_STORE_GUEST_PAGE_FAULT && !writable)) { in gstage_page_fault()
A Dvcpu_pmu.c409 bool writable; in kvm_riscv_vcpu_pmu_snapshot_set_shmem() local
431 hva = kvm_vcpu_gfn_to_hva_prot(vcpu, saddr >> PAGE_SHIFT, &writable); in kvm_riscv_vcpu_pmu_snapshot_set_shmem()
432 if (kvm_is_error_hva(hva) || !writable) { in kvm_riscv_vcpu_pmu_snapshot_set_shmem()
/arch/powerpc/kvm/
A De500_mmu_host.c48 static inline u32 e500_shadow_mas3_attrib(u32 mas3, bool writable, int usermode) in e500_shadow_mas3_attrib() argument
53 if (!writable) in e500_shadow_mas3_attrib()
251 bool writable) in kvmppc_e500_ref_setup() argument
255 if (writable) in kvmppc_e500_ref_setup()
312 bool writable = !!(ref->flags & E500_TLB_WRITABLE); in kvmppc_e500_setup_stlbe() local
320 e500_shadow_mas3_attrib(gtlbe->mas7_3, writable, pr); in kvmppc_e500_setup_stlbe()
341 bool writable = false; in kvmppc_e500_shadow_map() local
358 pfn = __kvm_faultin_pfn(slot, gfn, FOLL_WRITE, &writable, &page); in kvmppc_e500_shadow_map()
458 kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg, writable); in kvmppc_e500_shadow_map()
461 writable = tlbe_is_writable(stlbe); in kvmppc_e500_shadow_map()
[all …]
A Dbook3s_64_mmu_host.c85 bool writable; in kvmppc_mmu_map_page() local
98 pfn = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable, &page); in kvmppc_mmu_map_page()
125 if (!orig_pte->may_write || !writable) in kvmppc_mmu_map_page()
205 orig_pte->may_write && writable); in kvmppc_mmu_map_page()
A Dbook3s_32_mmu_host.c144 bool writable; in kvmppc_mmu_map_page() local
147 hpaddr = kvmppc_gpa_to_pfn(vcpu, orig_pte->raddr, iswrite, &writable, &page); in kvmppc_mmu_map_page()
197 if (orig_pte->may_write && writable) { in kvmppc_mmu_map_page()
A Dbook3s.c425 bool *writable, struct page **page) in kvmppc_gpa_to_pfn() argument
442 if (writable) in kvmppc_gpa_to_pfn()
443 *writable = true; in kvmppc_gpa_to_pfn()
447 return kvm_faultin_pfn(vcpu, gfn, writing, writable, page); in kvmppc_gpa_to_pfn()
/arch/riscv/include/asm/
A Dkvm_mmu.h12 unsigned long size, bool writable, bool in_atomic);
/arch/arm/
A DKconfig-nommu50 vectors to be mapped to writable memory, say 'n' here.
54 the writable versions located at DRAM_BASE.
/arch/arm64/kvm/
A Dmmu.c1140 phys_addr_t pa, unsigned long size, bool writable) in kvm_phys_addr_ioremap() argument
1149 (writable ? KVM_PGTABLE_PROT_W : 0); in kvm_phys_addr_ioremap()
1486 bool write_fault, writable, force_pte = false; in user_mem_abort() local
1649 &writable, &page); in user_mem_abort()
1695 writable = false; in user_mem_abort()
1713 writable &= kvm_s2_trans_writable(nested); in user_mem_abort()
1755 if (writable) in user_mem_abort()
1790 kvm_release_faultin_page(kvm, page, !!ret, writable); in user_mem_abort()
1794 if (writable && !ret) in user_mem_abort()
1833 bool is_iabt, write_fault, writable; in kvm_handle_guest_abort() local
[all …]
A Dnested.c322 out->writable = desc & (0b10 << 6); in walk_nested_s2_pgd()
795 forward_fault = ((write_fault && !trans->writable) || in kvm_s2_handle_perm_fault()
1177 bool write_fault, writable; in kvm_translate_vncr() local
1219 pfn = kvm_faultin_pfn(vcpu, gfn, write_fault, &writable, &page); in kvm_translate_vncr()
1220 if (is_error_noslot_pfn(pfn) || (write_fault && !writable)) in kvm_translate_vncr()
/arch/x86/ras/
A DKconfig21 collector feature. "pfn" is a writable file that allows user to
/arch/arm64/include/asm/
A Dkvm_nested.h89 bool writable; member
118 return trans->writable; in kvm_s2_trans_writable()
A Dkvm_mmu.h181 phys_addr_t pa, unsigned long size, bool writable);
/arch/arm/boot/dts/marvell/
A Darmada-385-linksys-cobra.dts126 * 38MiB, last MiB is for the BBT, not writable
A Darmada-385-linksys-shelby.dts126 * 38MiB, last MiB is for the BBT, not writable
A Darmada-385-linksys-caiman.dts126 * 38MiB, last MiB is for the BBT, not writable
A Darmada-385-linksys-rango.dts140 * 86MiB, last MiB is for the BBT, not writable
A Darmada-370-netgear-rn102.dts269 /* Last MB is for the BBT, i.e. not writable */
A Darmada-370-netgear-rn104.dts295 /* Last MB is for the BBT, i.e. not writable */
A Darmada-xp-netgear-rn2120.dts350 /* Last MB is for the BBT, i.e. not writable */
A Darmada-xp-linksys-mamba.dts376 * 38MB, last MB is for the BBT, not writable
/arch/s390/kvm/
A Dgaccess.c847 bool writable; in access_guest_page_with_key() local
854 hva = gfn_to_hva_memslot_prot(slot, gfn, &writable); in access_guest_page_with_key()
862 if (!writable && mode == GACC_STORE) in access_guest_page_with_key()
1027 bool writable; in cmpxchg_guest_abs_with_key() local
1034 hva = gfn_to_hva_memslot_prot(slot, gfn, &writable); in cmpxchg_guest_abs_with_key()
1042 if (!writable) in cmpxchg_guest_abs_with_key()
A Dpriv.c1505 bool writable; in handle_tprot() local
1523 gfn_to_hva_prot(vcpu->kvm, gpa_to_gfn(gpa), &writable); in handle_tprot()
1525 writable = false; in handle_tprot()
1534 if (ret == 0 && writable) in handle_tprot()
1537 else if (ret == 0 && !writable) in handle_tprot()

Completed in 44 milliseconds

12