diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-01-11 11:22:34 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-01-24 11:51:07 +0000 |
commit | 32b135a7fafebe7843abe5425159fa081ae56b7c (patch) | |
tree | e6c314d442ae05ffa247128f977704dab32638d2 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 9d7c13e5dde31270eb48a34204a2e06b1a719546 (diff) |
arm64: head: avoid cache invalidation when entering with the MMU on
If we enter with the MMU on, there is no need for explicit cache
invalidation for stores to memory, as they will be coherent with the
caches.
Let's take advantage of this, and create the ID map with the MMU still
enabled if that is how we entered, and avoid any cache invalidation
calls in that case.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20230111102236.1430401-5-ardb@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions