Created attachment 649432 [details, diff] 0001-always-print-firmware-file-name.patch Very simple patch I've been running for more than a year. Does not require a rebase, and helps a lot with figuring out which exactly FW file is needed. By default linux does not print the filename. With this patch it does. here's an example dmesg ... [ 2.739040] Loading firmware: amdgpu/polaris10_mc.bin [ 2.740303] Loading firmware: amdgpu/polaris10_pfp_2.bin [ 2.740306] Loading firmware: amdgpu/polaris10_me_2.bin [ 2.740308] Loading firmware: amdgpu/polaris10_ce_2.bin [ 2.740311] Loading firmware: amdgpu/polaris10_rlc.bin [ 2.740321] Loading firmware: amdgpu/polaris10_mec_2.bin [ 2.740323] Loading firmware: amdgpu/polaris10_mec2_2.bin [ 2.742261] Loading firmware: amdgpu/polaris10_sdma.bin [ 2.742264] Loading firmware: amdgpu/polaris10_sdma1.bin [ 2.742400] Loading firmware: amdgpu/polaris10_uvd.bin [ 2.745343] Loading firmware: amdgpu/polaris10_vce.bin [ 15.720945] Loading firmware: cxgb4/t5fw.bin [ 16.421347] Loading firmware: cxgb4/t5-config.txt very easy to see what kernel tries to load.
See also: https://lkml.org/lkml/2019/11/17/215
Thanks for an excellent patch! Can that be added as a useflag option for the Gentoo kernel? Aside: Whatever became of the lkml patch?
ping ? any news ?
Linking to Greg kh question "why don't just use ftrace ?"
meanwhile patch still applies and works =) I haven't got time to make something upstream-able, but still intend to.
we will wait for this patch to reach upstream.
Great idea ! Must be included in kernel source !
This is now in the following gentoo-sources: >=5.13.13 >=5.10.61 >=5.4.143 >=4.19.205 >=4.14.245 >=4.9.281 >=4.4.282