Re: [PATCH] drm/amdgpu: fix software pci_unplug on some chips

2023-10-11 Thread Luben Tuikov
On 2023-10-11 21:31, vitaly.pros...@amd.com wrote: > From: Vitaly Prosyak > > When software 'pci unplug' using IGT is executed we got a sysfs directory > entry is NULL for differant ras blocks like hdp, umc, etc. > Before call 'sysfs_remove_file_from_group' and 'sysfs_remove_group' > check that '

[PATCH] drm/amdgpu: fix software pci_unplug on some chips

2023-10-11 Thread vitaly.prosyak
From: Vitaly Prosyak When software 'pci unplug' using IGT is executed we got a sysfs directory entry is NULL for differant ras blocks like hdp, umc, etc. Before call 'sysfs_remove_file_from_group' and 'sysfs_remove_group' check that 'sd' is not NULL. [ +0.01] RIP: 0010:sysfs_remove_group+0