Home
last modified time | relevance | path

Searched refs:qshift (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_xive_native.c533 static int xive_native_validate_queue_size(u32 qshift) in xive_native_validate_queue_size() argument
539 switch (qshift) { in xive_native_validate_queue_size()
596 kvm_eq.qshift, kvm_eq.qaddr, kvm_eq.qtoggle, kvm_eq.qindex); in kvmppc_xive_native_set_queue_config()
599 if (!kvm_eq.qshift) { in kvmppc_xive_native_set_queue_config()
626 rc = xive_native_validate_queue_size(kvm_eq.qshift); in kvmppc_xive_native_set_queue_config()
628 pr_err("invalid queue size %d\n", kvm_eq.qshift); in kvmppc_xive_native_set_queue_config()
632 if (kvm_eq.qaddr & ((1ull << kvm_eq.qshift) - 1)) { in kvmppc_xive_native_set_queue_config()
634 1ull << kvm_eq.qshift); in kvmppc_xive_native_set_queue_config()
642 if (1ull << kvm_eq.qshift > page_size) { in kvmppc_xive_native_set_queue_config()
663 q->guest_qshift = kvm_eq.qshift; in kvmppc_xive_native_set_queue_config()
[all …]
/arch/powerpc/include/uapi/asm/
Dkvm.h714 __u32 qshift; member