summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2024-04-14 20:06:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-05-10 20:05:13 +0300
commitbe4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7 (patch)
tree85740fc698692d9941d9d46717e4a5385a915437 /drivers/w1
parenteb2077fa09363a87e3b940c964187aa5db16e070 (diff)
downloadlinux-be4a2a81b6b90d1a47eaeaace4cc8e2cb57b96c7.tar.xz
drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
We don't get the right offset in that case. The GPU has an unused 4K area of the register BAR space into which you can remap registers. We remap the HDP flush registers into this space to allow userspace (CPU or GPU) to flush the HDP when it updates VRAM. However, on systems with >4K pages, we end up exposing PAGE_SIZE of MMIO space. Fixes: d8e408a82704 ("drm/amdkfd: Expose HDP registers to user space") Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions