Skip to contentSkip to conversation

KVM: PPC: e500: Eliminate shadow_pages[], and use pfns

PATCH In review Scott Wood 1 participant 1 message May 17, 2011

Subsystems (2)
lore
Share & tools
lore

Scott Wood

author
#0 lore raw

PATCH 7/13 KVM: PPC: e500: Eliminate shadow_pages[], and use pfns

This is in line with what other architectures do, and will allow us to map things other than ordinary, unreserved kernel pages -- such as dedicated devices, or large contiguous reserved regions.

---
 arch/powerpc/include/asm/kvm_e500.h |    2 -
 arch/powerpc/kvm/e500_tlb.c         |   56 ++++++++++++-----------------------
 2 files changed, 19 insertions(+), 39 deletions(-)
arch/powerpc/include/asm/kvm_e500.h +0 -2
index 7a2a565..f181ad1 100644
@@ -34,8 +34,6 @@ struct kvmppc_vcpu_e500 {
 	struct tlbe *guest_tlb[E500_TLB_NUM];
 	/* TLB that's actually used when the guest is running. */
 	struct tlbe *shadow_tlb[E500_TLB_NUM];
-	/* Pages which are referenced in the shadow TLB. */
-	struct page **shadow_pages[E500_TLB_NUM];
 
 	unsigned int guest_tlb_size[E500_TLB_NUM];
 	unsigned int shadow_tlb_size[E500_TLB_NUM];
arch/powerpc/kvm/e500_tlb.c +19 -37

107 lines not on this page · raw message

Signature · 1 line
1.7.4.1