Home
last modified time | relevance | path

Searched refs:gpa_t (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-mmio.h17 gpa_t addr, unsigned int len);
23 gpa_t addr, unsigned int len,
32 gpa_t addr, unsigned int len,
113 gpa_t addr, unsigned int len);
116 gpa_t addr, unsigned int len);
134 gpa_t addr, unsigned int len,
138 gpa_t addr, unsigned int len,
153 gpa_t addr, unsigned int len);
164 gpa_t addr, unsigned int len,
168 gpa_t addr, unsigned int len,
[all …]
H A Dvgic-mmio.c20 gpa_t addr, unsigned int len) in vgic_mmio_read_raz()
26 gpa_t addr, unsigned int len) in vgic_mmio_read_rao()
45 gpa_t addr, unsigned int len) in vgic_mmio_read_group()
97 gpa_t addr, unsigned int len) in vgic_mmio_read_enable()
117 gpa_t addr, unsigned int len, in vgic_mmio_write_senable()
293 gpa_t addr, unsigned int len) in vgic_uaccess_read_pending()
347 gpa_t addr, unsigned int len, in vgic_uaccess_write_spending()
441 gpa_t addr, unsigned int len, in vgic_uaccess_write_cpending()
935 gpa_t addr, int len) in check_region()
966 gpa_t addr, int len) in vgic_get_mmio_region()
[all …]
H A Dvgic-mmio-v2.c26 gpa_t addr, unsigned int len) in vgic_mmio_read_v2_misc()
53 gpa_t addr, unsigned int len, in vgic_mmio_write_v2_misc()
73 gpa_t addr, unsigned int len, in vgic_mmio_uaccess_write_v2_misc()
111 gpa_t addr, unsigned int len, in vgic_mmio_uaccess_write_v2_group()
121 gpa_t addr, unsigned int len, in vgic_mmio_write_sgir()
163 gpa_t addr, unsigned int len) in vgic_mmio_read_target()
181 gpa_t addr, unsigned int len, in vgic_mmio_write_target()
323 gpa_t addr, unsigned int len, in vgic_mmio_write_vcpuif()
363 gpa_t addr, unsigned int len) in vgic_mmio_read_apr()
388 gpa_t addr, unsigned int len, in vgic_mmio_write_apr()
[all …]
H A Dvgic-mmio-v3.c65 gpa_t addr, unsigned int len) in vgic_mmio_read_v3_misc()
105 gpa_t addr, unsigned int len, in vgic_mmio_write_v3_misc()
154 gpa_t addr, unsigned int len, in vgic_mmio_uaccess_write_v3_misc()
194 gpa_t addr, unsigned int len) in vgic_mmio_read_irouter()
212 gpa_t addr, unsigned int len, in vgic_mmio_write_irouter()
357 gpa_t addr, unsigned int len, in vgic_v3_uaccess_write_pending()
537 gpa_t addr, unsigned int len) in vgic_mmio_read_sync()
554 gpa_t addr, unsigned int len, in vgic_mmio_write_invlpi()
581 gpa_t addr, unsigned int len, in vgic_mmio_write_invall()
778 gpa_t rd_base; in vgic_register_redist_iodev()
[all …]
H A Dvgic-its.c124 gpa_t itt_addr;
925 gpa_t *eaddr) in vgic_its_check_id()
1000 gpa_t gpa; in vgic_its_check_event_id()
1584 gpa_t cbaser; in vgic_its_process_commands()
2050 gpa_t addr, offset; in vgic_its_attr_regs_access()
2175 gpa_t gpa = base; in scan_its_table()
2390 gpa_t itt_addr; in vgic_its_restore_dte()
2459 gpa_t eaddr; in vgic_its_save_device_tables()
2495 gpa_t gpa; in handle_l1_dte()
2521 gpa_t l1_gpa; in vgic_its_restore_device_tables()
[all …]
H A Dvgic.h135 static inline int vgic_write_guest_lock(struct kvm *kvm, gpa_t gpa, in vgic_write_guest_lock()
171 gpa_t addr;
180 gpa_t addr, int len);
212 int vgic_register_dist_iodev(struct kvm *kvm, gpa_t dist_base_address,
315 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size);
317 static inline bool vgic_dist_overlap(struct kvm *kvm, gpa_t base, size_t size) in vgic_dist_overlap()
/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_host.h57 gpa_t addr;
58 gpa_t size;
257 gpa_t gpa, gpa_t gpsz,
260 void kvm_riscv_local_hfence_gvma_gpa(gpa_t gpa, gpa_t gpsz,
286 gpa_t gpa, gpa_t gpsz,
304 int kvm_riscv_gstage_ioremap(struct kvm *kvm, gpa_t gpa,
307 void kvm_riscv_gstage_iounmap(struct kvm *kvm, gpa_t gpa,
311 gpa_t gpa, unsigned long hva, bool is_write);
H A Dkvm_aia.h46 gpa_t aplic_addr;
70 gpa_t imsic_addr;
/openbmc/linux/include/kvm/
H A Diodev.h20 gpa_t addr,
25 gpa_t addr,
43 struct kvm_io_device *dev, gpa_t addr, in kvm_iodevice_read()
51 struct kvm_io_device *dev, gpa_t addr, in kvm_iodevice_write()
H A Darm_vgic.h176 gpa_t base_addr;
189 gpa_t vgic_its_base;
218 gpa_t base;
247 gpa_t vgic_dist_base; /* distributor */
250 gpa_t vgic_cpu_base;
/openbmc/linux/arch/riscv/kvm/
H A Dmmu.c37 #define gstage_gpa_size ((gpa_t)(1ULL << gstage_gpa_bits))
139 gpa_t addr, const pte_t *new_pte) in gstage_set_pte()
179 gpa_t gpa, phys_addr_t hpa, in gstage_map_page()
270 gpa_t size, bool may_block) in gstage_unmap_range()
277 gpa_t addr = start, end = start + size; in gstage_unmap_range()
305 static void gstage_wp_range(struct kvm *kvm, gpa_t start, gpa_t end) in gstage_wp_range()
311 gpa_t addr = start; in gstage_wp_range()
425 gpa_t gpa = slot->base_gfn << PAGE_SHIFT; in kvm_arch_flush_shadow_memslot()
453 gpa_t base_gpa; in kvm_arch_prepare_memory_region()
510 gpa_t gpa = base_gpa + (vm_start - hva); in kvm_arch_prepare_memory_region()
[all …]
H A Dtlb.c21 gpa_t gpa, gpa_t gpsz, in kvm_riscv_local_hfence_gvma_vmid_gpa()
24 gpa_t pos; in kvm_riscv_local_hfence_gvma_vmid_gpa()
49 void kvm_riscv_local_hfence_gvma_gpa(gpa_t gpa, gpa_t gpsz, in kvm_riscv_local_hfence_gvma_gpa()
52 gpa_t pos; in kvm_riscv_local_hfence_gvma_gpa()
334 gpa_t gpa, gpa_t gpsz, in kvm_riscv_hfence_gvma_vmid_gpa()
H A Daia_device.c220 static gpa_t aia_imsic_ppn(struct kvm_aia *aia, gpa_t addr) in aia_imsic_ppn()
223 gpa_t mask = 0; in aia_imsic_ppn()
238 static u32 aia_imsic_hart_index(struct kvm_aia *aia, gpa_t addr) in aia_imsic_hart_index()
259 gpa_t base_ppn = KVM_RISCV_AIA_UNDEF_ADDR; in aia_init()
598 gpa_t tppn, ippn; in kvm_riscv_aia_inject_msi()
603 gpa_t target = (((gpa_t)msi->address_hi) << 32) | msi->address_lo; in kvm_riscv_aia_inject_msi()
614 tppn &= ~((gpa_t)(BIT(aia->nr_guest_bits) - 1)); in kvm_riscv_aia_inject_msi()
/openbmc/linux/arch/x86/kvm/
H A Dmmu.h109 unsigned long cr4, u64 efer, gpa_t nested_cr3);
112 gpa_t new_eptp);
124 void kvm_mmu_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new,
135 static inline unsigned long kvm_get_pcid(struct kvm_vcpu *vcpu, gpa_t cr3) in kvm_get_pcid()
295 gpa_t translate_nested_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u64 access,
298 static inline gpa_t kvm_translate_gpa(struct kvm_vcpu *vcpu, in kvm_translate_gpa()
300 gpa_t gpa, u64 access, in kvm_translate_gpa()
H A Dcpuid.h45 static inline bool kvm_vcpu_is_legal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_legal_gpa()
50 static inline bool kvm_vcpu_is_illegal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_illegal_gpa()
56 gpa_t gpa, gpa_t alignment) in kvm_vcpu_is_legal_aligned_gpa()
61 static inline bool page_address_valid(struct kvm_vcpu *vcpu, gpa_t gpa) in page_address_valid()
H A Di8259.c457 gpa_t addr, int len, const void *val) in picdev_write()
491 gpa_t addr, int len, void *val) in picdev_read()
522 gpa_t addr, int len, const void *val) in picdev_master_write()
529 gpa_t addr, int len, void *val) in picdev_master_read()
536 gpa_t addr, int len, const void *val) in picdev_slave_write()
543 gpa_t addr, int len, void *val) in picdev_slave_read()
550 gpa_t addr, int len, const void *val) in picdev_elcr_write()
557 gpa_t addr, int len, void *val) in picdev_elcr_read()
H A Dx86.h264 static inline bool vcpu_match_mmio_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in vcpu_match_mmio_gpa()
320 int x86_emulate_instruction(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa,
535 int kvm_sev_es_mmio_write(struct kvm_vcpu *vcpu, gpa_t src, unsigned int bytes,
537 int kvm_sev_es_mmio_read(struct kvm_vcpu *vcpu, gpa_t src, unsigned int bytes,
/openbmc/linux/include/linux/
H A Dkvm_types.h40 typedef u64 gpa_t; typedef
43 #define INVALID_GPA (~(gpa_t)0)
59 gpa_t gpa;
67 gpa_t gpa;
H A Dkvm_host.h201 gpa_t addr;
225 gpa_t addr, int len, const void *val, long cookie);
233 gpa_t addr);
242 gpa_t cr2_or_gpa;
317 gpa_t gpa;
1213 gpa_t gpa, unsigned long len);
1228 gpa_t __gpa = gpa; \
1250 gpa_t __gpa = gpa; \
1744 static inline gpa_t gfn_to_gpa(gfn_t gfn) in gfn_to_gpa()
1746 return (gpa_t)gfn << PAGE_SHIFT; in gfn_to_gpa()
[all …]
/openbmc/linux/arch/x86/kvm/mmu/
H A Dpage_track.h30 void __kvm_page_track_write(struct kvm *kvm, gpa_t gpa, const u8 *new, int bytes);
41 static inline void __kvm_page_track_write(struct kvm *kvm, gpa_t gpa, in __kvm_page_track_write()
50 static inline void kvm_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, in kvm_page_track_write()
H A Dpaging_tmpl.h86 gpa_t pte_gpa[PT_MAX_FULL_LEVELS];
200 gpa_t addr, int write_fault) in FNAME()
304 gpa_t addr, u64 access) in FNAME()
313 gpa_t pte_gpa; in FNAME()
321 gpa_t real_gpa; in FNAME()
526 struct kvm_vcpu *vcpu, gpa_t addr, u64 access) in FNAME()
565 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
869 gpa_t addr, u64 access, in FNAME()
873 gpa_t gpa = INVALID_GPA; in FNAME()
906 gpa_t first_pte_gpa; in FNAME()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dmpic.c124 static int openpic_cpu_write_internal(void *opaque, gpa_t addr,
126 static int openpic_cpu_read_internal(void *opaque, gpa_t addr,
197 gpa_t reg_base;
688 static int openpic_gbl_write(void *opaque, gpa_t addr, u32 val) in openpic_gbl_write()
744 static int openpic_gbl_read(void *opaque, gpa_t addr, u32 *ptr) in openpic_gbl_read()
1190 static int openpic_cpu_read_internal(void *opaque, gpa_t addr, in openpic_cpu_read_internal()
1240 int (*read)(void *opaque, gpa_t addr, u32 *ptr);
1241 int (*write)(void *opaque, gpa_t addr, u32 val);
1242 gpa_t start_addr;
1373 gpa_t addr, int len, void *ptr) in kvm_mpic_read()
[all …]
/openbmc/linux/arch/mips/kvm/
H A Dloongson_ipi.c52 gpa_t addr, int len, void *val) in loongson_vipi_read()
97 gpa_t addr, int len, const void *val) in loongson_vipi_write()
152 gpa_t addr, int len, void *val) in kvm_ipi_read()
169 gpa_t addr, int len, const void *val) in kvm_ipi_write()
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h414 gpa_t pgd;
443 gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu,
444 gpa_t gva_or_gpa, u64 access,
862 gpa_t time;
1301 gpa_t wall_clock;
1770 int (*write_log_dirty)(struct kvm_vcpu *vcpu, gpa_t l2_gpa);
1862 int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa,
2039 gpa_t kvm_mmu_gva_to_gpa_read(struct kvm_vcpu *vcpu, gva_t gva,
2041 gpa_t kvm_mmu_gva_to_gpa_write(struct kvm_vcpu *vcpu, gva_t gva,
2043 gpa_t kvm_mmu_gva_to_gpa_system(struct kvm_vcpu *vcpu, gva_t gva,
[all …]
/openbmc/linux/arch/x86/kvm/vmx/
H A Dsgx.c74 gpa_t *gpa) in sgx_gva_to_gpa()
91 static int sgx_gpa_to_hva(struct kvm_vcpu *vcpu, gpa_t gpa, unsigned long *hva) in sgx_gpa_to_hva()
220 gpa_t metadata_gpa, contents_gpa, secs_gpa; in handle_encls_ecreate()
301 gpa_t sig_gpa, secs_gpa, token_gpa; in handle_encls_einit()

1234