KVM: PPC: Book3S HV: Add KVM stat largepages_[2M/1G]
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Tue, 19 Feb 2019 03:53:45 +0000 (14:53 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 19 Feb 2019 05:00:15 +0000 (16:00 +1100)
commit8f1f7b9bedbce8d84e0b6b8beac671a6bc8f02c9
treed95a233ba4ac90a2fd19fe2613b28c8ac09aa278
parenta67614cc05a5052b265ea48196dab2fce11f5f2e
KVM: PPC: Book3S HV: Add KVM stat largepages_[2M/1G]

This adds an entry to the kvm_stats_debugfs directory which provides the
number of large (2M or 1G) pages which have been used to setup the guest
mappings, for radix guests.

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