Re: [PATCH] drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit

2024-05-14 Thread Alex Deucher
Applied. Thanks! On Tue, May 14, 2024 at 3:27 AM Christian König wrote: > > Am 14.05.24 um 09:06 schrieb Friedrich Vock: > > The special case for VM passthrough doesn't check adev->nbio.funcs > > before dereferencing it. If GPUs that don't have an NBIO block are > > passed through, this leads to

Re: [PATCH] drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit

2024-05-14 Thread Christian König
Am 14.05.24 um 09:06 schrieb Friedrich Vock: The special case for VM passthrough doesn't check adev->nbio.funcs before dereferencing it. If GPUs that don't have an NBIO block are passed through, this leads to a NULL pointer dereference on startup. Signed-off-by: Friedrich Vock Acked-by: Chris

[PATCH] drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit

2024-05-14 Thread Friedrich Vock
The special case for VM passthrough doesn't check adev->nbio.funcs before dereferencing it. If GPUs that don't have an NBIO block are passed through, this leads to a NULL pointer dereference on startup. Signed-off-by: Friedrich Vock Fixes: 1bece222eab ("drm/amdgpu: Clear doorbell interrupt statu