Re: [PATCH v5 16/27] drm/amdgpu: Unmap all MMIO mappings

2021-04-29 Thread Andrey Grodzovsky
On 2021-04-29 3:19 a.m., Christian König wrote: Am 28.04.21 um 17:11 schrieb Andrey Grodzovsky: Access to those must be prevented post pci_remove That is certainly a no-go. We want to get rid of the kernel pointers in BOs, not add another one. Christian. As we discussed internally,

Re: [PATCH v5 16/27] drm/amdgpu: Unmap all MMIO mappings

2021-04-29 Thread Christian König
Am 28.04.21 um 17:11 schrieb Andrey Grodzovsky: Access to those must be prevented post pci_remove That is certainly a no-go. We want to get rid of the kernel pointers in BOs, not add another one. Christian. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu.h

[PATCH v5 16/27] drm/amdgpu: Unmap all MMIO mappings

2021-04-28 Thread Andrey Grodzovsky
Access to those must be prevented post pci_remove Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 5 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 38 -- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 28 ++--