diff options
| author | Will Deacon <[email protected]> | 2020-08-11 10:27:24 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-08-21 22:03:47 +0000 |
| commit | fdfe7cbd58806522e799e2a50a15aee7f2cbb7b6 (patch) | |
| tree | 9b6f76e58e9945c50989d86f0037073fb8fa10df /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | |
| parent | kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode (diff) | |
| download | kernel-fdfe7cbd58806522e799e2a50a15aee7f2cbb7b6.tar.gz kernel-fdfe7cbd58806522e799e2a50a15aee7f2cbb7b6.zip | |
KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
The 'flags' field of 'struct mmu_notifier_range' is used to indicate
whether invalidate_range_{start,end}() are permitted to block. In the
case of kvm_mmu_notifier_invalidate_range_start(), this field is not
forwarded on to the architecture-specific implementation of
kvm_unmap_hva_range() and therefore the backend cannot sensibly decide
whether or not to block.
Add an extra 'flags' parameter to kvm_unmap_hva_range() so that
architectures are aware as to whether or not they are permitted to block.
Cc: <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Suzuki K Poulose <[email protected]>
Cc: James Morse <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions
