Home
last modified time | relevance | path

Searched refs:kvmppc_vcpu_e500 (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/arch/powerpc/kvm/
De500.h57 struct kvmppc_vcpu_e500 { struct
100 static inline struct kvmppc_vcpu_e500 *to_e500(struct kvm_vcpu *vcpu) in to_e500() argument
102 return container_of(vcpu, struct kvmppc_vcpu_e500, vcpu); in to_e500()
125 int kvmppc_e500_emul_mt_mmucsr0(struct kvmppc_vcpu_e500 *vcpu_e500,
132 int kvmppc_e500_tlb_init(struct kvmppc_vcpu_e500 *vcpu_e500);
133 void kvmppc_e500_tlb_uninit(struct kvmppc_vcpu_e500 *vcpu_e500);
144 unsigned int kvmppc_e500_get_sid(struct kvmppc_vcpu_e500 *vcpu_e500,
276 struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, int entry) in get_entry()
282 void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500,
284 void kvmppc_e500_tlbil_all(struct kvmppc_vcpu_e500 *vcpu_e500);
[all …]
De500.c120 static void *kvmppc_e500_id_table_alloc(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_id_table_alloc()
126 static void kvmppc_e500_id_table_free(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_id_table_free()
136 static void kvmppc_e500_recalc_shadow_pid(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_recalc_shadow_pid()
150 static void kvmppc_e500_id_table_reset_all(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_id_table_reset_all()
160 struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_id_table_reset_one()
185 unsigned int kvmppc_e500_get_sid(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_get_sid()
223 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_set_pid()
232 void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlbil_one()
288 void kvmppc_e500_tlbil_all(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_tlbil_all()
329 static void kvmppc_e500_tlb_setup(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_tlb_setup()
[all …]
De500_mmu_host.h9 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel,
12 int e500_mmu_host_init(struct kvmppc_vcpu_e500 *vcpu_e500);
13 void e500_mmu_host_uninit(struct kvmppc_vcpu_e500 *vcpu_e500);
De500_mmu.c37 struct kvmppc_vcpu_e500 *vcpu_e500) in gtlb0_get_next_victim()
58 static int gtlb0_set_base(struct kvmppc_vcpu_e500 *vcpu_e500, gva_t addr) in gtlb0_set_base()
66 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in get_tlb_esel()
80 static int kvmppc_e500_tlb_index(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlb_index()
129 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_e500_deliver_tlb_miss()
151 static void kvmppc_recalc_tlb1map_range(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_recalc_tlb1map_range()
179 static int kvmppc_need_recalc_tlb1map_range(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_need_recalc_tlb1map_range()
197 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_set_tlb1map_range()
211 struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_gtlbe_invalidate()
228 int kvmppc_e500_emul_mt_mmucsr0(struct kvmppc_vcpu_e500 *vcpu_e500, ulong value) in kvmppc_e500_emul_mt_mmucsr0()
[all …]
De500mc.c55 void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlbil_one()
89 void kvmppc_e500_tlbil_all(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_tlbil_all()
114 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_load_e500mc()
197 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_setup()
217 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_get_sregs_e500mc()
241 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_set_sregs_e500mc()
306 struct kvmppc_vcpu_e500 *vcpu_e500; in kvmppc_core_vcpu_create_e500mc()
309 BUILD_BUG_ON(offsetof(struct kvmppc_vcpu_e500, vcpu) != 0); in kvmppc_core_vcpu_create_e500mc()
334 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_free_e500mc()
403 r = kvm_init(NULL, sizeof(struct kvmppc_vcpu_e500), 0, THIS_MODULE); in kvmppc_e500mc_init()
De500_mmu_host.c124 static inline void write_host_tlbe(struct kvmppc_vcpu_e500 *vcpu_e500, in write_host_tlbe()
141 static void write_stlbe(struct kvmppc_vcpu_e500 *vcpu_e500, in write_stlbe()
160 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_map_magic()
184 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, in inval_gtlbe_on_host()
271 static void clear_tlb1_bitmap(struct kvmppc_vcpu_e500 *vcpu_e500) in clear_tlb1_bitmap()
281 static void clear_tlb_privs(struct kvmppc_vcpu_e500 *vcpu_e500) in clear_tlb_privs()
297 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_flush_tlb()
322 static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_shadow_map()
511 static int kvmppc_e500_tlb0_map(struct kvmppc_vcpu_e500 *vcpu_e500, int esel, in kvmppc_e500_tlb0_map()
534 static int kvmppc_e500_tlb1_map_tlb1(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlb1_map_tlb1()
[all …]
De500_emulate.c108 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_e500_emul_dcbtls()
206 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_emulate_mtspr_e500()
323 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_emulate_mfspr_e500()