diff options
author | Will Deacon <[email protected]> | 2021-12-15 16:12:29 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-12-16 12:58:57 +0000 |
commit | 376a240f037959c2b9a2486e53bcd8d388cbec17 (patch) | |
tree | 7a2e0336eea759f62def0da06d26cb843f1a401c /drivers/usb/cdns3/cdns3-imx.c | |
parent | 1ee32109fd78720259f7431740897d37ebcd84f6 (diff) |
KVM: arm64: Implement do_unshare() helper for unsharing memory
Tearing down a previously shared memory region results in the borrower
losing access to the underlying pages and returning them to the "owned"
state in the owner.
Implement a do_unshare() helper, along the same lines as do_share(), to
provide this functionality for the host-to-hyp case.
Reviewed-by: Andrew Walbran <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions