OSDN Git Service

KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char()
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 1 Mar 2019 03:25:16 +0000 (14:25 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Fri, 1 Mar 2019 04:11:14 +0000 (15:11 +1100)
commit2b57ecd0208f7ac0b20b1b171698f027481a39f6
tree6b967ed0e8e455d6d6abd606476a6b24233a3317
parente74d53e30e2927fa5b223296ac7922baf15ea89a
KVM: PPC: Book3S: Add count cache flush parameters to kvmppc_get_cpu_char()

Add KVM_PPC_CPU_CHAR_BCCTR_FLUSH_ASSIST &
KVM_PPC_CPU_BEHAV_FLUSH_COUNT_CACHE to the characteristics returned
from the H_GET_CPU_CHARACTERISTICS H-CALL, as queried from either the
hypervisor or the device tree.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/include/uapi/asm/kvm.h
arch/powerpc/kvm/powerpc.c