/linux/arch/arm64/kvm/vgic/ |
A D | vgic-mmio.h | 17 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, 161 gpa_t addr, unsigned int len, 165 gpa_t addr, unsigned int len, 175 gpa_t addr, unsigned int len, [all …]
|
A D | vgic-mmio.c | 20 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() 166 gpa_t addr, unsigned int len, in vgic_mmio_write_cenable() 313 gpa_t addr, unsigned int len, in vgic_uaccess_write_spending() 407 gpa_t addr, unsigned int len, in vgic_uaccess_write_cpending() 898 gpa_t addr, int len) in check_region() 929 gpa_t addr, int len) in vgic_get_mmio_region() [all …]
|
A D | vgic-mmio-v2.c | 26 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() 312 gpa_t addr, unsigned int len, in vgic_mmio_write_vcpuif() 352 gpa_t addr, unsigned int len) in vgic_mmio_read_apr() 377 gpa_t addr, unsigned int len, in vgic_mmio_write_apr() [all …]
|
A D | vgic-mmio-v3.c | 65 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() 319 gpa_t addr, unsigned int len) in vgic_v3_uaccess_read_pending() 355 gpa_t addr, unsigned int len, in vgic_v3_uaccess_write_pending() 704 gpa_t rd_base; in vgic_register_redist_iodev() [all …]
|
A D | vgic-its.c | 124 gpa_t itt_addr; 905 gpa_t *eaddr) in vgic_its_check_id() 1521 gpa_t cbaser; in vgic_its_process_commands() 1948 gpa_t offset = attr->attr; in vgic_its_has_attr_regs() 1971 gpa_t addr, offset; in vgic_its_attr_regs_access() 2093 gpa_t gpa = base; in scan_its_table() 2299 gpa_t itt_addr; in vgic_its_restore_dte() 2365 gpa_t eaddr; in vgic_its_save_device_tables() 2401 gpa_t gpa; in handle_l1_dte() 2427 gpa_t l1_gpa; in vgic_its_restore_device_tables() [all …]
|
A D | vgic.h | 152 gpa_t addr; 161 gpa_t addr, int len); 194 int vgic_register_dist_iodev(struct kvm *kvm, gpa_t dist_base_address, 301 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size); 303 static inline bool vgic_dist_overlap(struct kvm *kvm, gpa_t base, size_t size) in vgic_dist_overlap()
|
A D | vgic-v3.c | 308 gpa_t pendbase, ptr; in vgic_v3_lpi_sync_pending_status() 383 gpa_t last_ptr = ~(gpa_t)0; in vgic_v3_save_pending_tables() 404 gpa_t pendbase, ptr; in vgic_v3_save_pending_tables() 462 bool vgic_v3_rdist_overlap(struct kvm *kvm, gpa_t base, size_t size) in vgic_v3_rdist_overlap()
|
/linux/arch/riscv/kvm/ |
A D | mmu.c | 38 #define stage2_gpa_size ((gpa_t)(1ULL << stage2_gpa_bits)) 175 gpa_t addr, const pte_t *new_pte) in stage2_set_pte() 213 gpa_t gpa, phys_addr_t hpa, in stage2_map_page() 262 static void stage2_op_pte(struct kvm *kvm, gpa_t addr, in stage2_op_pte() 304 gpa_t size, bool may_block) in stage2_unmap_range() 311 gpa_t addr = start, end = start + size; in stage2_unmap_range() 339 static void stage2_wp_range(struct kvm *kvm, gpa_t start, gpa_t end) in stage2_wp_range() 345 gpa_t addr = start; in stage2_wp_range() 456 gpa_t gpa = slot->base_gfn << PAGE_SHIFT; in kvm_arch_flush_shadow_memslot() 536 gpa_t gpa = mem->guest_phys_addr + in kvm_arch_prepare_memory_region() [all …]
|
/linux/include/kvm/ |
A D | iodev.h | 20 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()
|
A D | arm_vgic.h | 174 gpa_t base_addr; 187 gpa_t vgic_its_base; 216 gpa_t base; 242 gpa_t vgic_dist_base; /* distributor */ 245 gpa_t vgic_cpu_base;
|
/linux/arch/powerpc/kvm/ |
A D | mpic.c | 124 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 …]
|
/linux/include/linux/ |
A D | kvm_host.h | 177 gpa_t addr; 209 gpa_t addr); 218 gpa_t cr2_or_gpa; 289 gpa_t gpa; 896 gpa_t gpa, unsigned long len); 911 gpa_t __gpa = gpa; \ 933 gpa_t __gpa = gpa; \ 1318 static inline gpa_t gfn_to_gpa(gfn_t gfn) in gfn_to_gpa() 1320 return (gpa_t)gfn << PAGE_SHIFT; in gfn_to_gpa() 1323 static inline gfn_t gpa_to_gfn(gpa_t gpa) in gpa_to_gfn() [all …]
|
A D | kvm_types.h | 37 typedef u64 gpa_t; typedef 40 #define GPA_INVALID (~(gpa_t)0) 50 gpa_t gpa;
|
/linux/arch/x86/kvm/mmu/ |
A D | paging_tmpl.h | 90 gpa_t pte_gpa[PT_MAX_FULL_LEVELS]; 342 gpa_t addr, u32 access) in FNAME() 351 gpa_t pte_gpa; in FNAME() 359 gpa_t real_gpa; in FNAME() 973 gpa_t pte_gpa; in FNAME() 1003 static gpa_t FNAME(gva_to_gpa)(struct kvm_vcpu *vcpu, gpa_t addr, u32 access, in FNAME() 1007 gpa_t gpa = UNMAPPED_GVA; in FNAME() 1023 static gpa_t FNAME(gva_to_gpa_nested)(struct kvm_vcpu *vcpu, gpa_t vaddr, in FNAME() 1028 gpa_t gpa = UNMAPPED_GVA; in FNAME() 1063 gpa_t first_pte_gpa; in FNAME() [all …]
|
/linux/arch/x86/kvm/ |
A D | cpuid.h | 41 static inline bool kvm_vcpu_is_legal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_legal_gpa() 46 static inline bool kvm_vcpu_is_illegal_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in kvm_vcpu_is_illegal_gpa() 52 gpa_t gpa, gpa_t alignment) in kvm_vcpu_is_legal_aligned_gpa() 57 static inline bool page_address_valid(struct kvm_vcpu *vcpu, gpa_t gpa) in page_address_valid()
|
A D | mmu.h | 72 unsigned long cr4, u64 efer, gpa_t nested_cr3); 74 bool accessed_dirty, gpa_t new_eptp); 92 static inline unsigned long kvm_get_pcid(struct kvm_vcpu *vcpu, gpa_t cr3) in kvm_get_pcid() 119 const gpa_t addr; 178 static inline int kvm_mmu_do_page_fault(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, in kvm_mmu_do_page_fault()
|
A D | i8259.c | 452 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_elcr_write() 552 gpa_t addr, int len, void *val) in picdev_elcr_read()
|
A D | x86.h | 270 static inline bool vcpu_match_mmio_gpa(struct kvm_vcpu *vcpu, gpa_t gpa) in vcpu_match_mmio_gpa() 304 void kvm_write_wall_clock(struct kvm *kvm, gpa_t wall_clock, int sec_hi_ofs); 332 int x86_emulate_instruction(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, 488 int kvm_sev_es_mmio_write(struct kvm_vcpu *vcpu, gpa_t src, unsigned int bytes, 490 int kvm_sev_es_mmio_read(struct kvm_vcpu *vcpu, gpa_t src, unsigned int bytes,
|
A D | i8254.c | 434 static inline int pit_in_range(gpa_t addr) in pit_in_range() 442 gpa_t addr, int len, const void *data) in pit_ioport_write() 517 gpa_t addr, int len, void *data) in pit_ioport_read() 587 gpa_t addr, int len, const void *data) in speaker_ioport_write() 604 gpa_t addr, int len, void *data) in speaker_ioport_read()
|
/linux/arch/x86/include/asm/ |
A D | kvm_host.h | 126 #define UNMAPPED_GVA (~(gpa_t)0) 127 #define INVALID_GPA (~(gpa_t)0) 398 gpa_t pgd; 423 gpa_t (*gva_to_gpa)(struct kvm_vcpu *vcpu, gpa_t gva_or_gpa, 425 gpa_t (*translate_gpa)(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access, 431 gpa_t root_pgd; 740 gpa_t time; 1082 gpa_t wall_clock; 1595 int emulator_write_phys(struct kvm_vcpu *vcpu, gpa_t gpa, 1765 gpa_t translate_nested_gpa(struct kvm_vcpu *vcpu, gpa_t gpa, u32 access, [all …]
|
A D | kvm_page_track.h | 35 void (*track_write)(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new, 76 void kvm_page_track_write(struct kvm_vcpu *vcpu, gpa_t gpa, const u8 *new,
|
/linux/arch/mips/kvm/ |
A D | loongson_ipi.c | 52 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/arch/x86/kvm/vmx/ |
A D | sgx.c | 73 gpa_t *gpa) in sgx_gva_to_gpa() 90 static int sgx_gpa_to_hva(struct kvm_vcpu *vcpu, gpa_t gpa, unsigned long *hva) in sgx_gpa_to_hva() 210 gpa_t metadata_gpa, contents_gpa, secs_gpa; in handle_encls_ecreate() 291 gpa_t sig_gpa, secs_gpa, token_gpa; in handle_encls_einit()
|
A D | vmx.h | 126 gpa_t vmxon_ptr; 130 gpa_t current_vmptr; 232 gpa_t hv_evmcs_vmptr; 355 gpa_t ept_identity_map_addr;
|
/linux/arch/s390/kvm/ |
A D | vsie.c | 43 gpa_t sca_gpa; /* 0x0230 */ 44 gpa_t itdba_gpa; /* 0x0238 */ 45 gpa_t gvrd_gpa; /* 0x0240 */ 46 gpa_t riccbd_gpa; /* 0x0248 */ 47 gpa_t sdnx_gpa; /* 0x0250 */ 642 static int pin_guest_page(struct kvm *kvm, gpa_t gpa, hpa_t *hpa) in pin_guest_page() 654 static void unpin_guest_page(struct kvm *kvm, gpa_t gpa, hpa_t hpa) in unpin_guest_page() 723 gpa_t gpa; in pin_blocks() 837 gpa_t gpa) in unpin_scb() 853 gpa_t gpa) in pin_scb()
|