aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2019-10-23 04:57:40 +0000
committerShuah Khan <[email protected]>2019-11-07 21:52:57 +0000
commit2f3571ea71311bbb2cbb9c3bbefc9c1969a3e889 (patch)
treea81ff2e6826324c13c28ba2727114a625f12f7af /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentkselftest: Fix NULL INSTALL_PATH for TARGETS runlist (diff)
downloadkernel-2f3571ea71311bbb2cbb9c3bbefc9c1969a3e889.tar.gz
kernel-2f3571ea71311bbb2cbb9c3bbefc9c1969a3e889.zip
selftests: proc: Make va_max 1MB
Currently proc-self-map-files-002.c sets va_max (max test address of user virtual address) to 4GB, but it is too big for 32bit arch and 1UL << 32 is overflow on 32bit long. Also since this value should be enough bigger than vm.mmap_min_addr (64KB or 32KB by default), 1MB should be enough. Make va_max 1MB unconditionally. Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Alexey Dobriyan <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions