Home
last modified time | relevance | path

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

123

/Linux-v5.10/arch/arm64/kvm/vgic/
Dvgic-mmio.h14 unsigned long (*read)(struct kvm_vcpu *vcpu, gpa_t addr,
17 gpa_t addr, unsigned int len);
20 void (*write)(struct kvm_vcpu *vcpu, gpa_t addr,
23 gpa_t addr, unsigned int len,
26 unsigned long (*uaccess_read)(struct kvm_vcpu *vcpu, gpa_t addr,
29 int (*uaccess_write)(struct kvm_vcpu *vcpu, gpa_t addr,
32 gpa_t addr, unsigned int len,
113 gpa_t addr, unsigned int len);
116 gpa_t addr, unsigned int len);
118 void vgic_mmio_write_wi(struct kvm_vcpu *vcpu, gpa_t addr,
[all …]
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()
31 void vgic_mmio_write_wi(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_write_wi()
37 int vgic_mmio_uaccess_write_wi(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_uaccess_write_wi()
45 gpa_t addr, unsigned int len) in vgic_mmio_read_group()
69 void vgic_mmio_write_group(struct kvm_vcpu *vcpu, gpa_t addr, in vgic_mmio_write_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()
166 gpa_t addr, unsigned int len, in vgic_mmio_write_cenable()
188 gpa_t addr, unsigned int len, in vgic_uaccess_write_senable()
[all …]
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()
99 gpa_t addr, unsigned int len, in vgic_mmio_uaccess_write_v2_group()
109 gpa_t addr, unsigned int len, in vgic_mmio_write_sgir()
152 gpa_t addr, unsigned int len) in vgic_mmio_read_target()
170 gpa_t addr, unsigned int len, in vgic_mmio_write_target()
198 gpa_t addr, unsigned int len) in vgic_mmio_read_sgipend()
215 gpa_t addr, unsigned int len, in vgic_mmio_write_sgipendc()
237 gpa_t addr, unsigned int len, in vgic_mmio_write_sgipends()
[all …]
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()
180 gpa_t addr, unsigned int len) in vgic_mmio_read_irouter()
198 gpa_t addr, unsigned int len, in vgic_mmio_write_irouter()
225 gpa_t addr, unsigned int len) in vgic_mmio_read_v3r_ctlr()
234 gpa_t addr, unsigned int len, in vgic_mmio_write_v3r_ctlr()
255 gpa_t addr, unsigned int len) in vgic_mmio_read_v3r_typer()
261 gpa_t last_rdist_typer = rdreg->base + GICR_TYPER + in vgic_mmio_read_v3r_typer()
277 gpa_t addr, unsigned int len) in vgic_uaccess_read_v3r_typer()
[all …]
Dvgic-its.c124 gpa_t itt_addr;
430 gpa_t pendbase = GICR_PENDBASER_ADDRESS(vcpu->arch.vgic_cpu.pendbaser); in its_sync_lpi_pending_table()
478 gpa_t addr, unsigned int len) in vgic_mmio_read_its_typer()
500 gpa_t addr, unsigned int len) in vgic_mmio_read_its_iidr()
511 gpa_t addr, unsigned int len, in vgic_mmio_uaccess_write_its_iidr()
523 gpa_t addr, unsigned int len) in vgic_mmio_read_its_idregs()
905 gpa_t *eaddr) in vgic_its_check_id()
1148 u32 device_id, gpa_t itt_addr, in vgic_its_alloc_device()
1176 gpa_t itt_addr = its_cmd_get_ittaddr(its_cmd); in vgic_its_cmd_handle_mapd()
1489 gpa_t addr, unsigned int len) in vgic_mmio_read_its_cbaser()
[all …]
Dvgic.h152 gpa_t addr;
161 gpa_t addr, int len);
191 int vgic_register_dist_iodev(struct kvm *kvm, gpa_t dist_base_address,
297 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size);
299 static inline bool vgic_dist_overlap(struct kvm *kvm, gpa_t base, size_t size) in vgic_dist_overlap()
Dvgic-v3.c318 gpa_t pendbase, ptr; in vgic_v3_lpi_sync_pending_status()
367 gpa_t last_ptr = ~(gpa_t)0; in vgic_v3_save_pending_tables()
374 gpa_t pendbase, ptr; in vgic_v3_save_pending_tables()
420 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size) in vgic_v3_rdist_overlap()
/Linux-v5.10/include/kvm/
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()
Darm_vgic.h155 gpa_t base_addr;
168 gpa_t vgic_its_base;
197 gpa_t base;
223 gpa_t vgic_dist_base; /* distributor */
226 gpa_t vgic_cpu_base;
/Linux-v5.10/include/linux/
Dkvm_types.h37 typedef u64 gpa_t; typedef
40 #define GPA_INVALID (~(gpa_t)0)
50 gpa_t gpa;
Dkvm_host.h164 gpa_t addr;
185 int kvm_io_bus_write(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
188 gpa_t addr, int len, const void *val, long cookie);
189 int kvm_io_bus_read(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr,
191 int kvm_io_bus_register_dev(struct kvm *kvm, enum kvm_bus bus_idx, gpa_t addr,
196 gpa_t addr);
205 gpa_t cr2_or_gpa;
214 bool kvm_setup_async_pf(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa,
257 gpa_t gpa;
735 int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len);
[all …]
/Linux-v5.10/arch/x86/kvm/
Dmmu.h62 gpa_t nested_cr3);
64 bool accessed_dirty, gpa_t new_eptp);
77 static inline unsigned long kvm_get_pcid(struct kvm_vcpu *vcpu, gpa_t cr3) in kvm_get_pcid()
102 int kvm_tdp_page_fault(struct kvm_vcpu *vcpu, gpa_t gpa, u32 error_code,
105 static inline int kvm_mmu_do_page_fault(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, in kvm_mmu_do_page_fault()
Di8259.c452 gpa_t addr, int len, const void *val) in picdev_write()
486 gpa_t addr, int len, void *val) in picdev_read()
517 gpa_t addr, int len, const void *val) in picdev_master_write()
524 gpa_t addr, int len, void *val) in picdev_master_read()
531 gpa_t addr, int len, const void *val) in picdev_slave_write()
538 gpa_t addr, int len, void *val) in picdev_slave_read()
545 gpa_t addr, int len, const void *val) in picdev_eclr_write()
552 gpa_t addr, int len, void *val) in picdev_eclr_read()
Di8254.c433 static inline int pit_in_range(gpa_t addr) in pit_in_range()
441 gpa_t addr, int len, const void *data) in pit_ioport_write()
516 gpa_t addr, int len, void *data) in pit_ioport_read()
586 gpa_t addr, int len, const void *data) in speaker_ioport_write()
603 gpa_t addr, int len, void *data) in speaker_ioport_read()
/Linux-v5.10/arch/x86/kvm/mmu/
Dpaging_tmpl.h90 gpa_t pte_gpa[PT_MAX_FULL_LEVELS];
238 gpa_t addr, int write_fault) in FNAME()
313 gpa_t addr, u32 access) in FNAME()
322 gpa_t pte_gpa; in FNAME()
330 gpa_t real_gpa; in FNAME()
512 struct kvm_vcpu *vcpu, gpa_t addr, u32 access) in FNAME()
572 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
627 static int FNAME(fetch)(struct kvm_vcpu *vcpu, gpa_t addr, in FNAME()
785 static int FNAME(page_fault)(struct kvm_vcpu *vcpu, gpa_t addr, u32 error_code, in FNAME()
889 static gpa_t FNAME(get_level1_sp_gpa)(struct kvm_mmu_page *sp) in FNAME()
[all …]
Dmmutrace.h249 TP_PROTO(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, u32 error_code,
255 __field(gpa_t, cr2_or_gpa)
364 TP_PROTO(gpa_t addr, int level, kvm_pfn_t pfn),
/Linux-v5.10/arch/powerpc/kvm/
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()
806 static int openpic_tmr_write(void *opaque, gpa_t addr, u32 val) in openpic_tmr_write()
848 static int openpic_tmr_read(void *opaque, gpa_t addr, u32 *ptr) in openpic_tmr_read()
886 static int openpic_src_write(void *opaque, gpa_t addr, u32 val) in openpic_src_write()
911 static int openpic_src_read(void *opaque, gpa_t addr, u32 *ptr) in openpic_src_read()
940 static int openpic_msi_write(void *opaque, gpa_t addr, u32 val) in openpic_msi_write()
[all …]
/Linux-v5.10/arch/x86/include/asm/
Dkvm_host.h112 #define UNMAPPED_GVA (~(gpa_t)0)
331 gpa_t pgd;
350 int (*page_fault)(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, u32 err,
354 gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, gpa_t gva_or_gpa,
356 gpa_t (*translate_gpa)(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access,
364 gpa_t root_pgd;
653 gpa_t time;
934 gpa_t wall_clock;
1295 int (*write_log_dirty)(struct kvm_vcpu *vcpu, gpa_t l2_gpa);
1373 int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa,
[all …]
Dkvm_page_track.h35 void (*track_write)(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new,
71 void kvm_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new,
/Linux-v5.10/arch/mips/kvm/
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()
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.h80 gpa_t vmxon_ptr;
84 gpa_t current_vmptr;
175 gpa_t hv_evmcs_vmptr;
302 gpa_t ept_identity_map_addr;
/Linux-v5.10/arch/arm64/kvm/
Dmmu.c437 gpa_t gpa = addr + (vm_start - memslot->userspace_addr); in stage2_unmap_memslot()
631 gpa_t gpa_start; in fault_supports_stage2_huge_mapping()
1068 gpa_t gpa, u64 size, in handle_hva_to_gpa()
1096 static int kvm_unmap_hva_handler(struct kvm *kvm, gpa_t gpa, u64 size, void *data) in kvm_unmap_hva_handler()
1116 static int kvm_set_spte_handler(struct kvm *kvm, gpa_t gpa, u64 size, void *data) in kvm_set_spte_handler()
1152 static int kvm_age_hva_handler(struct kvm *kvm, gpa_t gpa, u64 size, void *data) in kvm_age_hva_handler()
1163 static int kvm_test_age_hva_handler(struct kvm *kvm, gpa_t gpa, u64 size, void *data) in kvm_test_age_hva_handler()
1343 gpa_t gpa = mem->guest_phys_addr + in kvm_arch_prepare_memory_region()
1395 gpa_t gpa = slot->base_gfn << PAGE_SHIFT; in kvm_arch_flush_shadow_memslot()
/Linux-v5.10/arch/s390/kvm/
Dvsie.c42 gpa_t sca_gpa; /* 0x0230 */
43 gpa_t itdba_gpa; /* 0x0238 */
44 gpa_t gvrd_gpa; /* 0x0240 */
45 gpa_t riccbd_gpa; /* 0x0248 */
46 gpa_t sdnx_gpa; /* 0x0250 */
644 static int pin_guest_page(struct kvm *kvm, gpa_t gpa, hpa_t *hpa) in pin_guest_page()
656 static void unpin_guest_page(struct kvm *kvm, gpa_t gpa, hpa_t hpa) in unpin_guest_page()
725 gpa_t gpa; in pin_blocks()
839 gpa_t gpa) in unpin_scb()
855 gpa_t gpa) in pin_scb()
/Linux-v5.10/arch/arm64/include/asm/
Dkvm_mmu.h190 gpa_t gpa, void *data, unsigned long len)
200 static inline int kvm_write_guest_lock(struct kvm *kvm, gpa_t gpa,
/Linux-v5.10/virt/kvm/
Dcoalesced_mmio.c26 gpa_t addr, int len) in coalesced_mmio_in_range()
65 struct kvm_io_device *this, gpa_t addr, in coalesced_mmio_write()

123