diff options
author | 2021-06-14 20:27:01 +0800 | |
---|---|---|
committer | 2021-06-15 12:39:30 +0100 | |
commit | 84c5e23edecd7013ceaed8460deed5c33842cb8d (patch) | |
tree | 44ba48288bc02211326f6c71ab6e1ae8b489fdbf /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | arm64/mm: Drop SECTION_[SHIFT|SIZE|MASK] (diff) | |
download | linux-rng-84c5e23edecd7013ceaed8460deed5c33842cb8d.tar.xz linux-rng-84c5e23edecd7013ceaed8460deed5c33842cb8d.zip |
arm64: mm: Pass original fault address to handle_mm_fault()
Currently, the lower bits of fault address is cleared before it's
passed to handle_mm_fault(). It's unnecessary since generic code
does same thing since the commit 1a29d85eb0f19 ("mm: use vmf->address
instead of of vmf->virtual_address").
This passes the original fault address to handle_mm_fault() in case
the generic code needs to know the exact fault address.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20210614122701.100515-1-gshan@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions