aboutsummaryrefslogtreecommitdiff
path: root/drivers/target/target_core_pscsi.c
diff options
context:
space:
mode:
authorGravatar Sean Christopherson <seanjc@google.com> 2022-04-29 07:57:53 -0700
committerGravatar Paolo Bonzini <pbonzini@redhat.com> 2022-04-29 12:40:41 -0400
commit643d95aac59a060c2730975988aedc387f0f9f44 (patch)
treefaabcbdbf2505a9dbfcd7a585f5a1890259483cf /drivers/target/target_core_pscsi.c
parentMerge branch 'kvm-fixes-for-5.18-rc5' into HEAD (diff)
downloadlinux-643d95aac59a060c2730975988aedc387f0f9f44.tar.gz
linux-643d95aac59a060c2730975988aedc387f0f9f44.tar.bz2
linux-643d95aac59a060c2730975988aedc387f0f9f44.zip
Revert "x86/mm: Introduce lookup_address_in_mm()"
Drop lookup_address_in_mm() now that KVM is providing it's own variant of lookup_address_in_pgd() that is safe for use with user addresses, e.g. guards against page tables being torn down. A variant that provides a non-init mm is inherently dangerous and flawed, as the only reason to use an mm other than init_mm is to walk a userspace mapping, and lookup_address_in_pgd() does not play nice with userspace mappings, e.g. doesn't disable IRQs to block TLB shootdowns and doesn't use READ_ONCE() to ensure an upper level entry isn't converted to a huge page between checking the PAGE_SIZE bit and grabbing the address of the next level down. This reverts commit 13c72c060f1ba6f4eddd7b1c4f52a8aded43d6d9. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <YmwIi3bXr/1yhYV/@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/target/target_core_pscsi.c')
0 files changed, 0 insertions, 0 deletions