Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
De500_mmu_host.h12 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel,
15 int e500_mmu_host_init(struct kvmppc_vcpu_e500 *vcpu_e500);
16 void e500_mmu_host_uninit(struct kvmppc_vcpu_e500 *vcpu_e500);
De500.h60 struct kvmppc_vcpu_e500 { struct
103 static inline struct kvmppc_vcpu_e500 *to_e500(struct kvm_vcpu *vcpu) in to_e500() argument
105 return container_of(vcpu, struct kvmppc_vcpu_e500, vcpu); in to_e500()
128 int kvmppc_e500_emul_mt_mmucsr0(struct kvmppc_vcpu_e500 *vcpu_e500,
135 int kvmppc_e500_tlb_init(struct kvmppc_vcpu_e500 *vcpu_e500);
136 void kvmppc_e500_tlb_uninit(struct kvmppc_vcpu_e500 *vcpu_e500);
147 unsigned int kvmppc_e500_get_sid(struct kvmppc_vcpu_e500 *vcpu_e500,
279 struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, int entry) in get_entry()
285 void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500,
287 void kvmppc_e500_tlbil_all(struct kvmppc_vcpu_e500 *vcpu_e500);
[all …]
De500.c124 static void *kvmppc_e500_id_table_alloc(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_id_table_alloc()
130 static void kvmppc_e500_id_table_free(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_id_table_free()
140 static void kvmppc_e500_recalc_shadow_pid(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_recalc_shadow_pid()
154 static void kvmppc_e500_id_table_reset_all(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_id_table_reset_all()
164 struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_id_table_reset_one()
189 unsigned int kvmppc_e500_get_sid(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_get_sid()
227 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_set_pid()
236 void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlbil_one()
292 void kvmppc_e500_tlbil_all(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_tlbil_all()
333 static void kvmppc_e500_tlb_setup(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_tlb_setup()
[all …]
De500_mmu.c40 struct kvmppc_vcpu_e500 *vcpu_e500) in gtlb0_get_next_victim()
61 static int gtlb0_set_base(struct kvmppc_vcpu_e500 *vcpu_e500, gva_t addr) in gtlb0_set_base()
69 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in get_tlb_esel()
83 static int kvmppc_e500_tlb_index(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlb_index()
132 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_e500_deliver_tlb_miss()
154 static void kvmppc_recalc_tlb1map_range(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_recalc_tlb1map_range()
182 static int kvmppc_need_recalc_tlb1map_range(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_need_recalc_tlb1map_range()
200 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_set_tlb1map_range()
214 struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_gtlbe_invalidate()
231 int kvmppc_e500_emul_mt_mmucsr0(struct kvmppc_vcpu_e500 *vcpu_e500, ulong value) in kvmppc_e500_emul_mt_mmucsr0()
[all …]
De500_mmu_host.c127 static inline void write_host_tlbe(struct kvmppc_vcpu_e500 *vcpu_e500, in write_host_tlbe()
144 static void write_stlbe(struct kvmppc_vcpu_e500 *vcpu_e500, in write_stlbe()
163 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_map_magic()
187 void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, in inval_gtlbe_on_host()
274 static void clear_tlb1_bitmap(struct kvmppc_vcpu_e500 *vcpu_e500) in clear_tlb1_bitmap()
284 static void clear_tlb_privs(struct kvmppc_vcpu_e500 *vcpu_e500) in clear_tlb_privs()
300 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_flush_tlb()
325 static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_shadow_map()
514 static int kvmppc_e500_tlb0_map(struct kvmppc_vcpu_e500 *vcpu_e500, int esel, in kvmppc_e500_tlb0_map()
537 static int kvmppc_e500_tlb1_map_tlb1(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlb1_map_tlb1()
[all …]
De500mc.c59 void kvmppc_e500_tlbil_one(struct kvmppc_vcpu_e500 *vcpu_e500, in kvmppc_e500_tlbil_one()
93 void kvmppc_e500_tlbil_all(struct kvmppc_vcpu_e500 *vcpu_e500) in kvmppc_e500_tlbil_all()
118 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_load_e500mc()
201 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_setup()
221 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_get_sregs_e500mc()
245 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_set_sregs_e500mc()
311 struct kvmppc_vcpu_e500 *vcpu_e500; in kvmppc_core_vcpu_create_e500mc()
354 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_vcpu_free_e500mc()
426 r = kvm_init(NULL, sizeof(struct kvmppc_vcpu_e500), 0, THIS_MODULE); in kvmppc_e500mc_init()
De500_emulate.c111 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_e500_emul_dcbtls()
210 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_emulate_mtspr_e500()
327 struct kvmppc_vcpu_e500 *vcpu_e500 = to_e500(vcpu); in kvmppc_core_emulate_mfspr_e500()