summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/kvm/BUILD
diff options
context:
space:
mode:
authorRobin Luk <lubin.lu@antgroup.com>2021-05-19 19:48:05 +0800
committerRobin Luk <lubin.lu@antgroup.com>2021-05-24 11:18:28 +0800
commit2c3b314e667495b618e442da05d198eea6eb4efe (patch)
tree368d37fb43be87641d0591d5869718c1a240bea2 /pkg/sentry/platform/kvm/BUILD
parent52394c34afce6c2a8861d556c9929b1c87c3a201 (diff)
arm64 kvm:use TLBI with "Inner Shareable" instead of IPI operation
on Arm64 platform, we can use TLBI with 'IS' instead of IPI operation. According to my understanding, the logic in invalidate() is much like an IPI operation. On Arm64, we can simply perform vmalle1is invalidation here, not use IPI. Reference: https://github.com/torvalds/linux/blob/v5.12/arch/arm64/kvm/mmu.c#L81 Signed-off-by: Robin Luk <lubin.lu@antgroup.com>
Diffstat (limited to 'pkg/sentry/platform/kvm/BUILD')
-rw-r--r--pkg/sentry/platform/kvm/BUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/platform/kvm/BUILD b/pkg/sentry/platform/kvm/BUILD
index b307832fd..77079cae9 100644
--- a/pkg/sentry/platform/kvm/BUILD
+++ b/pkg/sentry/platform/kvm/BUILD
@@ -6,6 +6,8 @@ go_library(
name = "kvm",
srcs = [
"address_space.go",
+ "address_space_amd64.go",
+ "address_space_arm64.go",
"bluepill.go",
"bluepill_allocator.go",
"bluepill_amd64.go",