diff options
| author | Marc Zyngier <[email protected]> | 2020-09-15 10:42:18 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2020-09-18 17:01:48 +0000 |
| commit | 620cf45f7a516bf5fe9e5dce675a652e935c8bde (patch) | |
| tree | 891908d846bbfcf26c8e7023b27dd0c2ff86d7db /net/switchdev/switchdev.c | |
| parent | KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch (diff) | |
| download | kernel-620cf45f7a516bf5fe9e5dce675a652e935c8bde.tar.gz kernel-620cf45f7a516bf5fe9e5dce675a652e935c8bde.zip | |
KVM: arm64: Remove S1PTW check from kvm_vcpu_dabt_iswrite()
Now that kvm_vcpu_trap_is_write_fault() checks for S1PTW, there
is no need for kvm_vcpu_dabt_iswrite() to do the same thing, as
we already check for this condition on all existing paths.
Drop the check and add a comment instead.
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
