| /arch/riscv/kvm/ |
| A D | mmu.c | 39 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 D | vcpu_sbi_sta.c | 89 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 D | vcpu_exit.c | 21 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 D | vcpu_pmu.c | 409 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 D | e500_mmu_host.c | 48 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 D | book3s_64_mmu_host.c | 85 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 D | book3s_32_mmu_host.c | 144 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 D | book3s.c | 425 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 D | kvm_mmu.h | 12 unsigned long size, bool writable, bool in_atomic);
|
| /arch/arm/ |
| A D | Kconfig-nommu | 50 vectors to be mapped to writable memory, say 'n' here. 54 the writable versions located at DRAM_BASE.
|
| /arch/arm64/kvm/ |
| A D | mmu.c | 1140 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 D | nested.c | 322 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 D | Kconfig | 21 collector feature. "pfn" is a writable file that allows user to
|
| /arch/arm64/include/asm/ |
| A D | kvm_nested.h | 89 bool writable; member 118 return trans->writable; in kvm_s2_trans_writable()
|
| A D | kvm_mmu.h | 181 phys_addr_t pa, unsigned long size, bool writable);
|
| /arch/arm/boot/dts/marvell/ |
| A D | armada-385-linksys-cobra.dts | 126 * 38MiB, last MiB is for the BBT, not writable
|
| A D | armada-385-linksys-shelby.dts | 126 * 38MiB, last MiB is for the BBT, not writable
|
| A D | armada-385-linksys-caiman.dts | 126 * 38MiB, last MiB is for the BBT, not writable
|
| A D | armada-385-linksys-rango.dts | 140 * 86MiB, last MiB is for the BBT, not writable
|
| A D | armada-370-netgear-rn102.dts | 269 /* Last MB is for the BBT, i.e. not writable */
|
| A D | armada-370-netgear-rn104.dts | 295 /* Last MB is for the BBT, i.e. not writable */
|
| A D | armada-xp-netgear-rn2120.dts | 350 /* Last MB is for the BBT, i.e. not writable */
|
| A D | armada-xp-linksys-mamba.dts | 376 * 38MB, last MB is for the BBT, not writable
|
| /arch/s390/kvm/ |
| A D | gaccess.c | 847 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 D | priv.c | 1505 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()
|