Lines Matching defs:kvm_arch
271 struct kvm_arch { struct
272 unsigned int lpid;
273 unsigned int smt_mode; /* # vcpus per virtual core */
274 unsigned int emul_smt_mode; /* emualted SMT mode, on P9 */
276 unsigned int tlb_sets;
277 struct kvm_hpt_info hpt;
278 atomic64_t mmio_update;
279 unsigned int host_lpid;
280 unsigned long host_lpcr;
281 unsigned long sdr1;
282 unsigned long host_sdr1;
283 unsigned long lpcr;
284 unsigned long vrma_slb_v;
285 int mmu_ready;
286 atomic_t vcpus_running;
287 u32 online_vcores;
288 atomic_t hpte_mod_interest;
289 cpumask_t need_tlb_flush;
290 cpumask_t cpu_in_guest;
291 u8 radix;
292 u8 fwnmi_enabled;
293 u8 secure_guest;
294 u8 svm_enabled;
295 bool nested_enable;
296 bool dawr1_enabled;
297 pgd_t *pgtable;
298 u64 process_table;
299 struct dentry *debugfs_dir;
300 struct kvm_resize_hpt *resize_hpt; /* protected by kvm->lock */
303 struct mutex hpt_mutex;
306 struct list_head spapr_tce_tables;
307 struct list_head rtas_tokens;
308 struct mutex rtas_token_lock;
312 struct openpic *mpic;
315 struct kvmppc_xics *xics;
316 struct kvmppc_xics *xics_device;
317 struct kvmppc_xive *xive; /* Current XIVE device in use */
318 struct {
321 } xive_devices;
322 struct kvmppc_passthru_irqmap *pimap;
324 struct kvmppc_ops *kvm_ops;
326 struct mutex uvmem_lock;
327 struct list_head uvmem_pfns;
328 struct mutex mmu_setup_lock; /* nests inside vcpu mutexes */
329 u64 l1_ptcr;
330 int max_nested_lpid;
331 struct kvm_nested_guest *nested_guests[KVM_MAX_NESTED_GUESTS];
333 struct kvmppc_vcore *vcores[KVM_MAX_VCORES];