commit | c89417227141ff08fe73247f1b536ae2d8ecba5b | [log] [tgz] |
---|---|---|
author | Will Deacon <will@kernel.org> | Mon Apr 11 14:22:33 2022 +0100 |
committer | Will Deacon <willdeacon@google.com> | Thu Sep 26 16:11:14 2024 +0100 |
tree | 8dbf0707fa5394b7aa8257c41359c2fb88c328af | |
parent | 6f1c31ed282f10e5974214c838b870108eded1c9 [diff] |
KVM: arm64: Handle guest stage-2 page-tables entirely at EL2 Now that EL2 is able to manage guest stage-2 page-tables, avoid allocating a separate MMU structure in the host and instead introduce a new fault handler which responds to guest stage-2 faults by sharing GUP-pinned pages with the guest via a hypercall. These pages are recovered (and unpinned) on guest teardown via the page reclaim hypercall. Signed-off-by: Will Deacon <will@kernel.org>