Will Deacon
|
53126fcffe
|
Revert "ANDROID: KVM: arm64: Reclaim vm state pages in teardown memcache"
This reverts commit 4fc088eb4d.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ib501d33a02db97c1f6baea30799f5bb2a5e199b6
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
595bc3a9a9
|
Revert "ANDROID: KVM: arm64: Avoid switching to guest context if guest is already loaded"
This reverts commit 42fe901800.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Icfe3e376901026537c30d82f582f4ea1b70f95df
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
a0ef0f6062
|
Revert "ANDROID: BACKPORT: KVM: arm64: Turn kvm_pgtable_stage2_set_owner into kvm_pgtable_stage2_annotate"
This reverts commit cc8d7dcc40.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Id91c26607ade15cf26e0b16ff34d75ac510a5796
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
9a15f73e76
|
Revert "ANDROID: BACKPORT: KVM: arm64: Make owner ids 32 bits wide"
This reverts commit 5da4a4ca5f.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ife482bbf47e0d284ef13a1ea3221e1788749cda2
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
6185f0af6a
|
Revert "ANDROID: BACKPORT: KVM: arm64: Use guest VMID as owner id"
This reverts commit dded44bcfd.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I9f065a0e0d60df6663f6fffedfbc94d77dc16c4a
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
e3c771734c
|
Revert "ANDROID: KVM: arm64: Refcount shadow structs on vcpu_{load/put}()"
This reverts commit 6f93dc7bb9.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I5d6f272349a30363081dd10962a04600c6191030
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
5a6e3a9fc5
|
Revert "ANDROID: KVM: arm64: Reject concurrent loading of a vCPU on multiple physical CPUs"
This reverts commit d3e0947f47.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Iec17d6136e5a482553bf4ca24d21a975c71894b6
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
a712ed58dc
|
Revert "ANDROID: KVM: arm64: Add initial support for KVM_CAP_EXIT_HYPERCALL"
This reverts commit a1bd2a6b3c.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I1e80a4ad2243313d0e9ff899a2686a1a6afa00f6
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
3201118a4b
|
Revert "ANDROID: KVM: arm64: Add __pkvm_guest_share_host()"
This reverts commit 00c5ba045a.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I43fba407a67d82879075ecca198707e95e8cfd54
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
f0aa9058a5
|
Revert "ANDROID: KVM: arm64: Add __pkvm_guest_unshare_host()"
This reverts commit f3468eac6f.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ie7b3c5c296c8c3a76fb91e1db0d9ee8f8830241f
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
14283663e3
|
Revert "ANDROID: KVM: arm64: Advertise KVM vendor hypercalls to protected guests"
This reverts commit dfd60e8e53.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I5f4fdc27bbd4d80d9c459061df087680959803a9
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
0dd604b38e
|
Revert "ANDROID: KVM: arm64: Add MEMINFO and {UN,}SHARE hypercalls for protected guests"
This reverts commit da4c4dc33a.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I5f812a7f92fc3762cb455b779f56aedac2e2cb83
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
691a2f8a06
|
Revert "ANDROID: KVM: arm64: Allow userspace to receive SHARE and UNSHARE notifications"
This reverts commit 0b7e337baf.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Idfaa58fd19bbd63cd1c154b0db808a6010780cd6
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
e27735571c
|
Revert "ANDROID: KVM: arm64: Donate pages to protected guests"
This reverts commit f85c26161b.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: If58c476aa2d6a9a48a616a0cb820bce27bbd38fb
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
e4e37ef81b
|
Revert "ANDROID: BACKPORT: KVM: arm64: Zero protected guest pages on teardown"
This reverts commit f4c9f74c6b.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I28028ce2f48286a2a9e756f14b35582931324ec3
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
20840b293b
|
Revert "FROMLIST: firmware/smccc: Call arch-specific hook on discovering KVM services"
This reverts commit 8e3a834c92.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ifbbb03e1bec289ec469f4baa7064639b4d333612
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
5e2f16424e
|
Revert "ANDROID: BACKPORT: arm64: mm: Implement memory encryption API using KVM sharing hypercalls"
This reverts commit e8238cfc5d.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I69dfeba4439dc5d3eb1f551348344e77b8843a56
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
c23d4c1dee
|
Revert "ANDROID: KVM: arm64: Create EL2 shadow for VMs when pKVM is enabled"
This reverts commit 08a460da6c.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I3175fc312cac51fb610c77a8971c3d0bd4601a8c
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
9cd6530cd8
|
Revert "ANDROID: KVM: arm64: Ignore 'kvm-arm.mode=protected' when using VHE"
This reverts commit 13e73a21a9.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I14dafb03c3225941aafda6bdffbe5ca82ab338c0
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
18da892d53
|
Revert "ANDROID: KVM: arm64: Extend comment in has_vhe()"
This reverts commit 705b678b8b.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ifdfdf46dd90dc60255e4ffa5166c5ef8742bb003
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
654f169aca
|
Revert "ANDROID: BACKPORT: KVM: arm64: Parse reserved-memory node for pkvm guest firmware region"
This reverts commit 4b23440d04.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I97772be62d61ef852ffb318eca86117c01c2c5fb
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
1f5daaad2a
|
Revert "ANDROID: KVM: arm64: Unmap PVM firmware from host stage-2 during de-privilege"
This reverts commit ab5c0b846b.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ie841e089ff0a8a1de8fd3137b6271a846de14f24
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
77fa9a4630
|
Revert "ANDROID: KVM: arm64: Copy pvmfw into guest pages during donation from the host"
This reverts commit 29cbec8da5.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I34cf99f136ec35541daea3980ef28b48cb549db2
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
841262de62
|
Revert "ANDROID: KVM: arm64: Reset primary vCPU according to PVM firmware boot protocol"
This reverts commit 94d7fa9be4.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ia079aadbc80cdc6cacc59440392ab64228633b62
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
a3c29e1691
|
Revert "ANDROID: BACKPORT: KVM: arm64: Introduce KVM_VM_TYPE_ARM_PROTECTED machine type for PVMs"
This reverts commit 3c4b7ff736.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I9009040d4630399b83c96140fcf9ddd27148edfd
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
c174bacad8
|
Revert "ANDROID: KVM: arm64: Introduce KVM_CAP_ARM_PROTECTED_VM to set/query PVM firmware"
This reverts commit eb41d18574.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ia9ff51b435d87e1c4cb3457ff3ccb35822c4bcae
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
94d5ecddf9
|
Revert "ANDROID: KVM: arm64: pkvm: Move memcache topup into a helper"
This reverts commit 339858e146.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I2bf7a17e413b212bc18f0a8ab688f968753a1e74
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
781c407382
|
Revert "ANDROID: KVM: arm64: pkvm: Rerge get_num_hvc_args into handle_pvm_exit_hvc64"
This reverts commit addb3e1f47.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ia08e9c250eb792229249e650f521aa5c9945bd14
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
b627f34de6
|
Revert "ANDROID: KVM: arm64: pkvm: Store vcpus in donated PGD at shadow-creation time"
This reverts commit f780e698c7.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I8be1d605613f7690a0ce2c91b16f523caf6faaaa
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
b0e3391767
|
Revert "ANDROID: KVM: arm64: pkvm: Update the shadow view of pkvm.enabled at creation time"
This reverts commit 7c52b4e55a.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I554fc97f1eb09ecea5ebee3cd97d99aef34f63ac
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
aaa1536fde
|
Revert "ANDROID: KVM: arm64: Introduce vcpu_is_protected() helper"
This reverts commit 9c2007f6d5.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Iff965ea172cc70be200263b6bb3905e098d43b48
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
fe3d8d0610
|
Revert "ANDROID: KVM: arm64: Generate hyp-constants.o as an nVHE object"
This reverts commit e7d30f4c8c.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I9573d9cf73b859537b59e66ab167fb3235814aa7
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
bd24047df8
|
Revert "ANDROID: KVM: arm64: pkvm: Replace pkvm_loaded_state.is_shadow with is_protected"
This reverts commit 730d3feb51.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Id8f9276c91c1751abe941c1fcb480ab46c2ba4eb
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
718453208b
|
Revert "ANDROID: KVM: arm64: pkvm: Make {flush,sync}_shadow_state() take the full state"
This reverts commit 342b0133f3.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Id110cce06a1fc87ce92ba636d0f8e433c8f22377
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
74ab599fa2
|
Revert "ANDROID: KVM: arm64: pkvm: Introduce entry/exit handlers for non-protected guests"
This reverts commit 20204f79de.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I7baad7e1eac9ecb599c6d523fd63be35eae90d60
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
f36f91850c
|
Revert "ANDROID: KVM: arm64: pkvm: State sync primitives for non-protected guests"
This reverts commit a282cd5146.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I48809badb409aee968d80af6de0e51225c6d9a81
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
7de7e7cad5
|
Revert "ANDROID: KVM: arm64: pkvm: Manage the non-protected guest dirty state from EL1"
This reverts commit 28f12f0fa0.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I9356bcade5fa5f1bdc7cb8a917b7d27750598c4e
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
effcb9d307
|
Revert "ANDROID: KVM: arm64: pkvm: Share memory with non-protected guests"
This reverts commit 8d6a327d52.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I09b2c8ab0cca2e02680c1194d403b6eb04fc565c
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
4a8d2c41f1
|
Revert "ANDROID: KVM: arm64: pkvm: Don't init pvm traps non non-protected guests"
This reverts commit 1fef38359c.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ib43801b7ccbae0ff3dbba90fd5807545a185c238
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
62d2bb0336
|
Revert "ANDROID: KVM: arm64: pkvm: Allow the shadows to be destroyed on teardown"
This reverts commit 88c46ab100.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ia915c2511df615f86dcc1f9ee6db3a5a2f1fb5ea
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
cc2b97cd8d
|
Revert "ANDROID: KVM: arm64: pkvm: Plug in cache invalidation for non-protected guests"
This reverts commit a1d06af5bf.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ibe4bfbcda3b20a4e49dec44134e7c2976822f1b6
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
f53a0bf6f5
|
Revert "ANDROID: KVM: arm64: Generalise VM features into a set of flags"
This reverts commit 5abc5f17d0.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ib4c47c8525f84b37f795b17deb6f46e200327851
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
e53dcb28d8
|
Revert "ANDROID: KVM: arm64: Check for PTE valitity when checking for executable/cacheable"
This reverts commit 89db48d204.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: If1f19dba34d473936b43cb096eec4b4da949ca63
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
41eae257b0
|
Revert "ANDROID: KVM: arm64: Define MMIO guard hypercalls"
This reverts commit c1f264d4f0.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I178180fa556f79494f19308f624da389276c6bfe
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
68cc629d41
|
Revert "ANDROID: KVM: arm64: Expose topup_hyp_memcache() to the rest of KVM"
This reverts commit c3e455cd33.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I1d5d4253d594b2f78ce85dffe079e00b057cd8aa
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
ba9f3e3f2c
|
Revert "ANDROID: KVM: arm64: Introduce KVM_ARCH_FLAG_MMIO_GUARD flag"
This reverts commit 4bd3bae3cc.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I8eeec94cfcb23321b6b4484c65f3cfd72a24e605
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
93e2533bb2
|
Revert "ANDROID: KVM: arm64: pkvm: Add MMIO guard infrastructure"
This reverts commit f01af370af.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ia1815d69520e2744ba8830d997d269c9e23e6004
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
4d701c3c6a
|
Revert "ANDROID: KVM: arm64: pkvm: Wire MMIO guard hypercalls"
This reverts commit 030481dc2d.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I39520f277075b5eb150769c160cb2587ae0abcc3
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
751dadca33
|
Revert "ANDROID: KVM: arm64: Plumb MMIO checking into the fault handling"
This reverts commit 24483ac2db.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ic8ae32142b60443fe53a12bf9b62278bc5e11ef1
|
2022-08-04 13:03:53 +00:00 |
|
Will Deacon
|
4dc8c78676
|
Revert "ANDROID: KVM: arm64: Add some documentation for the MMIO guard feature"
This reverts commit 4837fb146d.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I325a2f4a7de41d5ff8e8ced99925fab6817bc7c2
|
2022-08-04 13:03:53 +00:00 |
|