aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/book3s64/radix_tlb.c
diff options
context:
space:
mode:
authorBharata B Rao <bharata@linux.ibm.com>2021-06-21 14:20:01 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-22 23:35:37 +1000
commit53324b51c5eee22d420a2df68b1820d929fa90f3 (patch)
tree0c0c43b9af5747df7400aef5d1a65203bcafe168 /arch/powerpc/mm/book3s64/radix_tlb.c
parentKVM: PPC: Book3S HV: Add support for H_RPT_INVALIDATE (diff)
downloadlinux-dev-53324b51c5eee22d420a2df68b1820d929fa90f3.tar.xz
linux-dev-53324b51c5eee22d420a2df68b1820d929fa90f3.zip
KVM: PPC: Book3S HV: Nested support in H_RPT_INVALIDATE
Enable support for process-scoped invalidations from nested guests and partition-scoped invalidations for nested guests. Process-scoped invalidations for any level of nested guests are handled by implementing H_RPT_INVALIDATE handler in the nested guest exit path in L0. Partition-scoped invalidation requests are forwarded to the right nested guest, handled there and passed down to L0 for eventual handling. Signed-off-by: Bharata B Rao <bharata@linux.ibm.com> [aneesh: Nested guest partition-scoped invalidation changes] Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> [mpe: Squash in fixup patch] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210621085003.904767-5-bharata@linux.ibm.com
Diffstat (limited to '')
-rw-r--r--arch/powerpc/mm/book3s64/radix_tlb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/powerpc/mm/book3s64/radix_tlb.c b/arch/powerpc/mm/book3s64/radix_tlb.c
index 1815fe4c5ffa..318ec4f33661 100644
--- a/arch/powerpc/mm/book3s64/radix_tlb.c
+++ b/arch/powerpc/mm/book3s64/radix_tlb.c
@@ -20,10 +20,6 @@
#include "internal.h"
-#define RIC_FLUSH_TLB 0
-#define RIC_FLUSH_PWC 1
-#define RIC_FLUSH_ALL 2
-
/*
* tlbiel instruction for radix, set invalidation
* i.e., r=1 and is=01 or is=10 or is=11