Created attachment 298831 [details] Screenshot Early on kernel 5.10 and before it was just [drm] Initialized amdgpu 3.40.0 20150101 for 0000:05:00.0 on minor 0 [drm:amdgpu_debugfs_init] *ERROR* Failed to init debugfs [drm:amdgpu_pci_probe] *ERROR* Creating debugfs files failed (-1). but now it became panic. Kernel patched with https://github.com/dolohow/uksm/blob/master/v5.x/uksm-5.14.patch - I'm using it since version 4 without problems. Panic starts with RIP: 0010:debugfs_create_file_size+0x2e/0x40 ..and see more on the picture
Created attachment 298833 [details] Kernel config
Also my GPU is Polaris RX460 (ASUS ROG 4Gb) flashed with bios from RX560. Past 3 years all was working good.
Created attachment 298835 [details] config patch It seems like amdgpu strongly requires access to debugfs and panics when CONFIG_DEBUG_FS_ALLOW_NONE is set. Also there is no debugfs-related flag for amdgpu - it seems or amdgpu should depend on CONFIG_DEBUG_FS_ALLOW_ALL, or it should have separate debugfs flag to enable/disable debugfs usage (it is seems very possible as it was working early w/o access to debugfs).
Looks like a duplicate of: https://gitlab.freedesktop.org/drm/amd/-/issues/1686