diff options
author | 2020-09-15 11:42:18 +0100 | |
---|---|---|
committer | 2020-09-18 18:01:48 +0100 | |
commit | 620cf45f7a516bf5fe9e5dce675a652e935c8bde (patch) | |
tree | 891908d846bbfcf26c8e7023b27dd0c2ff86d7db /net/unix/af_unix.c | |
parent | KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch (diff) | |
download | linux-dev-620cf45f7a516bf5fe9e5dce675a652e935c8bde.tar.xz linux-dev-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 <maz@kernel.org>
Reviewed-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200915104218.1284701-3-maz@kernel.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions