drm/amdgpu: fill only the lower range with ATS entries v2
authorChristian König <christian.koenig@amd.com>
Thu, 25 Jan 2018 17:36:15 +0000 (18:36 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:55 +0000 (14:18 -0500)
commit4584312d387f758534a51d7dd0a8c0f3b23ccc6e
tree0db511c7e473a3175e0cb71e6df1d9e654f91a94
parent44e1baeb6321fb4ce1dbc50c4cb895b671b2fbf9
drm/amdgpu: fill only the lower range with ATS entries v2

At least on x86-64 the upper range is purely used by the kernel,
avoid creating any ATS mappings there as security precaution and to
allow proper page fault reporting in the upper range.

v2: remove unused variable

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c